Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

exception while starting J2ee server

 
mamatha ch
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Mamatha
 
Raki ya
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
could u check classpath settings?
 
mamatha ch
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 www.wickedlysmart.com. 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?


Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic