You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by charles doweary <ch...@hotmail.com> on 2005/05/03 19:07:59 UTC

FW: Tomcat 5.5 and IIS 6.0 connecter problem.


>From: "charles doweary" <ch...@hotmail.com>
>To: tomcat-user@jakarta.apache.org
>CC: charlesdoweary@hotmail.com
>Subject: Tomcat 5.5 and IIS 6.0 connecter problem.
>Date: Sat, 30 Apr 2005 11:21:12 -0400
>
>I've configured the following on my Windows Server 2003 operations system:  
>JDK1.5.0_01, Tomcat-5.5.9, isapi_redirector2.dll, and IIS 6.0.
>
>The connector is running and logging properly, but I cannot seem to get 
>beyond log error message, "error while adding request headers" in my 
>logFile.
>
>Here is the portion of the log file that contains the error:
>
>[Sat Apr 30 10:16:50 2005] (debug ) [jk_isapi_plugin.c (252)]  
>HttpFilterProc started
>[Sat Apr 30 10:16:50 2005] (debug ) [jk_isapi_plugin.c (308)]  In 
>HttpFilterProc Virtual Host redirection of 192.168.1.101 : 84
>[Sat Apr 30 10:16:50 2005] (debug ) [jk_isapi_plugin.c (340)]  
>HttpFilterProc [/] is a servlet url - should redirect to lb:lb
>[Sat Apr 30 10:16:50 2005] (error ) [jk_isapi_plugin.c (384)]  
>HttpFilterProc error while adding request headers
>************************ end of log file 
>*****************************************
>
>Here is a copy of my worker2.properties file:
>
>[logger]
>level=DEBUG
>
>[config:]
>file=C:\Program Files\Apache Software Foundation\Jakarta Isapi 
>Redirector\conf\workers2.properties
>debug=0
>debugEnv=0
>
>[uriMap:]
>info=Maps the requests. Options: debug
>debug=0
>
># Alternate file logger
>[logger.file:0]
>level=DEBUG
>file=C:\Program Files\Apache Software Foundation\Jakarta Isapi 
>Redirector\log\isapi_jk2.log
>
>[workerEnv:]
>info=Global server options
>timing=1
>debug=0
># Default Native Logger (apache2 or win32 )
># can be overriden to a file logger, useful
># when tracing win32 related issues
>logger=logger.file:0
>
>[channel.socket:localhost:8009]
>info=Ajp13 forwarding over socket
>debug=0
>tomcatId=localhost:8009
>
>[uri:192.168.1.101:84]
>info=Example virtual host. Make sure it is in /etc/hosts to test it
>alias=dowearysoftware.com
>group=lb
>
>[channel.jni:jni]
>info=The jni channel, used if tomcat is started inprocess
>
>[status:]
>info=Status worker, displays runtime informations
>
>[vm:]
>info=Parameters used to load a JVM in the server process
>JVM=C:\Program Files\Java\jre1.5.0_02\bin\client\jvm.dll
>classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar
>classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar
>OPT=-Dtomcat.home=${TOMCAT_HOME}
>OPT=-Dcatalina.home=${TOMCAT_HOME}
>OPT=-Xmx128M
>OPT=-Djava.compiler=NONE
>disabled=1
>
>[worker.jni:onStartup]
>info=Command to be executed by the VM on startup. This one will start 
>tomcat.
>class=org/apache/jk/apr/TomcatStarter
>#ARG=start
># For Tomcat 5 use the 'stard' for startup argument
>ARG=stard
>disabled=1
>stdout=C:\Program Files\Apache Software Foundation\Jakarta Isapi 
>Redirector\log\stdout.log
>stderr=C:\Program Files\Apache Software Foundation\Jakarta Isapi 
>Redirector\log\stderr.log
>
>[worker.jni:onShutdown]
>info=Command to be executed by the VM on shutdown. This one will stop 
>tomcat.
>class=org/apache/jk/apr/TomcatStarter
>ARG=stop
>disabled=1
>
>[uri:/jkstatus/*]
>info=Display status information and checks the config file for changes.
>group=status:
>
>[uri:/examples]
>info=Example webapp in the default context.
>context=/examples
>debug=0
>
>[uri:/examples1/*]
>info=A second webapp, this time going to the second tomcat only.
>group=lb
>debug=0
>
>[uri:/examples/servlet/*]
>info=Prefix mapping
>
>[uri:/examples/*.jsp]
>info=Extension mapping
>
>[uri:/examples/*]
>info=Map the whole webapp
>
>[uri:192.168.1.101:84/*]
>info=Map the whole webapp
>debug=10
>
>[uri:dowearysoftware.com/*]
>info=Map the whole webapp
>debug=10
>
>[uri:dowearysoftware.com/*.jsp]
>info=Map the whole webapp
>debug=10
>
>[uri:dowearysoftware.com/servlets/*.jsp]
>info=Map the whole webapp
>debug=10
>
>[uri:dowearysoftwaresystems.com/*]
>info=Map the whole webapp
>debug=10
>
>[uri:/dss/*]
>info=Map the whole webapp
>debug=10
>
>[uri:/dss/*.jsp]
>info=Sample Store webapp
>debug=10
>
>[uri:/examples/servlet/HelloW]
>info=Example with debug enabled.
>debug=10
>
>[uri:/dss]
>info=Doweary Software Sample Store.
>debug=0
>
>[uri:/servlets-examples]
>info=Servlet 2.4 Examples.
>debug=0
>
>[uri:/*.jsp]
>info=JSP Extension mapping.
>debug=0
>****************** end of file 
>**************************************************
>
>What can I change in my set-up that will specifically address this type of 
>error?
>
>Help in this matter is greatly appreciated.
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: FW: Tomcat 5.5 and IIS 6.0 connecter problem.

Posted by Jess Holle <je...@ptc.com>.
Don't use isapi_redirector2 -- development on it has ceased and it is 
unsupported.

Instead use the latest isapi_redirect.

charles doweary wrote:

>> From: "charles doweary" <ch...@hotmail.com>
>> To: tomcat-user@jakarta.apache.org
>> CC: charlesdoweary@hotmail.com
>> Subject: Tomcat 5.5 and IIS 6.0 connecter problem.
>> Date: Sat, 30 Apr 2005 11:21:12 -0400
>>
>> I've configured the following on my Windows Server 2003 operations 
>> system:  JDK1.5.0_01, Tomcat-5.5.9, isapi_redirector2.dll, and IIS 6.0.
>>
>> The connector is running and logging properly, but I cannot seem to 
>> get beyond log error message, "error while adding request headers" in 
>> my logFile.
>>
>> Here is the portion of the log file that contains the error:
>>
>> [Sat Apr 30 10:16:50 2005] (debug ) [jk_isapi_plugin.c (252)]  
>> HttpFilterProc started
>> [Sat Apr 30 10:16:50 2005] (debug ) [jk_isapi_plugin.c (308)]  In 
>> HttpFilterProc Virtual Host redirection of 192.168.1.101 : 84
>> [Sat Apr 30 10:16:50 2005] (debug ) [jk_isapi_plugin.c (340)]  
>> HttpFilterProc [/] is a servlet url - should redirect to lb:lb
>> [Sat Apr 30 10:16:50 2005] (error ) [jk_isapi_plugin.c (384)]  
>> HttpFilterProc error while adding request headers
>> ************************ end of log file 
>> *****************************************
>>
>> Here is a copy of my worker2.properties file:
>>
>> [logger]
>> level=DEBUG
>>
>> [config:]
>> file=C:\Program Files\Apache Software Foundation\Jakarta Isapi 
>> Redirector\conf\workers2.properties
>> debug=0
>> debugEnv=0
>>
>> [uriMap:]
>> info=Maps the requests. Options: debug
>> debug=0
>>
>> # Alternate file logger
>> [logger.file:0]
>> level=DEBUG
>> file=C:\Program Files\Apache Software Foundation\Jakarta Isapi 
>> Redirector\log\isapi_jk2.log
>>
>> [workerEnv:]
>> info=Global server options
>> timing=1
>> debug=0
>> # Default Native Logger (apache2 or win32 )
>> # can be overriden to a file logger, useful
>> # when tracing win32 related issues
>> logger=logger.file:0
>>
>> [channel.socket:localhost:8009]
>> info=Ajp13 forwarding over socket
>> debug=0
>> tomcatId=localhost:8009
>>
>> [uri:192.168.1.101:84]
>> info=Example virtual host. Make sure it is in /etc/hosts to test it
>> alias=dowearysoftware.com
>> group=lb
>>
>> [channel.jni:jni]
>> info=The jni channel, used if tomcat is started inprocess
>>
>> [status:]
>> info=Status worker, displays runtime informations
>>
>> [vm:]
>> info=Parameters used to load a JVM in the server process
>> JVM=C:\Program Files\Java\jre1.5.0_02\bin\client\jvm.dll
>> classpath=${TOMCAT_HOME}/bin/tomcat-jni.jar
>> classpath=${TOMCAT_HOME}/server/lib/commons-logging.jar
>> OPT=-Dtomcat.home=${TOMCAT_HOME}
>> OPT=-Dcatalina.home=${TOMCAT_HOME}
>> OPT=-Xmx128M
>> OPT=-Djava.compiler=NONE
>> disabled=1
>>
>> [worker.jni:onStartup]
>> info=Command to be executed by the VM on startup. This one will start 
>> tomcat.
>> class=org/apache/jk/apr/TomcatStarter
>> #ARG=start
>> # For Tomcat 5 use the 'stard' for startup argument
>> ARG=stard
>> disabled=1
>> stdout=C:\Program Files\Apache Software Foundation\Jakarta Isapi 
>> Redirector\log\stdout.log
>> stderr=C:\Program Files\Apache Software Foundation\Jakarta Isapi 
>> Redirector\log\stderr.log
>>
>> [worker.jni:onShutdown]
>> info=Command to be executed by the VM on shutdown. This one will stop 
>> tomcat.
>> class=org/apache/jk/apr/TomcatStarter
>> ARG=stop
>> disabled=1
>>
>> [uri:/jkstatus/*]
>> info=Display status information and checks the config file for changes.
>> group=status:
>>
>> [uri:/examples]
>> info=Example webapp in the default context.
>> context=/examples
>> debug=0
>>
>> [uri:/examples1/*]
>> info=A second webapp, this time going to the second tomcat only.
>> group=lb
>> debug=0
>>
>> [uri:/examples/servlet/*]
>> info=Prefix mapping
>>
>> [uri:/examples/*.jsp]
>> info=Extension mapping
>>
>> [uri:/examples/*]
>> info=Map the whole webapp
>>
>> [uri:192.168.1.101:84/*]
>> info=Map the whole webapp
>> debug=10
>>
>> [uri:dowearysoftware.com/*]
>> info=Map the whole webapp
>> debug=10
>>
>> [uri:dowearysoftware.com/*.jsp]
>> info=Map the whole webapp
>> debug=10
>>
>> [uri:dowearysoftware.com/servlets/*.jsp]
>> info=Map the whole webapp
>> debug=10
>>
>> [uri:dowearysoftwaresystems.com/*]
>> info=Map the whole webapp
>> debug=10
>>
>> [uri:/dss/*]
>> info=Map the whole webapp
>> debug=10
>>
>> [uri:/dss/*.jsp]
>> info=Sample Store webapp
>> debug=10
>>
>> [uri:/examples/servlet/HelloW]
>> info=Example with debug enabled.
>> debug=10
>>
>> [uri:/dss]
>> info=Doweary Software Sample Store.
>> debug=0
>>
>> [uri:/servlets-examples]
>> info=Servlet 2.4 Examples.
>> debug=0
>>
>> [uri:/*.jsp]
>> info=JSP Extension mapping.
>> debug=0
>> ****************** end of file 
>> **************************************************
>>
>> What can I change in my set-up that will specifically address this 
>> type of error?
>>
>> Help in this matter is greatly appreciated.
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org