You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Renato Romano <r....@set-network.com> on 2002/12/06 14:32:16 UTC

Tomcat 4 and IIS please HELP

Hi,
I'm trying to set up tomcat 4 with IIS. I already made this whith Tomcat
3, and following the doc how-to for tomcat 4 had the following problems:

Tomcat 4.0.1: integration for IIS works fine for unprotected resources,
but the browser hangs if I ask for a protected resource; "speaking"
directly with tomcat (i.e. using 8080 port) works fine!! Catalina logs a
nullpointerexception for each request i make:

2002-12-06 10:09:31 Ajp13Request[5]  Requested cookie session id is
C554055605855495697077791461B370
2002-12-06 10:09:31 Ajp13Request[5]  Adding cookie
JSESSIONID=C554055605855495697077791461B370
2002-12-06 10:09:31 Ajp13Request[5]  Adding cookie
JSESSIONID=E5B331E6D4C4F1C144C1E845170683A5
2002-12-06 10:09:31 Ajp13Processor[8009][4] invoking...
2002-12-06 10:09:31 Ajp13Processor[8009][4] process: invoke
java.lang.NullPointerException
	at
org.apache.catalina.valves.ErrorDispatcherValve.status(ErrorDispatcherVa
lve.java:291)
	at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:180)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:170)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462
)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
	at
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:
348)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:564)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:163)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
	at
org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:371)
	at
org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:424)
	at java.lang.Thread.run(Thread.java:484)

Then i tried downloading the latest tomcat 4 release, that is 4.1.12: in
this case, server.xml is configured to use a Coyote Connector for ajp
and not Ajp13Connector as in release 4.0.1
This time, when asking for a protected resource results in a 403 error
(Not Authorized) instead of the login page (I use FORM auth). Please
note that using tomcat directly (that is port 8080) WORKS FINE !!!

Than I switched to Ajp13Connector, whose entry is commented by default
in the 4.1.12 server.xml config file. Finally this works fine, except
for some errors due to Listener config. Anyway i'm quite sure this is
not the best way !!!

Any help will be very appreciated, also addressing to known issues about
this problem. Please don't addess me to Tomcat-IIS how'to because I
already used them. Thanks a lot.

Renato

____________________________________
Renato Romano
Sistemi e Telematica S.p.A.
Calata Grazie - Vial Al Molo Giano
16127 - GENOVA

e-mail: r.romano@set-network.com
Tel.:   010 2712603
_____________________________________


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>