File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Weblogic 8.1.4.0 startup problem (classpath) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic 8.1.4.0 startup problem (classpath)" Watch "Weblogic 8.1.4.0 startup problem (classpath)" New topic
Author

Weblogic 8.1.4.0 startup problem (classpath)

Padmanaban Jayabalan
Greenhorn

Joined: May 08, 2002
Posts: 14
I am getting this exception while starting the weblogic server 8.1.4.0.
"Exception in thread "main" java.lang.NoClassDefFoundError: weblogic/Server"

Actually the application is running in 4.5.1 and I try to move it to 8.1.4.0. In the old version the class path setting for bootclasspath is like this:

Xbootclasspath/p:bootclasses -classpath /opt/weblogic-4.5.1/lib/weblogic451sp11boot.jar:/o
pt/weblogic-4.5.1/classes/boot:config/

And,

Dweblogic.class.path=lib/JMS_sp11_patch.jar:/opt/weblogic-4.5.1/lib/weblogic451sp11.jar:/opt/weblogic-4.5.1/classes:/opt/weblogic-4.5.1/license:/opt/weblogic-4.5.1/lib/weblogicaux.jar:classes:/opt/weblogic-4.5.1/classes/boot:

How to change this for version 8.1.4.0? What are the equivalent jars and the settings?

Any help to overcome this would be very much appreciated.

Thanks,
Paddy
Carol Enderlin
drifter
Ranch Hand

Joined: Oct 10, 2000
Posts: 1364
Have you looked at BEA's upgrade documentation?

BEA's 4.5 to 7.0 upgrade info

BEA's 5.1 to 8.1 upgrade info

In the info on modifying startup scripts it talks about how the weblogic classpath is no longer used. The section, quoted below had links to other documentation, but I'm not going to include all those links:


The weblogic.properties converter created a new startup script (called startdomainName.cmd or .sh) for your new WebLogic Server 8.1 domain. If you need to edit this script to specify your domain startup preferences, keep the following in mind.

The WebLogic classpath is no longer used; use the Java system classpath as described in the preceding section, Classloading in WebLogic Server 8.1.

WebLogic Server 8.1 is started from the domain directory. Paths in the startup script assume that the script is located in the domain directory.

It is no longer necessary to include the license file in the classpath.
There is now a distinction between an Administration Server and Managed Servers (see The Administration Server and Managed Servers in Configuring and Managing WebLogic Server). Scripts that start servers may need to be rewritten according to how you plan to administer your servers. For the new commands and their required arguments, see Starting and Stopping WebLogic Servers in the Configuring and Managing WebLogic Server.



You could take a look at the startup scripts created in a new 8.1 domain.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Weblogic 8.1.4.0 startup problem (classpath)