Quantcast

If anyone is out there - help!

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

If anyone is out there - help!

Darren Ball
Hi All,  I really need to solve the problem below and I am in need of
a little assistance if possible.

It looks like this might be a jdk mismatch issue?

I've tried building with the src code on github with jdk8 but I am
getting several errors.

I have been experiencing the following error while attempting to
execute a simple grinder jython test.  Any help or insight as to a
solution would be greatly appreciated.

The test is structured as follows:

from net.grinder.Grinder import grinder
from net.grinder.script import Test
from com.mywebapp.api.controllers.perf.app import CreateAppPerf

test1 = Test(1, "Create APP 1 Table 100 Fields")
createAppPerf = CreateAppPerf()
test1.record(createAppPerf.createApp)

class TestRunner:
    def __init__(self):
        createAppPerf.initialize()

    def __call__(self):
        createAppPerf.createApp(1,100)


The error I am receiving is as follows:

Exception in thread "main" java.lang.IncompatibleClassChangeError:
Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at net.grinder.util.weave.j2se6.ASMTransformerFactory.create(ASMTransformerFactory.java:119)
at net.grinder.util.weave.j2se6.DCRWeaver.<init>(DCRWeaver.java:70)
at net.grinder.engine.process.dcr.DCRContextImplementation.<init>(DCRContextImplementation.java:112)
at net.grinder.engine.process.dcr.DCRContextImplementation.create(DCRContextImplementation.java:89)
at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:361)
at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:86)
at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:59)

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Marc Holden
Hi Darren,

What version of Java/Jython are you running.  I believe java 8 requires jython 2.7.

Thanks

-Marc

On Mon, Apr 13, 2015 at 10:43 AM, Darren Ball <[hidden email]> wrote:
Hi All,  I really need to solve the problem below and I am in need of
a little assistance if possible.

It looks like this might be a jdk mismatch issue?

I've tried building with the src code on github with jdk8 but I am
getting several errors.

I have been experiencing the following error while attempting to
execute a simple grinder jython test.  Any help or insight as to a
solution would be greatly appreciated.

The test is structured as follows:

from net.grinder.Grinder import grinder
from net.grinder.script import Test
from com.mywebapp.api.controllers.perf.app import CreateAppPerf

test1 = Test(1, "Create APP 1 Table 100 Fields")
createAppPerf = CreateAppPerf()
test1.record(createAppPerf.createApp)

class TestRunner:
    def __init__(self):
        createAppPerf.initialize()

    def __call__(self):
        createAppPerf.createApp(1,100)


The error I am receiving is as follows:

Exception in thread "main" java.lang.IncompatibleClassChangeError:
Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at net.grinder.util.weave.j2se6.ASMTransformerFactory.create(ASMTransformerFactory.java:119)
at net.grinder.util.weave.j2se6.DCRWeaver.<init>(DCRWeaver.java:70)
at net.grinder.engine.process.dcr.DCRContextImplementation.<init>(DCRContextImplementation.java:112)
at net.grinder.engine.process.dcr.DCRContextImplementation.create(DCRContextImplementation.java:89)
at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:361)
at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:86)
at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:59)

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Darren Ball
I am using jython 2.7 currently.

JDK version is:

[grinder@ip-10-82-151-89 ~]$ java -version
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)


Here is a dump of the call being executed with classpath included.  Is
it possible that this is due to the grinder-dcr-agent?


{"timestamp":"2015-04-13T15:10:03.449+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-89.localdomain","message":"Worker
process command line: java
'-javaagent:/opt/grinder/lib/grinder-dcr-agent-3.11.jar' -classpath
'/home/grinder/jython-standalone-2.7-rc1.jar:/home/grinder/uber/serializer-2.7.1.jar:/home/grinder/uber/validation-api-1.1.0.Final.jar:/home/grinder/uber/commons-net-3.3.jar:/home/grinder/uber/swagger4spring-web-0.3.5.jar:/home/grinder/uber/bsf-2.4.0.jar:/home/grinder/uber/jsp-api-2.1.jar:/home/grinder/uber/aws-java-sdk-simpledb-1.9.14.jar:/home/grinder/uber/spring-aspects-4.0.6.RELEASE.jar:/home/grinder/uber/jackson-annotations-2.4.1.jar:/home/grinder/uber/commons-fileupload-1.3.1.jar:/home/grinder/uber/json4s-jackson_2.10-3.2.9.jar:/home/grinder/uber/org.jacoco.agent-0.7.2.201409121644.jar:/home/grinder/uber/commons-lang-2.4.jar:/home/grinder/uber/tagsoup-1.2.1.jar:/home/grinder/uber/jackson-module-scala-2.3.3.jar:/home/grinder/uber/aws-java-sdk-s3-1.9.14.jar:/home/grinder/uber/reflections-0.9.9.jar:/home/grinder/uber/swagger-core_2.10-1.3.7.jar:/home/grinder/uber/jackson-module-jaxb-annotations-2.3.3.jar:/home/grinder/uber/jfreechart-1.0.0.jar:/home/grinder/uber/scala-reflect-2.11.5.jar:/home/grinder/uber/opencsv-2.3.jar:/home/grinder/uber/gson-2.2.4.jar:/home/grinder/uber/aws-java-sdk-sns-1.9.14.jar:/home/grinder/uber/generalSQLParser-1.0.jar:/home/grinder/uber/spring-test-4.0.6.RELEASE.jar:/home/grinder/uber/xstream-1.4.4.jar:/home/grinder/uber/bcmail-jdk15on-1.49.jar:/home/grinder/uber/jsr305-2.0.1.jar:/home/grinder/uber/aws-java-sdk-emr-1.9.14.jar:/home/grinder/uber/scalaj-collection_2.10-1.5.jar:/home/grinder/uber/aws-java-sdk-config-1.9.14.jar:/home/grinder/uber/metadata-extractor-2.6.2.jar:/home/grinder/uber/juniversalchardet-1.0.3.jar:/home/grinder/uber/bcmail-jdk15-1.45.jar:/home/grinder/uber/htmllexer-2.1.jar:/home/grinder/uber/aws-java-sdk-datapipeline-1.9.14.jar:/home/grinder/uber/aws-java-sdk-support-1.9.14.jar:/home/grinder/uber/commons-httpclient-3.1.jar:/home/grinder/uber/guava-18.0.jar:/home/grinder/uber/commons-jexl-2.1.1.jar:/home/grinder/uber/bcprov-jdk15on-1.51.jar:/home/grinder/uber/httpmime-4.3.4.jar:/home/grinder/uber/ApacheJMeter_core-2.11.jar:/home/grinder/uber/jtds-1.3.1.jar:/home/grinder/uber/coherenceCommon.jar:/home/grinder/uber/commons-collections-3.2.1.jar:/home/grinder/uber/classmate-1.0.0.jar:/home/grinder/uber/mongo-java-driver-2.11.3.jar:/home/grinder/uber/hibernate-printer-1.0.jar:/home/grinder/uber/ApacheJMeter_core.jar:/home/grinder/uber/json4s-core_2.10-3.2.9.jar:/home/grinder/uber/aws-java-sdk-cloudsearch-1.9.14.jar:/home/grinder/uber/jackson-dataformat-xml-2.3.3.jar:/home/grinder/uber/aws-java-sdk-ecs-1.9.14.jar:/home/grinder/uber/aws-java-sdk-cloudfront-1.9.14.jar:/home/grinder/uber/aws-java-sdk-simpleworkflow-1.9.14.jar:/home/grinder/uber/common.jar:/home/grinder/uber/joda-convert-1.6.jar:/home/grinder/uber/apache-mime4j-core-0.7.2.jar:/home/grinder/uber/xercesImpl-2.9.1.jar:/home/grinder/uber/annotations-2.0.1.jar:/home/grinder/uber/aws-java-sdk-storagegateway-1.9.14.jar:/home/grinder/uber/commons-compress-1.5.jar:/home/grinder/uber/javax.inject-1.jar:/home/grinder/uber/jtidy-r938.jar:/home/grinder/uber/ApacheJMeter_components-2.11.jar:/home/grinder/uber/spring-webmvc-4.0.6.RELEASE.jar:/home/grinder/uber/aspectjrt-1.7.4.jar:/home/grinder/uber/jackson-jaxrs-base-2.3.3.jar:/home/grinder/uber/geronimo-stax-api_1.0_spec-1.0.1.jar:/home/grinder/uber/mail-1.5.0-b01.jar:/home/grinder/uber/scalap-2.10.0.jar:/home/grinder/uber/aws-java-sdk-iam-1.9.14.jar:/home/grinder/uber/aspectjweaver-1.8.1.jar:/home/grinder/uber/spring-web-4.0.6.RELEASE.jar:/home/grinder/uber/soap-2.3.1.jar:/home/grinder/uber/queryBuilder.jar:/home/grinder/uber/jodd-core-3.4.10.jar:/home/grinder/uber/aws-java-sdk-redshift-1.9.14.jar:/home/grinder/uber/aws-java-sdk-importexport-1.9.14.jar:/home/grinder/uber/aws-java-sdk-cloudwatchmetrics-1.9.14.jar:/home/grinder/uber/aws-java-sdk-cognitosync-1.9.14.jar:/home/grinder/uber/spring-expression-4.0.6.RELEASE.jar:/home/grinder/uber/netcdf-4.2-min.jar:/home/grinder/uber/commons-lang3-3.1.jar:/home/grinder/uber/pdfbox-1.8.1.jar:/home/grinder/uber/jackson-module-jsonSchema-2.1.0.jar:/home/grinder/uber/json-smart-1.2.jar:/home/grinder/uber/aws-java-sdk-ses-1.9.14.jar:/home/grinder/uber/scala-compiler-2.10.0.jar:/home/grinder/uber/geronimo-jms_1.1_spec-1.1.1.jar:/home/grinder/uber/org.jacoco.ant-0.7.2.201409121644.jar:/home/grinder/uber/mchange-commons-java-0.2.6.3.jar:/home/grinder/uber/aws-java-sdk-cloudformation-1.9.14.jar:/home/grinder/uber/ApacheJMeter_java.jar:/home/grinder/uber/jackson-mapper-asl-1.9.8.jar:/home/grinder/uber/excalibur-logger-1.1.jar:/home/grinder/uber/jcharts-0.7.5.jar:/home/grinder/uber/rhino-1.7R4.jar:/home/grinder/uber/commons-math3-3.3.jar:/home/grinder/uber/xpp3_min-1.1.4c.jar:/home/grinder/uber/ucp-12.1.0.1.jar:/home/grinder/uber/jdom-1.0.jar:/home/grinder/uber/joda-time-2.7.jar:/home/grinder/uber/aopalliance-1.0.jar:/home/grinder/uber/javassist-3.19.0-GA.jar:/home/grinder/uber/xalan-2.7.1.jar:/home/grinder/uber/aws-java-sdk-cloudtrail-1.9.14.jar:/home/grinder/uber/json4s-ext_2.10-3.2.9.jar:/home/grinder/uber/scala-actors-2.11.5.jar:/home/grinder/uber/aws-java-sdk-elasticbeanstalk-1.9.14.jar:/home/grinder/uber/excalibur-datasource-1.1.1.jar:/home/grinder/uber/scala-compiler-2.11.5.jar:/home/grinder/uber/activation-1.1.jar:/home/grinder/uber/jempbox-1.8.1.jar:/home/grinder/uber/commons-jexl-1.1.jar:/home/grinder/uber/fontbox-1.8.1.jar:/home/grinder/uber/bcpkix-jdk15on-1.49.jar:/home/grinder/uber/poi-scratchpad-3.9.jar:/home/grinder/uber/commons-cli-1.2.jar:/home/grinder/uber/xmpcore-5.1.2.jar:/home/grinder/uber/xz-1.2.jar:/home/grinder/uber/spring-security-web-3.1.4.RELEASE.jar:/home/grinder/uber/aws-java-sdk-cloudwatch-1.9.14.jar:/home/grinder/uber/vorbis-java-tika-0.1.jar:/home/grinder/uber/httpcore-4.3.2.jar:/home/grinder/uber/rome-0.9.jar:/home/grinder/uber/jackson-core-asl-1.9.8.jar:/home/grinder/uber/jcommon-1.0.0.jar:/home/grinder/uber/aws-java-sdk-autoscaling-1.9.14.jar:/home/grinder/uber/ApacheJMeter-2.11.jar:/home/grinder/uber/jdom-1.1.3.jar:/home/grinder/uber/commons-codec-1.8.jar:/home/grinder/uber/core.jar:/home/grinder/uber/aws-java-sdk-core-1.9.14.jar:/home/grinder/uber/aws-java-sdk-dynamodb-1.9.14.jar:/home/grinder/uber/junit-4.11.jar:/home/grinder/uber/javax.json-1.0.4.jar:/home/grinder/uber/jrugged-spring-3.1.1.jar:/home/grinder/uber/coherence-12.1.2.jar:/home/grinder/uber/aws-java-sdk-kms-1.9.14.jar:/home/grinder/uber/jboss-logging-3.1.3.GA.jar:/home/grinder/uber/sqlWriter.jar:/home/grinder/uber/spring-tx-4.0.6.RELEASE.jar:/home/grinder/uber/excalibur-pool-1.2.jar:/home/grinder/uber/jrugged-core-3.1.1.jar:/home/grinder/uber/scala-library-2.11.5.jar:/home/grinder/uber/spring-context-4.0.6.RELEASE.jar:/home/grinder/uber/excalibur-instrument-1.0.jar:/home/grinder/uber/core-0.5.jar:/home/grinder/uber/mockito-all-1.9.5.jar:/home/grinder/uber/janino-2.7.4.jar:/home/grinder/uber/aws-java-sdk-cloudhsm-1.9.14.jar:/home/grinder/uber/javax.el-api-3.0.0.jar:/home/grinder/uber/stax-api-1.0.1.jar:/home/grinder/uber/vorbis-java-core-0.1-tests.jar:/home/grinder/uber/poi-ooxml-3.10-FINAL.jar:/home/grinder/uber/json4s-ast_2.10-3.2.9.jar:/home/grinder/uber/aws-java-sdk-logs-1.9.14.jar:/home/grinder/uber/aws-java-sdk-codedeploy-1.9.14.jar:/home/grinder/uber/xmlgraphics-commons-1.5.jar:/home/grinder/uber/tika-core-1.4.jar:/home/grinder/uber/jodd-lagarto-3.4.10.jar:/home/grinder/uber/commons-logging-1.1.3.jar:/home/grinder/uber/jstl-1.2.jar:/home/grinder/uber/xmlpull-1.1.3.1.jar:/home/grinder/uber/apache-mime4j-dom-0.7.2.jar:/home/grinder/uber/aws-java-sdk-lambda-1.9.14.jar:/home/grinder/uber/javax.el-3.0.0.jar:/home/grinder/uber/javax.mail-api-1.5.2.jar:/home/grinder/uber/spring-security-config-3.1.4.RELEASE.jar:/home/grinder/uber/isoparser-1.0-RC-1.jar:/home/grinder/uber/avalon-framework-4.1.4.jar:/home/grinder/uber/cglib-2.2.2.jar:/home/grinder/uber/aws-java-sdk-sts-1.9.14.jar:/home/grinder/uber/aws-java-sdk-kinesis-1.9.14.jar:/home/grinder/uber/spring-core-4.0.6.RELEASE.jar:/home/grinder/uber/aws-java-sdk-elasticloadbalancing-1.9.14.jar:/home/grinder/uber/hibernate-validator-5.1.3.Final.jar:/home/grinder/uber/slf4j-api-1.7.10.jar:/home/grinder/uber/jrugged-aspects-3.1.1.jar:/home/grinder/uber/jackson-databind-2.4.1.1.jar:/home/grinder/uber/aws-java-sdk-cognitoidentity-1.9.14.jar:/home/grinder/uber/ojdbc-12.1.0.2.jar:/home/grinder/uber/c3p0-0.9.5-pre6.jar:/home/grinder/uber/tika-parsers-1.4.jar:/home/grinder/uber/htmlparser-2.1.jar:/home/grinder/uber/hibernate-validator-annotation-processor-5.1.3.Final.jar:/home/grinder/uber/spring-aop-4.0.6.RELEASE.jar:/home/grinder/uber/stax-api-1.0-2.jar:/home/grinder/uber/log4j-over-slf4j-1.7.10.jar:/home/grinder/uber/spring-jms-4.0.6.RELEASE.jar:/home/grinder/uber/jcl-over-slf4j-1.6.6.jar:/home/grinder/uber/spring-instrument-4.0.6.RELEASE.jar:/home/grinder/uber/commons-compiler-2.7.4.jar:/home/grinder/uber/aws-java-sdk-opsworks-1.9.14.jar:/home/grinder/uber/hamcrest-core-1.3.jar:/home/grinder/uber/jackson-jaxrs-json-provider-2.3.3.jar:/home/grinder/uber/sourceanalyzer-4.10.jar:/home/grinder/uber/spring-security-core-3.1.4.RELEASE.jar:/home/grinder/uber/aws-java-sdk-sqs-1.9.14.jar:/home/grinder/uber/bsh-2.0b5.jar:/home/grinder/uber/apiService-phoenix_dball2_1.0-SNAPSHOT.jar:/home/grinder/uber/hibernate-validator-cdi-5.1.3.Final.jar:/home/grinder/uber/hamcrest-all-1.3.jar:/home/grinder/uber/coherence-common-12.1.0.jar:/home/grinder/uber/scala-reflect-2.10.4.jar:/home/grinder/uber/splunk-sdk-java-1.3.1.jar:/home/grinder/uber/scala-library-2.10.4.jar:/home/grinder/uber/swagger-annotations-1.3.7.jar:/home/grinder/uber/aws-java-sdk-elasticache-1.9.14.jar:/home/grinder/uber/dms.jar:/home/grinder/uber/stax2-api-3.1.1.jar:/home/grinder/uber/aws-java-sdk-rds-1.9.14.jar:/home/grinder/uber/aws-java-sdk-swf-libraries-1.9.14.jar:/home/grinder/uber/aws-java-sdk-ec2-1.9.14.jar:/home/grinder/uber/xml-apis-1.3.04.jar:/home/grinder/uber/json-path-0.9.0.jar:/home/grinder/uber/mvel2-2.1.3.Final.jar:/home/grinder/uber/rsyntaxtextarea-2.5.1.jar:/home/grinder/uber/coherence-spring-1.0.0.jar:/home/grinder/uber/ApacheJMeter_java-2.11.jar:/home/grinder/uber/logback-classic-1.0.7.jar:/home/grinder/uber/aws-java-sdk-directconnect-1.9.14.jar:/home/grinder/uber/slf4j-nop-1.7.5.jar:/home/grinder/uber/poi-ooxml-schemas-3.10-FINAL.jar:/home/grinder/uber/hessian-custom-4.0.37.jar:/home/grinder/uber/jsr311-api-1.1.1.jar:/home/grinder/uber/testng-6.8.8.jar:/home/grinder/uber/json4s-native_2.10-3.2.9.jar:/home/grinder/uber/logkit-2.0.jar:/home/grinder/uber/aws-java-sdk-glacier-1.9.14.jar:/home/grinder/uber/org.jacoco.core-0.7.2.201409121644.jar:/home/grinder/uber/aws-java-sdk-elastictranscoder-1.9.14.jar:/home/grinder/uber/jcommander-1.27.jar:/home/grinder/uber/org.jacoco.report-0.7.2.201409121644.jar:/home/grinder/uber/spring-beans-4.0.6.RELEASE.jar:/home/grinder/uber/boilerpipe-1.1.0.jar:/home/grinder/uber/commons-io-2.4.jar:/home/grinder/uber/jackson-module-scala_2.10-2.4.1.jar:/home/grinder/uber/oro-2.0.8.jar:/home/grinder/uber/logback-core-1.0.7.jar:/home/grinder/uber/poi-3.10-FINAL.jar:/home/grinder/uber/spring-instrument-tomcat-4.0.6.RELEASE.jar:/home/grinder/uber/vorbis-java-core-0.1.jar:/home/grinder/uber/jsoup-1.7.3.jar:/home/grinder/uber/spring-jdbc-4.0.6.RELEASE.jar:/home/grinder/uber/paranamer-2.6.1.jar:/home/grinder/uber/aws-java-sdk-route53-1.9.14.jar:/home/grinder/uber/jackson-core-2.4.1.jar:/home/grinder/uber/aws-java-sdk-1.9.14.jar:/home/grinder/uber/javax.servlet-api-3.1.0.jar:/home/grinder/uber/dom4j-1.6.1.jar:/home/grinder/uber/httpclient-4.3.4.jar:/home/grinder/uber/jorphan-2.11.jar:/home/grinder/uber/xmlbeans-2.3.0.jar:/home/grinder/uber/bcprov-jdk15-1.45.jar:/home/grinder/myapp-uber.jar:/opt/grinder/lib/grinder.jar'
net.grinder.engine.process.WorkerProcessEntryPoint"}

On Mon, Apr 13, 2015 at 10:48 AM, Marc Holden <[hidden email]> wrote:

> Hi Darren,
>
> What version of Java/Jython are you running.  I believe java 8 requires
> jython 2.7.
>
> Thanks
>
> -Marc
>
> On Mon, Apr 13, 2015 at 10:43 AM, Darren Ball <[hidden email]> wrote:
>>
>> Hi All,  I really need to solve the problem below and I am in need of
>> a little assistance if possible.
>>
>> It looks like this might be a jdk mismatch issue?
>>
>> I've tried building with the src code on github with jdk8 but I am
>> getting several errors.
>>
>> I have been experiencing the following error while attempting to
>> execute a simple grinder jython test.  Any help or insight as to a
>> solution would be greatly appreciated.
>>
>> The test is structured as follows:
>>
>> from net.grinder.Grinder import grinder
>> from net.grinder.script import Test
>> from com.mywebapp.api.controllers.perf.app import CreateAppPerf
>>
>> test1 = Test(1, "Create APP 1 Table 100 Fields")
>> createAppPerf = CreateAppPerf()
>> test1.record(createAppPerf.createApp)
>>
>> class TestRunner:
>>     def __init__(self):
>>         createAppPerf.initialize()
>>
>>     def __call__(self):
>>         createAppPerf.createApp(1,100)
>>
>>
>> The error I am receiving is as follows:
>>
>> Exception in thread "main" java.lang.IncompatibleClassChangeError:
>> Implementing class
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
>> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> at java.lang.ClassLoader.defineClass1(Native Method)
>> at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
>> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
>> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> at
>> net.grinder.util.weave.j2se6.ASMTransformerFactory.create(ASMTransformerFactory.java:119)
>> at net.grinder.util.weave.j2se6.DCRWeaver.<init>(DCRWeaver.java:70)
>> at
>> net.grinder.engine.process.dcr.DCRContextImplementation.<init>(DCRContextImplementation.java:112)
>> at
>> net.grinder.engine.process.dcr.DCRContextImplementation.create(DCRContextImplementation.java:89)
>> at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:361)
>> at
>> net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:86)
>> at
>> net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:59)
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/grinder-development
>
>

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Darren Ball
Trying to build this locally and the src is pointing to 3.12-SNAPSHOT.

On https://oss.sonatype.org/content/repositories/snapshots/net/sf/grinder

The latest snapshots are all 3.9.

Where is the actual source for this?



On Mon, Apr 13, 2015 at 11:13 AM, Darren Ball <[hidden email]> wrote:

> I am using jython 2.7 currently.
>
> JDK version is:
>
> [grinder@ip-10-82-151-89 ~]$ java -version
> java version "1.8.0_40"
> Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
> Java HotSpot(TM) 64-Bit Server VM (build 25.40-b25, mixed mode)
>
>
> Here is a dump of the call being executed with classpath included.  Is
> it possible that this is due to the grinder-dcr-agent?
>
>
> {"timestamp":"2015-04-13T15:10:03.449+00:00","logger":"agent","thread":"main","level":"INFO","HOSTNAME":"ip-10-82-151-89.localdomain","message":"Worker
> process command line: java
> '-javaagent:/opt/grinder/lib/grinder-dcr-agent-3.11.jar' -classpath
> '/home/grinder/jython-standalone-2.7-rc1.jar:/home/grinder/uber/serializer-2.7.1.jar:/home/grinder/uber/validation-api-1.1.0.Final.jar:/home/grinder/uber/commons-net-3.3.jar:/home/grinder/uber/swagger4spring-web-0.3.5.jar:/home/grinder/uber/bsf-2.4.0.jar:/home/grinder/uber/jsp-api-2.1.jar:/home/grinder/uber/aws-java-sdk-simpledb-1.9.14.jar:/home/grinder/uber/spring-aspects-4.0.6.RELEASE.jar:/home/grinder/uber/jackson-annotations-2.4.1.jar:/home/grinder/uber/commons-fileupload-1.3.1.jar:/home/grinder/uber/json4s-jackson_2.10-3.2.9.jar:/home/grinder/uber/org.jacoco.agent-0.7.2.201409121644.jar:/home/grinder/uber/commons-lang-2.4.jar:/home/grinder/uber/tagsoup-1.2.1.jar:/home/grinder/uber/jackson-module-scala-2.3.3.jar:/home/grinder/uber/aws-java-sdk-s3-1.9.14.jar:/home/grinder/uber/reflections-0.9.9.jar:/home/grinder/uber/swagger-core_2.10-1.3.7.jar:/home/grinder/uber/jackson-module-jaxb-annotations-2.3.3.jar:/home/grinder/uber/jfreechart-1.0.0.jar:/home/grinder/uber/scala-reflect-2.11.5.jar:/home/grinder/uber/opencsv-2.3.jar:/home/grinder/uber/gson-2.2.4.jar:/home/grinder/uber/aws-java-sdk-sns-1.9.14.jar:/home/grinder/uber/generalSQLParser-1.0.jar:/home/grinder/uber/spring-test-4.0.6.RELEASE.jar:/home/grinder/uber/xstream-1.4.4.jar:/home/grinder/uber/bcmail-jdk15on-1.49.jar:/home/grinder/uber/jsr305-2.0.1.jar:/home/grinder/uber/aws-java-sdk-emr-1.9.14.jar:/home/grinder/uber/scalaj-collection_2.10-1.5.jar:/home/grinder/uber/aws-java-sdk-config-1.9.14.jar:/home/grinder/uber/metadata-extractor-2.6.2.jar:/home/grinder/uber/juniversalchardet-1.0.3.jar:/home/grinder/uber/bcmail-jdk15-1.45.jar:/home/grinder/uber/htmllexer-2.1.jar:/home/grinder/uber/aws-java-sdk-datapipeline-1.9.14.jar:/home/grinder/uber/aws-java-sdk-support-1.9.14.jar:/home/grinder/uber/commons-httpclient-3.1.jar:/home/grinder/uber/guava-18.0.jar:/home/grinder/uber/commons-jexl-2.1.1.jar:/home/grinder/uber/bcprov-jdk15on-1.51.jar:/home/grinder/uber/httpmime-4.3.4.jar:/home/grinder/uber/ApacheJMeter_core-2.11.jar:/home/grinder/uber/jtds-1.3.1.jar:/home/grinder/uber/coherenceCommon.jar:/home/grinder/uber/commons-collections-3.2.1.jar:/home/grinder/uber/classmate-1.0.0.jar:/home/grinder/uber/mongo-java-driver-2.11.3.jar:/home/grinder/uber/hibernate-printer-1.0.jar:/home/grinder/uber/ApacheJMeter_core.jar:/home/grinder/uber/json4s-core_2.10-3.2.9.jar:/home/grinder/uber/aws-java-sdk-cloudsearch-1.9.14.jar:/home/grinder/uber/jackson-dataformat-xml-2.3.3.jar:/home/grinder/uber/aws-java-sdk-ecs-1.9.14.jar:/home/grinder/uber/aws-java-sdk-cloudfront-1.9.14.jar:/home/grinder/uber/aws-java-sdk-simpleworkflow-1.9.14.jar:/home/grinder/uber/common.jar:/home/grinder/uber/joda-convert-1.6.jar:/home/grinder/uber/apache-mime4j-core-0.7.2.jar:/home/grinder/uber/xercesImpl-2.9.1.jar:/home/grinder/uber/annotations-2.0.1.jar:/home/grinder/uber/aws-java-sdk-storagegateway-1.9.14.jar:/home/grinder/uber/commons-compress-1.5.jar:/home/grinder/uber/javax.inject-1.jar:/home/grinder/uber/jtidy-r938.jar:/home/grinder/uber/ApacheJMeter_components-2.11.jar:/home/grinder/uber/spring-webmvc-4.0.6.RELEASE.jar:/home/grinder/uber/aspectjrt-1.7.4.jar:/home/grinder/uber/jackson-jaxrs-base-2.3.3.jar:/home/grinder/uber/geronimo-stax-api_1.0_spec-1.0.1.jar:/home/grinder/uber/mail-1.5.0-b01.jar:/home/grinder/uber/scalap-2.10.0.jar:/home/grinder/uber/aws-java-sdk-iam-1.9.14.jar:/home/grinder/uber/aspectjweaver-1.8.1.jar:/home/grinder/uber/spring-web-4.0.6.RELEASE.jar:/home/grinder/uber/soap-2.3.1.jar:/home/grinder/uber/queryBuilder.jar:/home/grinder/uber/jodd-core-3.4.10.jar:/home/grinder/uber/aws-java-sdk-redshift-1.9.14.jar:/home/grinder/uber/aws-java-sdk-importexport-1.9.14.jar:/home/grinder/uber/aws-java-sdk-cloudwatchmetrics-1.9.14.jar:/home/grinder/uber/aws-java-sdk-cognitosync-1.9.14.jar:/home/grinder/uber/spring-expression-4.0.6.RELEASE.jar:/home/grinder/uber/netcdf-4.2-min.jar:/home/grinder/uber/commons-lang3-3.1.jar:/home/grinder/uber/pdfbox-1.8.1.jar:/home/grinder/uber/jackson-module-jsonSchema-2.1.0.jar:/home/grinder/uber/json-smart-1.2.jar:/home/grinder/uber/aws-java-sdk-ses-1.9.14.jar:/home/grinder/uber/scala-compiler-2.10.0.jar:/home/grinder/uber/geronimo-jms_1.1_spec-1.1.1.jar:/home/grinder/uber/org.jacoco.ant-0.7.2.201409121644.jar:/home/grinder/uber/mchange-commons-java-0.2.6.3.jar:/home/grinder/uber/aws-java-sdk-cloudformation-1.9.14.jar:/home/grinder/uber/ApacheJMeter_java.jar:/home/grinder/uber/jackson-mapper-asl-1.9.8.jar:/home/grinder/uber/excalibur-logger-1.1.jar:/home/grinder/uber/jcharts-0.7.5.jar:/home/grinder/uber/rhino-1.7R4.jar:/home/grinder/uber/commons-math3-3.3.jar:/home/grinder/uber/xpp3_min-1.1.4c.jar:/home/grinder/uber/ucp-12.1.0.1.jar:/home/grinder/uber/jdom-1.0.jar:/home/grinder/uber/joda-time-2.7.jar:/home/grinder/uber/aopalliance-1.0.jar:/home/grinder/uber/javassist-3.19.0-GA.jar:/home/grinder/uber/xalan-2.7.1.jar:/home/grinder/uber/aws-java-sdk-cloudtrail-1.9.14.jar:/home/grinder/uber/json4s-ext_2.10-3.2.9.jar:/home/grinder/uber/scala-actors-2.11.5.jar:/home/grinder/uber/aws-java-sdk-elasticbeanstalk-1.9.14.jar:/home/grinder/uber/excalibur-datasource-1.1.1.jar:/home/grinder/uber/scala-compiler-2.11.5.jar:/home/grinder/uber/activation-1.1.jar:/home/grinder/uber/jempbox-1.8.1.jar:/home/grinder/uber/commons-jexl-1.1.jar:/home/grinder/uber/fontbox-1.8.1.jar:/home/grinder/uber/bcpkix-jdk15on-1.49.jar:/home/grinder/uber/poi-scratchpad-3.9.jar:/home/grinder/uber/commons-cli-1.2.jar:/home/grinder/uber/xmpcore-5.1.2.jar:/home/grinder/uber/xz-1.2.jar:/home/grinder/uber/spring-security-web-3.1.4.RELEASE.jar:/home/grinder/uber/aws-java-sdk-cloudwatch-1.9.14.jar:/home/grinder/uber/vorbis-java-tika-0.1.jar:/home/grinder/uber/httpcore-4.3.2.jar:/home/grinder/uber/rome-0.9.jar:/home/grinder/uber/jackson-core-asl-1.9.8.jar:/home/grinder/uber/jcommon-1.0.0.jar:/home/grinder/uber/aws-java-sdk-autoscaling-1.9.14.jar:/home/grinder/uber/ApacheJMeter-2.11.jar:/home/grinder/uber/jdom-1.1.3.jar:/home/grinder/uber/commons-codec-1.8.jar:/home/grinder/uber/core.jar:/home/grinder/uber/aws-java-sdk-core-1.9.14.jar:/home/grinder/uber/aws-java-sdk-dynamodb-1.9.14.jar:/home/grinder/uber/junit-4.11.jar:/home/grinder/uber/javax.json-1.0.4.jar:/home/grinder/uber/jrugged-spring-3.1.1.jar:/home/grinder/uber/coherence-12.1.2.jar:/home/grinder/uber/aws-java-sdk-kms-1.9.14.jar:/home/grinder/uber/jboss-logging-3.1.3.GA.jar:/home/grinder/uber/sqlWriter.jar:/home/grinder/uber/spring-tx-4.0.6.RELEASE.jar:/home/grinder/uber/excalibur-pool-1.2.jar:/home/grinder/uber/jrugged-core-3.1.1.jar:/home/grinder/uber/scala-library-2.11.5.jar:/home/grinder/uber/spring-context-4.0.6.RELEASE.jar:/home/grinder/uber/excalibur-instrument-1.0.jar:/home/grinder/uber/core-0.5.jar:/home/grinder/uber/mockito-all-1.9.5.jar:/home/grinder/uber/janino-2.7.4.jar:/home/grinder/uber/aws-java-sdk-cloudhsm-1.9.14.jar:/home/grinder/uber/javax.el-api-3.0.0.jar:/home/grinder/uber/stax-api-1.0.1.jar:/home/grinder/uber/vorbis-java-core-0.1-tests.jar:/home/grinder/uber/poi-ooxml-3.10-FINAL.jar:/home/grinder/uber/json4s-ast_2.10-3.2.9.jar:/home/grinder/uber/aws-java-sdk-logs-1.9.14.jar:/home/grinder/uber/aws-java-sdk-codedeploy-1.9.14.jar:/home/grinder/uber/xmlgraphics-commons-1.5.jar:/home/grinder/uber/tika-core-1.4.jar:/home/grinder/uber/jodd-lagarto-3.4.10.jar:/home/grinder/uber/commons-logging-1.1.3.jar:/home/grinder/uber/jstl-1.2.jar:/home/grinder/uber/xmlpull-1.1.3.1.jar:/home/grinder/uber/apache-mime4j-dom-0.7.2.jar:/home/grinder/uber/aws-java-sdk-lambda-1.9.14.jar:/home/grinder/uber/javax.el-3.0.0.jar:/home/grinder/uber/javax.mail-api-1.5.2.jar:/home/grinder/uber/spring-security-config-3.1.4.RELEASE.jar:/home/grinder/uber/isoparser-1.0-RC-1.jar:/home/grinder/uber/avalon-framework-4.1.4.jar:/home/grinder/uber/cglib-2.2.2.jar:/home/grinder/uber/aws-java-sdk-sts-1.9.14.jar:/home/grinder/uber/aws-java-sdk-kinesis-1.9.14.jar:/home/grinder/uber/spring-core-4.0.6.RELEASE.jar:/home/grinder/uber/aws-java-sdk-elasticloadbalancing-1.9.14.jar:/home/grinder/uber/hibernate-validator-5.1.3.Final.jar:/home/grinder/uber/slf4j-api-1.7.10.jar:/home/grinder/uber/jrugged-aspects-3.1.1.jar:/home/grinder/uber/jackson-databind-2.4.1.1.jar:/home/grinder/uber/aws-java-sdk-cognitoidentity-1.9.14.jar:/home/grinder/uber/ojdbc-12.1.0.2.jar:/home/grinder/uber/c3p0-0.9.5-pre6.jar:/home/grinder/uber/tika-parsers-1.4.jar:/home/grinder/uber/htmlparser-2.1.jar:/home/grinder/uber/hibernate-validator-annotation-processor-5.1.3.Final.jar:/home/grinder/uber/spring-aop-4.0.6.RELEASE.jar:/home/grinder/uber/stax-api-1.0-2.jar:/home/grinder/uber/log4j-over-slf4j-1.7.10.jar:/home/grinder/uber/spring-jms-4.0.6.RELEASE.jar:/home/grinder/uber/jcl-over-slf4j-1.6.6.jar:/home/grinder/uber/spring-instrument-4.0.6.RELEASE.jar:/home/grinder/uber/commons-compiler-2.7.4.jar:/home/grinder/uber/aws-java-sdk-opsworks-1.9.14.jar:/home/grinder/uber/hamcrest-core-1.3.jar:/home/grinder/uber/jackson-jaxrs-json-provider-2.3.3.jar:/home/grinder/uber/sourceanalyzer-4.10.jar:/home/grinder/uber/spring-security-core-3.1.4.RELEASE.jar:/home/grinder/uber/aws-java-sdk-sqs-1.9.14.jar:/home/grinder/uber/bsh-2.0b5.jar:/home/grinder/uber/apiService-phoenix_dball2_1.0-SNAPSHOT.jar:/home/grinder/uber/hibernate-validator-cdi-5.1.3.Final.jar:/home/grinder/uber/hamcrest-all-1.3.jar:/home/grinder/uber/coherence-common-12.1.0.jar:/home/grinder/uber/scala-reflect-2.10.4.jar:/home/grinder/uber/splunk-sdk-java-1.3.1.jar:/home/grinder/uber/scala-library-2.10.4.jar:/home/grinder/uber/swagger-annotations-1.3.7.jar:/home/grinder/uber/aws-java-sdk-elasticache-1.9.14.jar:/home/grinder/uber/dms.jar:/home/grinder/uber/stax2-api-3.1.1.jar:/home/grinder/uber/aws-java-sdk-rds-1.9.14.jar:/home/grinder/uber/aws-java-sdk-swf-libraries-1.9.14.jar:/home/grinder/uber/aws-java-sdk-ec2-1.9.14.jar:/home/grinder/uber/xml-apis-1.3.04.jar:/home/grinder/uber/json-path-0.9.0.jar:/home/grinder/uber/mvel2-2.1.3.Final.jar:/home/grinder/uber/rsyntaxtextarea-2.5.1.jar:/home/grinder/uber/coherence-spring-1.0.0.jar:/home/grinder/uber/ApacheJMeter_java-2.11.jar:/home/grinder/uber/logback-classic-1.0.7.jar:/home/grinder/uber/aws-java-sdk-directconnect-1.9.14.jar:/home/grinder/uber/slf4j-nop-1.7.5.jar:/home/grinder/uber/poi-ooxml-schemas-3.10-FINAL.jar:/home/grinder/uber/hessian-custom-4.0.37.jar:/home/grinder/uber/jsr311-api-1.1.1.jar:/home/grinder/uber/testng-6.8.8.jar:/home/grinder/uber/json4s-native_2.10-3.2.9.jar:/home/grinder/uber/logkit-2.0.jar:/home/grinder/uber/aws-java-sdk-glacier-1.9.14.jar:/home/grinder/uber/org.jacoco.core-0.7.2.201409121644.jar:/home/grinder/uber/aws-java-sdk-elastictranscoder-1.9.14.jar:/home/grinder/uber/jcommander-1.27.jar:/home/grinder/uber/org.jacoco.report-0.7.2.201409121644.jar:/home/grinder/uber/spring-beans-4.0.6.RELEASE.jar:/home/grinder/uber/boilerpipe-1.1.0.jar:/home/grinder/uber/commons-io-2.4.jar:/home/grinder/uber/jackson-module-scala_2.10-2.4.1.jar:/home/grinder/uber/oro-2.0.8.jar:/home/grinder/uber/logback-core-1.0.7.jar:/home/grinder/uber/poi-3.10-FINAL.jar:/home/grinder/uber/spring-instrument-tomcat-4.0.6.RELEASE.jar:/home/grinder/uber/vorbis-java-core-0.1.jar:/home/grinder/uber/jsoup-1.7.3.jar:/home/grinder/uber/spring-jdbc-4.0.6.RELEASE.jar:/home/grinder/uber/paranamer-2.6.1.jar:/home/grinder/uber/aws-java-sdk-route53-1.9.14.jar:/home/grinder/uber/jackson-core-2.4.1.jar:/home/grinder/uber/aws-java-sdk-1.9.14.jar:/home/grinder/uber/javax.servlet-api-3.1.0.jar:/home/grinder/uber/dom4j-1.6.1.jar:/home/grinder/uber/httpclient-4.3.4.jar:/home/grinder/uber/jorphan-2.11.jar:/home/grinder/uber/xmlbeans-2.3.0.jar:/home/grinder/uber/bcprov-jdk15-1.45.jar:/home/grinder/myapp-uber.jar:/opt/grinder/lib/grinder.jar'
> net.grinder.engine.process.WorkerProcessEntryPoint"}
>
> On Mon, Apr 13, 2015 at 10:48 AM, Marc Holden <[hidden email]> wrote:
>> Hi Darren,
>>
>> What version of Java/Jython are you running.  I believe java 8 requires
>> jython 2.7.
>>
>> Thanks
>>
>> -Marc
>>
>> On Mon, Apr 13, 2015 at 10:43 AM, Darren Ball <[hidden email]> wrote:
>>>
>>> Hi All,  I really need to solve the problem below and I am in need of
>>> a little assistance if possible.
>>>
>>> It looks like this might be a jdk mismatch issue?
>>>
>>> I've tried building with the src code on github with jdk8 but I am
>>> getting several errors.
>>>
>>> I have been experiencing the following error while attempting to
>>> execute a simple grinder jython test.  Any help or insight as to a
>>> solution would be greatly appreciated.
>>>
>>> The test is structured as follows:
>>>
>>> from net.grinder.Grinder import grinder
>>> from net.grinder.script import Test
>>> from com.mywebapp.api.controllers.perf.app import CreateAppPerf
>>>
>>> test1 = Test(1, "Create APP 1 Table 100 Fields")
>>> createAppPerf = CreateAppPerf()
>>> test1.record(createAppPerf.createApp)
>>>
>>> class TestRunner:
>>>     def __init__(self):
>>>         createAppPerf.initialize()
>>>
>>>     def __call__(self):
>>>         createAppPerf.createApp(1,100)
>>>
>>>
>>> The error I am receiving is as follows:
>>>
>>> Exception in thread "main" java.lang.IncompatibleClassChangeError:
>>> Implementing class
>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>>> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
>>> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> at java.lang.ClassLoader.defineClass1(Native Method)
>>> at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
>>> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>>> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
>>> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
>>> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> at
>>> net.grinder.util.weave.j2se6.ASMTransformerFactory.create(ASMTransformerFactory.java:119)
>>> at net.grinder.util.weave.j2se6.DCRWeaver.<init>(DCRWeaver.java:70)
>>> at
>>> net.grinder.engine.process.dcr.DCRContextImplementation.<init>(DCRContextImplementation.java:112)
>>> at
>>> net.grinder.engine.process.dcr.DCRContextImplementation.create(DCRContextImplementation.java:89)
>>> at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:361)
>>> at
>>> net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:86)
>>> at
>>> net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:59)
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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
>>> [hidden email]
>>> https://lists.sourceforge.net/lists/listinfo/grinder-development
>>
>>

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Darren Ball
In reply to this post by Darren Ball
Well,
Even after building locally with jdk8, I still have this issue:

Exception in thread "main" java.lang.IncompatibleClassChangeError:
Implementing class
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at net.grinder.util.weave.j2se6.ASMTransformerFactory.create(ASMTransformerFactory.java:146)
at net.grinder.util.weave.j2se6.DCRWeaver.<init>(DCRWeaver.java:73)
at net.grinder.engine.process.dcr.DCRContextImplementation.<init>(DCRContextImplementation.java:112)
at net.grinder.engine.process.dcr.DCRContextImplementation.create(DCRContextImplementation.java:91)
at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:328)
at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:88)
at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:60)


Any help would be greatly appreciated.

Thanks,
Darren

On Mon, Apr 13, 2015 at 10:43 AM, Darren Ball <[hidden email]> wrote:

> Hi All,  I really need to solve the problem below and I am in need of
> a little assistance if possible.
>
> It looks like this might be a jdk mismatch issue?
>
> I've tried building with the src code on github with jdk8 but I am
> getting several errors.
>
> I have been experiencing the following error while attempting to
> execute a simple grinder jython test.  Any help or insight as to a
> solution would be greatly appreciated.
>
> The test is structured as follows:
>
> from net.grinder.Grinder import grinder
> from net.grinder.script import Test
> from com.mywebapp.api.controllers.perf.app import CreateAppPerf
>
> test1 = Test(1, "Create APP 1 Table 100 Fields")
> createAppPerf = CreateAppPerf()
> test1.record(createAppPerf.createApp)
>
> class TestRunner:
>     def __init__(self):
>         createAppPerf.initialize()
>
>     def __call__(self):
>         createAppPerf.createApp(1,100)
>
>
> The error I am receiving is as follows:
>
> Exception in thread "main" java.lang.IncompatibleClassChangeError:
> Implementing class
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at net.grinder.util.weave.j2se6.ASMTransformerFactory.create(ASMTransformerFactory.java:119)
> at net.grinder.util.weave.j2se6.DCRWeaver.<init>(DCRWeaver.java:70)
> at net.grinder.engine.process.dcr.DCRContextImplementation.<init>(DCRContextImplementation.java:112)
> at net.grinder.engine.process.dcr.DCRContextImplementation.create(DCRContextImplementation.java:89)
> at net.grinder.engine.process.GrinderProcess.run(GrinderProcess.java:361)
> at net.grinder.engine.process.WorkerProcessEntryPoint.run(WorkerProcessEntryPoint.java:86)
> at net.grinder.engine.process.WorkerProcessEntryPoint.main(WorkerProcessEntryPoint.java:59)

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Darren Ball
I've tried this with even the most basic of scripts as well, and it still fails.
The classpath I am introducing contains jars built on jdk8, and this is likely the issue.  Having built grinder with jdk8, the issue still persists though.

The basic script attempted as well:
from net.grinder.script import Test
from net.grinder.script.Grinder import grinder
  
test1 = Test(1, "Log method")
  
# Instrument the info() method with our Test.
test1.record(grinder.logger.info)
  
class TestRunner:
    def __call__(self):
        log("Hello World")




On Mon, Apr 13, 2015 at 2:07 PM, Darren Ball <[hidden email]> wrote:
I can not use JRE 7.  The libraries I am pulling in require jdk8.
I have tried with the standalone jython (2.5.3) that exists in the lib directory.

Running jython using the following:

java -classpath "/home/grinder/uber/*":/home/grinder/myapp-uber.jar:/opt/grinder/lib/grinder.jar:/opt/grinder/lib/jython-standalone-2.5.3.jar org.python.util.jython -v

I can run my code fine.

When using the agent, this all falls apart.  I believe this is specific to grinder's libraries given that I can easily launch my code form the jython console.

Recompiling with the correct jdk does not help at the moment.


On Mon, Apr 13, 2015 at 1:37 PM, Gary Mulder <[hidden email]> wrote:

On 13 April 2015 at 18:10, Darren Ball <[hidden email]> wrote:
Well,
Even after building locally with jdk8, I still have this issue:

Just to confirm you have tried JRE 7 and Jython as provided in ./lib in Grinder?

Can you include another library or is it specific to your library?

Gary 



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Darren Ball
In reply to this post by Darren Ball
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)


Anyway to move this into modern times?


-Darren


On Mon, Apr 13, 2015 at 2:07 PM, Darren Ball <[hidden email]> wrote:
I can not use JRE 7.  The libraries I am pulling in require jdk8.
I have tried with the standalone jython (2.5.3) that exists in the lib directory.

Running jython using the following:

java -classpath "/home/grinder/uber/*":/home/grinder/myapp-uber.jar:/opt/grinder/lib/grinder.jar:/opt/grinder/lib/jython-standalone-2.5.3.jar org.python.util.jython -v

I can run my code fine.

When using the agent, this all falls apart.  I believe this is specific to grinder's libraries given that I can easily launch my code form the jython console.

Recompiling with the correct jdk does not help at the moment.


On Mon, Apr 13, 2015 at 1:37 PM, Gary Mulder <[hidden email]> wrote:

On 13 April 2015 at 18:10, Darren Ball <[hidden email]> wrote:
Well,
Even after building locally with jdk8, I still have this issue:

Just to confirm you have tried JRE 7 and Jython as provided in ./lib in Grinder?

Can you include another library or is it specific to your library?

Gary 



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Gary Mulder-3
On 13 April 2015 at 20:35, Darren Ball <[hidden email]> 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

------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Darren Ball
Are any contributors/developers attempting to move this up for use in jdk8?

On Mon, Apr 13, 2015 at 3:37 PM, Gary Mulder <[hidden email]> wrote:
On 13 April 2015 at 20:35, Darren Ball <[hidden email]> 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


------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Philip Aston-2

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 <[hidden email]> wrote:
On 13 April 2015 at 20:35, Darren Ball <[hidden email]> 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



------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Darren Ball
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 <[hidden email]> 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 <[hidden email]> wrote:
On 13 April 2015 at 20:35, Darren Ball <[hidden email]> 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




------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: If anyone is out there - help!

Philip Aston-2
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 <[hidden email]> 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 <[hidden email]> wrote:
On 13 April 2015 at 20:35, Darren Ball <[hidden email]> 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





------------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/grinder-development
Loading...