I'm failry new to Java and Tomcat and I'm wondering if the java framework can be set at the application level. For instance, we have several java web applications currently deployed in the same instance of Tomcat. Currently we set the tomcat.exe to leverage the java 1.5 framework.
My question is, could I have one deployed application pointing to the 1.5 Java framework and another application pointing to the 1.6 Java framework, of course both applications would be deployed to the same instance of Tomcat. In other words instead of setting the java framework in the tomcat.exe could it be set at the application level? If so, how would one accomplish this?
On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.
As to your question, that's not possible. There's only a single JVM involved, and that runs on whichever Java version is specified in the startup script.
But since the Java VM is backwards compatible, it's generally not a big deal to run an existing application on a newer JVM. Are you experiencing any problems doing this?