File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

urgently Help

 
min zhang
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • 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:
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33674
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic