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

Hey! Is there any difference between WebLogic Server admin & WebLogic Portal? If I want to learn Course which is the suitable to Development? Both are comes under one course or different courses , pls clarify me? am Planning to Join Weblogic, Which is the best pls suggest me?

1 Answers   IBM,


What is the function of T3 in WebLogic Server ?

1 Answers  


Must ejbs be homogeneously deployed across a cluster? Why? : BEA Weblogic

1 Answers  


What are crossdomainconnectors in reference to web logic servers?

1 Answers  


What is polymorphism in Object Oriented Programming (OOPS) Languages? What are different types of polymorphism? 15. What is inheritance?

2 Answers   IBM,


What is non-stage deployment?

1 Answers  


How do I use a less than or greater than on a message selector in ejb-jar.xml? : BEA Weblogic

1 Answers  


how to monitor the servers

4 Answers  


Tell me how does a server find out server unavailability?

1 Answers  


dIFFERNCE BETWEEN VERSIONS 8.X,9.X,10.X

3 Answers  


Why does jmssession.createtopic or jmssession.createqueue fail to create a destination in wls jms 6.1 (it worked in 5.1)? : BEA Weblogic

1 Answers  


How should you type cast a remote object? Why?

1 Answers  


Categories