Re: If anyone is out there - help!
Darren Ball <[email protected]> Mon, 13 Apr 2015 22:55:26 -0400
| Newsgroups | gmane.comp.java.grinder.devel |
|---|---|
| Message-ID | <CA+YPNhc8UKuyK_RWJ+FKrYDR37A6szxrxfO45q1tcg758Om67Q@mail.gmail.com> |
--===============6166973900891241652==
Content-Type: multipart/alternative; boundary=089e013a078c0aebea0513a65e7d
--089e013a078c0aebea0513a65e7d
Content-Type: text/plain; charset=UTF-8
I finally got this to run.
I figured this was a classpath clash. I synced the libraries in use by
grinder with the libraries in my application (some updated, some
downgraded) and finally this all works. That wasn't easy to solve to say
the least. I can finally move forward with Grinder - as I've been wanting
to.
One thing is odd - the instrumenter log statement suggests Jython 2.5 but
as you can see Grinder was compiled with and pulled in Jython 2.7rc2. Not
sure what that means - maybe just a package that has not caught up inside
of Jython?
If anyone is interested, I can send along the top level pom with changes to
make this work.
Thanks for all the help as well - it is very much appreciated. Hopefully
as I get further acquainted with Grinder, I will be able to help someone
else out as well.
-Darren
2015-04-14 02:46:14,895 INFO i-ccfd793a-0 : The Grinder version
3.12-SNAPSHOT
2015-04-14 02:46:14,903 INFO i-ccfd793a-0 : Java(TM) SE Runtime
Environment 1.8.0_40-b25: Java HotSpot(TM) 64-Bit Server VM (25.40-b25,
mixed mode) on Linux amd64 2.6.32-504.8.1.el6.x86_64
2015-04-14 02:46:14,909 INFO i-ccfd793a-0 : time zone is UTC (+0000)
2015-04-14 02:46:15,062 INFO i-ccfd793a-0 : registered plug-in
net.grinder.plugin.http.HTTPPlugin
2015-04-14 02:46:15,154 INFO i-ccfd793a-0 : worker process 0 of agent
number 0
2015-04-14 02:46:15,218 INFO i-ccfd793a-0 : instrumentation agents: byte
code transforming instrumenter for Jython 2.5; byte code transforming
instrumenter for Java
2015-04-14 02:46:21,293 INFO i-ccfd793a-0 : running "dbhttp2.py" using
Jython 2.7rc2 (default:913eec7f2e60, Apr 3 2015, 17:13:45)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]
2015-04-14 02:46:21,308 INFO i-ccfd793a-0 : starting threads
2015-04-14 02:46:29,787 INFO i-ccfd793a-0 thread-0: starting, will do 1 run
2015-04-14 02:46:29,787 INFO i-ccfd793a-0 : start time is 1428979589787 ms
since Epoch
2015-04-14 02:46:32,017 INFO i-ccfd793a-0 thread-0: finished 1 run
2015-04-14 02:46:32,028 INFO i-ccfd793a-0 : elapsed time is 2240 ms
2015-04-14 02:46:32,028 INFO i-ccfd793a-0 : Final statistics for this
process:
2015-04-14 02:46:32,046 INFO i-ccfd793a-0 :
Tests Errors Mean Test Test Time TPS
Time (ms) Standard
Deviation
(ms)
Test 1 2 0 5297.50 3085.50 0.89
"Create APP 1 Table 100 Fields"
Totals 2 0 5297.50 3085.50 0.89
On Mon, Apr 13, 2015 at 5:34 PM, Philip Aston <[email protected]> wrote:
>
> I've just run the standard unit tests against Java 8u40, and they worked
> fine. The tests heavily exercise the instrumentation, but don't do anything
> Java 8 specific. Its possible they are getting tripped up by lambdas,
> default methods etc.
>
> Looking at the original test case, it appears to me that you simply might
> be running the worker process under an earlier version of Java. Please
> check the worker process log file - it will tell you in the first few lines.
>
> Otherwise, could you produce a minimal test case? I.e. some code you can
> share that demonstrates the problem?
>
> - Phil
>
>
> On 13/04/15 20:59, Darren Ball wrote:
>
> Are any contributors/developers attempting to move this up for use in jdk8?
>
> On Mon, Apr 13, 2015 at 3:37 PM, Gary Mulder <[email protected]>
> wrote:
>
>> On 13 April 2015 at 20:35, Darren Ball <[email protected]> wrote:
>>
>>> I am starting to think this is due to the following:
>>>
>>> at
>>> net.grinder.util.weave.j2se6.ASMTransformerFactory.create(ASMTransformerFactory.java:146)
>>>
>>> at net.grinder.util.weave.j2se6.DCRWeaver.<init>(DCRWeaver.java:73)
>>>
>>
>> There were issues with DCR moving from JRE 6 to 7. Looks like something
>> similar has resurfaced.
>>
>> Gary
>>
>
>
>
--089e013a078c0aebea0513a65e7d
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>I finally got this to run.<br></div><div><div><br></d=
iv><div>I figured this was a classpath clash.=C2=A0 I synced the libraries =
in use by grinder with the libraries in my application (some updated, some =
downgraded) and finally this all works.=C2=A0 That wasn't easy to solve=
to say the least.=C2=A0 I can finally move forward with Grinder - as I'=
;ve been wanting to.</div><div><br></div><div>One thing is odd - the=C2=A0i=
nstrumenter=C2=A0log statement suggests Jython 2.5 but as you can see Grind=
er was compiled with and pulled in Jython 2.7rc2.=C2=A0 Not sure what that =
means - maybe just a package that has not caught up inside of Jython?</div>=
<div><br></div><div>If anyone is interested, I can send along the top level=
pom with changes to make this work.</div><div><br></div><div>Thanks for al=
l the help as well - it is very much appreciated.=C2=A0 Hopefully as I get =
further acquainted with Grinder, I will be able to help someone else out as=
well. =C2=A0</div><div><br></div><div>-Darren</div><div><br></div><div><br=
></div><div><br></div><div>2015-04-14 02:46:14,895 INFO =C2=A0i-ccfd793a-0 =
: The Grinder version 3.12-SNAPSHOT</div><div>2015-04-14 02:46:14,903 INFO =
=C2=A0i-ccfd793a-0 : Java(TM) SE Runtime Environment 1.8.0_40-b25: Java Hot=
Spot(TM) 64-Bit Server VM (25.40-b25, mixed mode) on Linux amd64 2.6.32-504=
.8.1.el6.x86_64</div><div>2015-04-14 02:46:14,909 INFO =C2=A0i-ccfd793a-0 :=
time zone is UTC (+0000)</div><div>2015-04-14 02:46:15,062 INFO =C2=A0i-cc=
fd793a-0 : registered plug-in net.grinder.plugin.http.HTTPPlugin</div><div>=
2015-04-14 02:46:15,154 INFO =C2=A0i-ccfd793a-0 : worker process 0 of agent=
number 0</div><div>2015-04-14 02:46:15,218 INFO =C2=A0i-ccfd793a-0 : instr=
umentation agents: byte code transforming instrumenter for Jython 2.5; byte=
code transforming instrumenter for Java</div><div>2015-04-14 02:46:21,293 =
INFO =C2=A0i-ccfd793a-0 : running "dbhttp2.py" using Jython 2.7rc=
2 (default:913eec7f2e60, Apr 3 2015, 17:13:45)=C2=A0</div><div>[Java HotSpo=
t(TM) 64-Bit Server VM (Oracle Corporation)]</div><div>2015-04-14 02:46:21,=
308 INFO =C2=A0i-ccfd793a-0 : starting threads</div><div>2015-04-14 02:46:2=
9,787 INFO =C2=A0i-ccfd793a-0 thread-0: starting, will do 1 run</div><div>2=
015-04-14 02:46:29,787 INFO =C2=A0i-ccfd793a-0 : start time is 142897958978=
7 ms since Epoch</div><div>2015-04-14 02:46:32,017 INFO =C2=A0i-ccfd793a-0 =
thread-0: finished 1 run</div><div>2015-04-14 02:46:32,028 INFO =C2=A0i-ccf=
d793a-0 : elapsed time is 2240 ms</div><div>2015-04-14 02:46:32,028 INFO =
=C2=A0i-ccfd793a-0 : Final statistics for this process:</div><div>2015-04-1=
4 02:46:32,046 INFO =C2=A0i-ccfd793a-0 :=C2=A0</div><div>=C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Tests =C2=A0 =C2=A0 =C2=A0 =C2=A0Errors =C2=
=A0 =C2=A0 =C2=A0 Mean Test =C2=A0 =C2=A0Test Time =C2=A0 =C2=A0TPS =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Time (ms) =C2=A0 =C2=A0Standard =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</div><div>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 Deviation =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0=C2=A0</div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (ms) =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0</=
div><div><br></div><div>Test 1 =C2=A0 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A00 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05297.50 =C2=
=A0 =C2=A0 =C2=A03085.50 =C2=A0 =C2=A0 =C2=A00.89 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0"Create APP 1 Table 100 Fields"</div><div><br></div><di=
v>Totals =C2=A0 =C2=A0 =C2=A0 2 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A05297.50 =C2=A0 =C2=A0 =C2=A03085.5=
0 =C2=A0 =C2=A0 =C2=A00.89 =C2=A0 =C2=A0 =C2=A0</div></div><div class=3D"gm=
ail_extra"><br><div class=3D"gmail_quote">On Mon, Apr 13, 2015 at 5:34 PM, =
Philip Aston <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a>></span> wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;bo=
rder-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
=20
=20
=20
<div bgcolor=3D"#FFFFFF" text=3D"#000000">
<div><br>
I've just run the standard unit tests against Java 8u40, and they
worked fine. The tests heavily exercise the instrumentation, but
don't do anything Java 8 specific. Its possible they are getting
tripped up by lambdas, default methods etc.<br>
<br>
Looking at the original test case, it appears to me that you
simply might be running the worker process under an earlier
version of Java. Please check the worker process log file - it
will tell you in the first few lines.<br>
<br>
Otherwise, could you produce a minimal test case? I.e. some code
you can share that demonstrates the problem?<br>
<br>
- Phil<div><div class=3D"h5"><br>
<br>
On 13/04/15 20:59, Darren Ball wrote:<br>
</div></div></div><div><div class=3D"h5">
<blockquote type=3D"cite">
<div dir=3D"ltr">Are any contributors/developers attempting to move
this up for use in jdk8?</div>
<div class=3D"gmail_extra"><br>
<div class=3D"gmail_quote">On Mon, Apr 13, 2015 at 3:37 PM, Gary
Mulder <span dir=3D"ltr"><<a href=3D"mailto:flyingkiwiguy@gmai=
l.com" target=3D"_blank">[email protected]</a>></span>
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8=
ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-sty=
le:solid;padding-left:1ex">
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div class=3D"gmail_quote"><span>On 13 April 2015
at 20:35, Darren Ball <span dir=3D"ltr"><<a href=3D"=
mailto:[email protected]" target=3D"_blank">[email protected]</a>&g=
t;</span>
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);borde=
r-left-style:solid;padding-left:1ex">
<div dir=3D"ltr">I am starting to think this is due
to the following:
<div><br>
</div>
<div>
<p>at
net.grinder.util.weave.j2se6.ASMTransformerFactory.create(ASMTransformerFac=
tory.java:146)</p>
<p><span> </span>at
net.grinder.util.weave.j2se6.DCRWeaver.<init=
>(DCRWeaver.java:73)</p>
</div>
</div>
</blockquote>
<div><br>
</div>
</span>
<div>There were issues with DCR moving from JRE 6 to
7. Looks like something similar has resurfaced.</div>
<div><br>
</div>
<div>Gary</div>
</div>
</div>
<img src=3D"https://mailtrack.io/trace/mail/b47b4b1d09f572169=
6fbf82e0e796e48324ade35.png" height=3D"0" width=3D"0"></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div>
--089e013a078c0aebea0513a65e7d--
--===============6166973900891241652==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
--===============6166973900891241652==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Grinder-development mailing list
Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/grinder-development
--===============6166973900891241652==--