WebLogic start on Solaris
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebLogic support > WebLogic installation support > WebLogic start on Solaris




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    WebLogic start on Solaris  
John


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-21-04 03:50 AM


Hi All,
I have a script on Solaris (ksh) that executes "nohup startWeblogic.sh &" to
 start
WebLogic as a background process. After WebLogic has started and is listenin
g
on port 7001 I would like to continue. However, how do I figure out that WLS
 is
up and running. Currently I sleep for 2 minutes before continuing on. The sc
ript
looks as follows. Is there another alternative besides sleep

nohup startWebLogic.sh &
sleep 120

thanks in advance.





[ Post a follow-up to this message ]



    Re: WebLogic start on Solaris  
Ruedi Schwitter


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-21-04 03:50 AM


John schrieb:

> Hi All,
> I have a script on Solaris (ksh) that executes "nohup startWeblogic.sh &" 
to start
> WebLogic as a background process. After WebLogic has started and is listen
ing
> on port 7001 I would like to continue. However, how do I figure out that W
LS is
> up and running.

You can check the logfile ...

> Currently I sleep for 2 minutes before continuing on. The script
> looks as follows. Is there another alternative besides sleep
>
> nohup startWebLogic.sh &
> sleep 120
>
> thanks in advance.






[ Post a follow-up to this message ]



    Re: WebLogic start on Solaris  
Gerry


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-21-04 03:50 AM


Ruedi Schwitter <"ruedi.schwitter("@)feld1.ch> wrote:
>
>John schrieb:
> 
>&" to start 
>listening 
>that WLS is 
>
>You can check the logfile ...
> 
>

You could use the PING option in weblogic.Admin from a script
Regards,
Gerry






[ Post a follow-up to this message ]



    Re: WebLogic start on Solaris  
Samila


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 04:08 PM


You can check to see if its related process is up or not:

ps -elf

if there is many of them you can specify it by user or ...

ps -elf | grep <adminusername>

I am using it and works fine ...


"John" <no_spam_j_cout@yahoo.com> wrote:
>
>Hi All,
>I have a script on Solaris (ksh) that executes "nohup startWeblogic.sh
>&" to start
>WebLogic as a background process. After WebLogic has started and is listeni
ng
>on port 7001 I would like to continue. However, how do I figure out that
>WLS is
>up and running. Currently I sleep for 2 minutes before continuing on.
>The script
>looks as follows. Is there another alternative besides sleep
>
>nohup startWebLogic.sh &
>sleep 120
>
>thanks in advance.






[ Post a follow-up to this message ]



    Re: WebLogic start on Solaris  
Mothra


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
07-09-04 09:15 PM

John wrote:

> Hi All,
> I have a script on Solaris (ksh) that executes "nohup startWeblogic.sh &" 
to start
> WebLogic as a background process. After WebLogic has started and is listen
ing
> on port 7001 I would like to continue. However, how do I figure out that W
LS is
> up and running. Currently I sleep for 2 minutes before continuing on. The 
script
> looks as follows. Is there another alternative besides sleep
>
> nohup startWebLogic.sh &
> sleep 120
>
> thanks in advance.
The most satisfactory method I have found is to run:
wget --spider -q http://localhost:7001/console

The --spider option simply prevents wget from actually downloading a
file and the -q option suppresses screen output.

You can download wget 1.9 from www.sunfreeware.com if you haven't
already got it.

It will return $? as 0 when the admin console is running and 1 if it
hasn't started yet.  Run this poll every 5 seconds in w while loop until
it exits with 0.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:33 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register