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

x
?
Solved

CLASSPATH setting in WebLogic 10.0

Posted on 2008-11-07
4
Medium Priority
?
4,970 Views
Last Modified: 2013-12-10
hi

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?
0
Comment
Question by:skolakanuru
  • 2
  • 2
4 Comments
 
LVL 10

Expert Comment

by:rajesh_bala
ID: 22909945
Hi,

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.
0
 

Author Comment

by:skolakanuru
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

http://e-docs.bea.com/wls/docs100/cluster/trouble.html#gc

0
 
LVL 10

Accepted Solution

by:
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
0
 

Author Comment

by:skolakanuru
ID: 23450160
Thanks
0

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