• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

exception while starting J2ee server

 
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
 
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,
 
Eliminate 95% of the weeds in your lawn by mowing 3 inches or higher. Then plant tiny ads:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic