Re: JNDI Access from Sun JRE on Websphere 6

This is a discussion on Re: JNDI Access from Sun JRE on Websphere 6 within the Websphere forums, part of the Application Servers category; Hi, I tried running stand alone JMS Client sending a jms message to a topic on Websphere 6.0 node. I ran into the following issue. javax.naming.NamingException: Failed to initialize the ...

Go Back   Unix Linux Forum > Application Servers > Websphere

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 08-27-2008, 05:02 PM
Default Re: JNDI Access from Sun JRE on Websphere 6

Hi,

I tried running stand alone JMS Client sending a jms message to a topic on Websphere 6.0 node. I ran into the following issue.

javax.naming.NamingException: Failed to initialize the ORB [Root exception is java.lang.ClassCastException: com.sun.corba.se.impl.orb.ORBImpl]
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java :318)


Then I installed IBM Client for JMS on J2SE with IBM WebSphere Application Server as mentioned in http://www-01.ibm.com/support/docvie...id=swg24012804. I used the option jms_jndi_ibm.

Now when I run my application, I get the following error. Please help me on this. I attached the custom.bat, my source code. This works fine if it was run inside WAS.

java.lang.ExceptionInInitializerError
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:195)
at com.ibm.rmi.iiop.CDROutputStream. (CDROutputStream.java:1235)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:177)
at com.ibm.rmi.corba.ORB. (ORB.java:353)
at com.ibm.rmi.iiop.ORB. (ORB.java:199)
at com.ibm.CORBA.iiop.ORB. (ORB.java:667)
at java.lang.Class.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1243)
at org.omg.CORBA.ORB.create_impl(ORB.java:322)
at org.omg.CORBA.ORB.init(ORB.java:363)
at com.ibm.ws.orb.GlobalORBFactory.init(GlobalORBFact ory.java:85)
at com.ibm.ejs.oa.EJSORBImpl.initializeORB(EJSORBImpl .java:174)
at com.ibm.ejs.oa.EJSClientORBImpl. (EJSClientORBImpl.java:97)
at com.ibm.ejs.oa.EJSClientORBImpl. (EJSClientORBImpl.java:73)
at com.ibm.ejs.oa.EJSORB.init(EJSORB.java:386)
at com.ibm.ws.naming.util.Helpers.getOrb(Helpers.java :305)
at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitia lContextInternal(WsnInitCtxFactory.java:383)
at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnIn itCtx.java:113)
at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull (WsnInitCtx.java:428)
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCt x.java:144)
at javax.naming.InitialContext.lookup(InitialContext. java:363)
at ServiceLocator.getConnectionFactory(ServiceLocator .java:284)
at TestTopicSender.send(TestTopicSender.java:29)
at TestTopicSender.main(TestTopicSender.java:13)
Caused by: java.lang.SecurityException: java.lang.Object:java.security.NoSuchAlgorithmExce ption: SHA MessageDigest not availa
at com.ibm.rmi.io.ObjectStreamClass._computeSerialVer sionUID(ObjectStreamClass.java:1193)
at com.ibm.rmi.io.ObjectStreamClass.init(ObjectStream Class.java:812)
at com.ibm.rmi.io.ObjectStreamClass.lookup(ObjectStre amClass.java:364)
at com.ibm.rmi.io.ObjectStreamClass.lookup(ObjectStre amClass.java:354)
at com.ibm.rmi.util.RepositoryId.createHashString(Rep ositoryId.java:757)
at com.ibm.rmi.util.RepositoryId.(RepositoryId.java:2 87)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:177)
... 24 more
Caused by: java.security.NoSuchAlgorithmException: SHA MessageDigest not available
at sun.security.jca.GetInstance.getInstance(GetInstan ce.java:158)
at java.security.Security.getImpl(Security.java:691)
at java.security.MessageDigest.getInstance(MessageDig est.java:145)
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 10:51 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger