• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

urgently Help

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am a newbie in ejb.
use blazix server in winxp.
i got problem in compiling files.
error: javax.ejb doesnot exist
my classpath: C:\Blazix\blazix.jar;C:\Sun\Appserver\jdk\bin;
path C:\Blazix
i installed the blazix in C:
and installed j2ee platform in C:
 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
j2ee.jar needs to be in your classpath. Make sure it is there.

Also a word of advice - posting quetions with topic names including the word "urgent" tends not to go down too well here.
 
min zhang
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the blazix.jar should have the same functionality with j2ee.jar
and also i installed the j2eeplatform
i included the classpath C:\Sun\Appserver\lib\j2ee.jar
but it doesnt work at all
any idea about that enigma
thanks first
 
Paul Sturrock
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
j2ee.jar (or whatever jar you are using which includes it) must not be in your classpath, otherwise the package javax.ejb would have been found by the compiler. Double check your classpath (watch out for spaces in there - somethimes these cause problems). Check your are using the classpath you expect when you try to compile your ejbs.
 
min zhang
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I swear to the GOD
my installation of j2ee platform is from sun
j2eesdk1_4
blazix is my application server
i have attached my clips of system
 
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In order to check the class path normally i'll use a javap command and check it out. Likewise Try & check the ClassPath check , whether you have classpath set to appropriate directories that you have in your PC. Check whether the seperator ";" or ":" is placed in correct place.
[ February 21, 2005: Message edited by: Srinivasa Raghavan ]
 
min zhang
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank u everybody.
i think i found the solution
but it is quite complicated

i installed j2ee1.4 version for winxp
now i copy the Sun\Appserver\lib\*.*
to the Sun\Appserver\jdk\jre\lib\ext\
and my classpath
c:\blazix\blazix.jar; C:\Sun\Appserver\lib\jdk\jre\lib\ext\j2ee.jar
now it works
these kind of stuffs always occupy us most of the time during the programming
document always has some gap with the real practise.
i wish my experience can benefit the followers
thank u very buddies
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"newbie ejb",
We're pleased to have you here with us in the EJB forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks,
Jeanne
Forum Bartender
 
reply
    Bookmark Topic Watch Topic
  • New Topic