Meaningless Drivel is fun!*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes exception while starting J2ee server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "exception while starting J2ee server" Watch "exception while starting J2ee server" New topic

exception while starting J2ee server

mamatha ch

Joined: May 25, 2005
Posts: 2
I just started working on my EJB certification with HFEJB book. I could compile the AdviceBean classes but

when I start the server using j2ee -verbose it is giving the following exception

java.lang.RuntimeException coouldn't initialize j2ee server. Possible cause could be another instance of the server is running.

Possibly another server is using the same port?? , but I closed all my other programs when i try this J2ee RI.

please help me. thanks in advance.

Raki ya

Joined: May 25, 2005
Posts: 1
could u check classpath settings?
mamatha ch

Joined: May 25, 2005
Posts: 2
Thank you for your quick reply

In the classpath I have added j2ee_home/lib/j2ee.jar

I set up path and Classpath as specified in the I tried the same thing in my laptop it is working fine.
only the JDK versions are different
In my desktop I am using JDK version latest 1.4.2_08
In my laptop may be 1.3.1.

Does it matter?

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: exception while starting J2ee server
Similar Threads
J2ee server not running??
How to start J2EE server ?
j2ee startup problem
how can i modify the port number of the j2ee reference?
SOS!!!about J2EE Server