Servlet autoreloading troubles ...

2001-04-06 Thread Laurent LAUBIN

Hello everybody

I have some questions about tomcat 3.2  servlet reloading :

I have a context for development with reloadable="true", I put all the
.class in the WEB-INF/classes of this context.

If the .java are not in the same directory, it looks like servlet reloading
doesn't work ...

Moreover, if I delete the classfile of the servlet, I still can access it
until I restart tomcat ... (And it's not a problem of my navigator's cache
:)

So what are the rules for the servlet auto reloading ??? How can I unload
servlet from the server without restart it ?


For information, server is RedHat 7.0 with Apache 1.3.12/ModSSL2.6.6  and
Tomcat 3.2.1 with JDK1.3 from sun ;)



Thanks in advance,

___
Laurent LAUBIN  S2M
Ingnieur systme   2, rue des champs - BP 2282
Tl : +33 232 64 33 76  27950 St-Marcel - France
Fax : +33 232 21 25 99  http://www.s2m.fr/
___
 


-Message d'origine-
De : Ralf Weiss [mailto:[EMAIL PROTECTED]]
Envoy : mardi 27 fvrier 2001 17:50
 : [EMAIL PROTECTED]
Objet : Error 404 running isapi with PWS 4.0 and Tomcat 3.2





Hi all ,

Im trying to let PWS 4.0 work together with Tomcat 3.2 under NT 4.0.

I think the isapi_redirect.dll is properly configured but I alway get the
error 404 and dont know why. I also studied the several How-Tos
but I didnt find any new hint.

The isapi.log looks like this when Im trying to acces the url
"http://localhost/examples/jsp/index.html":

[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/examples/jsp/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/jsp/index.html] is a
servlet url - should redirect to ajp12
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/examples/jsp/index.html] is
 points to the web-inf directory
[jk_isapi_plugin.c (408)]: HttpFilterProc started
[jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
/jakarta/isapi_redirect.dll
[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 [/jakarta/isapi_redirect.dll ] is
not
a servlet url
[jk_isapi_plugin.c (461)]: HttpFilterProc check if
[/jakarta/isapi_redirect.dll
] is points to the web-inf directory


Any idea?

Thanks in advance

Ralf



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



RE: Servlet autoreloading troubles ...

2001-04-06 Thread BenoƮt Jacquemont

Hi,

Servlet reloading is an alpha feature and it is known to doesn't work in
many cases. You have to restart Tomcat each time you build a .class.

Benot

 Hello everybody

 I have some questions about tomcat 3.2  servlet reloading :

 I have a context for development with reloadable="true", I put all the
 .class in the WEB-INF/classes of this context.

 If the .java are not in the same directory, it looks like
 servlet reloading
 doesn't work ...

 Moreover, if I delete the classfile of the servlet, I still
 can access it
 until I restart tomcat ... (And it's not a problem of my
 navigator's cache
 :)

 So what are the rules for the servlet auto reloading ??? How
 can I unload
 servlet from the server without restart it ?


 For information, server is RedHat 7.0 with Apache
 1.3.12/ModSSL2.6.6  and
 Tomcat 3.2.1 with JDK1.3 from sun ;)



 Thanks in advance,

 ___
 Laurent LAUBIN  S2M
 Ingnieur systme   2, rue des champs - BP 2282
 Tl : +33 232 64 33 76  27950 St-Marcel - France
 Fax : +33 232 21 25 99  http://www.s2m.fr/
 ___



 -Message d'origine-
 De : Ralf Weiss [mailto:[EMAIL PROTECTED]]
 Envoy : mardi 27 fvrier 2001 17:50
  : [EMAIL PROTECTED]
 Objet : Error 404 running isapi with PWS 4.0 and Tomcat 3.2





 Hi all ,

 Im trying to let PWS 4.0 work together with Tomcat 3.2 under NT 4.0.

 I think the isapi_redirect.dll is properly configured but I
 alway get the
 error 404 and dont know why. I also studied the several How-Tos
 but I didnt find any new hint.

 The isapi.log looks like this when Im trying to acces the url
 "http://localhost/examples/jsp/index.html":

 [jk_isapi_plugin.c (408)]: HttpFilterProc started
 [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
 /examples/jsp/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/jsp/index.html] is a
 servlet url - should redirect to ajp12
 [jk_isapi_plugin.c (461)]: HttpFilterProc check if
 [/examples/jsp/index.html] is
  points to the web-inf directory
 [jk_isapi_plugin.c (408)]: HttpFilterProc started
 [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of
 /jakarta/isapi_redirect.dll
 [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
 [/jakarta/isapi_redirect.dll ] is
 not
 a servlet url
 [jk_isapi_plugin.c (461)]: HttpFilterProc check if
 [/jakarta/isapi_redirect.dll
 ] is points to the web-inf directory


 Any idea?

 Thanks in advance

 Ralf



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, email: [EMAIL PROTECTED]