Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Cannot start J2EE 1.3.1 RI

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic