« Return to Thread: Java errors with Grinder Analyzer

Re: Java errors with Grinder Analyzer

by Tuvell_Walter :: Rate this Message:

| View in Thread

I hesitate to join this conversation, for reasons that will become
clear, but here's one solution, FWIW.

I had a similar problem, and nothing seemed to work.  Out of
desperation, I exploded the Grinder Analyzer jars (from jars to
directory trees, under the grinderAnalyzer.V2.b5 directory, such as
org/jfree, etc.).  Then Grinder Analyzer started working, mysteriously.

Go figure.  Some Java magic, I guess.

If anybody can find a better solution, I'd love to hear it.

- Walt


 

-----Original Message-----
From: Rbrennan [mailto:brennan.ron@...]
Sent: Wednesday, December 03, 2008 3:23 PM
To: grinder-use@...
Subject: Re: [Grinder-use] Java errors with Grinder Analyzer



Hi Travis,

I have done/checked all the bullets and I am still getting the same
error:

grinder@rondev:~/grinder-3.0.1/grinderAnalyzer.V2.b9$ python run.py
/home/grinder/grinder-3.0.1/logs/data_rondev-0.log.PRE
/home/grinder/grinder-3.0.1/logs/out_rondev-0.log.PRE 1
grinderAnalyzer.V2.b9
   log4j.jar
   commons-lang-2.3.jar
   grinderAnalyzer.V2.b9.jar
   velocityMerger-1.0.1.jar
   jfreechart-1.0.9.jar
   commons-collections-3.2.jar
   velocity-1.5.jar
   jcommon-1.0.12.jar
Traceback (most recent call last):
  File "run.py", line 63, in <module>
    import analyzer
  File "/home/grinder/grinder-3.0.1/grinderAnalyzer.V2.b9/analyzer.py",
line
35, in <module>
    from org.jfree.chart import *
ImportError: No module named org.jfree.chart


Thoughts?

R


Travis Bear wrote:
>
> This is a classpath issue.  Normally this is not seen in a clean
install.
> Can you verify:
>
>  * You are using an unmodified build with only the extracted contents
of
> the tar file
>  * jfreechart 1.0.9 is in your lib dir
>  * You are invoking run.py from within the grinder analyzer directory
>
> If these are all true, you could uncomment the print statement on line
58

> of run.py and see if the libs are being correctly added to your system
> path.
>
>
> -Travis
>
>
>
>
>
> ________________________________
> From: Rbrennan <brennan.ron@...>
> To: grinder-use@...
> Sent: Tuesday, December 2, 2008 7:14:19 AM
> Subject: Re: [Grinder-use] Java errors with Grinder Analyzer
>
>
>
> Hi Travis,
>
> I upgraded and I am now getting this error:
>
> grinderAnalyzer.V2.b9
> Traceback (most recent call last):
>   File "run.py", line 63, in <module>
>     import analyzer
>   File
"/home/grinder/grinder-3.0.1/grinderAnalyzer.V2.b9/analyzer.py",
> line
> 35, in <module>
>     from org.jfree.chart import *
> ImportError: No module named org.jfree.chart
>
> I'm not sure where to set an environment variable to grab the
jFreeChart

> stuff.  I couldn't find it in the jFreeChart documentation.
>
> Thoughts?
> R
>
>
> I have
>
>
> Travis Bear wrote:
>>
>> Ron,
>>
>> I'm pretty sure I've already addressed this issue.  Can you try with
the
>> current version of GrinderAnalyzer -- V2.b9?  If you're still having
>> troubles with that build, please post your grinder logs and I'll take
a

>> look.
>>
>> Thanks!
>>
>>
>> -Travis
>>
>>
>>
>>
>>
>>
>> ________________________________
>> From: Rbrennan <brennan.ron@...>
>> To: grinder-use@...
>> Sent: Monday, December 1, 2008 1:11:20 PM
>> Subject: Re: [Grinder-use] Java errors with Grinder Analyzer
>>
>>
>> Thanks Travis,
>>
>> I've managed to fix my java errors.  I was point to 1.6 which was
failing

>> so
>> I reverted back to 1.5.
>>
>> I am no longer getting java errors, but I am getting this:
>>
>> grinder@rondev:~/grinder-3.0.1/grinderAnalyzer$ ./run.sh
>> /home/grinder/grinder-3.0.1/logs/out_rondev-0.log
>> /home/grinder/grinder-3.0.1/logs/data_rondev-0.log 1
>> Found lib dir './lib'
>> Using classpath:
>>
./lib/velocityMerger-1.0.1.jar:./lib/velocity-1.5.jar:./lib/log4j.jar:./
lib/jfreechart-1.0.9.jar:./lib/jcommon-1.0.12.jar:./lib/grinderAnalyzer.
V2.b7.jar:./lib/commons-lang-2.3.jar:./lib/commons-collections-3.2.jar:

>> Traceback (innermost last):
>>   (no code object) at line 0
>> OverflowError: integer literal too large
>>
>>
>> Thoughts?
>>
>> R
>>
>>
>> Travis Bear wrote:
>>>
>>> Ron,
>>>
>>> This looks like an issue with your JVM installation.  Are you using
>>> IBM's
>>> Java?  Sun's Java appears to be required.  It might be worth
upgrading

>>> to
>>> the current Grinder Analyzer as well.
>>>
>>> Thanks!
>>>
>>>
>>> -Travis
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> ________________________________
>>> From: Ron Brennan <brennan.ron@...>
>>> To: grinder-use@...
>>> Sent: Thursday, November 27, 2008 9:26:17 AM
>>> Subject: [Grinder-use] Java errors with Grinder Analyzer
>>>
>>>
>>> Hello,
>>>
>>> I am having an issue with running the GrinderAnalyzer.  I have no
>>> troubles
>>> running Grinder so I beleive all my files are set up when I run
>>> ./run.sh,
>>> I am expecting the usage....but instead I am seeing:
>>>
>>> :/home/grinder/grinder-3.0.1/grinderAnalyzer$ ./run.sh
>>>
>>> Found lib dir './lib'
>>> Using classpath:
>>>
./lib/velocityMerger-1.0.1.jar:./lib/velocity-1.5.jar:./lib/log4j.jar:./
lib/jfreechart-1.0.9.jar:./lib/jcommon-1.0.12.jar:./lib/grinderAnalyzer.
V2.b7.jar:./lib/commons-lang-2.3.jar:./lib/commons-collections-3.2.jar:
>>> Exception in thread "main" java.lang.UnsatisfiedLinkError:
>>> /usr/lib/jni/libJavaEditline.so: /usr/lib/jni/libJavaEditline.so:
cannot

>>> open shared object file: No such file or directory (Possible cause:
>>> architecture word width mismatch)
>>>         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>>>         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
>>>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
>>>         at java.lang.Runtime.loadLibrary0(Runtime.java:823)
>>>         at java.lang.System.loadLibrary(System.java:1030)
>>>         at org.gnu.readline.Readline.load(Readline.java:902)
>>>         at
>>> org.python.util.ReadlineConsole.<init>(ReadlineConsole.java:23)
>>>         at
>>> org.python.util.ReadlineConsole.<init>(ReadlineConsole.java:13)
>>>         at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
>>> Method)
>>>         at
>>>
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA
ccessorImpl.java:39)
>>>         at
>>>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons
tructorAccessorImpl.java:27)

>>>         at
>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>>         at java.lang.Class.newInstance0(Class.java:355)
>>>         at java.lang.Class.newInstance(Class.java:308)
>>>         at org.python.util.jython.main(jython.java:92)
>>>
>>>
>>> Is there anything I could be missing?
>>>
>>>
>>>
>>>      
>>>
------------------------------------------------------------------------
-
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win
great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in
the

>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>> _______________________________________________
>>> grinder-use mailing list
>>> grinder-use@...
>>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>>
>>>
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Java-errors-with-Grinder-Analyzer-tp20722984p20780
630.html
>> Sent from the Grinder - User mailing list archive at Nabble.com.
>>
>>
>>
------------------------------------------------------------------------
-
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win
great

>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> grinder-use mailing list
>> grinder-use@...
>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>
>>
>>
>>      
>>
------------------------------------------------------------------------
-
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win
great

>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> grinder-use mailing list
>> grinder-use@...
>> https://lists.sourceforge.net/lists/listinfo/grinder-use
>>
>>
>
> --
> View this message in context:
>
http://www.nabble.com/Java-errors-with-Grinder-Analyzer-tp20722984p20794
168.html
> Sent from the Grinder - User mailing list archive at Nabble.com.
>
>
>
------------------------------------------------------------------------
-

> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> grinder-use mailing list
> grinder-use@...
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>
>
>      
>
------------------------------------------------------------------------
-

> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> grinder-use mailing list
> grinder-use@...
> https://lists.sourceforge.net/lists/listinfo/grinder-use
>
>

--
View this message in context:
http://www.nabble.com/Java-errors-with-Grinder-Analyzer-tp20722984p20820
860.html
Sent from the Grinder - User mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

 « Return to Thread: Java errors with Grinder Analyzer