1. Why do you need to restart jboss in the first place?
2. Along the same lines, run jetty or tomcat integrated w/jboss.
3. Use the 3.0 clustering, with several jboss's, and make sure at least one keeps running. (It may not be necessary to keep one running, I don't know enough about the proxy structure to judge.)
1. It's because of mysql on windows. It eats up more and more memory when using InnoDB tables (eventually hangs up) and when restarted, JBoss cannot connect to it anymore. That's why I restart JBoss after mysql restart.
2. My application depends on certain Resin features, and then, I will be using separate machines for running JBoss and Resin.
3. I'll try that.
1. You should be able to stop and restart your ConnectionFactoryLoader/XADataSourceLoader to throw out all the old connections and get new ones. Also setting idleTimeout to a small value and waiting that long (maybe 2x that long) should get rid of the dead connections. Both of these should avoid restarting jboss. The stop/restart functionality is often not very well tested, so if there is a problem let us know.
(To stop/restart use the jmx console on port 8082, go to the page for the mbean, press stop, back, start).