File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Websphere and the fly likes jndi lookup problem in was6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Websphere
Reply Bookmark "jndi lookup problem in was6.0" Watch "jndi lookup problem in was6.0" New topic
Author

jndi lookup problem in was6.0

eric White
Greenhorn

Joined: Jul 25, 2010
Posts: 1
Hi, I'm new to the WAS. I want to know if the following code can run in the standalone java application outside the container.


these jars have been imported bootstrap.jar db2jcc.jar ecutils.jar emf.jar ffdc.jar iwsorb.jar jcorb.jar naming.jar namingclient.jar ras.jar wsexception.jar. But it doesnt work still.

Follwing is the exceptions:

11:38:55.453 com.ibm.rmi.corba.PluginRegistry loadPrereqPluginsGroupThree:269 P=134828:O=0:CT ORBRas[default] org.omg.CORBA.INTERNAL: CONNECTIONINTERCEPTOR_INVALID_CLASSNAME vmcid: 0x49421000 minor code: 5B completed: No org.omg.CORBA.INTERNAL: CONNECTIONINTERCEPTOR_INVALID_CLASSNAME vmcid: 0x49421000 minor code: 5B completed: No
at com.ibm.ws.orbimpl.transport.WSTransport.init(WSTransport.java:208)
at com.ibm.rmi.corba.PluginRegistry.loadPrereqPluginsGroupThree(PluginRegistry.java:240)
at com.ibm.rmi.corba.ORB.initializePrereqPlugins(ORB.java:445)
at com.ibm.CORBA.iiop.ORB.initializePrereqPlugins(ORB.java:959)
at com.ibm.rmi.corba.ORB.orbParameters(ORB.java:1347)
at com.ibm.CORBA.iiop.ORB.orbParameters(ORB.java:1251)
at com.ibm.rmi.corba.ORB.set_parameters(ORB.java:1276)
at com.ibm.CORBA.iiop.ORB.set_parameters(ORB.java:1839)
at org.omg.CORBA.ORB.init(ORB.java:368)
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFactory.java:82)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl.java:174)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:97)
at com.ibm.ejs.oa.EJSClientORBImpl.<init>(EJSClientORBImpl.java:73)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java:285)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:373)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:112)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:422)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:143)
at javax.naming.InitialContext.lookup(InitialContext.java:361)
at TestPool.main(TestPool.java:27)
, p1=<null>


should I change some xml configuration files? such as web.xml or others. thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jndi lookup problem in was6.0
 
Similar Threads
ClasCastExc eption looking up ConnectionFactory
EJB LOOKUP EXCEPTION
JNDI Lookup Error
Running a JEE 1.5 Swing Client with an 1.4 EJB-Container
interop problems with iiop between sun and ibm jvm's