File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes weblogic.ejbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "weblogic.ejbc" Watch "weblogic.ejbc" New topic



Joined: Jan 16, 2002
Posts: 6
When I try to run the weblogic.ejbc, it gives me an error as
Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/ejbc
Can someone please let me know why this is so? I tried to run the example in the Examples dir of wlserver, it gives me the same error. Any help is greatly appriciated.Thankyou,
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
Please note that JavaRanch has a naming standard. We require that your display name be your real first name - space - your real last name.
Moving this to the WebLogic forum.

Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Ranch Hand

Joined: Jul 06, 2001
Posts: 257
Just make sure weblogic.jar is in your PATH, and you should have no problems.
A Harry
Ranch Hand

Joined: Jan 23, 2002
Posts: 124
SAFROLE, I'm get the same problem but there doesn't appear to be a weblogic.jar file only weblogic510sp7.jar, weblogic510aux.jar.
Am I missing something obvious here?
Should one of the above files be included in the CLASSPATH?
Many thanks
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
if you�re using WL6.X, run the script called "setEnv" under %WL_HOME%\config\%DOMAIN_NAME%, this script will set your environment so you�ll be able to run ejbc properly.

Joined: Jan 16, 2002
Posts: 6
hi all,
i got the problem solved. I think it is the java version which is used to run the weblogic.ejbc. i tried this and it worked.
home/jdk130/bin/java weblogic.ejbc
I guess we have to specify the whole path of the JDK Compiler to do it. It worked for me. But I have a new problem now. When I start the server I get the following Exception.Any ideas what this means?
Jan 28, 2002 5:12:26 PM EST> <Error> <HTTP> <[HTTP myserver] Error parsing descriptor in Web appplication "./config/mydomain/applications/DefaultWebApp_myserver"
Any help is appreciated!
Tualha Khan
Ranch Hand

Joined: Nov 22, 2000
Posts: 287
Last night this solution did work for me. However, I have not worked after this step yet. Hopefully things will go........s.m.o.o.t.h.....
Tualha Khan
Originally posted by Marcos Maia:
if you�re using WL6.X, run the script called "setEnv" under %WL_HOME%\config\%DOMAIN_NAME%, this script will set your environment so you�ll be able to run ejbc properly.

SCJP2, BEA WLS 6.0, DB2 UDB 7.1
Joe McGuire
Ranch Hand

Joined: Mar 19, 2001
Posts: 293
Javaranch has a naming policy. Please re-register with a
name that complies with that policy so that you may continue to post here. Thanks!
Joe McGuire
Sun Certified Java™ 2 Programmer, BEA WLS Certified Developer
[ February 01, 2002: Message edited by: Joe McGuire ]
I agree. Here's the link:
subject: weblogic.ejbc
jQuery in Action, 3rd edition