aspose file tools*
The moose likes BEA/Weblogic and the fly likes ejbc not found!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "ejbc not found!!" Watch "ejbc not found!!" New topic
Author

ejbc not found!!

Rajesh Venkatesh
Greenhorn

Joined: Feb 14, 2002
Posts: 21
Hi ,
Whenever i give the foll at the command
java weblogic.ejbc i get the message
Can't find class weblogic.ejbc
I have already set the environment.
the same error also for
java weblogic.ejb20.utils.DDConverter [options] file1 [file2...]

Can anyone help
Thanks in advance !!
Regards,
Rajesh .V
[ March 11, 2002: Message edited by: Rajesh .V ]
Joe McGuire
Ranch Hand

Joined: Mar 19, 2001
Posts: 293
Rajesh,
I think it still has to be a classpath problem. Both of those classes are in the weblogic.jar file. At the command prompt, set the classpath explicitly with
set CLASSPATH=%CLASSPATH%c:\bea\wlserver6.1\lib\weblogic.jar;
--------------------
Joe McGuire
Sun Certified Java™ 2 Programmer, BEA WLS Certified Developer
[ March 11, 2002: Message edited by: Joe McGuire ]
Rajesh Venkatesh
Greenhorn

Joined: Feb 14, 2002
Posts: 21
Hi Joe
I gave the classpath.It works fine
for
java weblogic.ejbc
but still gives class not found error
for
java weblogic.ejb20.utils.DDConverter
Thanks and Regards,
Rajesh .V
myid
Greenhorn

Joined: Feb 19, 2002
Posts: 16
hi...what version of weblogic ur using?
if it is wl6.1 try to set the path for wl_home\lib\weblogic.jar,
thats it..still any prob let me know..
seshu
Joe McGuire
Ranch Hand

Joined: Mar 19, 2001
Posts: 293
Rajesh,
Well, if it's finding the one class then it should find the other (they're in the same .jar). Can you paste the exact error message here?
--------------------
Joe McGuire
Sun Certified Java™ 2 Programmer, BEA WLS Certified Developer
Tualha Khan
Ranch Hand

Joined: Nov 22, 2000
Posts: 287
You have to run the "setEnv.cmd" file from your domain directory. The "ejbc" utility and the deployment descriptor utility should work successfully after that.
Bye,
Tualha Khan


SCJP2, BEA WLS 6.0, DB2 UDB 7.1
 
jQuery in Action, 2nd edition
 
subject: ejbc not found!!