Thank you Jeffrey

BUT 
we are not FW owner, AND
we are so tiny little smalls in the AXA world AND
our holly FW godfather admin is keeping his fingers on the holly FW.

But why can tomcat not close and open the port 8080 and keep 
it in a way inexistent for external access unless the server is really up!
I am not a TCP socket expert, so I do not know what else we can do to prevent 
that a request from our users reaching the server too early.

How is that normally I intend to GET a html page and get the return saying 
"Sorry but server maintenance work is in progress blab la bla"?


Josef

-----Ursprüngliche Nachricht-----
Von: Harris, Jeffrey E. [mailto:jeffrey.har...@mantech.com] 
Gesendet: Mittwoch, 20. März 2013 13:19
An: Tomcat Users List
Betreff: RE: [tomcat] preventing to use it at startup



> -----Original Message-----
> From: Stadelmann Josef [mailto:josef.stadelm...@axa-winterthur.ch]
> Sent: Wednesday, March 20, 2013 5:06 AM
> To: users@tomcat.apache.org
> Subject: [tomcat] preventing to use it at startup
>
> Hi
>
> Is there an easy way to manage, to prevent, that my AS Tomcat is 
> serving
>
> request before it is fully up and running; while fully up means - it 
> has deployed all web apps and web app axis2 (a servlet engine) is up 
> and has deployed all its modules *.mar and web service archives *.aar 
> before any requests for this web services are accepted.
>
> Josef

Just as a quick thought, presuming you have a way of determining that the 
server is ready, why not just block the port on the local firewall until the 
server is ready, and then unblock the port?  That means you would have to turn 
the firewall on if it is not currently running.

You could script this into a startup task on the server.

Jeffrey Harris

This e-mail and any attachments are intended only for the use of the 
addressee(s) named herein and may contain proprietary information. If you are 
not the intended recipient of this e-mail or believe that you received this 
email in error, please take immediate action to notify the sender of the 
apparent error by reply e-mail; permanently delete the e-mail and any 
attachments from your computer; and do not disseminate, distribute, use, or 
copy this message and any attachments.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to