It is possible the way I described it. If this is in a servlet context, you will need to have two instances of
Tomcat (or whatever your servlet engine is) running, which implies that the two servlets will be accessible under different ports.
What is the actual purpose of running two different JVMs? Might it be sufficient to use different ClassLoaders instead?
[ January 09, 2006: Message edited by: Ulf Dittmer ]