Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Weblogic 8.1.4.0 startup problem (classpath)

 
Padmanaban Jayabalan
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic