File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejbc not found!!

 
Rajesh Venkatesh
Greenhorn
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 293
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 293
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 287
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic