JTraining Blog

Share your knowledge.
JavaGuy
JavaGuy

i am facing cosnaming exception. I am doing a lookup, while doing a lookup it gives me

javax.naming.NameNotFoundException[root exception is org.omg.CosNaming.NamingContextPackage.Notfound]

i am calling a java file from a shell script, the java file resides in an application ear file, this ear file is deployed on the server and the application is running fine. the java file does lookup to call the ejb.now when i call this java file from a shell script it throws cosnaming exception.

 can anyone help me resolve this issue.

 

Thanks.

 


Tagged in: Untagged 
Trackback(0)
Comments (0)Add Comment

Write comment
You must be logged in to post a comment. Please register if you do not have an account yet.

busy

Tags:

Sponsers