Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot start J2EE 1.3.1 RI

 
Christian Hauser
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

I've finally begun reading "Head First EJB". In the first chapter there is a tutorial to build a simple enterprise bean. I understand the code, however, I cannot start SUN's RI Server (J2EE 1.3.1).

If I enter 'j2ee -verbose' at the command prompt I get several exceptions:


I'd be very glad if someone could give me a hint on what I might be missing. I have set J2EE_HOME and added J2EE_HOME/bin to the path.

Thanks in advance,
Christian
 
Christian Hauser
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I identified the problem. I had the j2ee.jar in JAVA_HOMEC/jre/lib/ext. I removed it there and now it works.

I'm sorry for this post. Next time I'll boot my brain before posting a mesage.

Christian
 
Bhavik Patel
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sure u r in the X\bin directory of j2eesdk while running from the command prompt

OR

u can just create an environment variable from MY computer/properties and set the valu to for example c:\j2sdkee1.3.1\bin. so u don't need to be at bin dir while running the server
 
Bhavik Patel
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
find the class from cloudscape.jar or related .jar file from bin or server dir and then add that jar to ur classpath or just extract the jar and include the classes in ur roor folder
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic