You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by James Leone <jl...@usc.edu> on 2001/02/10 21:07:35 UTC

W2k not processing JSP

Searched through the mail archives and was having no luck getting an answer.

I'm tyring to get tomcat working on Win2000 with IIS using the
isapi_redirect.dll.

I setup the redirect, following the documents step by step, and it seems to
be configured fine.

For some reason the embedded jsp is not being processed in the files.  (and
yes I also have started tomcat running)

It appears that the isapi is not detecting the file for processing.  Here is
what the log does when I'm running one of the tests

[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/dates/date.jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/examples/jsp/dates/date.jsp] is
not a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/dates/date.jsp] is points to the web-inf directory

here is what I've got for uriworkermap

# Mount the examples context to the ajp12 worker
/examples/jsp/*.jsp=ajp12

if it helps here's what tomcat logged when I started it.
2001-02-10 11:20:50 - Ctx( /examples ): Set debug to 1
2001-02-10 11:20:50 - ContextManager: Adding context Ctx( /examples )
2001-02-10 11:20:50 - ContextManager: Adding context Ctx( /admin )
2001-02-10 11:20:50 - ContextManager: Adding context Ctx(  )
2001-02-10 11:20:50 - ContextManager: Adding context Ctx( /test )
2001-02-10 11:20:50 - Ctx( /examples ): XmlReader - init  /examples
webapps/examples
2001-02-10 11:20:50 - Ctx( /examples ): Reading
E:\jakarta\webapps\examples\WEB-INF\web.xml
2001-02-10 11:20:50 - Ctx( /examples ): Add user tomcat tomcat tomcat
2001-02-10 11:20:50 - Ctx( /examples ): Add user role1 tomcat role1
2001-02-10 11:20:50 - Ctx( /examples ): Add user both tomcat tomcat,role1
2001-02-10 11:20:50 - Ctx( /examples ): Loading -2147483646 jsp
2001-02-10 11:20:51 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-02-10 11:20:51 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007

I must be missing a step.  If anybody thinks that additional log or conf
info would be helpful I'd be happy to blast it out.

Thanks ahead of time for anything somebody out there can do.


RE: W2k not processing JSP

Posted by James Leone <jl...@usc.edu>.
I've played around further and made some progress.
The jsp pages process when I connect directly to the tomcat server
http://localhost:8080/examples/jsp/dates/date.jsp
however they don't when I connect to IIS on port 80
http://localhost/examples/jsp/dates/date.jsp

This confirms my suspicion that isapi_redirect is the point of failure.

log says this
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/examples/jsp/dates/date.jsp] is
not a servlet url

and uriworkermap.properties says:
/examples/*.jsp=ajp12

and the registry entry for the dll is correct I'm positive.

So is something wrong with my uriworkermap?





-----Original Message-----
From: James Leone [mailto:jleone@usc.edu]
Sent: Saturday, February 10, 2001 12:08 PM
To: tomcat-user@jakarta.apache.org
Subject: W2k not processing JSP


Searched through the mail archives and was having no luck getting an answer.

I'm tyring to get tomcat working on Win2000 with IIS using the
isapi_redirect.dll.

I setup the redirect, following the documents step by step, and it seems to
be configured fine.

For some reason the embedded jsp is not being processed in the files.  (and
yes I also have started tomcat running)

It appears that the isapi is not detecting the file for processing.  Here is
what the log does when I'm running one of the tests

[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/dates/date.jsp
[jk_uri_worker_map.c (344)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (434)]: jk_uri_worker_map_t::map_uri_to_worker, done
without a match
[jk_isapi_plugin.c (452)]: HttpFilterProc [/examples/jsp/dates/date.jsp] is
not a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/dates/date.jsp] is points to the web-inf directory

here is what I've got for uriworkermap

# Mount the examples context to the ajp12 worker
/examples/jsp/*.jsp=ajp12

if it helps here's what tomcat logged when I started it.
2001-02-10 11:20:50 - Ctx( /examples ): Set debug to 1
2001-02-10 11:20:50 - ContextManager: Adding context Ctx( /examples )
2001-02-10 11:20:50 - ContextManager: Adding context Ctx( /admin )
2001-02-10 11:20:50 - ContextManager: Adding context Ctx(  )
2001-02-10 11:20:50 - ContextManager: Adding context Ctx( /test )
2001-02-10 11:20:50 - Ctx( /examples ): XmlReader - init  /examples
webapps/examples
2001-02-10 11:20:50 - Ctx( /examples ): Reading
E:\jakarta\webapps\examples\WEB-INF\web.xml
2001-02-10 11:20:50 - Ctx( /examples ): Add user tomcat tomcat tomcat
2001-02-10 11:20:50 - Ctx( /examples ): Add user role1 tomcat role1
2001-02-10 11:20:50 - Ctx( /examples ): Add user both tomcat tomcat,role1
2001-02-10 11:20:50 - Ctx( /examples ): Loading -2147483646 jsp
2001-02-10 11:20:51 - PoolTcpConnector: Starting HttpConnectionHandler on
8080
2001-02-10 11:20:51 - PoolTcpConnector: Starting Ajp12ConnectionHandler on
8007

I must be missing a step.  If anybody thinks that additional log or conf
info would be helpful I'd be happy to blast it out.

Thanks ahead of time for anything somebody out there can do.


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