Let me state the question in a more general way: If you wanted to pass JVM arguments, where would you do it? Does the Tomcat5 NT service use the JAVA_OPTS environment variable? Has anyone had success using deployment.properties:
http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/proper ties.html Thanks, -Sasha Borodin > From: Sasha Borodin <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > Date: Thu, 29 Jul 2004 11:05:49 -0500 > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Proxy settings for Tomcat's JVM > > Can anyone tell me the best place (from a maintenance perspective) to set > http/ftp/etc proxy settings for the JVM in which tomcat runs? > > I'm talking about the settings that impact java.net.Socket operation (not > the proxy settings found in server.xml). > > I know I can make a context listener that does something like this to get > things set up: > System.getProperties().put( "ftpProxySet", "true" ); > System.getProperties().put( "ftpProxyHost", "myProxyMachineName" ); > System.getProperties().put( "ftpProxyPort", "85" ); > > But this should be a deployment configuration; as far as I know, there's two > ways to do it: > A) either as a parameter to the JVM > B) or in a jvm config file (deployment.properties) > > Has anyone had any luck with option B? I haven't... > > If you were to use option a, where would you store the arguments to the jvm? > > Thank you, > > -Sasha Borodin > > > > --------------------------------------------------------------------- > 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]
