Hi Jan, well - like I said I need to be able to refresh the ServerSocketFactory to reflect an updated truststore. I looked at the code and found a way to do this but it is not documented and I don't want to take the risk of experiencing undesirable side effects. My only option at this point then, is to restart Tomcat which will of course cause the ServerSocketFactory to be initialized with an updated truststore. I use self signed certificates dp I can't have a single truststore CA do the job for me, rather the trust store must be updated from time to time for each client wishing to connect.
I will need the restart to be automated preferable through an api or alternatively using some sort of a restart batch file. thanks for your input, Mike On Wed, Jan 7, 2009 at 6:03 PM, Kees Jan Koster <kjkos...@gmail.com> wrote: > Dear Mike, > > Since I have not found a documented way of refreshing the >> ServerSocketFactory (in order to reload the ssl trust store) >> I would like to be able to perform a Tomcat Restart "from within" i.e. >> restart Tomcat using java code inside the servlet. >> Restarting the connector would also do the job for me. >> > > > There was some discussion about this subject on Java-monitor: > http://java-monitor.com/forum/showthread.php?t=152 > > You can use JMX to find the connector mbeans to restart them. > > I'm curious why you would want to do that, though? > -- > Kees Jan > > http://java-monitor.com/forum/ > kjkos...@kjkoster.org > 06-51838192 > > The secret of success lies in the stability of the goal. -- Benjamin > Disraeli > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >