File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Cannot start J2EE 1.3.1 RI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Cannot start J2EE 1.3.1 RI" Watch "Cannot start J2EE 1.3.1 RI" New topic
Author

Cannot start J2EE 1.3.1 RI

Christian Hauser
Greenhorn

Joined: Feb 17, 2003
Posts: 14
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

Joined: Feb 17, 2003
Posts: 14
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

Joined: Jul 12, 2004
Posts: 155
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


SCJP 1.4<br />SCWCD 1.4(91%)<br />Working on SCJD -Bodgitt & Scrapper Constructions...<br /> <br />"It takes 43 muscles to frown & 17 to smile but it doen't take any to just sit there with a dumb look on your face .. Keep Smiling "
Bhavik Patel
Ranch Hand

Joined: Jul 12, 2004
Posts: 155
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Cannot start J2EE 1.3.1 RI