• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Headfirst EJB - AdviceBean

 
Wilder C Rodrigues
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, folks!
I'm having some problems with AdviceBean example. My code is equals to book's code, but when I execute (with the line: java -cp AdviceAppClient;. AdviceClient) an NoInitialContextException is thrown.
The root directory is the same, the file names are the same, the JNDI name is the same... What's wrong?
I hope an answer. I just go ahead after execute the client.
Thanks,
Wilder C. Rodrigues
SCPJ, SCDJ, SCWCD
Fortaleza/Brazil
 
Ken Krebs
Ranch Hand
Posts: 451
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wilder,
Take a look at: Topic: InitialContext problem in AdviceCleint.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic