File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jndi lookup problem in was6.0

 
eric White
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic