• Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB Headfirst frst chapter question?

 
John Jyang
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

If anyone can help this out, that will be great as I have tried this for couple days. I am on page 58 (EJB Headfirst), and all the previous setup showed up correctly. when I tried to run the client with command

"java -cp .;%CLASSPATH;AdviceAppClient.jar Adviceclient"

I got the following message

javax.anming.nameNotFoundExeption: Advisor nt found

I am sure I set my JNDI name to "Advisor".

I ran this at Windows 2000. Did anyone ever get same problem before, or anyone what could be the problem.

Thanks,

John
 
Mark Spritzler
ranger
Sheriff
Posts: 17290
9
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Doesn't the % sign need to be on both sides of CLASSPATH?

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!