-
1. Re: How to run web applications with different JVM?
robisz Oct 11, 2004 5:10 AM (in response to keanthian)I think it's not possible... but I can't imagine why you need this.
-
2. Re: How to run web applications with different JVM?
keanthian Oct 11, 2004 5:21 AM (in response to keanthian)hi robisz,
i will explain to u why i need this..:)
I have a web application which is consuming HTTPS Web Service which is required client authentication. So, before I consume the web services I need to specify my keystore. EG, System.setProperty("javax.net.ssl.keyStore", "C:\Keystore");
My application require me to use different keystore based on user's selection. The problem is once I have changed the value of the keystore, JVM won't use it, it will still use the one I specify ealier. So, I suspect that once we already specify the system property, we won't be able to change it.
So, I come out with an idea to run different applications with it's own JVM so that every application will use it's own keystore.
Hope you understand what i'm trying to say....:) -
3. Re: How to run web applications with different JVM?
robisz Oct 11, 2004 6:33 AM (in response to keanthian)If you need to use multiple keystores, you must create the keystore
programatically. Don't use javax.net.ssl.keyStore property.
You can find an example code here:
http://www-106.ibm.com/developerworks/java/library/j-p2pssl/?open&t=grj,l=766,p=SSLjsse -
4. Re: How to run web applications with different JVM?
keanthian Oct 28, 2004 8:49 PM (in response to keanthian)hi robiz,
sorry for the late reply, jboss.com didn't notifies me when there is a reply..:(.
I will give it a try and get back to later..
thanks.