• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse3.2 gives NoInitialContextException at the client?

 
Ashimashi Kabashi
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Ranchers

i am using eclipse 3.2 with Jboss AS to make a simple EJB and I am getting the following exception

when I test it on a Java Application.
I have tested it on a browser and everything works fine, so I guess I have all the environment variables right.
I have also tried to run it with

but without luck.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34839
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashimashi,
I think you might get more useful answers in the JBoss forum where people will know about connecting to JBoss. I'll move this there for you.

Someone can move it back to IDEs if it winds up being more about Eclipse.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashimashi,

Have a look at I Get NoInitialContextException. How do i fix it?. In short, you will have to place a jndi.properties file, containing the appropriate entries, in the client's classpath.
 
Ashimashi Kabashi
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks jai..
I got wat I was looking for
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic