Link to home
Start Free TrialLog in
Avatar of joinsaigon
joinsaigon

asked on

error when run Websphere App server 6.0

java.lang.NoClassDefFoundError: Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb/jar;C:/Program
Exception in thread "main"
how correct???
thanks
Avatar of msmolyak
msmolyak

The NoClassDefFoundError: usually contains the name of the class that JVM is unable to find. Could you supply the entire error message which may contain that class name?
ASKER CERTIFIED SOLUTION
Avatar of HonorGod
HonorGod
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I had the same error trying to start Websphere Application Server 6.0 from Eclipse

you may find as I did one or more VM arguments in the arguments tab of the launch configuration properties lack quotes around them.  In my case it was this particular VM argument, which was causing my problem.
"-Xbootclasspath/p:C:/Program Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar;C:/Program Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar -Xms50m -Xmx256m" 

Open in new window

eclipse-server-launchconfigurati.txt
The only difference being that your original doesn't include double quotes around this portion:

-Xbootclasspath/p:C:/Program Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmorb.jar;C:/Program Files/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmext.jar -Xms50m -Xmx256m

and the "corrected one" does.

Interesting
I've given up trying to deploy to servers directly from Eclipse as I do with other J2EE servers at this point in favor of using the websphere application toolkit v6.0.  

Have fun trying to get EAR files to deploy to WAS.  I'd love to hear from you if you do.
Are you using Eclipse, or Rational Application Developer (RAD)?

Are you asking about getting the Application on the AppServer?
If so, from Eclipse, or using the Application Server Toolkit (AST)?
If you are using Eclipse, which version?