Moving this question from the list to the forums, now that the list is shutting down.
Is there a way, in JBoss/Tomcat or JBoss/Jetty, to verify if you're using the 'optimized stack'? I want to fix packaging issues, and I'd love to be able to verify it without load testing. Further, I'd love to be able to set up a test case that would cover this.
I've tried playing around with getClass( ).getClassLoader( ), and getClass( ).getProtectionDomain( ).getCodeSource( ), and none of these are leaving me with the confidence that I really have any idea if I'm using the right stack.
Is there a way for me to verify this, using the logs, or programatically?