I made a jar file of my classes and dropped it into the directory. My class demands weblogic.jndi.WLInitialContextFactory.
If I don't drop the weblogic.jar into /lib/ext, I will get exception A) when running my test plan. If I do, I will get exception B) when starting up JMeter. To solve the problem, I drop the bsf.jar into /lib/ext, and receive an error message when starting up JMeter: Exception in thread "main". The system dies thereafter. Exception A): .... (only list readable part of the exception) javax.naming.NoInitialContextException: Cannot instantiate class: weblogic.jndi. WLInitialContextFactory. Root exception is java.lang.ClassNotFoundException: we blogic.jndi.WLInitialContextFactory ..... Exception B): java.lang.ClassNotFoundException: com.ibm.bsf.BSFManager ..... Denis -----Original Message----- From: Mike Stover [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 17, 2002 8:54 PM To: JMeter Users List Subject: Re: RMI problem with JMeter; possibly caused by classpath setting Make a jar of you classes and drop it into JMeter's /lib/ext directory. -Mike On 17 Sep 2002 at 20:52, Denis Wang wrote: > Hello, all, > I am using JMeter1.7.3 Java Request Sampler to invoke a standalone > java application, which communicate with EJB container through RMI- > IIOP. Environments include Windows XP command prompt and weblogic > server 6.1. However naming exception was thrown in the process for > initial context looking up and setting. Under exact the same command > prompt environment, I can run the standalone java application without > JMeter successfully. > > I am wondering whether this problem is caused by classpath setting. > Does JMeter use its own classpath instead of appending the > environmental classpath. If this is the case, how to include my > environmental classpath. I find the following script in > jmeter.properties: > search_paths=lib/ext > > It doesn't work out when I changed the setting to > search_paths=lib/ext;%classpath% > > Any inputs will be highly appreciated! > > Denis > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Michael Stover [EMAIL PROTECTED] Yahoo IM: mstover_ya ICQ: 152975688 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

