jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: NoClassDefFoundError -- EJBObject
Date Mon, 05 Jan 2009 17:37:56 GMT
On 05/01/2009, laredotornado <laredotornado@gmail.com> wrote:
>
>  A follow up on this.  When I changed the "\" to "/" in the user.classpath ...
>
>
>  user.classpath=C:/bea/weblogic92/server/lib/weblogic.jar
>
>
> JMeter never even started.  It just displayed a window that looked like
>  this:
>
>  http://screencast.com/t/0KqxySEvS
>

What did jmeter.log show?
And what did the console window show?

>  So I switched it back.  Guess I'll have to settle for multiple copies of the
>  JAR on my system.   -
>

Or tell the other application(s) to look in the JMeter lib directory ;-)

>
>
>
>  sebb-2-2 wrote:
>  >
>  > On 05/01/2009, laredotornado <laredotornado@gmail.com> wrote:
>  >>
>  >>  I found the missing class in weblogic.jar.  But here is something I
>  >> don't
>  >>  understand.  When I copied that JAR into my JMETER_HOME/lib directory, I
>  >> got
>  >>  things to run.  But when I edited my user.classpath variable in
>  >>  jmeter.properties to point to the JAR on my system (and removed
>  >> weblogic.jar
>  >>  from the JMETER_HOME/lib directory) ...
>  >>
>  >>  user.classpath=C:\bea\weblogic92\server\lib\weblogic.jar
>  >
>  > Try replacing \ with / above.
>  >
>  >>  I was still getting the NoClassDefFoundError.  Am I not using
>  >>  "user.classpath" correctly?  I hate having multiple copies of a file in
>  >> my
>  >>  system.
>  >
>  > user.classpath works for me - e.g. I moved the BSF jar to bin and
>  > added it to user.classpath, and the BSF Sampler was displayed.
>  >
>  > However, if the class is needed very early on, then user.classpath may
>  > not work - e.g. one cannot reference jorphan.jar from user.classpath.
>  >
>  >>  Thanks, - Dave
>  >>
>  >>
>  >>
>  >>
>  >>  sebb-2-2 wrote:
>  >>  >
>  >>  > On 05/01/2009, laredotornado <laredotornado@gmail.com> wrote:
>  >>  >>
>  >>  >>  Hi,
>  >>  >>
>  >>  >>  I'm using JMeter 2.3.2.  When running a Java request, I'm getting
a
>  >>  >>  NoClassDefFoundError for the javax/ejb/EJBObject class.  The stack
>  >> trace
>  >>  >> is
>  >>  >>  below.  Does anyone know where I find this class?  The project in
>  >>  >> question
>  >>  >>  is running in WebLogic 9.2.2.
>  >>  >>
>  >>  >>  2009/01/05 08:19:35 INFO  - jmeter.threads.JMeterThread: Thread
>  >>  >>  CedarPoint_Service 1-10 started
>  >>  >>  2009/01/05 08:19:35 ERROR - jmeter.threads.JMeterThread: Test
>  >> failed!
>  >>  >>  java.lang.NoClassDefFoundError: javax/ejb/EJBObject
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> com.myco.safariview.cedarpoint.delegates.CPEJBObjectFactory.getCPRemoteStubs(Unknown
>  >>  >>  Source)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> com.myco.safariview.cedarpoint.delegates.CPEJBObjectFactory.makeObject(Unknown
>  >>  >>  Source)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:840)
>  >>  >>         at
>  >>  >>
>  >> com.myco.safariview.cedarpoint.delegates.CPEJBPool.borrowObject(Unknown
>  >>  >>  Source)
>  >>  >>         at
>  >>  >> com.myco.safariview.cedarpoint.delegates.CPDelegate.auditMTA(Unknown
>  >>  >>  Source)
>  >>  >>         at com.myco.nps.jmeter.cedarpoint.AuditMta.runTest(Unknown
>  >>  >> Source)
>  >>  >>         at
>  >>  >>
>  >>  >>
>  >> org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:161)
>  >>  >>         at
>  >>  >> org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:290)
>  >>  >>         at java.lang.Thread.run(Unknown Source)
>  >>  >>
>  >>  >
>  >>  > The stack trace shows clearly that JMeter is using some 3rd party
>  >>  > add-on in the Java Sampler.
>  >>  >
>  >>  > Please check the documentation for the add-on which should tell you
>  >>  > what jars are needed to run it.
>  >>  >
>  >>  >>  Thanks, - Dave
>  >>  >>
>  >>  >> --
>  >>  >>  View this message in context:
>  >>  >>
>  >> http://www.nabble.com/NoClassDefFoundError----EJBObject-tp21293077p21293077.html
>  >>  >>  Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>  >>
>  >>  >>
>  >>  >>
>  >> ---------------------------------------------------------------------
>  >>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>  >>
>  >>  >>
>  >>  >
>  >>  > ---------------------------------------------------------------------
>  >>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>  >
>  >>  >
>  >>  >
>  >>
>  >>
>  >> --
>  >>  View this message in context:
>  >> http://www.nabble.com/NoClassDefFoundError----EJBObject-tp21293077p21293416.html
>  >>
>  >> Sent from the JMeter - User mailing list archive at Nabble.com.
>  >>
>  >>
>  >>  ---------------------------------------------------------------------
>  >>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>  --
>
> View this message in context: http://www.nabble.com/NoClassDefFoundError----EJBObject-tp21293077p21295486.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message