GeeCON Prague 2014*
The moose likes EJB and other Java EE Technologies and the fly likes javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.Ini Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.Ini" Watch "javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.Ini" New topic
Author

javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.Ini

Ramkumar Kalirajan
Greenhorn

Joined: May 14, 2012
Posts: 1
Hi,

I am doing JMS Migration from AS 5 to AS 7. I read an article from https://community.jboss.org/wiki/BridgeJMSMessagesFromAS5ToAS7 I did all as in the link.

I started AS 7 in remote machine with standalone.bat -server-config=standalone-full.xml -b(Remote IP address)

I started AS 5 in my machine with run.bat -b (MyIpAddress). In console I am getting

javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.InitialContextFactory [Root exception is java.lang.ClassNotFoundException: org.jboss.naming.remote.c
lient.InitialContextFactory ] exception.

I am new to JBoss. Do I need to something else in the config..?

Thanks in advance
 
GeeCON Prague 2014
 
subject: javax.naming.NoInitialContextException: Cannot instantiate class: org.jboss.naming.remote.client.Ini