File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes findOrCreateRJVM is not found int ServerURL Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "findOrCreateRJVM is not found int ServerURL" Watch "findOrCreateRJVM is not found int ServerURL" New topic

findOrCreateRJVM is not found int ServerURL

Gaurav Aneja

Joined: Oct 19, 2012
Posts: 3
Hi all

I am trying to execute Soap Ui project on unix machine using command line. The project loads successfully and the groovy script starts executing but when the script pushes the data on JMS queue , I get the following error :

ERROR [SoapUI] An error occured [weblogic.rjvm.ServerURL.findOrCreateRJVM(ZLjava/lang/String;Lweblogic/rmi/spi/HostID;IZ)Lweblogic/rjvm/RJVM;], see error log for details
java.lang.NoSuchMethodError: weblogic.rjvm.ServerURL.findOrCreateRJVM(ZLjava/lang/String;Lweblogic/rmi/spi/HostID;IZ)Lweblogic/rjvm/RJVM;
at weblogic.jndi.WLInitialContextFactoryDelegate$
at Source)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(
at weblogic.jndi.Environment.getContext(
at weblogic.jndi.Environment.getContext(
at weblogic.jndi.WLInitialContextFactory.getInitialContext(
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.init(Unknown Source)
at javax.naming.InitialContext.<init>(Unknown Source)
at hermes.JNDIContextFactory.createContext(
at hermes.JNDIConnectionFactory.createConnection(
at com.eviware.soapui.impl.wsdl.submit.transports.jms.JMSConnectionHolder.createConnection(
at com.eviware.soapui.impl.wsdl.submit.transports.jms.JMSConnectionHolder.<init>(
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.codehaus.groovy.reflection.CachedConstructor.invoke(
at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(
at groovy.lang.GroovyShell.evaluate(
at groovy.lang.GroovyShell.evaluate(
at groovy.lang.Script.evaluate(
at groovy.lang.Script$evaluate.callCurrent(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(
at java.util.concurrent.Executors$ Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$ Source)
at Source)
12:27:17,520 INFO [log] Error :javax.jms.JMSException: weblogic.rjvm.ServerURL.findOrCreateRJVM(ZLjava/lang/String;Lweblogic/rmi/spi/HostID;IZ)Lweblogic/rjvm/RJVM;

I have tried placing wlfullclient in hermes's lib folder as well as soap ui's lib but I get the same error again.
Please Help!
Pablo Abbate
Ranch Hand

Joined: Aug 06, 2012
Posts: 30

This kind of errors happen when you have an api-jar and an impl-jar with misplaced versions.

For example.


Please check that.

Nissi Group, Posicionamiento Web, Desarrollo de Software, DiseƱo Web
Blog , LinkedIn
Gaurav Aneja

Joined: Oct 19, 2012
Posts: 3
Hi Pablo

Thanks for your reply. I looked up in the lib folder of Soap Ui and HermesJms but i could not find any such jars that you have mentioned.

Are you suggesting that the error could be because of different versions of jars in the lib folders?

I have added wlfulclient, weblogic, weblogic_10 jars afterwards . All other jars have remained the same since installation.

And its working on windows command line platform with the same jars.

Please suggest
Gaurav Aneja

Joined: Oct 19, 2012
Posts: 3

The issue has been resolved.

I just removed weblogic.jar from the HermesJms lib and it worked. I read somewhere that it is not compatible with clients.

I agree. Here's the link:
subject: findOrCreateRJVM is not found int ServerURL
Similar Threads
No class DefFound error in EJB3.0 running in weblogic 10.0
Struts application. Environment variables Problem it seems!
Change password for user in WebLogic 8.1 with Java
can't run jstl in jsp
Getting CommunicationException