× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

Iam running java program in the QSHELL, this java program puts a message in the 
AS400 MQ series using JMS. While doing this iam trying to initialize the 
Context with InitialContextFactory and ProviderURL and creating the 
InitialContext object as follows

Hashtable env = new Hashtable();
env.put(javax.naming.Context.INITIAL_CONTEXT_FACTORY, initialContextFactory);
env.put(Context.PROVIDER_URL,providerUrl);

**********jndiContext = new InitialContext(env);
 above statement with **** is giving following error

 


javax.naming.NamingException: Failed to initialize the ORB [Root exc
 eption is org.omg.CORBA.INITIALIZE: can't instantiate default ORB implementat
 ion com.ibm.CORBA.iiop.ORB  minor code: 0  completed: No]             

I have registered the JMS ojbects using JMSAdmin tool.

plz suggest me how to overcome this.

thanks
Dattu       



---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.