when we creates a domain, it creates one-startManagedWebLogic in
bea user_projects\domains\MyDomain\bin dir. Suppose we have 2 or
more than 2 managed severs in our unix env.how can we start all
our managed servers. I know we have to copy startManagedWebLogic
with server name.then wht to modify in the script to start ecah
of the managed servers?
Answers were Sorted based on User's Feedback
Answer / vijaya kumar
We need to write the wrapper scripts for those kind of need .
create the wrapper scripts as follows
1.create a file startmangedserver1.sh
$vi startmangedserver1.sh
DOMAIN_HOME=beauser_projectsdomainsMyDomainin
nohup $DOMAIN_HOMEstartMangedWeblogic.sh mang1 1>>mng1.log 2>>&1 &
2.change the file permissions of the startmangedweblogic1.sh
$chmod 777 startmanagedweblogic1.sh
start managed server using the wrapper script
$./startmanagedserver1.sh
3.you can create different files to run different managed servers but change the server name in the script.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / arzun
if u want to modify the scripts you need to update the
instance name (managed server name )& port , admin url .
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / a reddy
create a startmanagedserver.sh file
vi startmanagedserver.sh
write the script
------------------
DOMAIN_HOME=/home/bea10g/user_projects/domains/domain1
nohup $DOMAIN_HOME/bin/StartManagedwebLogic.sh mngserver-name adminIP:PORT 1>>mngserver-name.log 2>&1 &
--------------------
if u want to start another managed server, give that server name and change the output(1) log file name.
| Is This Answer Correct ? | 0 Yes | 0 No |
Each instance of weblogic server is physical or logical. Can sever instance be shared over multiple machines?
How do I create a producer pool? : BEA Weblogic
Difference between Weblogic server and websphere server?
What is a machine?
Which is the best tool for monitoring Weblogic server(WLS8)?
When should I use server session pools and connection consumers? : BEA Weblogic
How to deploye the java application in web logic server please brief explain with screen shot please help me ?
What is the difference between url instance and urlconnection instance?
What can I do when I get java.lang.outofmemoryerror because producers are faster than consumers? : BEA Weblogic
What is the difference between weblogic and jboss?
tell me the permenent memory issues?
What are data-sources and what features do they offer? What are the recommend parameters to improve the prformance from data-source point of view.