[prev in list] [next in list] [prev in thread] [next in thread]
List: grinder-development
Subject: Re: [Grinder-development] If anyone is out there - help!
From: Philip Aston <philipa () mail ! com>
Date: 2015-04-15 18:30:14
Message-ID: 552EAE36.2000803 () mail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
The Jython 2.5 instrumenter works fine with Jython 2.7.
It would be interesting to know what libraries clashed.
- Phil
On 14/04/15 03:55, Darren Ball wrote:
> 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 <philipa@mail.com
> <mailto:philipa@mail.com>> 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
>> <flyingkiwiguy@gmail.com <mailto:flyingkiwiguy@gmail.com>> wrote:
>>
>> On 13 April 2015 at 20:35, Darren Ball <balldarrens@gmail.com
>> <mailto:balldarrens@gmail.com>> 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
>>
>>
>
>
[Attachment #5 (text/html)]
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">The Jython 2.5 instrumenter works fine
with Jython 2.7. <br>
<br>
It would be interesting to know what libraries clashed.<br>
<br>
- Phil<br>
<br>
On 14/04/15 03:55, Darren Ball wrote:<br>
</div>
<blockquote
cite="mid:CA+YPNhc8UKuyK_RWJ+FKrYDR37A6szxrxfO45q1tcg758Om67Q@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I finally got this to run.<br>
</div>
<div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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?</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 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. </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 i-ccfd793a-0 : The Grinder
version 3.12-SNAPSHOT</div>
<div>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</div>
<div>2015-04-14 02:46:14,909 INFO i-ccfd793a-0 : time zone is
UTC (+0000)</div>
<div>2015-04-14 02:46:15,062 INFO i-ccfd793a-0 : registered
plug-in net.grinder.plugin.http.HTTPPlugin</div>
<div>2015-04-14 02:46:15,154 INFO i-ccfd793a-0 : worker
process 0 of agent number 0</div>
<div>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</div>
<div>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) </div>
<div>[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)]</div>
<div>2015-04-14 02:46:21,308 INFO i-ccfd793a-0 : starting
threads</div>
<div>2015-04-14 02:46:29,787 INFO i-ccfd793a-0 thread-0:
starting, will do 1 run</div>
<div>2015-04-14 02:46:29,787 INFO i-ccfd793a-0 : start time
is 1428979589787 ms since Epoch</div>
<div>2015-04-14 02:46:32,017 INFO i-ccfd793a-0 thread-0:
finished 1 run</div>
<div>2015-04-14 02:46:32,028 INFO i-ccfd793a-0 : elapsed time
is 2240 ms</div>
<div>2015-04-14 02:46:32,028 INFO i-ccfd793a-0 : Final
statistics for this process:</div>
<div>2015-04-14 02:46:32,046 INFO i-ccfd793a-0 : </div>
<div> Tests Errors Mean Test Test
Time TPS </div>
<div> Time (ms)
Standard </div>
<div>
Deviation </div>
<div> (ms)
</div>
<div><br>
</div>
<div>Test 1 2 0 5297.50
3085.50 0.89 "Create APP 1 Table 100 Fields"</div>
<div><br>
</div>
<div>Totals 2 0 5297.50
3085.50 0.89 </div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Apr 13, 2015 at 5:34 PM,
Philip Aston <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:philipa@mail.com" \
target="_blank">philipa@mail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#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="h5"><br>
<br>
On 13/04/15 20:59, Darren Ball wrote:<br>
</div>
</div>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">Are any contributors/developers
attempting to move this up for use in jdk8?</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Apr 13, 2015 at
3:37 PM, Gary Mulder <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:flyingkiwiguy@gmail.com"
target="_blank">flyingkiwiguy@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><span>On 13
April 2015 at 20:35, Darren Ball <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:balldarrens@gmail.com"
\
target="_blank">balldarrens@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="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(ASMTransformerFactory.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 moz-do-not-send="true"
src="https://mailtrack.io/trace/mail/b47b4b1d09f5721696fbf82e0e796e48324ade35.png"
height="0" width="0"></div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>
------------------------------------------------------------------------------
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
_______________________________________________
Grinder-development mailing list
Grinder-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-development
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic