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



when we creates a domain, it creates one-startManagedWebLogic in bea user_projects\domains\MyDomain..

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

when we creates a domain, it creates one-startManagedWebLogic in bea user_projects\domains\MyDomain..

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

when we creates a domain, it creates one-startManagedWebLogic in bea user_projects\domains\MyDomain..

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

Post New Answer

More Weblogic Interview Questions

Which of the attributes in the monitoring tab for a jdbc connection pool in the administrative console tell us how many clients are currently waiting for a connection? : BEA Weblogic

0 Answers  


Why is there no polymorphic-type response from a create () or find () method?

0 Answers  


How do the wls jms 6.1 server/destination message maximum and threshold values work? : BEA Weblogic

0 Answers  


Can you use a foreign jms provider to drive an mdb transactionally? : BEA Weblogic

0 Answers  


How many weblogic severs can be installed in a multi cpu machince and how can you figure out how many servers?

1 Answers   IBM,






Explain the functioning of Stub?

0 Answers  


what is difference between jboss and weblogic

12 Answers   TCS,


Can weblogic server start with a unix boot? : BEA Weblogic

0 Answers  


What is difference between welogic server and WebSphere?

2 Answers   TCS,


What technologies are included in j2ee?

0 Answers  


What are the steps in which unicode codesets can be set with the weblogic jdriver?

0 Answers  


What signal tells the jvm to give a thread dump?

0 Answers  


Categories