Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

doubt in Simple J2ee application  RSS feed

 
Mani vannan
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I have created a simple application and deployed it using Sun's Application server (PE8). My Bean classes are my.diary.Diary (helper class), my.diary.DiaryBean, my.diary.DiaryHome, my.diary.DiaryRemote.
Things deployed successfully & I made my WAR to refer to the Ejbs. Also, I set the Jndi name & Ejb' refernce tab perfect.
When, My jsp file tries to call the bean, the apps do not detect any of the class & also any of the class from javax.ejb.*?
What went wrong? (Also I imported all these classes in my Jsp file)

(I didnt include the code with this post, hope this info is enough)
 
Dushy Inguva
Ranch Hand
Posts: 264
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically, your JSP compiler is unable to find the j2ee.jar (or the jar which has the javax.ejb interfaces)
Make sure the jar with the javax.ejb interfaces are present in the classpath.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!