Hi All

 

I'm using Tomcat 5.5.9 on Java 1.5.under mixed OS's. 

 

 

The question is one of forcing a context/webapp reload via java code - is
this possible? I know adding a watched resource or adding a new lib triggers
a reload (so hopefully to trigger this via code is possible).

 

We use a dedicated Tomcat per application so even if Tomcat had to be fully
restarted - this would help.

 

 

Basically I am writing out the JDBC details from within a servlet on startup
(which is fine) but by this time the datasources are already available (but
wrongly configured) so I need to force a reload with the correct details. I
appreciate this is a little big of a frig but I have tried every thing else
(Dynamic datasources, etc) but with a read-only Tomcat context I was unable
to bind them.

 

Any help or pointers are much appreciated.

 

Thanks in advance

Rob

Reply via email to