Is it just that Tomcat is taking time to start up? I wouldn't be
surprised to get a 503 error if Tomcat isn't ready to handle requests
yet. What happens if you start the server, wait for a minute, then
launch the browser?
--
Len

On 4/18/07, risky57 <[EMAIL PROTECTED]> wrote:

I am working with tomcat embeded.


i got the thing to run.


a gui pops up where you can start the server.
a button to launch a browser to the localhost. this works fine. displays as
running.

when i press the stop button. it destroys and stops the server.

now when i press the start button, it starts the server.

if i press the launch a browser button, i get the HTTP Status 503 error.
this only occurs once. if i refresh the page its fine. or if press the
launch a browser button again its fine.

if stop and start again, same problem.


does anyone have any ideas?


can i automatically refresh the browser page when the page is launched with
Java?



thank you for your help.
--
View this message in context: 
http://www.nabble.com/HTTP-Status-503---occurs-once---only-when-i-stop-and-start-server-tf3603240.html#a10066453
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to