RE: TOMCAT 3.2.2

2001-07-25 Thread fthomas . baltzley


What I'm trying to do is have IIS serve the static pages.


   
  
Randy Layman   
  
randy.layman@asweTo: [EMAIL PROTECTED]   
  
think.comcc:  
  
  Subject: RE: TOMCAT 3.2.2
  
07/24/2001 03:49   
  
PM 
  
Please respond to  
  
tomcat-user
  
   
  
   
  




   I'm guessing that you haven't modified your server.xml file and
left
the servlet invoker in the configuration.  If so, this invoker is catching
the request, trying to start a servlet named index.html, failing and
returning a 404.

   Randy


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 24, 2001 4:23 PM
 To: [EMAIL PROTECTED]
 Subject: RE: TOMCAT 3.2.2



 But what about  http://127.0.0.1/examples/servlet/index.html??

 I have /examples/servlet/* in uriworkermap.properties.




 Randy Layman

 randy.layman@asweTo:
 [EMAIL PROTECTED]
 think.comcc:

   Subject:
 RE: TOMCAT 3.2.2
 07/24/2001 03:26

 PM

 Please respond to

 tomcat-user









How do you expect Tomcat to know to process *.html
 if you don't
 tell
 it to (in uriworkermap.properties)?

You have:
  /examples/servlet/*=$(default.worker)
  /examples/*.jsp=$(default.worker)
 but you indicate that you want to match:
   http://127.0.0.1/examples/admin/index.html
 which can never happen.  You need to change your
 uriworkermap.properties
 file, and then either restart the machine, or stop IIS from
 the Services
 Control Panel (you must make inetinfo.exe unload).

Randy

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]
  Sent: Tuesday, July 24, 2001 3:59 PM
  To: [EMAIL PROTECTED]
  Subject: TOMCAT 3.2.2
 
 
  Hi.  I've check the FAQ and other sources but can't find anything
  specifically related to my problem.  There are other 404 not found
  problems but mine only happens in certain contexts and I
  can't figure out
  why.   I have the isapi-redirect.dll installed on IIS 4.0 /
  NT 4.0 SP6 and
  the green arrow shows in the isapi filter.
 
  I would appreciate any help.  Thank you.
 
  These urls work :
 
   http://127.0.0.1/bookstore/bookstore.html
   http://127.0.0.1/examples/jsp/index.html
 
  I get the 404 with the following:
 
   http://127.0.0.1/examples/servlet/index.html
   http://127.0.0.1/examples/admin/index.html
 
  The pages are definitely in the right folders/directories.
 
  Following is information that may be of use:
 
   uriworkermap.properties-auto file contains:
 
  default.worker=ajp12
  /servlet/*=$(default.worker)
  /*.jsp=$(default.worker)
 
  /examples/servlet/*=$(default.worker)
  /examples/*.jsp=$(default.worker)
 
  # /examples/*=$(default.worker)
 
  /admin/servlet/*=$(default.worker)
  /admin/*.jsp=$(default.worker)
 
  # /admin/*=$(default.worker)
  /bookstore/servlet/*=$(default.worker)
  /bookstore/*.jsp=$(default.worker)
 
  # /bookstore/*=$(default.worker)
 
  /test/servlet/*=$(default.worker)
  /test/*.jsp=$(default.worker)
 
  # /test/*=$(default.worker)
 
   iis-redirect.reg-auto contains:
 
  REGEDIT4
 
  [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software
 Foundation\Jakarta Isapi
  Redirector\1.0]
  extension_uri=/jakarta/isapi_redirect.dll
  log_file=D:\\Tomcat-3.2.2\\logs\\iis_redirect.log
  log_level=debug
  worker_file=D:\\Tomcat-3.2.2\\conf\\workers.properties
 
 worker_mount_file=D:\\Tomcat-3.2.2\\conf\\uriworkermap.properties
 
 
 
   servlet.log contains:
 
  2001-07-06 03:00:10 - path=/examples :jsp: init
  2001-07-06 03:00:11 - path=/admin :jsp: init
  2001-07-06 03:00:11 - path=/bookstore :jsp: init
  2001-07-06 03:00:11 - path= :jsp: init
  2001-07-06 03:00:11 - path=/test :jsp: init
 
   isapi.log contains:
 
  [jk_isapi_plugin.c (408)]: HttpFilterProc started
  [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
  /examples/servlet/index.html
  [jk_uri_worker_map.c (344)]: Into
  jk_uri_worker_map_t::map_uri_to_worker
  

RE: TOMCAT 3.2.2

2001-07-25 Thread fthomas . baltzley


My mistake,  I meant   http://127.0.0.1/admin/index.html.



   
  
Randy Layman   
  
randy.layman@asweTo: [EMAIL PROTECTED]   
  
think.comcc:  
  
  Subject: RE: TOMCAT 3.2.2
  
07/24/2001 03:26   
  
PM 
  
Please respond to  
  
tomcat-user
  
   
  
   
  




   How do you expect Tomcat to know to process *.html if you don't
tell
it to (in uriworkermap.properties)?

   You have:
 /examples/servlet/*=$(default.worker)
 /examples/*.jsp=$(default.worker)
but you indicate that you want to match:
  http://127.0.0.1/examples/admin/index.html
which can never happen.  You need to change your uriworkermap.properties
file, and then either restart the machine, or stop IIS from the Services
Control Panel (you must make inetinfo.exe unload).

   Randy

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 24, 2001 3:59 PM
 To: [EMAIL PROTECTED]
 Subject: TOMCAT 3.2.2


 Hi.  I've check the FAQ and other sources but can't find anything
 specifically related to my problem.  There are other 404 not found
 problems but mine only happens in certain contexts and I
 can't figure out
 why.   I have the isapi-redirect.dll installed on IIS 4.0 /
 NT 4.0 SP6 and
 the green arrow shows in the isapi filter.

 I would appreciate any help.  Thank you.

 These urls work :

  http://127.0.0.1/bookstore/bookstore.html
  http://127.0.0.1/examples/jsp/index.html

 I get the 404 with the following:

  http://127.0.0.1/examples/servlet/index.html
  http://127.0.0.1/examples/admin/index.html

 The pages are definitely in the right folders/directories.

 Following is information that may be of use:

  uriworkermap.properties-auto file contains:

 default.worker=ajp12
 /servlet/*=$(default.worker)
 /*.jsp=$(default.worker)

 /examples/servlet/*=$(default.worker)
 /examples/*.jsp=$(default.worker)

 # /examples/*=$(default.worker)

 /admin/servlet/*=$(default.worker)
 /admin/*.jsp=$(default.worker)

 # /admin/*=$(default.worker)
 /bookstore/servlet/*=$(default.worker)
 /bookstore/*.jsp=$(default.worker)

 # /bookstore/*=$(default.worker)

 /test/servlet/*=$(default.worker)
 /test/*.jsp=$(default.worker)

 # /test/*=$(default.worker)

  iis-redirect.reg-auto contains:

 REGEDIT4

 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
 Redirector\1.0]
 extension_uri=/jakarta/isapi_redirect.dll
 log_file=D:\\Tomcat-3.2.2\\logs\\iis_redirect.log
 log_level=debug
 worker_file=D:\\Tomcat-3.2.2\\conf\\workers.properties
 worker_mount_file=D:\\Tomcat-3.2.2\\conf\\uriworkermap.properties



  servlet.log contains:

 2001-07-06 03:00:10 - path=/examples :jsp: init
 2001-07-06 03:00:11 - path=/admin :jsp: init
 2001-07-06 03:00:11 - path=/bookstore :jsp: init
 2001-07-06 03:00:11 - path= :jsp: init
 2001-07-06 03:00:11 - path=/test :jsp: init

  isapi.log contains:

 [jk_isapi_plugin.c (408)]: HttpFilterProc started
 [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
 /examples/servlet/index.html
 [jk_uri_worker_map.c (344)]: Into
 jk_uri_worker_map_t::map_uri_to_worker
 [jk_uri_worker_map.c (406)]:
 jk_uri_worker_map_t::map_uri_to_worker, Found
 a match ajp12
 [jk_isapi_plugin.c (439)]: HttpFilterProc
 [/examples/servlet/index.html] is
 a servlet url - should redirect to ajp12
 [jk_isapi_plugin.c (461)]: HttpFilterProc check if
 [/examples/servlet/index.html] is points to the web-inf directory
 [jk_uri_worker_map.c (155)]: Into
 jk_uri_worker_map_t::uri_worker_map_alloc
 [jk_uri_worker_map.c (195)]: Into
 jk_uri_worker_map_t::uri_worker_map_open
 [jk_uri_worker_map.c (210)]:
 jk_uri_worker_map_t::uri_worker_map_open, rule
 map size is 15
 [jk_uri_worker_map.c (266)]: Into
 jk_uri_worker_map_t::uri_worker_map_open,
 match rule /servlet/=ajp12 was added
 [jk_uri_worker_map.c (255)]: Into
 jk_uri_worker_map_t::uri_worker_map_open,
 suffix rule /.jsp=ajp12 was added
 [jk_uri_worker_map.c (266)]: Into
 jk_uri_worker_map_t::uri_worker_map_open,
 match rule /examples/servlet/=ajp12 was added
 [jk_uri_worker_map.c (255)]: Into
 jk_uri_worker_map_t::uri_worker_map_open,
 suffix rule /examples/.jsp=ajp12 

RE: TOMCAT 3.2.2

2001-07-24 Thread fthomas . baltzley


But what about  http://127.0.0.1/examples/servlet/index.html??

I have /examples/servlet/* in uriworkermap.properties.


   
  
Randy Layman   
  
randy.layman@asweTo: [EMAIL PROTECTED]   
  
think.comcc:  
  
  Subject: RE: TOMCAT 3.2.2
  
07/24/2001 03:26   
  
PM 
  
Please respond to  
  
tomcat-user
  
   
  
   
  




   How do you expect Tomcat to know to process *.html if you don't
tell
it to (in uriworkermap.properties)?

   You have:
 /examples/servlet/*=$(default.worker)
 /examples/*.jsp=$(default.worker)
but you indicate that you want to match:
  http://127.0.0.1/examples/admin/index.html
which can never happen.  You need to change your uriworkermap.properties
file, and then either restart the machine, or stop IIS from the Services
Control Panel (you must make inetinfo.exe unload).

   Randy

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 24, 2001 3:59 PM
 To: [EMAIL PROTECTED]
 Subject: TOMCAT 3.2.2


 Hi.  I've check the FAQ and other sources but can't find anything
 specifically related to my problem.  There are other 404 not found
 problems but mine only happens in certain contexts and I
 can't figure out
 why.   I have the isapi-redirect.dll installed on IIS 4.0 /
 NT 4.0 SP6 and
 the green arrow shows in the isapi filter.

 I would appreciate any help.  Thank you.

 These urls work :

  http://127.0.0.1/bookstore/bookstore.html
  http://127.0.0.1/examples/jsp/index.html

 I get the 404 with the following:

  http://127.0.0.1/examples/servlet/index.html
  http://127.0.0.1/examples/admin/index.html

 The pages are definitely in the right folders/directories.

 Following is information that may be of use:

  uriworkermap.properties-auto file contains:

 default.worker=ajp12
 /servlet/*=$(default.worker)
 /*.jsp=$(default.worker)

 /examples/servlet/*=$(default.worker)
 /examples/*.jsp=$(default.worker)

 # /examples/*=$(default.worker)

 /admin/servlet/*=$(default.worker)
 /admin/*.jsp=$(default.worker)

 # /admin/*=$(default.worker)
 /bookstore/servlet/*=$(default.worker)
 /bookstore/*.jsp=$(default.worker)

 # /bookstore/*=$(default.worker)

 /test/servlet/*=$(default.worker)
 /test/*.jsp=$(default.worker)

 # /test/*=$(default.worker)

  iis-redirect.reg-auto contains:

 REGEDIT4

 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
 Redirector\1.0]
 extension_uri=/jakarta/isapi_redirect.dll
 log_file=D:\\Tomcat-3.2.2\\logs\\iis_redirect.log
 log_level=debug
 worker_file=D:\\Tomcat-3.2.2\\conf\\workers.properties
 worker_mount_file=D:\\Tomcat-3.2.2\\conf\\uriworkermap.properties



  servlet.log contains:

 2001-07-06 03:00:10 - path=/examples :jsp: init
 2001-07-06 03:00:11 - path=/admin :jsp: init
 2001-07-06 03:00:11 - path=/bookstore :jsp: init
 2001-07-06 03:00:11 - path= :jsp: init
 2001-07-06 03:00:11 - path=/test :jsp: init

  isapi.log contains:

 [jk_isapi_plugin.c (408)]: HttpFilterProc started
 [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
 /examples/servlet/index.html
 [jk_uri_worker_map.c (344)]: Into
 jk_uri_worker_map_t::map_uri_to_worker
 [jk_uri_worker_map.c (406)]:
 jk_uri_worker_map_t::map_uri_to_worker, Found
 a match ajp12
 [jk_isapi_plugin.c (439)]: HttpFilterProc
 [/examples/servlet/index.html] is
 a servlet url - should redirect to ajp12
 [jk_isapi_plugin.c (461)]: HttpFilterProc check if
 [/examples/servlet/index.html] is points to the web-inf directory
 [jk_uri_worker_map.c (155)]: Into
 jk_uri_worker_map_t::uri_worker_map_alloc
 [jk_uri_worker_map.c (195)]: Into
 jk_uri_worker_map_t::uri_worker_map_open
 [jk_uri_worker_map.c (210)]:
 jk_uri_worker_map_t::uri_worker_map_open, rule
 map size is 15
 [jk_uri_worker_map.c (266)]: Into
 jk_uri_worker_map_t::uri_worker_map_open,
 match rule /servlet/=ajp12 was added
 [jk_uri_worker_map.c (255)]: Into
 jk_uri_worker_map_t::uri_worker_map_open,
 suffix rule /.jsp=ajp12 was added
 [jk_uri_worker_map.c (266)]: Into
 jk_uri_worker_map_t::uri_worker_map_open,
 match rule /examples/servlet/=ajp12 was added
 [jk_uri_worker_map.c (255)]: Into
 

Tomcat 3.2.2

2001-06-05 Thread fthomas . baltzley

Hi.  I reviewed the FAQ site but did not see anything to help me with my
problem.   I tried to login to the FAQ website but received an error so I
could not submit my question there.   I was wondering if someone could help
or direct me to the correct address.

I've installed Tomcat 3.2.2 on a Windows NT workstation running NT 4.0
Build 1381 SP6.   This works fine in standalone mode.   Now  I'm trying to
have Microsoft Personal Web Server 4.0 recognize the isapi_redirect.dll
plugin.  I've made the registry settings according to the Tomcat IIS
HowTo web site (although I may have misinterpreted something).I added
HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\
Jakarta Isapi Redirector\1.0  key.   Within the 1.0 key,  I added the
strings/values referred to in the instructions.

I also added
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters\Filter

DLLs.
I added the full path to the isapi_redirect.dll within the Filter DLLs
key .   The instructions do not mention a Value Name but I used
jakarta.

I added the virtual directories jakarta and examples to my PWS website.
jakarta is the path to the
isapi_redirector.dll (not the full path).   examples  is the path to the
examples included with the install.

I've checked and rechecked my configuration.  I've worked through the
troubleshooting section of the instructions.
The isapi.log is not appearing in the  \logs folder so the redirector is
not being recognized.

Any help would be appreciated.  Thanks.