This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

deploying the J2EE Application - Specify JNDI Names  RSS feed

 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help!
After I created the J2EE Application, I tried to specify JNDI name of the enterprise bean in the Application Deployment Tool. I selected the JNDI Name tab, but the JNDI Names field was inactived and so I could not enter the EJB name.
What is the problem ? I successfully created the application.
Thanks
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the problem. The deployment has been successful after I saved the class files in a different subdirectory.
The Sun deployment tool can not make JAR files from class files if the later saved in WEB-INF/classes subdirectory, which is required by JRUN server.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!