IIS - Tomcat 3.2.1
Hi, I have 2 problems in using tomcat 3.2.1 with IIS(4 or 5), whereas it is configured following the 'how to IIS - Tomcat' doc : 1) It is impossible to get the remote user from java code (method getRemoteUser always returns null) with IIS4 With IIS 5, I can correctly get the remote user if I comment the line /myContext/*=ajp12 in uriWorkerMap.properties file. 2) On both configuration the http request is emptied : there are no parameters in request after submit It happens randomly... Thanks for any help Val
RE: IIS-tomcat 3.2.1
I think that these lines tells you exactly what your problem is: [jk_isapi_plugin.c (452)]: HttpFilterProc [/at/assettrade?a=login] is not a servlet url The filter doesn't recognize your URL as one that it should process. That would be because you haven't told the filter to process it (you get just *.jsp and /servlet/*, neither of which match /at/assettrade). You need to modify your uriworkermap.properties. -Original Message- From: Pradeep Kumar [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 2:34 PM To: [EMAIL PROTECTED] Subject: IIS-tomcat 3.2.1 hello group, I am using tomcat 3.2.1 on win2k box with IIS. I am able to run all the example context. I have a context called at...and I am not able to run my servlet. I get the message resource not allowed on the browser (HTTP 405 error). The isapi log file says the following error. [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /at/assettrade [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 [/at/assettrade?a=login] is not a servlet url [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/at/assettrade?a=login] is points to the web-inf directory Here assettrade is my servlet with the following url mapping is the web.xml servlet-mapping servlet-nameAssetTrade/servlet-name url-pattern/assettrade/url-pattern /servlet-mapping In my uriworkermap.properties, i have specified the following. /at/*.jsp=ajp12 /at/servlet/*=ajp12 It looks like i am able to complile the jsp files, but the problem is with my servlet. Am i doing here something wrong? Your help is highly appriciated. thanks, pradeep
IIS-tomcat 3.2.1
hello group, I am using tomcat 3.2.1 on win2k box with IIS. I am able to run all the example context. I have a context called at...and I am not able to run my servlet. I get the message resource not allowed on the browser (HTTP 405 error). The isapi log file says the following error. [jk_isapi_plugin.c (408)]: HttpFilterProc started [jk_isapi_plugin.c (429)]: In HttpFilterProc test redirection of /at/assettrade [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 [/at/assettrade?a=login] is not a servlet url [jk_isapi_plugin.c (461)]: HttpFilterProc check if [/at/assettrade?a=login] is points to the web-inf directory Here assettrade is my servlet with the following url mapping is the web.xml servlet-mapping servlet-nameAssetTrade/servlet-name url-pattern/assettrade/url-pattern /servlet-mapping In my uriworkermap.properties, i have specified the following. /at/*.jsp=ajp12 /at/servlet/*=ajp12 It looks like i am able to complile the jsp files, but the problem is with my servlet. Am i doing here something wrong? Your help is highly appriciated. thanks, pradeep
RE: IIS - Tomcat 3.2.1 problem: no more servlet handling on live ip
I'm hosting the webserver myself, on an ADSL connection with fixed IP address. Anyway, the site is up and running now, including the servlets. The problem was that port 8007 was disabled on my connection, now that it is enabled everything is working fine. Regards, Wim Praet. -Original Message- From: Darrell Porter [mailto:[EMAIL PROTECTED]] Sent: maandag 29 januari 2001 17:37 To: '[EMAIL PROTECTED]' Subject: RE: IIS - Tomcat 3.2.1 problem: no more servlet handling on live ip Are you hosting this yourself or is it hosted on an ISP-owned machine? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 4:20 AM To: [EMAIL PROTECTED] Subject: IIS - Tomcat 3.2.1 problem: no more servlet handling on live ip Hello, I have a problem with the following setup: - W2K prof. - IIS5.0 - Tomcat 3.2.1 I wrote several servlets and they are working when I test mij webapp on http://localhost ... unfortunately, when I substitute the localhost name for the real world (live) ip address or hostname, only static html pages will show but the servlets do not react anymore to requests. The isapi.log file tells me the following: [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed Could someone explain to me what could be the problem? (I think the problem is that my isp blocked the 8007 port of mij outgoing server line). Regards, Wim Praet. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
IIS - Tomcat 3.2.1 problem: no more servlet handling on live ip
Hello, I have a problem with the following setup: - W2K prof. - IIS5.0 - Tomcat 3.2.1 I wrote several servlets and they are working when I test mij webapp on http://localhost ... unfortunately, when I substitute the localhost name for the real world (live) ip address or hostname, only static html pages will show but the servlets do not react anymore to requests. The isapi.log file tells me the following: [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed Could someone explain to me what could be the problem? (I think the problem is that my isp blocked the 8007 port of mij outgoing server line). Regards, Wim Praet. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: IIS - Tomcat 3.2.1 problem: no more servlet handling on live ip
Are you hosting this yourself or is it hosted on an ISP-owned machine? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 4:20 AM To: [EMAIL PROTECTED] Subject: IIS - Tomcat 3.2.1 problem: no more servlet handling on live ip Hello, I have a problem with the following setup: - W2K prof. - IIS5.0 - Tomcat 3.2.1 I wrote several servlets and they are working when I test mij webapp on http://localhost ... unfortunately, when I substitute the localhost name for the real world (live) ip address or hostname, only static html pages will show but the servlets do not react anymore to requests. The isapi.log file tells me the following: [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [jk_isapi_plugin.c (554)]: HttpExtensionProc error, service() failed Could someone explain to me what could be the problem? (I think the problem is that my isp blocked the 8007 port of mij outgoing server line). Regards, Wim Praet. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]