[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


CLASSPATH setting in WebLogic 10.0

Posted on 2008-11-07
Medium Priority
Last Modified: 2013-12-10

How and where (setDomainEnv.sh or CommEnv.sh or startWebLogic.sh) do you set the CLASSPATH for the admin server and for the managed servers in weblogic 10.0?

In my environment I had set the CLASSPATH in setDomainEnv.sh. And when I start admin server it is taking the path from setDomainEnv.sh.
And moreover when i start Managed servers with out node manager they too are taking the CLASSPATH from some where.

How and where do i set the classpath is i have to start managed servers with node manager?
Any reference docs for the same?
Question by:skolakanuru
  • 2
  • 2
LVL 10

Expert Comment

ID: 22909945

1. Weblogic take the classpath from setDomainEnv.sh. StartWeblogic.sh internally makes a call to the above script. So it is highly advisable if you could change your CLASSPATH and PRE_CLASSPATH (if you would like some classes to be loaded before everything) setting in setDomainEnv.sh.

2. Node always gets the configuration settings from admin server. That is the reason, you start it like startManagedWeblogic.sh <nodename> <adminserver:port>

When starting the node, it contacts the admin server and fetches the config.xml from the server.

Author Comment

ID: 22922512
hi rajesh,

where do you set the classpath when using the node manager to start the nodes.

is that in SetEnv.sh script?

coz according to the below doc i am thinking that it should be set in setEnv.sh


LVL 10

Accepted Solution

rajesh_bala earned 2000 total points
ID: 22927763
We can either set it in setEnv.sh (in which case, you have to run setEnv.sh before starting the managed server).

Other crude option is to directly set it in setDomainEnv.sh which is as well called by startManagedServer.sh.

Both should work

Author Comment

ID: 23450160

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Integration Management Part 2
Screencast - Getting to Know the Pipeline

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question