DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14069>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14069 Ant DeployTask and UndeplyTask causes tomcatAuthentication to be removed from CoyoteConnector settings in server.xml Summary: Ant DeployTask and UndeplyTask causes tomcatAuthentication to be removed from CoyoteConnector settings in server.xml Product: Tomcat 4 Version: 4.1.14 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: Connector:Coyote JK 2 AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Configuration: Tomcat 4.1.14, JK 2.0.1, Ant 1.5.1, IIS 5.0, Windows 2000 Using the org.apache.catalina.ant.DeployTask to deploy a web application, the tomcatAuthentication="false" setting is missing from the CoyoteConnector for port 8009 in the rewritten server.xml file. Manually added tomcatAuthentication="false" to the server.xml file and restarted the "Apache Tomcat 4.1" service then used the org.apache.catalina.ant.UndeployTask to undeploy the web application. The tomcatAuthentication="false" setting was once again missing from the CoyoteConnector for port 8009 in the rewritten server.xml file. Started with this entry in the server.xml file: <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8009" minProcessors="5" maxProcessors="75" enableLookups="true" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000" useURIValidationHack="false" tomcatAuthentication="false" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> After Ant deploy of web application, get this for the port 8009 CoyoteConnector in the server.xml file: <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" acceptCount="10" bufferSize="2048" connectionTimeout="20000" debug="0" enableLookups="true" maxProcessors="75" minProcessors="5" port="8009" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" proxyPort="0" redirectPort="8443" scheme="http" secure="false" tcpNoDelay="true" useURIValidationHack="false"> <Factory className="org.apache.catalina.net.DefaultServerSocketFactory"/> </Connector> -- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>