Hi!, I am using Tomcat 5.0 in Windows XP pro. The application i am using uses Ant in order to start tomcat with the following env keys:
<env key="JAVA_OPTS" value="-DproxySet=true -DproxyPort=80"/> However, it always opens a new command window showing the info about tomcat starting up. I am interested in not having this window shown. I used the Tomcat Monitor (to avoid showing the window with info about tomcat starting up) and added the following lines to the "Java Options" section: -DproxySet=true -DproxyPort=80 However, when i start my application, it sends errors. Is there any way to verify that this settings are being used? Thanks for the help Complete ant code: <macrodef name="start_tomcat"> <attribute name="cmdPrefix" default=""/> <element name="addArgs" implicit="true" optional="true"/> <sequential> <exec executable="C:/Tomcat_5.0/bin/catalina.bat"> <arg line="@{cmdPrefix}start"/> <env key="CATALINA_BASE" value="C:/Tomcat_5.0"/> <env key="CATALINA_HOME" value="C:/Tomcat_5.0"/> <env key="JAVA_OPTS" value="-DproxySet=true -DproxyPort=80"/> <addArgs/> </exec> <sleep seconds="10"/> </sequential> </macrodef> <target description="Start Tomcat" name="start.tomcat"> <echo message="****************Tomcat starting up...*******************"/> <start_tomcat/> <echo message="****************Tomcat started*******************"/> </target>