WepappClassLoader reference
I was wondering if it is at all possible to get hold of the WebappClassLoader instance from inside a Tomcat web application? Okay, I know that you can the WebappClassLoader reference through something like: SomeClass.class.getClassLoader() but in my case this should be a general routine that can be included in a number of applications and should not be bound to the existence of a certain class within the application. After looking through some of the Tomcat source code, I've got my doubts that this is possible, but maybe I'm just overlooking something. Thnx Rudolf Visagie Software Developer Enerweb (Pty) Ltd. Tel: (011) 800 3826 The perusal, use, dissemination, copying or storing of this message or its attachments and the opening of attachments is subject to Enerweb's standard email disclaimer available at internet address: www.enerweb.co.za/email_disclaimer.htm or on request from the sender. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Setting system properties in standalone Tomcat 4.1.24
If by system properties you mean JVM (Java Virtual Machine) settings, then you can do this by setting the CATALINA_OPTS variable in the catalina.sh (unix, linux) or catalina.bat (win32) file in the /bin directory of your Tomcat installation. -Original Message- From: Chris Ward [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 3:47 PM To: Tomcat Users List Subject: Setting system properties in standalone Tomcat 4.1.24 Hi all, Sorry if this is a really dumb question, but how/where do I set system properties when using Tomcat 4.1.24? I've searched around but found nothing obvious. Is it in an xml file rather than a .properties file? Is it in the Java JDK? Best regards Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]