Re: Tomcat Alone or tomcat+IIS/Apache
We required IIS for a CGI ecommerce solution that was required. Plug and Pay I think is the company we bought it from. I came in late on the project and haven't had a lot of time to mess with it. Does Tomcat support CGI bins utalizing non-java technology? Gregg On 9/30/05, Peddireddy Srikanth [EMAIL PROTECTED] wrote: thanks for all the replies On 9/30/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. More urban myth. As another respondent pointed out, all modern JVMs (i.e., from JRE 1.2 on) use native threads and the underlying OS for thread dispatching. Coupled with thread-local object allocation (available since JRE 1.3), scaling of Tomcat itself is not a problem; it runs happily on our 32-CPU servers as long as the applications themselves have no inherent bottlenecks. You do want to adjust the heap parameters for any serious work, especially on a Windows platform, where the default maximum borders on the miniscule. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Alone or tomcat+IIS/Apache
From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache Does Tomcat support CGI bins utalizing non-java technology? As usual, RTFM: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/cgi-howto.html - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Alone or tomcat+IIS/Apache
Dear Chuck, your mail is very informative. We r facing a similar issue in our organization :: Tomcat or Apache+tomcat. And the supporters of Apache+tomcat are arguing that as Apache/IIS can make use of native OS (windows inour case) libraries for thread management , memory mangement etc, they will fare well under high loads. And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. Is this argument a valid one or just a misunderstanding?? thanx for any kind of info in this regard. Regards Srikanth On 9/20/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] Subject: Tomcat Alone or tomcat+IIS/Apache I know that delivering static content with Apache/IIS is preferred. Urban myth, based primarily on older Tomcat versions that did not perform anywhere near as well as the current one. But does that matter if every single request has to go to Tomcat because the data is dynamic? Think about it: How could adding path length and latency for every request improve performance? What is the benefit of Tomcat + Apache/IIS on major J2EE apps? Job security perhaps? Also increased stress levels, if you enjoy that sort of thing. Unless there's something specific for httpd or IIS to do (e.g., poor man's load balancing), simplify your life and leave them out. Check out Peter Lin's performance measurements for just static content, and you may decide you don't need httpd or IIS for that, either. http://jakarta.apache.org/tomcat/articles/benchmark_summary.pdf - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Alone or tomcat+IIS/Apache
Peddireddy Srikanth wrote: And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. Is this argument a valid one or just a misunderstanding?? The statement for threads is probably valid if you read some Java 1.1 book. From version 1.2 Java uses platform native threads. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Alone or tomcat+IIS/Apache
We had the same discussion a year ago, as we switched to tomcat 5 and was testing whether we do need apache in front of it. Actually the only advantage for this solution left were apache mods like url-rewriting - http://mydomain - http://mydomain/myapp/mypath - better for some search engines and so on. mod_gzip - now supported by tomcat directly. But this isn't worth installing an apache. The real problem with serving static content that tomcat has is the thread-model - one thread per connection is a bit messy if you have http 1.1 (keep-alives) on. But apache has the same issue. So if you have a log of static content to serve I'd strongly suggest you put a squid in front of your tomcats instead of apache (iis is a joke anyway). regards leon On 9/30/05, Mladen Turk [EMAIL PROTECTED] wrote: Peddireddy Srikanth wrote: And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. Is this argument a valid one or just a misunderstanding?? The statement for threads is probably valid if you read some Java 1.1 book. From version 1.2 Java uses platform native threads. Regards, Mladen. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Alone or tomcat+IIS/Apache
From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. More urban myth. As another respondent pointed out, all modern JVMs (i.e., from JRE 1.2 on) use native threads and the underlying OS for thread dispatching. Coupled with thread-local object allocation (available since JRE 1.3), scaling of Tomcat itself is not a problem; it runs happily on our 32-CPU servers as long as the applications themselves have no inherent bottlenecks. You do want to adjust the heap parameters for any serious work, especially on a Windows platform, where the default maximum borders on the miniscule. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Alone or tomcat+IIS/Apache
thanks for all the replies On 9/30/05, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Peddireddy Srikanth [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Alone or tomcat+IIS/Apache And they argue that as Tomcat it self runs inside a JVM, which inturn is a single process all the threads etc wil be simulted ones (and not the native threads) and hence it will not scale up well under high loads. More urban myth. As another respondent pointed out, all modern JVMs (i.e., from JRE 1.2 on) use native threads and the underlying OS for thread dispatching. Coupled with thread-local object allocation (available since JRE 1.3), scaling of Tomcat itself is not a problem; it runs happily on our 32-CPU servers as long as the applications themselves have no inherent bottlenecks. You do want to adjust the heap parameters for any serious work, especially on a Windows platform, where the default maximum borders on the miniscule. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat Alone or tomcat+IIS/Apache
I am just curious. I know that delivering static content with Apache/IIS is preferred. But does that matter if every single request has to go to Tomcat because the data is dynamic? Is there some caching that gets involved here? What is the benefit of Tomcat + Apache/IIS on major J2EE apps? Gregg
Re: Tomcat Alone or tomcat+IIS/Apache
Well I'm sure you can imagine that if all of your content is dynamic then layering tomcat behind Apache/IIS will only add latency/resources to your requests... nothing significant.. but maybe if your serving up a ton of requests it might be worthwhile to run tomcat standalone. -David Quoting Gregg D Bolinger [EMAIL PROTECTED]: I am just curious. I know that delivering static content with Apache/IIS is preferred. But does that matter if every single request has to go to Tomcat because the data is dynamic? Is there some caching that gets involved here? What is the benefit of Tomcat + Apache/IIS on major J2EE apps? Gregg This message was sent using IMP, the Internet Messaging Program. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Alone or tomcat+IIS/Apache
From: Gregg D Bolinger [mailto:[EMAIL PROTECTED] Subject: Tomcat Alone or tomcat+IIS/Apache I know that delivering static content with Apache/IIS is preferred. Urban myth, based primarily on older Tomcat versions that did not perform anywhere near as well as the current one. But does that matter if every single request has to go to Tomcat because the data is dynamic? Think about it: How could adding path length and latency for every request improve performance? What is the benefit of Tomcat + Apache/IIS on major J2EE apps? Job security perhaps? Also increased stress levels, if you enjoy that sort of thing. Unless there's something specific for httpd or IIS to do (e.g., poor man's load balancing), simplify your life and leave them out. Check out Peter Lin's performance measurements for just static content, and you may decide you don't need httpd or IIS for that, either. http://jakarta.apache.org/tomcat/articles/benchmark_summary.pdf - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
POST method with Tomcat-IIS redirector
Hi all, please, i'm having a challenge with the ispai_redirector.dll. i've installed it and everything works just fine except that a form submitted to Tomcat via the redirector from IIS with method POST generates an error: Process call back. status 2 please, can anyone help with what i should do? Thanx. lekan - Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard.
Problem with Tomcat-IIS-Connection by JK
Hi, I have connected Tomcat 4.1.30 to IIS a lot of times at several customer sites. Now at one site I have a problem. The JK log reports the following when accessing a resource at context '/dw_3_16_12'. The ajp13 worker is correctly configured in workers.properties. It's a distributed configuration: IIS is in DMZ, Tomcat in Intranet; The port 8009 is open in the firewall. I checked that with telnet ip-addr 8009 . The only special thing IMO is that the IIS runs several websites. The connector is installed on level of website that listens on Port 81. What I wonder from the log is why there appear ajp12 log entries where I expect ajp13. Has anyone an idea? Michael --- [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /bsa..com:81/dw_3_16_12 [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (368)]: Attempting to map URI '/bsa..com:81/dw_3_16_12' [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /dw_3_16_12 [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (368)]: Attempting to map URI '/dw_3_16_12' [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (381)]: jk_uri_worker_map_t::map_uri_to_worker, Found an exact match ajp13 - /dw_3_16_12 [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (617)]: HttpFilterProc [/dw_3_16_12] is a servlet url - should redirect to ajp13 [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (639)]: HttpFilterProc check if [/dw_3_16_12] is points to the web-inf directory [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (555)]: HttpFilterProc started [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of /bsa..com:81/jakarta/isapi_redirect.dll [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (368)]: Attempting to map URI '/bsa..com:81/jakarta/isapi_redirect.dll' [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (606)]: In HttpFilterProc test Default redirection of /jakarta/isapi_redirect.dll [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (351)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (368)]: Attempting to map URI '/jakarta/isapi_redirect.dll' [Thu Dec 16 12:35:48 2004] [jk_uri_worker_map.c (456)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (630)]: HttpFilterProc [/jakarta/isapi_redirect.dll] is not a servlet url [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (639)]: HttpFilterProc check if [/jakarta/isapi_redirect.dll] is points to the web-inf directory [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Thu Dec 16 12:35:48 2004] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [Thu Dec 16 12:35:48 2004] [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [Thu Dec 16 12:35:48 2004] [jk_isapi_plugin.c (701)]: HttpExtensionProc got a worker for name ajp12 [Thu Dec 16 12:35:48 2004] [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [Thu Dec 16 12:35:48 2004] [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [Thu Dec 16 12:35:48 2004] [jk_connect.c (108)]: Into jk_open_socket [Thu Dec 16 12:35:48 2004] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 5256 [Thu Dec 16 12:35:50 2004] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [Thu Dec 16 12:35:50 2004] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [Thu Dec 16 12:35:50 2004] [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1 [Thu Dec 16 12:35:50 2004] [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [Thu Dec 16 12:35:50 2004] [jk_isapi_plugin.c (716)]: HttpExtensionProc error, service() failed [Thu Dec 16 12:35:50 2004] [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with Tomcat-IIS-Connection by JK
It's solved! The customer admin has left an old JK setup on host level which I wasn't aware of when installing at website level. Best Regards Michael - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat-IIS-JK2 : Problem on POST with Transfer-Encoding: chunked
I have successfully configured JK2 to have IIS working with Tomcat. However, I am having a problem: My servlet receives a HTTP request from client which contains an XML document in the request body. Whenever I post a request thru IIS with a header Transfer-Encoding: chunked, the body of the request is missing (HttpServletRequest.getInputStream() is empty) and my program can not continue because the XML document is not there. This works fine if I directly go to Tomcat. If I set the Content-Length to the header, I can retrieve the request body alright. Since the xml doc is dynamically generated each time and vary in size, I have to send it in chunks. There are some error messages in the JK2 log: Error: [jk_channel_apr_socket.c (488)]: channelApr.receive(): Error receiving message body -1 0 Error: [jk_workerEnv.c (492)]: workerEnv.processCallbacks() Error reading reply Error: [jk_worker_ajp13.c (546)]: ajp13.service() ajpGetReply recoverable error 12 I don't know which part I did wrong. Is the IIS configurations? or JK2? Please help and point me some directions. I am using: IIS5.0 Tomcat 4.1.30 JK2 2.0.4 and here is one of my sample request shown in the tcptrace: - Header POST /hctest/servlet/HandCloudServer HTTP/1.1 marshaller: HCLOUDSYNCMARSHALLER User-Agent: Jakarta Commons-HttpClient/2.0rc3 Host: localhost:8081 Transfer-Encoding: chunked Body 18c ?xml version=1.0 encoding=UTF-8?methodCallmethodNamesearch/methodNameparamsparams(Product_Id=100)/s/paramparamsProduct/s/paramparamarray/array/paramparamdt2004-07-22T21:50:20/dt/paramparamint0/int/paramparamint-1/int/param/params/methodCall 0 - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Solution for Tomcat IIS problem
-Original Message- From: Tolle Krez [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 8:22 AM To: Paresh Varatkar Subject: Problem with Tomcat5 and IIS5 Hello Paresh, try to use group:lb:lb instead of just group:lb # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 group=lb:lb [uri:/gf/*] group=lb:lb I hope this helps. -Original Message- From: Paresh Varatkar Sent: Thursday, April 29, 2004 8:25 AM To: [EMAIL PROTECTED] Subject: Problem with Tomcat5 and IIS5 Importance: High Hi, I have many times made tomcat to work with iis. This time I am getting HTTP 500 error. I checked my jakarta filter is green but its not producing any log In IIS log I get this. #Date: 2004-04-28 15:16:28 #Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem cs-uri-query \ sc-status cs(User-Agent) 2004-04-28 15:16:28 127.0.0.1 - 127.0.0.1 80 GET \ /jakarta/isapi_redirector2.dll - 500 \ Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705) \ 2004-04-28 15:16:30 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirector2.dll - 500 \ Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705) \ 2004-04-28 15:16:31 127.0.0.1 - 127.0.0.1 80 GET /jakarta/isapi_redirector2.dll - 500 \ Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705) Regards Paresh ___ My workers2.properties file is [shm] info=Scoreboard. Requried for reconfiguration and status with multiprocess servers. file=anon # Defines a load balancer named lb. Use even if you only have one machine. [lb:lb] # Example socket channel, override port and host. [channel.socket:localhost:8009] port=8009 host=127.0.01 # define the worker [ajp13:localhost:8009] channel=channel.socket:localhost:8009 group=lb # Map the Tomcat examples webapp to the Web server uri space [uri:/gf/*] group=lb [status:] info=Status worker, displays runtime information [uri:/jkstatus/*] info=The Tomcat /jkstatus handler group=status: __ My server.xml connector has(I tried both redirecting to 8080 as wellas 8443, both \ gives same error) !-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified during installation -- Connector port=8080 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 debug=0 connectionTimeout=2 disableUploadTimeout=true / !-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -- !-- Connector port=8443 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true acceptCount=100 debug=0 scheme=https secure=true Factory clientAuth=false protocol=TLS / /Connector -- !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- Connector port=8009 enableLookups=false redirectPort=8080 debug=0 protocol=AJP/1.3 / ___ My Registry property are extensionUri=/jakarta/isapi_redirector2.dll serverRoot=C:\Tomcat logLevel=DEBUG workersFile=C:\Tomcat\conf\workers2.properties worker_mount_file=C:\Tomcat\conf\uriworkermap.properties (I know this is not needed \ but removing this does not make any change). \ __ \ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Vedr.: Tomcat iis and ntlm
Hi Warren, assuming you have setup the ISAPI redirector correct and has IIS serving JSP/Servlets through port 80 make sure you have added request.tomcatAuthentication=false to your jk2.properties file. /Thomas Warren Black [EMAIL PROTECTED] 21-03-2004 21:53 Besvar venligst til Tomcat Users List Til:[EMAIL PROTECTED] cc: Vedr.: Tomcat iis and ntlm Hi, I am trying to pass a users ntlm credentials from iis to tomcat but they always appears as NULL. I believe there is a mod to tomcat to fix this. Can anyone point me in the right direction? regards Warren Okana Systems Limited mailto:[EMAIL PROTECTED] mobile: +44 (0)7958 706580 This message is intended for the named person only. In the event you receive this message in error then please notify the sender and delete all copies of this message. The information contained in the message may be confidential and therefore you must not distribute the information in any way. Views contained in this message are those of the sender. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] FONT SIZE=1 FACE=Arial___ Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller kopiere den. Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er opstaaet i forbindelse med at modtage og bruge e-mailen. ___ Please note that this message may contain confidential information. If you have received this message by mistake, please inform the sender of the mistake by sending a reply, then delete the message from your system without making, distributing or retaining any copies of it. Although we believe that the message and any attachments are free from viruses and other errors that might affect the computer or IT system where it is received and read, the recipient opens the message at his or her own risk. We assume no responsibility for any loss or damage arising from the receipt or use of this message. /FONT
Tomcat iis and ntlm
Hi, I am trying to pass a users ntlm credentials from iis to tomcat but they always appears as NULL. I believe there is a mod to tomcat to fix this. Can anyone point me in the right direction? regards Warren Okana Systems Limited mailto:[EMAIL PROTECTED] mobile: +44 (0)7958 706580 This message is intended for the named person only. In the event you receive this message in error then please notify the sender and delete all copies of this message. The information contained in the message may be confidential and therefore you must not distribute the information in any way. Views contained in this message are those of the sender. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat, iis, https how-to
We are currently using the jk2 redirector with iis on windows 2000 to redirect jsps, and servlets to tomcat. It works great! We would like to start using ssl/https. Where can I find out how to do this with our current configuration??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
tomcat, iis, https how-to
We are currently using the jk2 redirector with iis on windows 2000 to redirect jsps, and servlets to tomcat. It works great! We would like to start using ssl/https. Where can I find out how to do this with our current configuration??? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Errors with Tomcat /IIS connection - shm.init(): No file
I am desparately trying to connect Tomcat to IIS. The IIS filter (isapi_redirector2.dll) is loaded (green arrow in IIS admin), but I am getting the following errors when I submit a request that needs to be handled by Tomcat (http://localhost/examples): Error: [jk_shm.c (333)]: shm.init(): No file Error: [jk_endpoint.c (90)]: workerEnv.init() create slot epStat.0 failed Error: [jk_worker_lb.c (402)]: lb.service() worker failed 12 for ajp13:localhost:8009 Error: [jk_worker_lb.c (415)]: lb.service() unrecoverable error... I tried to follow the documentation - default jk2.properties (all comments) and the workers2.properties quoted below. I'll be most gratedul for any clues. Youval workers2.properties: # Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forwarding over socket tomcatId=localhost:8009 # Map the Tomcat examples webapp to the Web server uri space [uri:/examples/*] info=Map the whole webapp __ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Problem with tomcat, iis and jk2
Those jk1 docs have an error that I have corrected. logLevel in the registry should be log_level. Christoph -Original Message- From: Mark Eggers [mailto:[EMAIL PROTECTED] Sent: Thursday, 4 December 2003 8:50 AM To: Tomcat Users List Subject: Re: Problem with tomcat, iis and jk2 See the following, among others: http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb /mde/ just my two cents . . . . __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with tomcat, iis and jk2
I am having trouble getting jk installed correctly. It seems no matter what I do I always get the red arrow in the isapi-filters tab. I am using tomcat 4.1, iis 5 and jk 2.0.2. Can someone please help me? Is thre any way I can find out more information on why it's not working. It doesn't seem to create any log files. Windows registry: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\2.0] severRoot=C:\\j2sdk1.4.2\\tomcat-4.1.24 extensionUri=/tomcat/isapi_redirector2.dll workersFile=C:\\j2sdk1.4.2\\tomcat-4.1.24\\conf\\workers2.properties logLevel=DEBUG workers2.properties: [logger.file:0] level=INFO file=c:/j2sdk1/tomcat-4.1.24/logs/iis_jk2.log [shm:] info=Shared memory file. Required for multiprocess servers file=C:\j2sdk1.4.2\tomcat-4.1.24\work\jk2.shm size=100 [ajp13:localhost:8009] info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol channel=channel.socket:localhost:8009 [uri:/examples/jsp/*.jsp] info=JSP examples, map requests for all JSP pages to Tomcat. Context=/examples/jsp [uri:/examples/servlets/*] info=Servlet examples, map requests for all servets to Tomcat context=/examples/servlet uriworkermap.properties: /examples/*=testWorker /examples/*.jsp=testWorker /examples/servlet/*=testWorker tomcat startup messages: 3/12/2003 23:04:53 org.apache.commons.modeler.Registry loadRegistry INFO: Loading registry information 3/12/2003 23:04:53 org.apache.commons.modeler.Registry getRegistry INFO: Creating new Registry instance 3/12/2003 23:04:54 org.apache.commons.modeler.Registry getServer INFO: Creating MBeanServer 3/12/2003 23:04:55 org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 Starting service Tomcat-Standalone Apache Tomcat/4.1.24 3/12/2003 23:05:01 org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 3/12/2003 23:05:01 org.apache.jk.server.JkMain start INFO: APR not loaded, disabling jni components: java.io.IOException: no jkjni in java.library.path 3/12/2003 23:05:01 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 3/12/2003 23:05:01 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/40 config=C:\j2sdk1.4.2\tomcat-4.1.24\conf\jk2.pro perties - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Problem with tomcat, iis and jk2
See the following, among others: http://nagoya.apache.org/wiki/apachewiki.cgi?TomcatWeb /mde/ just my two cents . . . . __ Do you Yahoo!? Free Pop-Up Blocker - Get it now http://companion.yahoo.com/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [SOLUTION] Problem of authentication with tomcat/IIS on win NT4
Robert Jacolin wrote: Hi, I installed jakarta-tomcat-4.0.6 on WIN NT4 with IIS 4. I've following the manual to make tomcat and IIS to work together (with the isapi filter). My application works like I want except that authentification doesn't work. In IIS, I've enabled WIN NT authentication (basic authentication and WIN auth.) for jakarta and baseope (name of my application) virtual directory but when I look the request in my application, the REMOTE USER field is null ! This application worked very well on this same system with tomcat 4.0.1. Moreover I installed this application on WIN 2000 and it works well. I found why my application didn't work. In the tomcat 4.0.x jar, there is a tomcat-ajp.jar in server/lib. This file seems remove the REMOTE USER field in the request between IIS and tomcat. When I patched tomcat to copy ajp files (in conf/ntiis, ...), I see it copy a ajp.jar which contains the same classes than tomcat-ajp.jar so I removed ajp.jar. When I've installed back ajp.jar, all worked fine. Regards, Robert Jacolin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem of authentication with tomcat/IIS on win NT4
Hi, I installed jakarta-tomcat-4.0.6 on WIN NT4 with IIS 4. I've following the manual to make tomcat and IIS to work together (with the isapi filter). My application works like I want except that authentification doesn't work. In IIS, I've enabled WIN NT authentication (basic authentication and WIN auth.) for jakarta and baseope (name of my application) virtual directory but when I look the request in my application, the REMOTE USER field is null ! This application worked very well on this same system with tomcat 4.0.1. Moreover I installed this application on WIN 2000 and it works well. Regards, Robert Jacolin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat + IIS (Virtual Server vs Virtual Directory)
i really need some help on this, i think it is an easy problem if you have done this before. I have successfully configured my Tomcat + IIS 5.1 dev environment. I have been using a virtual directory pointed at a folder in side the tomcat root to host my files. so i access the site via http://localhost/marketing http://localhost/marketing however, when i went to implement it in our production environment they explained that they were using multiple virtual servers. everything went ok in the install except, where do i put the virtual directory that points to the isapi redirector? i placed it in the virtual server, but it doesnt seem to be working correctly. i think because of the way the registry keys reference the isapi redirector. right now http://www.marketing.com:8080/marketing/ http://www.marketing.com:8080/marketing/ seems to be working properly, but http://www.marketing.com http://www.marketing.com is not compiling the jsp code, and is serving the pages as though they were just html, and it is ignoring my security contexts. thank you so much for helping with this! james watkins
Tomcat + IIS 6 (Windows2003)
Hi, First, an easy question: Does anyone happen to know what the bare minimum the IIS server needs to have installed? Does it actually need the JDK and full Tomcat install, or could it get by with only the ISAPI connector .dll file plus the worker.properties (or worker2.properties if mod_jk2 works better with IIS 6 in Win2k3) and uriworkermap.properties file? I don't many a Google search but only seem to be able to find docs about running IIS/Tomcat on the same machine. Second: I'm having a little difficulty getting IIS 6 (on Windows 2003) to work properly with Tomcat (with Tomcat running on a dedicated machine, and IIS 6 on a dedicated web server). Fresh install of Win2k3 Standard, Application server installed.. tried with IIS 6 in both normal and IIS 5 isolated mode. Hopefully someone can point me to a better guide or let me know what the trick(s) is(are) to get this going in Windows2003 with IIS 6. First, on a test machine, I'm just trying to get IIS 6 working with Tomcat, with Tomcat installed on the same box, since all of the guides I've read so far assume that is the case. (Again, my real goal is to have the server running IIS access Tomcat on a totally separate machine using ajp13) I followed this guide (exactly) on a test machine: http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html Tomcat is running fine in standalone (port 8080 so it doesn't conflict with IIS on port 80). Also in the server.xml is the connector to run on port 8009 for ajp13. The IIS log shows I am doing a GET on the isapi_redirector.dll every time I try loading http://localhost/examples/ or http://localhost/examples/index.html or http://localhost/examples/jsp/date/Date.jsp (or whatever the correct path of that is - I tried to load the date example .jsp file specifically for sure). In all cases I get a 404, page cannot be displayed. Steps taken... 1) installed JDK 1.4.0 (which is the version the developers of the software these servers are for is using; do you really think upgrading to JDK 1.4.2 would solve this?) 2) installed the latest Tomcat 4.1.x 3) set up JAVA_HOME and CATALINA_HOME environment variables, verified they worked by doing echo %JAVA_HOME% etc. 4) created %CATALIA_HOME%\conf\worker.properties : worker.list=worker1 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 5) created uriworkermap.properties : /examples/*=worker1 /examples/*.jsp=worker1 /examples/servlet/*=testWorker 6) set up the registry: HKEY_LOCAL_MACHINE SOFTWARE Apache Software Foundation Jakarta Isapi Redirector 1.0 strings: extension_uri /tomcat/isapi_redirector.dll worker_file D:\path\to\catalina_home\conf\workers.properties worker_mount_file D:\path\to\catalina_home\conf\uriworkermap.properties log_file D:\path\to\catalina_home\logs\jk_iis.log log_level debug 7) copied the latest isapi_redirect*.dll to %CATALINA_HOME%/conf/ (renamed it isapi_redirector.dll) ... 8) in IIS under the default web site I set up a virtual directory named tomcat pointing to %CATALINA_HOME%/conf/ (read/execute permissions set) 9) set up the ISAPI filter in IIS for the default website, added a filter named tomcat pointing to the redirector.dll in the proper location. The green up arrow shows up fine. 10) restarted Tomcat, restarted IIS, tried to visit the localhost urls... at port 8080 they still come up through Tomcat in standalone mode, but at port 80 they don't come up through IIS. The IIS default website comes up if I don't try going to examples/ :-( Things I've tried: - Double checked registry entries and .properties files - I am not all that familiar with IIS, but I noticed the Web Service Extensions folder in IIS 6 and tried setting up a new one for the isapi_redirector.dll that was specifically allowed. I also tried setting all unknown ISAPI extensions to allow, but that didn't make it work either. - Tried copying tomcat's examples folder to c:\inetpub\wwwroot\ or wherever it is the default web site points to... still had no luck. - in the Tomcat virutal directory where the redirector.dll is located, in the IIS Manager I tried to give IUSR_MACHINENAME and IWAM_MACHINENAME read/execute permissions specifically. Logs: IIS log file for the default website: 2003-10-23 17:20:02 127.0.0.1 GET /tomcat/isapi_redirector.dll - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.2;+.NET+CLR+1.1.4322) 404 2 1260 jk_iis.log file: [Thu Oct 23 10:20:02 2003] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Thu Oct 23 10:20:02 2003] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp [Thu Oct 23 10:20:02 2003] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Thu Oct 23 10:20:02 2003] [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/examples/jsp' [Thu Oct 23 10:20:02 2003] [jk_uri_worker_map.c (599)]: jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Oct 23 10:20:02 2003] [jk_isapi_plugin.c (765)]:
It's the Virtual Directory Stupid! was: IIS not serving static files from Tomcat -IIS; Tomcat 4.1.27; IIS 5; Win2k sp4; JK2; isapi_redi rector2
Right, well, so I wrote this huge detailed message to send to y'all complete with actual annotated config-files with a plea to help me figure out why IIS wouldn't serve up the static files under the /webapps folder. I was carefully verifying each detail before I clicked send...and got to thinking about IIS Virtual Directories. ..One last tweak in the IIS console and Bam! Listen carefully. YOU NEED TO SET UP A VIRTUAL DIRECTORY IN THE IIS CONSOLE FOR TOMCAT APPS UNDERNEATH THE $(TOMCATBASEDIR)/webapps FOLDER! The crowd goes, Yeah, well duh!. I wasted days on this! Funny, none of the docs/books I looked at mentioned this, but I'm not a sys-admin, just a lowly programmer. Anyway, hopefully I saved some company somewhere a few bucks in configuration time. -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat + IIS 6.0
Grant C. Peters mailto:[EMAIL PROTECTED] http://www.gcpeters.com (646) 685-6932 -Original Message- From: Matthew Hall-Smith [mailto:[EMAIL PROTECTED] Sent: Saturday, October 18, 2003 07:46 p To: Tomcat Users List Subject: RE: Tomcat + IIS 6.0 Yes it does work, however you will need to register jakarta_redirector2.dll with IIS 6.0 to prevent the lock down. Cheers, Matt -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: Saturday, 18 October 2003 7:17 a.m. To: Tomcat Users List (E-mail) Subject: Tomcat + IIS 6.0 Hey, What's the story on Tomcat + IIS 6.0 and AJP connectors? Does this scenario work or not? I've seen scattered throughout the net where noone can get this to work. Can somebody just tell me yes or no, this does or does not work? Justin W. Hart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.507 / Virus Database: 304 - Release Date: 08-04-2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.507 / Virus Database: 304 - Release Date: 08-04-2003 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat + IIS 6.0
Yes it does work, however you will need to register jakarta_redirector2.dll with IIS 6.0 to prevent the lock down. Cheers, Matt -Original Message- From: Hart, Justin [mailto:[EMAIL PROTECTED] Sent: Saturday, 18 October 2003 7:17 a.m. To: Tomcat Users List (E-mail) Subject: Tomcat + IIS 6.0 Hey, What's the story on Tomcat + IIS 6.0 and AJP connectors? Does this scenario work or not? I've seen scattered throughout the net where noone can get this to work. Can somebody just tell me yes or no, this does or does not work? Justin W. Hart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat + IIS 6.0
Hey, What's the story on Tomcat + IIS 6.0 and AJP connectors? Does this scenario work or not? I've seen scattered throughout the net where noone can get this to work. Can somebody just tell me yes or no, this does or does not work? Justin W. Hart - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Can any one tell where is a simple Tomcat + IIS how to using Coyote/JK2 AJP 1.3?
QUick try -- Load apache with these and get that to work. After that switch back to IIS. -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: 14 October 2003 12:53 To: Tomcat Users List Subject: Can any one tell where is a simple Tomcat + IIS how to using Coyote/JK2 AJP 1.3? Hi all, I tried configuring Tomcat 4.1.27 + IIS 5.0 using JK connector(isapi_redirector.dll) as per the documentation on the onjava.com (http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html). But failed. Thinking that it may be a problem with DLL I went to download it again. But no bianry version of it is availble at the site jakarta download site. Currently only Coyote JK2(isapi_redirector2.dll) is provided. So I tried with JK2 again no result and IIS shows it is not loading the DLL in the filter(There is a red down arrow). Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Can any one tell where is a simple Tomcat + IIS how to using Coyote/JK2 AJP 1.3?
Hi all, I tried configuring Tomcat 4.1.27 + IIS 5.0 using JK connector(isapi_redirector.dll) as per the documentation on the onjava.com (http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html). But failed. Thinking that it may be a problem with DLL I went to download it again. But no bianry version of it is availble at the site jakarta download site. Currently only Coyote JK2(isapi_redirector2.dll) is provided. So I tried with JK2 again no result and IIS shows it is not loading the DLL in the filter(There is a red down arrow). Antony Paul - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Can any one tell where is a simple Tomcat + IIS how to using Coyote/JK2 AJP 1.3?
Hi, I can help you only with Tomcat, IIS + JK1 1.2.4 By the way, if anyone knows, what to change to use 1.2.5, please help!!! Simply replacing the dll is not enough, but what else is to do? 1. Make sure, that Tomcat and IIS run correct as standalone Versions . Try http:/localhost/ and an IIS-Screen should appear. Try http:/localhost:8080/ and a Tomcat screen should appear. 2. Download the isapi_redirector. I have problems with the brand new 1.2.5, so you should first try the version 1.2.4 and try to upgrade later if it works. 3. Copy isapi_redirector.dll, workers.properties and uriworkermap.properties in Tomcat/conf workers.properties: --- worker.list=Worker worker.Worker.port=8009 worker.Worker.host=localhost worker.Worker.type=ajp13 uriworkermap.properties: --- /pmviewer/*=Worker /pmviewer/*.jsp=Worker /pmhelp/*=Worker /pmhelp/*.jsp=Worker 4. Registry-Entries: HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0 extension_uri /tomcat/isapi_redirector.dll log_fileD:\\Tomcat4.1\\logs\\jk_iis.log log_level Debug worker_file D:\\Tomcat4.1\\conf\\workers.properties worker_mount_file D:\\Tomcat4.1\\conf\\uriworkermap.properties 5. Create Virtual-Directory and Isapi-Filter-Entry as described in the OnJava Article. 6. For newer Tomcat Versions ( 4.1.12 or 4.1.18, I think) you have to change the server.xml: a) deactivate JMX MBeans support, to avoid Error-Mesages !-- Uncomment these entries to enable JMX MBeans support -- !-- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener debug=0/ Listener className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener debug=0/ -- b) Change the default AJP 1.3 Connector back from JK2 !-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -- !-- Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=75 enableLookups=true redirectPort=8443 acceptCount=10 debug=0 connectionTimeout=2 useURIValidationHack=false protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/ -- !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ 7. Restart IIS and Tomcat or better the whole machine. 8. Let me know, if it works :) Good Luck, Thorsten - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat-IIS works with JK1 but not with JK2. Any hints?
Hi, my Web-Server is behind a firewall-router, which blocks everything different to Port 80 and redirects the incoming external host-name to the local real host-name (IP-Adress) of the Server with IIS and Tomcat. (example: http://xyz-e.de/webapp/ == http://xyz-prod.de/webapp) I had connected the Tomcat 4.1.24 with IIS 5.0 with JK1 (isapi_redirector.dll) and it worked without any Problems under Win 2K. After an upgrade to JK2 (isapi_redirector2.dll) it works only, if I use the computers local Host-Name and I get an Error-Message if I use the URL with external host name. After pressing the reload button of the Browser, the source code of the html-page generated by tomcat from the requested jsp-file is shown, but it is not interpreted as a HTML - Web Page. What may be the Problem (Tomcat, IIS or the firewall)? If it is a Problem with the firewall, why does it work with JK1 without problems? You can see my JK configuration files at the end of the mail. I must upgrade to JK2, because I want to use JBoss 3.2.1-Tomcat 4.1.24 instead of the standalone Tomcat. Or is it possible, to use the JBoss-Tomcat with JK1, too. If it is possible, what has to be changed in the Server.xml? Thanks for your help, Thorsten My configuration files for JK and JK2: JK1: - uriworkermap.proerties: /pmhelp/*=Worker /pmhelp/*.jsp=Worker - workers.properties: worker.list=Worker worker.Worker.port=8009 worker.Worker.host=localhost worker.Worker.type=ajp13 JK2: - k2.properties: handler.list=channelSocket,request channelSocket.port=8009 channelSocket.adress=localhost - workers2.properties: [logger] level=DEBUG [config:] file=${serverRoot}/workers2.properties debug=0 debugEnv=0 [uriMap:] info=Maps the requests. Options: debug debug=0 # Define the communication channel [channel.socket:localhost:8009] info=Ajp13 forwarding over socket port=8009 host=localhost tomcatId=localhost:8009 debug=0 [ajp13:localhost:8009] channel=channel.socket:localhost:8009 [uri:/pmhelp/*] worker=ajp13:localhost:8009 [uri:/pmhelp/*.jsp] worker=ajp13:localhost:8009 [shm:] info=Scoreboard. Required for reconfiguration and status with multiprocessor servers file=${serverRoot}/log/jk2.shm size=100 debug=0 disabled=0 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat IIS How to
If you do not have a full-fledge webapp (with a WEB-INF/web.xml), you will have to add the context to Tomcat's server.xml Here's an example that I use to just noodle around with jsp files: Context className=org.apache.catalina.core.StandardContext crossContext=true reloadable=true mapperClass= org.apache.catalina.core.StandardContextMapper useNaming=true debug=0 swallowOutput=false privileged=false wrapperClass= org.apache.catalina.core.StandardWrapper docBase=beg-jsp cookies=true path=/beg-jsp cachingAllowed=true charsetMapperClass= org.apache.catalina.util.CharsetMapper Logger className= org.apache.catalina.logger.FileLogger debug=0 verbosity=1 prefix=localhost_beg-jsp_log. directory=logs timestamp=true suffix=.txt/ /Context This is based on the example in server.xml. However, if you want to use taglibs you'll need to go the entire route with a proper WEB-INF, lib, and WEB-INF/web.xml. In the long run, it's probably best to do this, since any web application you deploy should have the standard web application deployment descriptor. Take a look at %TOMCAT_HOME%\webapps\tomcat-docs\appdev and the subdirectories for a simple example. HTH /mde/ just my two cents . . . . __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat IIS How to
Thanks very much for putting together great information to setup tomcat with IIS. I have configured my tomcat instance (4.0.3) with IIS and can able to execute jsp/servlets in the examples folder. However, not able to run jsp located in another context. Though the jsp page from another context works thru tomcat port, browser with IIS url displays a prompt to open/save the jsp page. I suspect the web.xml in the new context is not handling jsp correctly - am I right? Can you provide any suggestions or tips to try this? Thanks very much, Raju Mitretek Systems 703-610-1527 ([EMAIL PROTECTED])
Anyone done? Tomcat iis on separate machines
Hi Is it possible to configure iis and tomcat when each of them are running = on different machines using tomcat iis connector. I am able to run my application on same machine Regards Paresh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Anyone done? Tomcat iis on separate machines
Change the .host parameter of workers.properties to the IP address of the machine with Tomcat installed. John On Thu, 26 Jun 2003 08:01:47 -0700, Paresh Varatkar [EMAIL PROTECTED] wrote: Hi Is it possible to configure iis and tomcat when each of them are running = on different machines using tomcat iis connector. I am able to run my application on same machine Regards Paresh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
For John Turner: Anyone done? Tomcat iis on separate machines
Thanks John That makes it work. Regards Paresh -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 8:33 AM To: Tomcat Users List Subject: Re: Anyone done? Tomcat iis on separate machines Change the .host parameter of workers.properties to the IP address of the machine with Tomcat installed. John On Thu, 26 Jun 2003 08:01:47 -0700, Paresh Varatkar [EMAIL PROTECTED] wrote: Hi Is it possible to configure iis and tomcat when each of them are running = on different machines using tomcat iis connector. I am able to run my application on same machine Regards Paresh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tomcat / IIS / Alternate Ports
I send this to the wrong address before - I apologize. BACKGROUND: We host multiple web apps using IIS + Tomcat. We currently create separate instances of Tomcat Services on Windows 2000. We use Virtual Directories in IIS and configure the JK2 / AJP13 connector for each instance to listen for requests coming from IIS which currently listens on port 80. We would like to configure these different apps as Sites instead of Virtual Directories. For security and metric purposes we would like to differentiate these sites by using unique ports (as opposed to Host Headers or multiple IP's.) QUESTION: How do I configure Tomcat to allow it to accept requests from IIS Sites on ports other than 80 but return the response as if IIS was listening on port 80? CONFUSING MESS: We use a load balancer which handles user traffic on port 80 and it load balances the requests to the IIS Servers on whichever port I configure the sites. Example: www.myapp.com would be configured as a site listening on port 900. The load balancer would forward the request (http://www.myapp.com/app/default.jsp) to the configured server:port combination: 10.0.0.1:900 (or 10.0.0.1:80 if I was using the Default Web Site in IIS.) However, in the response from Tomcat it uses the port in which IIS is listening on when replying instead of port 80. The end user sees the following in their browser: http://www.myapp.com:900/app/default.jsp. Only port 80 is allowed through the firewall - therefore the connection never completes. I eliminated the possibility of IIS causing the issue by successfully navigating to a static page which IIS serves. It is when I hit the JSP page (and the request gets passed on to Tomcat) that the problem occurs. Any help in this matter would be greatly appreciated. Thank you, Kjell Eriksen Kenexa® People. Systems. Performance. 650 E Swedesford Rd Wayne, PA 19087 610.971.6146 610.254.1320 www.kenexa.com -- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination, distribution, forwarding, or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited without the express permission of the sender. If you received this communication in error, please contact the sender and delete the material from any computer. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
TOMCAT IIS and html
Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom
Re: TOMCAT IIS and html
It will serve every thing ( all files) within your app context not just jsp and servlet -Dan - - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:10 AM Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT IIS and html
Tomcat will or IIS will? Thanks Dom - Original Message - From: Dan Tran To: Tomcat Users List Sent: Monday, June 09, 2003 9:53 AM Subject: Re: TOMCAT IIS and html It will serve every thing ( all files) within your app context not just jsp and servlet -Dan - - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:10 AM Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT IIS and html
TOMCAT, IIS just do the forwarding _D - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:59 AM Subject: Re: TOMCAT IIS and html Tomcat will or IIS will? Thanks Dom - Original Message - From: Dan Tran To: Tomcat Users List Sent: Monday, June 09, 2003 9:53 AM Subject: Re: TOMCAT IIS and html It will serve every thing ( all files) within your app context not just jsp and servlet -Dan - - Original Message - From: Dominic Parry [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, June 09, 2003 12:10 AM Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TOMCAT IIS and html
Hi Dom, It depends how you have configured your connector. If you have set up your workers.properties or workers2.properties file to forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file requests and all the HTML or GIF etc requests will be handled by IIS. If however you put /examples/* in the file then IIS will forward all and every request on to Tomcat for processing and IIS won't handle anything in that directory. David Legg -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: 09 June 2003 08:11 To: Tomcat Users List Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT IIS and html
Thanks David Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc. Dom - Original Message - From: David Legg [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:30 AM Subject: RE: TOMCAT IIS and html Hi Dom, It depends how you have configured your connector. If you have set up your workers.properties or workers2.properties file to forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file requests and all the HTML or GIF etc requests will be handled by IIS. If however you put /examples/* in the file then IIS will forward all and every request on to Tomcat for processing and IIS won't handle anything in that directory. David Legg -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: 09 June 2003 08:11 To: Tomcat Users List Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: TOMCAT IIS and html
Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc. As far as I know there is no way to selectively exclude file extensions. All you can do is selectively include which file types should be passed on to Tomcat. Usually that is not a problem because you either want IIS to handle everything except JSP files for speed reasons or you want Tomcat to handle ALL files because that context is part of a secure realm. David Legg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: TOMCAT IIS and html
You don't exclude, you include. Only send Tomcat the extensions you want it to handle. The rest will not be sent to Tomcat. Typically, that means *.jsp, and servlets, which are typically in their own folder, so /servlet/* or whatever you call it. John On Mon, 9 Jun 2003 11:46:07 +0200, Dominic Parry [EMAIL PROTECTED] wrote: Thanks David Ok. So is there a way to exclude certain extensions. *.html *.jpg, etc. Dom - Original Message - From: David Legg [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, June 09, 2003 11:30 AM Subject: RE: TOMCAT IIS and html Hi Dom, It depends how you have configured your connector. If you have set up your workers.properties or workers2.properties file to forward /examples/*.jsp to Tomcat then Tomcat will only see JSP file requests and all the HTML or GIF etc requests will be handled by IIS. If however you put /examples/* in the file then IIS will forward all and every request on to Tomcat for processing and IIS won't handle anything in that directory. David Legg -Original Message- From: Dominic Parry [mailto:[EMAIL PROTECTED] Sent: 09 June 2003 08:11 To: Tomcat Users List Subject: TOMCAT IIS and html Hi Can I safely assume that When tomcat is configured with IIS that IIS will always serv anything but JSP's and Servlets? Even when HTML files etc lie within Tomcat contexts? Thanks Dom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problems with Tomcat - IIS integration ...
Hi, I have followed instructions on performing the above. However, since I've rebooted, Tomcat now appears to intercept all HTTP requests through localhost. Can you please advise a sequence of steps to ensure Tomcat executes only .jsp pages. Many thanks. Niyi
Re: Problems with Tomcat - IIS integration ...
check the filter setting in the IIS control Panel in the virtual folder that you created for jakarta. - Original Message - From: Adeniyi Ibironke To: [EMAIL PROTECTED] Sent: Tuesday, June 03, 2003 11:49 AM Subject: Problems with Tomcat - IIS integration ... Hi, I have followed instructions on performing the above. However, since I've rebooted, Tomcat now appears to intercept all HTTP requests through localhost. Can you please advise a sequence of steps to ensure Tomcat executes only .jsp pages. Many thanks. Niyi
RE: tomcat IIS configuration please help
No, a request for a jsp file a file download message box appears. It it possible you could forward me your thread so that I may see the replies. thank you. kind regards, Warren Sweetman Principal Web Developer Web Development ISD Legal Services Commission tel. 020 77590122 ext no 2122 tag no 011370 [EMAIL PROTECTED] 01/04/2003 22:21:30 Do you get a 200 for the isapi rediretor in the iis logs? If you get a 401, like I did for a few days, then it can't find the page it's supposed to be redirecting to and something's still amiss on iis side. I asked the same questions about 2 weeks ago and got some useful responses. Let us know what the logs say and maybe someone can tell you what to try next. -Original Message- From: Warren Sweetman [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: RE: tomcat IIS configuration please help Yes I have spent a few hrs checking up that I had done what I was supposed to do. I have followed the small bits of instruction that I could find but no joy. que chingadera. I have connected apache to tomcat on a number of occassions without problem. Its just when I get to IIS that the problems start arising kind regards, Warren Sweetman Principal Web Developer Web Development ISD Legal Services Commission tel. 020 77590122 ext no 2122 tag no 011370 [EMAIL PROTECTED] 01/04/2003 17:32:23 ** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper não tendo sido encontrados virus. www.mimesweeper.com *** Did you add entries to Registry? -Original Message- From: Warren Sweetman [mailto:[EMAIL PROTECTED] Sent: terça-feira, 1 de Abril de 2003 17:36 To: [EMAIL PROTECTED] Subject: tomcat IIS configuration please help can anybody assist in the configuration of the isapi_connector2.dll and = associated files. My configuration is as follows W2k Tomcat 4.1.18 IIS=20 isapi_redirector2.dll I cant get request for jsps or servlets to be forwarded by IIS to tomcat = for some reason. It seems that the dll is not being loaded. jk2.properties : # THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Set the desired handler list handler.list=3Dapr,request,channelJni # # Override the default port for the socketChannel channelSocket.port=3D8019 # Default:=20 channelUnix.file=3D${jkHome}/work/jk2.socket # Just to check if the the config is working shm.file=3D${jkHome}/work/jk2.shm # In order to enable jni use any channelJni directive channelJni.disabled =3D 0 # And one of the following directives: apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 apr.jniModeSo=3Dinprocess woker2.properties # Define the communication channel [channel.socket:localhost:8009] info=3DAjp13 forwarding over socket tomcatId=3Dlocalhost:8009 # define the worker [ajp13:localhost:8009] channel=3Dchannel.socket:localhost:8009 # Uri mapping. This says that any incoming connection to any file # under /jetty/ should be handled the worker defined above [uri:/*.jsp] worker=3Dajp13:localhost:8009 [uri:/servlet/*] worker=3Dajp13:localhost:8009 I also get the following in stdout.log Bootstrap: Create Catalina server Bootstrap: Starting service ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.jav= a:224) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:369) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:777) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:751) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:339) at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEven= t(ServerLifecycleListener.java:206) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lif= ecycleSupport.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.jav= a:2182) at org.apache.catalina.startup.CatalinaService.start(CatalinaServic= e.java:273) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.BootstrapService.start(BootstrapServ= ice.java:245
tomcat IIS configuration please help
can anybody assist in the configuration of the isapi_connector2.dll and = associated files. My configuration is as follows W2k Tomcat 4.1.18 IIS=20 isapi_redirector2.dll I cant get request for jsps or servlets to be forwarded by IIS to tomcat = for some reason. It seems that the dll is not being loaded. jk2.properties : # THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Set the desired handler list handler.list=3Dapr,request,channelJni # # Override the default port for the socketChannel channelSocket.port=3D8019 # Default:=20 channelUnix.file=3D${jkHome}/work/jk2.socket # Just to check if the the config is working shm.file=3D${jkHome}/work/jk2.shm # In order to enable jni use any channelJni directive channelJni.disabled =3D 0 # And one of the following directives: apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 apr.jniModeSo=3Dinprocess woker2.properties # Define the communication channel [channel.socket:localhost:8009] info=3DAjp13 forwarding over socket tomcatId=3Dlocalhost:8009 # define the worker [ajp13:localhost:8009] channel=3Dchannel.socket:localhost:8009 # Uri mapping. This says that any incoming connection to any file # under /jetty/ should be handled the worker defined above [uri:/*.jsp] worker=3Dajp13:localhost:8009 [uri:/servlet/*] worker=3Dajp13:localhost:8009 I also get the following in stdout.log Bootstrap: Create Catalina server Bootstrap: Starting service ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.jav= a:224) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:369) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:777) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:751) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:339) at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEven= t(ServerLifecycleListener.java:206) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lif= ecycleSupport.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.jav= a:2182) at org.apache.catalina.startup.CatalinaService.start(CatalinaServic= e.java:273) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.BootstrapService.start(BootstrapServ= ice.java:245) at org.apache.catalina.startup.BootstrapService.main(BootstrapServi= ce.java:307) Starting service Tomcat-Standalone Apache Tomcat/4.1.18 Bootstrap: Service started but everything seems ok in the catalina log 2003-04-01 16:58:04 Ajp13Connector[8009] Opening server socket on all host = IP addresses 2003-04-01 16:58:04 Ajp13Connector[8009] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][0] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][1] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][2] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][3] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][4] Starting background thread PLEASE HELP kind regards, Warren Sweetman Principal Web Developer Web Development ISD Legal Services Commission tel. 020 77590122 ext no 2122 tag no 011370 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat IIS configuration please help
** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper não tendo sido encontrados virus. www.mimesweeper.com *** Did you add entries to Registry? -Original Message- From: Warren Sweetman [mailto:[EMAIL PROTECTED] Sent: terça-feira, 1 de Abril de 2003 17:36 To: [EMAIL PROTECTED] Subject: tomcat IIS configuration please help can anybody assist in the configuration of the isapi_connector2.dll and = associated files. My configuration is as follows W2k Tomcat 4.1.18 IIS=20 isapi_redirector2.dll I cant get request for jsps or servlets to be forwarded by IIS to tomcat = for some reason. It seems that the dll is not being loaded. jk2.properties : # THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Set the desired handler list handler.list=3Dapr,request,channelJni # # Override the default port for the socketChannel channelSocket.port=3D8019 # Default:=20 channelUnix.file=3D${jkHome}/work/jk2.socket # Just to check if the the config is working shm.file=3D${jkHome}/work/jk2.shm # In order to enable jni use any channelJni directive channelJni.disabled =3D 0 # And one of the following directives: apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 apr.jniModeSo=3Dinprocess woker2.properties # Define the communication channel [channel.socket:localhost:8009] info=3DAjp13 forwarding over socket tomcatId=3Dlocalhost:8009 # define the worker [ajp13:localhost:8009] channel=3Dchannel.socket:localhost:8009 # Uri mapping. This says that any incoming connection to any file # under /jetty/ should be handled the worker defined above [uri:/*.jsp] worker=3Dajp13:localhost:8009 [uri:/servlet/*] worker=3Dajp13:localhost:8009 I also get the following in stdout.log Bootstrap: Create Catalina server Bootstrap: Starting service ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.jav= a:224) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:369) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:777) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:751) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:339) at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEven= t(ServerLifecycleListener.java:206) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lif= ecycleSupport.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.jav= a:2182) at org.apache.catalina.startup.CatalinaService.start(CatalinaServic= e.java:273) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.BootstrapService.start(BootstrapServ= ice.java:245) at org.apache.catalina.startup.BootstrapService.main(BootstrapServi= ce.java:307) Starting service Tomcat-Standalone Apache Tomcat/4.1.18 Bootstrap: Service started but everything seems ok in the catalina log 2003-04-01 16:58:04 Ajp13Connector[8009] Opening server socket on all host = IP addresses 2003-04-01 16:58:04 Ajp13Connector[8009] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][0] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][1] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][2] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][3] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][4] Starting background thread PLEASE HELP kind regards, Warren Sweetman Principal Web Developer Web Development ISD Legal Services Commission tel. 020 77590122 ext no 2122 tag no 011370 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: tomcat IIS configuration please help
Yes I have spent a few hrs checking up that I had done what I was supposed to do. I have followed the small bits of instruction that I could find but no joy. que chingadera. I have connected apache to tomcat on a number of occassions without problem. Its just when I get to IIS that the problems start arising kind regards, Warren Sweetman Principal Web Developer Web Development ISD Legal Services Commission tel. 020 77590122 ext no 2122 tag no 011370 [EMAIL PROTECTED] 01/04/2003 17:32:23 ** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper não tendo sido encontrados virus. www.mimesweeper.com *** Did you add entries to Registry? -Original Message- From: Warren Sweetman [mailto:[EMAIL PROTECTED] Sent: terça-feira, 1 de Abril de 2003 17:36 To: [EMAIL PROTECTED] Subject: tomcat IIS configuration please help can anybody assist in the configuration of the isapi_connector2.dll and = associated files. My configuration is as follows W2k Tomcat 4.1.18 IIS=20 isapi_redirector2.dll I cant get request for jsps or servlets to be forwarded by IIS to tomcat = for some reason. It seems that the dll is not being loaded. jk2.properties : # THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Set the desired handler list handler.list=3Dapr,request,channelJni # # Override the default port for the socketChannel channelSocket.port=3D8019 # Default:=20 channelUnix.file=3D${jkHome}/work/jk2.socket # Just to check if the the config is working shm.file=3D${jkHome}/work/jk2.shm # In order to enable jni use any channelJni directive channelJni.disabled =3D 0 # And one of the following directives: apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 apr.jniModeSo=3Dinprocess woker2.properties # Define the communication channel [channel.socket:localhost:8009] info=3DAjp13 forwarding over socket tomcatId=3Dlocalhost:8009 # define the worker [ajp13:localhost:8009] channel=3Dchannel.socket:localhost:8009 # Uri mapping. This says that any incoming connection to any file # under /jetty/ should be handled the worker defined above [uri:/*.jsp] worker=3Dajp13:localhost:8009 [uri:/servlet/*] worker=3Dajp13:localhost:8009 I also get the following in stdout.log Bootstrap: Create Catalina server Bootstrap: Starting service ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.jav= a:224) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:369) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:777) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:751) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:339) at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEven= t(ServerLifecycleListener.java:206) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lif= ecycleSupport.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.jav= a:2182) at org.apache.catalina.startup.CatalinaService.start(CatalinaServic= e.java:273) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.BootstrapService.start(BootstrapServ= ice.java:245) at org.apache.catalina.startup.BootstrapService.main(BootstrapServi= ce.java:307) Starting service Tomcat-Standalone Apache Tomcat/4.1.18 Bootstrap: Service started but everything seems ok in the catalina log 2003-04-01 16:58:04 Ajp13Connector[8009] Opening server socket on all host = IP addresses 2003-04-01 16:58:04 Ajp13Connector[8009] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][0] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][1] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][2] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][3] Starting background thread 2003-04-01 16:58:04 Ajp13Processor[8009][4] Starting background thread PLEASE HELP kind regards, Warren Sweetman Principal Web Developer Web Development ISD Legal Services Commission tel. 020 77590122 ext no 2122 tag no 011370
RE: tomcat IIS configuration please help
Do you get a 200 for the isapi rediretor in the iis logs? If you get a 401, like I did for a few days, then it can't find the page it's supposed to be redirecting to and something's still amiss on iis side. I asked the same questions about 2 weeks ago and got some useful responses. Let us know what the logs say and maybe someone can tell you what to try next. -Original Message- From: Warren Sweetman [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 01, 2003 11:45 AM To: [EMAIL PROTECTED] Subject: RE: tomcat IIS configuration please help Yes I have spent a few hrs checking up that I had done what I was supposed to do. I have followed the small bits of instruction that I could find but no joy. que chingadera. I have connected apache to tomcat on a number of occassions without problem. Its just when I get to IIS that the problems start arising kind regards, Warren Sweetman Principal Web Developer Web Development ISD Legal Services Commission tel. 020 77590122 ext no 2122 tag no 011370 [EMAIL PROTECTED] 01/04/2003 17:32:23 ** Este email assim como os ficheiros que possa ter em anexo são confidenciais e para uso exclusivo da pessoa ou organização para o qual foi enviado. Se recebeu este email por engano por favor notifique [EMAIL PROTECTED] Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper não tendo sido encontrados virus. www.mimesweeper.com *** Did you add entries to Registry? -Original Message- From: Warren Sweetman [mailto:[EMAIL PROTECTED] Sent: terça-feira, 1 de Abril de 2003 17:36 To: [EMAIL PROTECTED] Subject: tomcat IIS configuration please help can anybody assist in the configuration of the isapi_connector2.dll and = associated files. My configuration is as follows W2k Tomcat 4.1.18 IIS=20 isapi_redirector2.dll I cant get request for jsps or servlets to be forwarded by IIS to tomcat = for some reason. It seems that the dll is not being loaded. jk2.properties : # THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED ## WHEN YOU EDIT THE FILE. ## COMMENTS WILL BE _LOST_ ## DOCUMENTATION OF THE FORMAT IN JkMain javadoc. # Set the desired handler list handler.list=3Dapr,request,channelJni # # Override the default port for the socketChannel channelSocket.port=3D8019 # Default:=20 channelUnix.file=3D${jkHome}/work/jk2.socket # Just to check if the the config is working shm.file=3D${jkHome}/work/jk2.shm # In order to enable jni use any channelJni directive channelJni.disabled =3D 0 # And one of the following directives: apr.jniModeSo=3D/opt/apache2/modules/mod_jk2.so # If set to inprocess the mod_jk2 will Register natives itself # This will enable the starting of the Tomcat from mod_jk2 apr.jniModeSo=3Dinprocess woker2.properties # Define the communication channel [channel.socket:localhost:8009] info=3DAjp13 forwarding over socket tomcatId=3Dlocalhost:8009 # define the worker [ajp13:localhost:8009] channel=3Dchannel.socket:localhost:8009 # Uri mapping. This says that any incoming connection to any file # under /jetty/ should be handled the worker defined above [uri:/*.jsp] worker=3Dajp13:localhost:8009 [uri:/servlet/*] worker=3Dajp13:localhost:8009 I also get the following in stdout.log Bootstrap: Create Catalina server Bootstrap: Starting service ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.jav= a:224) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:369) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:777) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:751) at org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(= ServerLifecycleListener.java:339) at org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEven= t(ServerLifecycleListener.java:206) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lif= ecycleSupport.java:166) at org.apache.catalina.core.StandardServer.start(StandardServer.jav= a:2182) at org.apache.catalina.startup.CatalinaService.start(CatalinaServic= e.java:273) at java.lang.reflect.Method.invoke(Native Method) at org.apache.catalina.startup.BootstrapService.start(BootstrapServ= ice.java:245) at org.apache.catalina.startup.BootstrapService.main(BootstrapServi= ce.java:307) Starting service Tomcat-Standalone Apache Tomcat/4.1.18 Bootstrap: Service started but everything seems ok in the catalina log 2003-04-01 16:58:04 Ajp13Connector[8009] Opening server socket on all host = IP addresses 2003-04-01 16:58:04 Ajp13Connector[8009] Starting background
Multiple Tomcat-IIS redirection.
Hi. I have a problem to redirect IIS to Tomcat installation in case i have more than one Tomcat installation on my computer. I'm working on win2000, and have two separated Tomcat installations on a single machine. I need IIS redirect filters to be installed - one filter for each Tomcat. The problem is that when i create the second isapi_redirect filter i see strange behavior, as if when you have more than one filter the filters kind of effect each other. I tried to change the priorities of the filters but it always behave the same. I also tried to use a differant name for the isapi_redirect.dll, it didn't help...(i changed the .properties file name as well). Please help me to figure it out... Thanks. Nir Bregman. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat/IIS losing request parameters
Try this: http://localhost/mydir/test%20with%20spaces.jsp?one=1two=2 Literal spaces are not legal in URLs (as Cees pointed out) but they can be encoded as %20 and that should be decoded correctly by Tomcat. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Ian Pilborough [mailto:[EMAIL PROTECTED]] Sent: Friday, December 13, 2002 6:29 AM To: 'Tomcat Users List' Subject: Tomcat/IIS losing request parameters Hi, I have problem with IIS and Tomcat losing request parameters. I have a set-up with IIS 5.0 and Tomcat 4.0.6 on Windows 2002 Advanced Server and JDK 1.3.1_01 and for sometime this has worked fine, but I have just noticed that request parameters are lost when there are spaces in the filenames of a JSP being served. With this code to loop through request.getParameters() on two pages I get two different outputs from the same request parameters. % int i =0; for (Enumeration e = request.getParameterNames() ; e.hasMoreElements() ;) {% %=++i% = %=e.nextElement()%BR %} % For http://localhost/mydir/testwithoutspaces.jsp?one=1two=2 I get: 1 = one 2 = two For http://localhost/mydir/test with spaces.jsp?one=1two=2 I get nothing returned. If I hit the pages via port 8080 I get the correct response (i.e. from testwithoutspaces.jsp above) from both pages. I can't see what is happening here and wondered if this is a known feature when using filenames that contain spaces between words. I've looked for similar problems with lost request parameters and all I have found is that IE sending URLs in UTF-8 can cause a problem with certain versions of Tomcat. None of the problems I reviewed mentioned IIS and Tomcat in conjunction though. If tomcat handles the URLs fine as standalone on port 8080 the only difference is with requests being passed through to Tomcat from IIS via the AJP connector. I've got two further problems, in that I didn't configure the original system and that the system is in a co-location centre that I don't have much access to. I'm currently setting up a test environment with IIS, but that's not working at present, the original test environment didn't use IIS and so I'm fighting to get a test set-up ready to work on this. (The joys of picking up other's pieces eh?) Finally, it is not possible to create the filenames without spaces in them due to the software that produces each JSP (it's a long story, but not relevant to this discussion). If anyone has any ideas, please send me a message, otherwise I shall continue to trawl the net. Cheers, Ian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat/IIS and Virtual Host
Is there any documentation that explains virtual hosting using IIS and tomcat Hari
Tomcat/IIS losing request parameters
Hi, I have problem with IIS and Tomcat losing request parameters. I have a set-up with IIS 5.0 and Tomcat 4.0.6 on Windows 2002 Advanced Server and JDK 1.3.1_01 and for sometime this has worked fine, but I have just noticed that request parameters are lost when there are spaces in the filenames of a JSP being served. With this code to loop through request.getParameters() on two pages I get two different outputs from the same request parameters. % int i =0; for (Enumeration e = request.getParameterNames() ; e.hasMoreElements() ;) {% %=++i% = %=e.nextElement()%BR %} % For http://localhost/mydir/testwithoutspaces.jsp?one=1two=2 I get: 1 = one 2 = two For http://localhost/mydir/test with spaces.jsp?one=1two=2 I get nothing returned. If I hit the pages via port 8080 I get the correct response (i.e. from testwithoutspaces.jsp above) from both pages. I can't see what is happening here and wondered if this is a known feature when using filenames that contain spaces between words. I've looked for similar problems with lost request parameters and all I have found is that IE sending URLs in UTF-8 can cause a problem with certain versions of Tomcat. None of the problems I reviewed mentioned IIS and Tomcat in conjunction though. If tomcat handles the URLs fine as standalone on port 8080 the only difference is with requests being passed through to Tomcat from IIS via the AJP connector. I've got two further problems, in that I didn't configure the original system and that the system is in a co-location centre that I don't have much access to. I'm currently setting up a test environment with IIS, but that's not working at present, the original test environment didn't use IIS and so I'm fighting to get a test set-up ready to work on this. (The joys of picking up other's pieces eh?) Finally, it is not possible to create the filenames without spaces in them due to the software that produces each JSP (it's a long story, but not relevant to this discussion). If anyone has any ideas, please send me a message, otherwise I shall continue to trawl the net. Cheers, Ian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Problem with method post on tomcat IIS redirector
Hi, I got this email form the mailing list on the topic above. I am sorry I did not know how to be on that list. I am havng problems with method= post on IIS Tomcat redirector. When using POST none of the fileds / parameters get passed to the called page. Can someone help? Thanks
Re: Tomcat/IIS intergration - once again ;-(
Hi David David Brown wrote: Hello Marcel, i took a peek at your (and your friends') website and it seems to be built by some smart and eager guys (nice site!). so why the m$ ii$? u seem to know a lot of linux and ur upstream provider: Genotec AG Swiss Network has a lot of linux boxes in their system. I hardly know anything of Linux. My own website is hosted on a W2K system for I want to use ASP. i am just curious why the preference of iis over apache? i'm I have no preference of IIS over Apache. The case is the following: At work we're developing workflow solutions with W4 (www.w4global.com). It runs on Linux/NT with Oracle/SQL and any combination of web server/app server. We're using Tomcat as 'app server' and IIS or Apache as web server. This results in three different dev environments for me. NT/SQL/IIS/Tomcat, NT/Oracle/IIS/Tomcat, and Linux/Oracle/Apache/Linux. However, I have to admit that I'm by far more familiar with IIS than with Apache. not at all familiar w/ iis config but it would seem to me that the java side of tc would still have to be the same regardless of platform. adding a new web apps (if using ant) is easy if u define and compile a .war/.jar combo that is expanded by the tc server when either: bounced, autoreloaded or http://localhost:8080/manager/intall?path=MyOwnTest_Java. I don't understand your tc directory structure: $CATALINA_HOME\webapps\MyOwnTest_Java\Public. do u have an Well, W4 generates an app which contains several subdirectories under MyOwnTest_Java (Public, WEB-INF, and others). index.jsp located in the Public directory is the entry point. application context defined as: MyOwnTest_Java/Public? i don't understand ur url: localhost/MyOwnTest_Java/Public/index.jsp? do u mean to state: http://localhost:8080/MyOwnTest_Java/Public/index.jsp? Yes I do. Also, you stated: they only work if called on the Tomcat port directly. do u mean port 8080? tc's default port that the server Yes I do listens on is port 8080 unless u redefine this in server.xml. in either case the port is necessary. tc servlets and jsp(s) r not invoked exactly like cgi-bin executables. the final analysis is: if u have defined ur .war/.jar correctly and tc server has expanded these files mentioned properly u should be able to invoke ur webapp MyOwnTest_Java as: http://localhost:8080/MyOwnTest_java (assume As I mentioned in my first posting this works. But the whole point of Tomcat/web server integration is that your web server is running on port 80 and that it will simply forward servlet/jsp request to Tomcat. This allows for the url http://localhost/MyOwnTest_Java/Public/index.jsp without explicitly defining port 8080 (or whatever Tomcat listens on). their is a jsp or servlet defined at that uri). hope this helps, david. Marcel -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat/IIS intergration - once again ;-(
Hi all Tomcat is running fine and so is IIS. The integration seemed to be successful for all examples are running through http://localhost/examples/an_so_on on the IIS port. HOWEVER, the web apps I added myself refuse to show up - they only work if called on the Tomcat port directly. Concrete: There's a web app called MyOwnTest_Java with jsp files in $CATALINA_HOME\webapps\MyOwnTest_Java\Public. As you can see the uri map has been added to the properties file. But once a request is made for localhost/MyOwnTest_Java/Public/index.jsp the match fails. Where is the problem here??? Cheers Marcel Isapi.log = [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (806)]: Using registry. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (808)]: Using log file C:\Program Files\Apache Group\Tomcat4.0\logs\iis_redirect.log. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (809)]: Using log level 0. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (810)]: Using extension uri /jakarta/isapi_redirect.dll. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (811)]: Using worker file C:\Program Files\Apache Group\Tomcat4.0\conf\ntiis\workers.properties. [Fri Nov 29 08:39:51 2002] [jk_isapi_plugin.c (812)]: Using worker mount file C:\Program Files\Apache Group\Tomcat4.0\conf\ntiis\uriworkermap.properties. [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (159)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (199)]: Into jk_uri_worker_map_t::uri_worker_map_open [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (217)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 7 [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /MyOwnTask_Java/servlet/=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /MyOwnTask_Java/.jsp=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /examples/jsp/.jsp=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/servlet/=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /manager/=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /webdav/=ajp13 was added [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (302)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 6 rules [Fri Nov 29 08:39:51 2002] [jk_uri_worker_map.c (324)]: jk_uri_worker_map_t::uri_worker_map_open, done [Fri Nov 29 08:39:51 2002] [jk_worker.c (82)]: Into wc_open [Fri Nov 29 08:39:51 2002] [jk_worker.c (207)]: Into build_worker_map, creating 2 workers [Fri Nov 29 08:39:51 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp12 [Fri Nov 29 08:39:51 2002] [jk_worker.c (138)]: Into wc_create_worker [Fri Nov 29 08:39:51 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12 [Fri Nov 29 08:39:51 2002] [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory [Fri Nov 29 08:39:51 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12 [Fri Nov 29 08:39:51 2002] [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate [Fri Nov 29 08:39:51 2002] [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007 [Fri Nov 29 08:39:51 2002] [jk_worker.c (177)]: wc_create_worker, done [Fri Nov 29 08:39:51 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker [Fri Nov 29 08:39:51 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp13 [Fri Nov 29 08:39:51 2002] [jk_worker.c (138)]: Into wc_create_worker [Fri Nov 29 08:39:51 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp13 of ajp13 [Fri Nov 29 08:39:51 2002] [jk_ajp13_worker.c (922)]: Into ajp13_worker_factory [Fri Nov 29 08:39:51 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp13 [Fri Nov 29 08:39:51 2002] [jk_ajp13_worker.c (443)]: Into jk_worker_t::validate [Fri Nov 29 08:39:51 2002] [jk_ajp13_worker.c (456)]: In jk_worker_t::validate for worker ajp13 contact is localhost:8009 [Fri Nov 29 08:39:51 2002] [jk_ajp13_worker.c (482)]: Into jk_worker_t::init [Fri Nov 29 08:39:51 2002] [jk_worker.c (177)]: wc_create_worker, done [Fri Nov 29 08:39:51 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp13 worker [Fri Nov 29 08:39:51 2002] [jk_worker.c (235)]: build_worker_map, done [Fri Nov 29 08:39:51 2002] [jk_worker.c (102)]: wc_open, done[Fri Nov 29 08:41:44 2002] [jk_isapi_plugin.c (555)]: HttpFilterProc started [Fri Nov 29 08:41:44 2002] [jk_isapi_plugin.c (600)]: In HttpFilterProc Virtual Host redirection of
Tomcat-IIS-Help!!!
I have a huge problem getting the redirect of IIS to tomcat to work. I have followed all the instructions on the tomcat-iis-howto.html document, but alas, still not working. I get the following error in the logfile 10:50:16 127.0.0.1 GET /jakarta/isapi_redirect.dll 200 According to the document the cause of this is Excecute acces for the virtual directory jakarta is not enabled, but it is. Please can I have some help regariding to this issue Thanks Mauritz Viljoen www.liquidafrica.com
Tomcat/IIS + SSL : Mime Type problem
Hi, We have been experiencing some problems with Mime type configuration. We want to allow the download of wpd (WordPerfect) documents through our webapp and with our configuration, we only get junk printed in the browser. Our configuration consist of a single server, Windows 2000, with Tomcat 4.0.6 behing IIS using AJP13. We access all documents directely in the webapp directory through SSL. The new mime types are configured in IIS and in the web.xml of the webapp. Here is the result of our tests: http://server.com:8080/mywebapp/file.wpd - download properly http://server.com/mywebapp/file.wpd - download properly http://server.com/file.wpd - download properly https://server.com/file.wpd - download properly https://server.com/mywebapp/file.wpd - junk Looking at that, it looks like a connector problem with SSL. Is there a setting I misconfigured? Thank you for your help, Laurent -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
TOMCAT + IIS
Hi, Would anybody get me a link to a tutorial showing how to make the IIS execute JSPs and Servlets using tomcat 4.0.4 Note: I've chosen the NT Service option when I installed Tomcat in my Windows XP, does it change anything? Because I've found something about the integration of ISS using a jk_nt_service. Is it the same thing as the NT Service install option? Thanks, Kiev -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: TOMCAT + IIS
http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm John -Original Message- From: Kiev [mailto:kiev.gama;pbt.com.br] Sent: Monday, November 11, 2002 1:01 PM To: Tomcat Users List Subject: TOMCAT + IIS Hi, Would anybody get me a link to a tutorial showing how to make the IIS execute JSPs and Servlets using tomcat 4.0.4 Note: I've chosen the NT Service option when I installed Tomcat in my Windows XP, does it change anything? Because I've found something about the integration of ISS using a jk_nt_service. Is it the same thing as the NT Service install option? Thanks, Kiev -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Re: TOMCAT + IIS
Great! It worked just fine. Thanks. - Original Message - From: Turner, John [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Monday, November 11, 2002 5:08 PM Subject: RE: TOMCAT + IIS http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm John -Original Message- From: Kiev [mailto:kiev.gama;pbt.com.br] Sent: Monday, November 11, 2002 1:01 PM To: Tomcat Users List Subject: TOMCAT + IIS Hi, Would anybody get me a link to a tutorial showing how to make the IIS execute JSPs and Servlets using tomcat 4.0.4 Note: I've chosen the NT Service option when I installed Tomcat in my Windows XP, does it change anything? Because I've found something about the integration of ISS using a jk_nt_service. Is it the same thing as the NT Service install option? Thanks, Kiev -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
BASIC authentication in Tomcat+IIS (PROBLEM SOLVED: ERRATA CORRIGE!!!)
Hello everybody! I wrote to notify you that some days ago I have posted a wrong solution to the problem of the basic authentication of Tomcat with IIS (below you can find my old post). In fact I believed that the reason why basic authentication of Tomcat didn't work was due to compatibility problems between tha jar files ajp.jar and tomcat-util.jar contained in tc4ntiis.zip and Tomcat 4.x. Anyway after some tests I discovered that this WAS NOT the cause of the problem: the REAL cause of the problem was that I had installed in Tomcat 4.x the jar files of tc4ntiis.zip but not the isapi filter isapi_redirect.dll provided with the same .zip package. The version of the ISAPI filter I had installed was that one you can find in the Jakarta web site (isapi_redirector.dll) that IS NOT FULLY compatible with the jar files ajp.jar and tomcat-util.jar of tc4ntiis.zip. All works correctly if you install with ajp.jar and tomcat-util.jar also the isapi_redirect.dll present in tc4ntiis.zip, or if you install ONLY the isapi_redirector.dll of Jakarta web site. I hope this can help someone else. Thanks everybody for the patience! Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: giovedì 31 ottobre 2002 15.17 A: tomcat-dev; tomcat-user Oggetto: BASIC authentication in Tomcat+IIS (PROBLEM SOLVED!!!) Hello everybody! I would like to notify you that I have solved the problem described below after many days of hard work on it The solution is simple: to install Tomcat 4.x (I have installed Tomcat 4.0.4-b2) as plug-in of IIS to support JSP/Servlet you must download and install the package tc4ntiis.zip that you can find at URL: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#6 It contains the isapi filter isapi_redirect.dll that let IIS to redirect JSP/Servlets requests to Tomcat 4.x. Well...the package contains also two jar files: ajp.jar and tomcat-util.jar in the server\lib folder. If you install them in the same folder of Tomcat the basic authentication will not work any more when you use Tomcat with the ISAPI filter (not in standalone mode). In fact the original distribution of Tomcat 4.x contains two jar files, tomcat-util.jar and tomcat-ajp.jar, that performs the same operations of the two files described above but have different sizes and use different classes. These two files are built to work correctly with the version of Tomcat they are bundled with: so they MUST NOT REPLACED!!! Given that ajp.jar and tomcat-ajp.jar have different names you also must worry not to install both of them in the server\lib folder of Tomcat: because it can happen that the classes of the first file will be used from Tomcat instead of those of the second one. THIS MEANS THAT YOU HAVE TO IGNORE THE FILES ajp.jar and tomcat-util.jar OF THE PACKAGE tc4ntiis.zip and USE ONLY THE ISAPI FILTER. Maybe when the author of the zip file generated the jar files he didn't worry to test them with Tomcat 4.x: this means that he couldn't note that they have some compatibility problem with this version of Tomcat. In attach you can find the original jar files of Tomcat 4.0.4b2 that I have used and that work correctly: you can use them to restore the correct libs of Tomcat. I hope this solution can help all of you too! :-) Best regards, Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: giovedì 31 ottobre 2002 12.32 A: tomcat-user Oggetto: BASIC authentication in Tomcat+IIS (second useful information) Hello! I have another useful information about this problem... The version of Tomcat I have is 4.0.4b3: is it possible that this beta release contains some bug that doesn't let Tomcat to support correctly BASIC authentication (when it is used as Servlet Container and not in standalone mode)?? Anyway in this case I don't understand why in the test environment the basic authentication of Tomcat works well in fact the problem is present only in production environment using Server 1! If someone has some idea or suggestion to solve this problem I pray him to let me know (I am spending many work-days to solve it without success)! Thanks. Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: giovedì 31 ottobre 2002 11.12 A: tomcat-dev Oggetto: BASIC authentication in Tomcat+IIS (one useful information) Hello! I have another useful information about the problem described below that I have posted some day ago wihout receiving no solution for it :((( If I use Tomcat 4.x as Web Server (standalone mode), instead of IIS, the BASIC Authentication works well also on Server 1! This means there must be some strange setting in IIS or in Windows 2000 Advanced Server that forces the Tomcat's ISAPI filter (that is to say when Tomcat is used only as Servlet Container) not to ask for login and password to the user but to get their values
RE: Running Tomcat + IIS on different servers
Hi, It's very easy. There's no need to map directories as the only thing you need in the IIS machine is the isapi filter and workers and uriworkermap properties files. In the documentation for apj13 you can find the way to configure them. Juan P.S.: Please specify your Tomcat version. -Mensaje original- De: Ashish Ravi [mailto:ashish.ravi;webrizon.com] Enviado el: domingo, 03 de noviembre de 2002 14:40 Para: [EMAIL PROTECTED] Asunto: Running Tomcat + IIS on different servers Hi, I'm trying to configure IIS (on server 1) to redirect requests to Tomcat (on server 2) . I've seen the help for configuring Tomcat with IIS, but i assume it works when both are on the same server. One way out is to map the directory where the .properties files are and use that mapping in the registry entry. What option do i have if the servers are not on the same LAN? - Ashish -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Running Tomcat + IIS on different servers
I don't use IIS, but as far as I know, you edit workers.properties file and change worker.worker-name.host to the FQDN or IP address of the Tomcat server. John -Original Message- From: Ashish Ravi [mailto:ashish.ravi;webrizon.com] Sent: Sunday, November 03, 2002 8:40 AM To: [EMAIL PROTECTED] Subject: Running Tomcat + IIS on different servers Hi, I'm trying to configure IIS (on server 1) to redirect requests to Tomcat (on server 2) . I've seen the help for configuring Tomcat with IIS, but i assume it works when both are on the same server. One way out is to map the directory where the .properties files are and use that mapping in the registry entry. What option do i have if the servers are not on the same LAN? - Ashish -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
RE: Running Tomcat + IIS on different servers
Hi again, In your environment there's no need to define JAVA_HOME and TOMCAT_HOME as they are only used when you have both IIS and TOMCAT on the same manchine and you wan't to launch Tomcat in the same process as IIS. IIS will deternime where Tomcat is located through the information given in the worker definition: ... worker.your_worker_name.type=ajp13 (I think in your case the worker type will be ajp12) worker.your_worker_name.port=8009 (-- that's the port where ajp13 is listening in the Tomcat machine) worker.your_worker_name.host=194.233.22.21 (-- that's the host where tomcat is located) Regards, Juan -Mensaje original- De: Ashish Ravi [mailto:ashish.ravi;webrizon.com] Enviado el: lunes, 04 de noviembre de 2002 13:41 Para: [EMAIL PROTECTED] Asunto: Re: Running Tomcat + IIS on different servers Hi Juan, I understand that. But doesnt the workers.properties file have to define JAVA_HOME and TOMCAT_HOME (which happen to be on server 2). I'm using the Jboss 2.3.4-Tomcat 3.2.2 package. What I dont understand is how the IIS machine will determine the IP of the Tomcat machine. Ashish - Original Message - From: Juan Fco. Herrera Utande [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, November 04, 2002 3:53 PM Subject: RE: Running Tomcat + IIS on different servers Hi, It's very easy. There's no need to map directories as the only thing you need in the IIS machine is the isapi filter and workers and uriworkermap properties files. In the documentation for apj13 you can find the way to configure them. Juan P.S.: Please specify your Tomcat version. -Mensaje original- De: Ashish Ravi [mailto:ashish.ravi;webrizon.com] Enviado el: domingo, 03 de noviembre de 2002 14:40 Para: [EMAIL PROTECTED] Asunto: Running Tomcat + IIS on different servers Hi, I'm trying to configure IIS (on server 1) to redirect requests to Tomcat (on server 2) . I've seen the help for configuring Tomcat with IIS, but i assume it works when both are on the same server. One way out is to map the directory where the .properties files are and use that mapping in the registry entry. What option do i have if the servers are not on the same LAN? - Ashish -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Running Tomcat + IIS on different servers
Hi, I'm trying to configure IIS (on server 1) to redirect requests to Tomcat (on server 2) . I've seen the help for configuring Tomcat with IIS, but i assume it works when both are on the same server. One way out is to map the directory where the .properties files are and use that mapping in the registry entry. What option do i have if the servers are not on the same LAN? - Ashish -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
BASIC authentication in Tomcat+IIS (one useful information)
Hello! I have another useful information about the problem described below that I have posted some day ago wihout receiving no solution for it :((( If I use Tomcat 4.x as Web Server (standalone mode), instead of IIS, the BASIC Authentication works well also on Server 1! This means there must be some strange setting in IIS or in Windows 2000 Advanced Server that forces the Tomcat's ISAPI filter (that is to say when Tomcat is used only as Servlet Container) not to ask for login and password to the user but to get their values directly from the system. I hope someone can help me. Best regards, Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: martedì 29 ottobre 2002 12.12 A: tomcat-user Oggetto: BASIC authentication in Tomcat+IIS Hello everybody! I have the following GREAT problem with basic authentication in Tomcat I have two servers configured as follows: Server 1: Operating system: Windows 2000 Advanced Server Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2: Windows XP Professional Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2 is not connected to the Internet but it is used to test web applications before passing them in the production environment deployed in Server 1. In fact Server 1 is connected to the Internet and contains all the final versions of Web Applications. So I connect to Server 1 using a real domain name (for example: www.mydomain.com) while I connect to Server 2 using localhost. In both Servers I use Tomcat 4.x as Servlet Container and Micrososft IIS 5 as Web Server. I installed the ISAPI filter to redirect to Tomcat all the requests to Servlet/JSP pages or to web sites based on such java-technologies. I have tried to protect some Servlet/jsp-pages using basic authentication of Tomcat. So I configured the following tomcat files in such way: server.xml: ... !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Realm className=org.apache.catalina.realm.MemoryRealm / ... tomcat-users.xml: tomcat-users user name=admin password=tomcat roles=adminrole / /tomcat-users web.xml: security-constraint display-nameAutenticazione Tomcat/display-name web-resource-collection web-resource-nameProtected Area/web-resource-name !-- Define the context-relative URL(s) to be protected -- url-pattern/MyServlet/url-pattern /web-resource-collection auth-constraint !-- Anyone with one of the listed roles may access this area -- role-nameadminrole/role-name /auth-constraint /security-constraint !-- Default login configuration uses form-based authentication -- login-config auth-methodBASIC/auth-method realm-nameAutenticazione Tomcat/realm-name /login-config Server.xml and tomcat-users.xml are present in /conf folder of Tomcat, while web.xml in the WEB-INF folder of the web application that contains the resource (in this case the servlet MyServlet) that I want to protect. All works fine in Server 2 (localhost): in fact when I connect to the protected resource (servlet MyServlet)Tomcat asks me in a window the login and the password to access to the resource. The problem appears after moving my application in Server 2 (production environment) because when I try to connect to the protected servlet I receive from Tomcat the following error page: Apache Tomcat/4.0.4-b3 - HTTPS Status 403 - Access to the requested resource has been denied type: Status report message: Access to the requested resource has been denied description: Access to the specified resource (Access to the requested resource has been denied) has been forbidden. The strange thing is that Tomcat, before showing the error page, doesn't ask to me for the login and the password to access the resource (as in the first case). It seems that IIS passes automatically an internal login and password to Tomcat to access to the protected resource: given that they are not correct I receive an error message from Tomcat. Anyway I am not sure of this but I suspect that the problem is in Windows 2000 Advanced Server because when I try to access to Server 2, where there is Windows XP installed , all works fine. I have heard that this problem could occur in Windows 2000 only when realm authentication is not set in IIS, but i am not sure and in any case I have no idea how to set realm authentication in IIS. I hope someone can help me to solve this problem. Thanks a lot in advance! Luca -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
BASIC authentication in Tomcat+IIS (second useful information)
Hello! I have another useful information about this problem... The version of Tomcat I have is 4.0.4b3: is it possible that this beta release contains some bug that doesn't let Tomcat to support correctly BASIC authentication (when it is used as Servlet Container and not in standalone mode)?? Anyway in this case I don't understand why in the test environment the basic authentication of Tomcat works well in fact the problem is present only in production environment using Server 1! If someone has some idea or suggestion to solve this problem I pray him to let me know (I am spending many work-days to solve it without success)! Thanks. Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: giovedì 31 ottobre 2002 10.43 A: tomcat-user Oggetto: BASIC authentication in Tomcat+IIS (one useful information) Hello! I have another useful information about the problem described below that I have posted some day ago wihout receiving no solution for it :((( If I use Tomcat 4.x as Web Server (standalone mode), instead of IIS, the BASIC Authentication works well also on Server 1! This means there must be some strange setting in IIS or in Windows 2000 Advanced Server that forces the Tomcat's ISAPI filter (that is to say when Tomcat is used only as Servlet Container) not to ask for login and password to the user but to get their values directly from the system. I hope someone can help me. Best regards, Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: martedì 29 ottobre 2002 12.12 A: tomcat-user Oggetto: BASIC authentication in Tomcat+IIS Hello everybody! I have the following GREAT problem with basic authentication in Tomcat I have two servers configured as follows: Server 1: Operating system: Windows 2000 Advanced Server Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2: Windows XP Professional Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2 is not connected to the Internet but it is used to test web applications before passing them in the production environment deployed in Server 1. In fact Server 1 is connected to the Internet and contains all the final versions of Web Applications. So I connect to Server 1 using a real domain name (for example: www.mydomain.com) while I connect to Server 2 using localhost. In both Servers I use Tomcat 4.x as Servlet Container and Micrososft IIS 5 as Web Server. I installed the ISAPI filter to redirect to Tomcat all the requests to Servlet/JSP pages or to web sites based on such java-technologies. I have tried to protect some Servlet/jsp-pages using basic authentication of Tomcat. So I configured the following tomcat files in such way: server.xml: ... !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Realm className=org.apache.catalina.realm.MemoryRealm / ... tomcat-users.xml: tomcat-users user name=admin password=tomcat roles=adminrole / /tomcat-users web.xml: security-constraint display-nameAutenticazione Tomcat/display-name web-resource-collection web-resource-nameProtected Area/web-resource-name !-- Define the context-relative URL(s) to be protected -- url-pattern/MyServlet/url-pattern /web-resource-collection auth-constraint !-- Anyone with one of the listed roles may access this area -- role-nameadminrole/role-name /auth-constraint /security-constraint !-- Default login configuration uses form-based authentication -- login-config auth-methodBASIC/auth-method realm-nameAutenticazione Tomcat/realm-name /login-config Server.xml and tomcat-users.xml are present in /conf folder of Tomcat, while web.xml in the WEB-INF folder of the web application that contains the resource (in this case the servlet MyServlet) that I want to protect. All works fine in Server 2 (localhost): in fact when I connect to the protected resource (servlet MyServlet)Tomcat asks me in a window the login and the password to access to the resource. The problem appears after moving my application in Server 2 (production environment) because when I try to connect to the protected servlet I receive from Tomcat the following error page: Apache Tomcat/4.0.4-b3 - HTTPS Status 403 - Access to the requested resource has been denied type: Status report message: Access to the requested resource has been denied description: Access to the specified resource (Access to the requested resource has been denied) has been forbidden. The strange thing is that Tomcat, before showing the error page, doesn't ask to me for the login and the password to access the resource (as in the first case). It seems that IIS passes automatically an internal login and password to Tomcat
BASIC authentication in Tomcat+IIS (second useful information)
Hello! I have another useful information about this problem... The version of Tomcat I have is 4.0.4b3: is it possible that this beta release contains some bug that doesn't let Tomcat to support correctly BASIC authentication (when it is used as Servlet Container and not in standalone mode)?? Anyway in this case I don't understand why in the test environment the basic authentication of Tomcat works well in fact the problem is present only in production environment using Server 1! If someone has some idea or suggestion to solve this problem I pray him to let me know (I am spending many work-days to solve it without success)! Thanks. Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: giovedì 31 ottobre 2002 11.12 A: tomcat-dev Oggetto: BASIC authentication in Tomcat+IIS (one useful information) Hello! I have another useful information about the problem described below that I have posted some day ago wihout receiving no solution for it :((( If I use Tomcat 4.x as Web Server (standalone mode), instead of IIS, the BASIC Authentication works well also on Server 1! This means there must be some strange setting in IIS or in Windows 2000 Advanced Server that forces the Tomcat's ISAPI filter (that is to say when Tomcat is used only as Servlet Container) not to ask for login and password to the user but to get their values directly from the system. I hope someone can help me. Best regards, Luca -Messaggio originale- Da: Luca Ventura [mailto:ventluca;tiscali.it] Inviato: martedì 29 ottobre 2002 12.12 A: tomcat-dev Oggetto: BASIC authentication in Tomcat+IIS Hello everybody! I have the following GREAT problem with basic authentication in Tomcat I have two servers configured as follows: Server 1: Operating system: Windows 2000 Advanced Server Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2: Windows XP Professional Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2 is not connected to the Internet but it is used to test web applications before passing them in the production environment deployed in Server 1. In fact Server 1 is connected to the Internet and contains all the final versions of Web Applications. So I connect to Server 1 using a real domain name (for example: www.mydomain.com) while I connect to Server 2 using localhost. In both Servers I use Tomcat 4.x as Servlet Container and Micrososft IIS 5 as Web Server. I installed the ISAPI filter to redirect to Tomcat all the requests to Servlet/JSP pages or to web sites based on such java-technologies. I have tried to protect some Servlet/jsp-pages using basic authentication of Tomcat. So I configured the following tomcat files in such way: server.xml: ... !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Realm className=org.apache.catalina.realm.MemoryRealm / ... tomcat-users.xml: tomcat-users user name=admin password=tomcat roles=adminrole / /tomcat-users web.xml: security-constraint display-nameAutenticazione Tomcat/display-name web-resource-collection web-resource-nameProtected Area/web-resource-name !-- Define the context-relative URL(s) to be protected -- url-pattern/MyServlet/url-pattern /web-resource-collection auth-constraint !-- Anyone with one of the listed roles may access this area -- role-nameadminrole/role-name /auth-constraint /security-constraint !-- Default login configuration uses form-based authentication -- login-config auth-methodBASIC/auth-method realm-nameAutenticazione Tomcat/realm-name /login-config Server.xml and tomcat-users.xml are present in /conf folder of Tomcat, while web.xml in the WEB-INF folder of the web application that contains the resource (in this case the servlet MyServlet) that I want to protect. All works fine in Server 2 (localhost): in fact when I connect to the protected resource (servlet MyServlet)Tomcat asks me in a window the login and the password to access to the resource. The problem appears after moving my application in Server 2 (production environment) because when I try to connect to the protected servlet I receive from Tomcat the following error page: Apache Tomcat/4.0.4-b3 - HTTPS Status 403 - Access to the requested resource has been denied type: Status report message: Access to the requested resource has been denied description: Access to the specified resource (Access to the requested resource has been denied) has been forbidden. The strange thing is that Tomcat, before showing the error page, doesn't ask to me for the login and the password to access the resource (as in the first case). It seems that IIS passes automatically an internal login and password to Tomcat
BASIC authentication in Tomcat+IIS
Hello everybody! I have the following GREAT problem with basic authentication in Tomcat I have two servers configured as follows: Server 1: Operating system: Windows 2000 Advanced Server Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2: Windows XP Professional Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2 is not connected to the Internet but it is used to test web applications before passing them in the production environment deployed in Server 1. In fact Server 1 is connected to the Internet and contains all the final versions of Web Applications. So I connect to Server 1 using a real domain name (for example: www.mydomain.com) while I connect to Server 2 using localhost. In both Servers I use Tomcat 4.x as Servlet Container and Micrososft IIS 5 as Web Server. I installed the ISAPI filter to redirect to Tomcat all the requests to Servlet/JSP pages or to web sites based on such java-technologies. I have tried to protect some Servlet/jsp-pages using basic authentication of Tomcat. So I configured the following tomcat files in such way: server.xml: ... !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Realm className=org.apache.catalina.realm.MemoryRealm / ... tomcat-users.xml: tomcat-users user name=admin password=tomcat roles=adminrole / /tomcat-users web.xml: security-constraint display-nameAutenticazione Tomcat/display-name web-resource-collection web-resource-nameProtected Area/web-resource-name !-- Define the context-relative URL(s) to be protected -- url-pattern/MyServlet/url-pattern /web-resource-collection auth-constraint !-- Anyone with one of the listed roles may access this area -- role-nameadminrole/role-name /auth-constraint /security-constraint !-- Default login configuration uses form-based authentication -- login-config auth-methodBASIC/auth-method realm-nameAutenticazione Tomcat/realm-name /login-config Server.xml and tomcat-users.xml are present in /conf folder of Tomcat, while web.xml in the WEB-INF folder of the web application that contains the resource (in this case the servlet MyServlet) that I want to protect. All works fine in Server 2 (localhost): in fact when I connect to the protected resource (servlet MyServlet)Tomcat asks me in a window the login and the password to access to the resource. The problem appears after moving my application in Server 2 (production environment) because when I try to connect to the protected servlet I receive from Tomcat the following error page: Apache Tomcat/4.0.4-b3 - HTTPS Status 403 - Access to the requested resource has been denied type: Status report message: Access to the requested resource has been denied description: Access to the specified resource (Access to the requested resource has been denied) has been forbidden. The strange thing is that Tomcat, before showing the error page, doesn't ask to me for the login and the password to access the resource (as in the first case). It seems that IIS passes automatically an internal login and password to Tomcat to access to the protected resource: given that they are not correct I receive an error message from Tomcat. Anyway I am not sure of this but I suspect that the problem is in Windows 2000 Advanced Server because when I try to access to Server 2, where there is Windows XP installed , all works fine. I have heard that this problem could occur in Windows 2000 only when realm authentication is not set in IIS, but i am not sure and in any case I have no idea how to set realm authentication in IIS. I hope someone can help me to solve this problem. Thanks a lot in advance! Luca -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
BASIC authentication in Tomcat+IIS
Hello everybody! I have the following GREAT problem with basic authentication in Tomcat I have two servers configured as follows: Server 1: Operating system: Windows 2000 Advanced Server Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2: Windows XP Professional Web Server: IIS 5.0 Servlet Container: Tomcat 4.x Server 2 is not connected to the Internet but it is used to test web applications before passing them in the production environment deployed in Server 1. In fact Server 1 is connected to the Internet and contains all the final versions of Web Applications. So I connect to Server 1 using a real domain name (for example: www.mydomain.com) while I connect to Server 2 using localhost. In both Servers I use Tomcat 4.x as Servlet Container and Micrososft IIS 5 as Web Server. I installed the ISAPI filter to redirect to Tomcat all the requests to Servlet/JSP pages or to web sites based on such java-technologies. I have tried to protect some Servlet/jsp-pages using basic authentication of Tomcat. So I configured the following tomcat files in such way: server.xml: ... !-- Define an AJP 1.3 Connector on port 8009 -- Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=5 maxProcessors=75 acceptCount=10 debug=0/ Realm className=org.apache.catalina.realm.MemoryRealm / ... tomcat-users.xml: tomcat-users user name=admin password=tomcat roles=adminrole / /tomcat-users web.xml: security-constraint display-nameAutenticazione Tomcat/display-name web-resource-collection web-resource-nameProtected Area/web-resource-name !-- Define the context-relative URL(s) to be protected -- url-pattern/MyServlet/url-pattern /web-resource-collection auth-constraint !-- Anyone with one of the listed roles may access this area -- role-nameadminrole/role-name /auth-constraint /security-constraint !-- Default login configuration uses form-based authentication -- login-config auth-methodBASIC/auth-method realm-nameAutenticazione Tomcat/realm-name /login-config Server.xml and tomcat-users.xml are present in /conf folder of Tomcat, while web.xml in the WEB-INF folder of the web application that contains the resource (in this case the servlet MyServlet) that I want to protect. All works fine in Server 2 (localhost): in fact when I connect to the protected resource (servlet MyServlet)Tomcat asks me in a window the login and the password to access to the resource. The problem appears after moving my application in Server 2 (production environment) because when I try to connect to the protected servlet I receive from Tomcat the following error page: Apache Tomcat/4.0.4-b3 - HTTPS Status 403 - Access to the requested resource has been denied type: Status report message: Access to the requested resource has been denied description: Access to the specified resource (Access to the requested resource has been denied) has been forbidden. The strange thing is that Tomcat, before showing the error page, doesn't ask to me for the login and the password to access the resource (as in the first case). It seems that IIS passes automatically an internal login and password to Tomcat to access to the protected resource: given that they are not correct I receive an error message from Tomcat. Anyway I am not sure of this but I suspect that the problem is in Windows 2000 Advanced Server because when I try to access to Server 2, where there is Windows XP installed , all works fine. I have heard that this problem could occur in Windows 2000 only when realm authentication is not set in IIS, but i am not sure and in any case I have no idea how to set realm authentication in IIS. I hope someone can help me to solve this problem. Thanks a lot in advance! Luca -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Tomcat IIS Resource25
Can anyone out there help with a Tomcat, IIS, and Resource25 installation? I think I have the Tomcat IIS part down, but I'm apparently having a problem specifying the correct information for Resource25 to use Tomcat. -- Mark :-) Mark J. Miller, Sr. Instructional Systems Analyst Saginaw Valley State University USA 7400 Bay Rd, University Center, Mi 48710 Wickes 265 , ** Phone # Change: 989-964-7102 [EMAIL PROTECTED], www.svsu.edu/its - The man who fights for his ideals is the man who is - alive! - Miguel de Cervantes, author of Don Quixote -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
reg tomcat iis
Hi, The article IIS HOW TO is pretty good but could you please help me in configuring iis and tomcat residing in two differnt machines iis and tom cat are in two different boxes thanks srinu
RE: reg tomcat iis
It would be better if you could post a more descriptive message. For example, which versions you are using, what you have done so far, which HOWTO you have used, and what, if any, error messages or log messages you are receiving. Giving the list as much information as possible first helps you get your answer faster, if there is someone out there who can help. John -Original Message- From: Srinu Kalyan [mailto:SKalyan;superioraccess.net] Sent: Thursday, October 17, 2002 8:42 PM To: '[EMAIL PROTECTED]' Subject: reg tomcat iis Hi, The article IIS HOW TO is pretty good but could you please help me in configuring iis and tomcat residing in two differnt machines iis and tom cat are in two different boxes thanks srinu -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org
Can anyone please help Tomcat / IIS
This is my first time trying this thing out and I'm getting there slowly...I'm working on this almost 2 weeks now. I have localhost working on the JSP's and not the HTML's and I want to access the webapp from the outside using the URL to my domain name. Can anyone please help. I will include everything once I get a reply. I've done it twice now without anything. At this point I don't know what else to do. Thanks, Lior - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com
Tomcat IIS Worker problem
I'm getting the following error in the isapi_redirect.log file: [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (655)]: Detected IIS = 5.0 [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (696)]: HttpFilterProc started [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host redirection of /localhost/examples/jsp/num/numguess.jsp [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (477)]: Attempting to map URI '/localhost/examples/jsp/num/numguess.jsp' [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match ajp13 - *.jsp [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (775)]: HttpFilterProc [/examples/jsp/num/numguess.jsp] is a servlet url - should redirect to ajp13 [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (838)]: HttpFilterProc check if [/examples/jsp/num/numguess.jsp] is points to the web-inf directory [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (806)]: Using registry. [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (808)]: Using log file C:\tomcat\logs\iis_redirect.log. [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (809)]: Using log level 0. [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (810)]: Using extension uri /jakarta/isapi_redirect.dll. [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (811)]: Using worker file C:\tomcat\conf\workers.properties. [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (812)]: Using worker mount file C:\tomcat\conf\uriworkermap.properties. [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (159)]: Into jk_uri_worker_map_t::uri_worker_map_alloc [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (199)]: Into jk_uri_worker_map_t::uri_worker_map_open [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (217)]: jk_uri_worker_map_t::uri_worker_map_open, rule map size is 5 [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /.jsp=ajp13 was added [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /refcoapp/.jsp=ajp13 was added [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (262)]: Into jk_uri_worker_map_t::uri_worker_map_open, suffix rule /examples/.jsp=ajp13 was added [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (273)]: Into jk_uri_worker_map_t::uri_worker_map_open, match rule /examples/servlet/=ajp13 was added [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (302)]: Into jk_uri_worker_map_t::uri_worker_map_open, there are 4 rules [Tue Oct 15 12:34:16 2002] [jk_uri_worker_map.c (324)]: jk_uri_worker_map_t::uri_worker_map_open, done [Tue Oct 15 12:34:16 2002] [jk_worker.c (82)]: Into wc_open [Tue Oct 15 12:34:16 2002] [jk_worker.c (207)]: Into build_worker_map, creating 1 workers [Tue Oct 15 12:34:16 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp12 [Tue Oct 15 12:34:16 2002] [jk_worker.c (138)]: Into wc_create_worker [Tue Oct 15 12:34:16 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12 [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory [Tue Oct 15 12:34:16 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12 [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007 [Tue Oct 15 12:34:16 2002] [jk_worker.c (177)]: wc_create_worker, done [Tue Oct 15 12:34:16 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker [Tue Oct 15 12:34:16 2002] [jk_worker.c (235)]: build_worker_map, done [Tue Oct 15 12:34:16 2002] [jk_worker.c (102)]: wc_open, done [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 12:34:16 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13 [Tue Oct 15 12:34:16 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get a worker for name ajp13 [Tue Oct 15 12:34:16 2002] [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could not get a worker for name ajp13 I'm not sure why it cannot get a worker. Any ideas about what could be wrong. I used this link to try to get some help: http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html and I didn't notice much difference in what I did and what they had. I restarted both Tomcat and IIS and I have nothing. Thanks, Lior Shliechkorn PS - and thanks to those who helped me get this far. - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com
RE: Tomcat IIS Worker problem
From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:09 PM [Tue Oct 15 12:34:16 2002] [jk_worker.c (82)]: Into wc_open [Tue Oct 15 12:34:16 2002] [jk_worker.c (207)]: Into build_worker_map, creating 1 workers [Tue Oct 15 12:34:16 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp12 [Tue Oct 15 12:34:16 2002] [jk_worker.c (138)]: Into wc_create_worker [Tue Oct 15 12:34:16 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12 [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory [Tue Oct 15 12:34:16 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12 [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007 [Tue Oct 15 12:34:16 2002] [jk_worker.c (177)]: wc_create_worker, done [Tue Oct 15 12:34:16 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker [Tue Oct 15 12:34:16 2002] [jk_worker.c (235)]: build_worker_map, done This log excerpt seems to say that your workers.properties files doenst define a ajp13 worker, and you are assinging the uri to this nonexistent worker.. 1) To see it working use ajp12 instead of ajp13 in your uw.p file 2) post your w.p file to help you use the better ajp13 protocol instead of ajp12 HTH Saludos, Ignacio J. Ortega -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat IIS Worker problem
Ok, so now that I changed the service to ajp12 I get the following in the log file: [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 13:48:24 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [Tue Oct 15 13:48:24 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc got a worker for name ajp12 [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [Tue Oct 15 13:48:24 2002] [jk_connect.c (108)]: Into jk_open_socket [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 632 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [Tue Oct 15 13:48:25 2002] [jk_isapi_plugin.c (716)]: HttpExtensionProc error, service() failed [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done Not sure what these errors mean...never did this before. Thanks. Ignacio J. Ortega [EMAIL PROTECTED] wrote: From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 7:09 PM [Tue Oct 15 12:34:16 2002] [jk_worker.c (82)]: Into wc_open [Tue Oct 15 12:34:16 2002] [jk_worker.c (207)]: Into build_worker_map, creating 1 workers [Tue Oct 15 12:34:16 2002] [jk_worker.c (213)]: build_worker_map, creating worker ajp12 [Tue Oct 15 12:34:16 2002] [jk_worker.c (138)]: Into wc_create_worker [Tue Oct 15 12:34:16 2002] [jk_worker.c (152)]: wc_create_worker, about to create instance ajp12 of ajp12 [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (264)]: Into ajp12_worker_factory [Tue Oct 15 12:34:16 2002] [jk_worker.c (161)]: wc_create_worker, about to validate and init ajp12 [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (182)]: Into jk_worker_t::validate [Tue Oct 15 12:34:16 2002] [jk_ajp12_worker.c (194)]: In jk_worker_t::validate for worker ajp12 contact is localhost:8007 [Tue Oct 15 12:34:16 2002] [jk_worker.c (177)]: wc_create_worker, done [Tue Oct 15 12:34:16 2002] [jk_worker.c (223)]: build_worker_map, removing old ajp12 worker [Tue Oct 15 12:34:16 2002] [jk_worker.c (235)]: build_worker_map, done This log excerpt seems to say that your workers.properties files doenst define a ajp13 worker, and you are assinging the uri to this nonexistent worker.. 1) To see it working use ajp12 instead of ajp13 in your uw.p file 2) post your w.p file to help you use the better ajp13 protocol instead of ajp12 HTH Saludos, Ignacio J. Ortega -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com
RE: Tomcat IIS Worker problem
Looks to me like your Tomcat is either not running, or listening on a different port: [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 632 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 FYI - It would be A LOT easier for people to help you if you would post some config files (as I've already suggested twice...maybe 3 times is the charm). Probably could have saved the last 2 or 3 iterations of OK, I tried X and got Y, now what?. But hey, if you want to draw this out, that's cool. John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 1:53 PM To: Tomcat Users List Subject: RE: Tomcat IIS Worker problem Ok, so now that I changed the service to ajp12 I get the following in the log file: [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 13:48:24 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [Tue Oct 15 13:48:24 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc got a worker for name ajp12 [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [Tue Oct 15 13:48:24 2002] [jk_connect.c (108)]: Into jk_open_socket [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 632 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [Tue Oct 15 13:48:25 2002] [jk_isapi_plugin.c (716)]: HttpExtensionProc error, service() failed [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat IIS Worker problem
Here we go. The files' contents are below. workers.p : workers.tomcat_home=c:\tomcat workers.java_home=c:\jdk1.3.1_04 ps=\ worker.list = ajp12 worker.ajp12.type = ajp12 worker.ajp12.host = localhost worker.ajp12.port = 8009 worker.ajp12.lbfactor=1 uriworkermap.p: default.worker=ajp12 /*.jsp=$(default.worker) /refcoapp/*.jsp=$(default.worker) /examples/*.jsp=$(default.worker) /examples/servlet/*=$(default.worker) I'm not certain what other files would be necessary since I've only touched these in the whole process. I changed all ajp13 to 12s and got the error that you saw. Where would I change the listening port for tomcat...I didn't change any of the server.xml properties. Thanks, Lior Turner, John [EMAIL PROTECTED] wrote: Looks to me like your Tomcat is either not running, or listening on a different port: [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 632 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 FYI - It would be A LOT easier for people to help you if you would post some config files (as I've already suggested twice...maybe 3 times is the charm). Probably could have saved the last 2 or 3 iterations of OK, I tried X and got Y, now what?. But hey, if you want to draw this out, that's cool. John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 1:53 PM To: Tomcat Users List Subject: RE: Tomcat IIS Worker problem Ok, so now that I changed the service to ajp12 I get the following in the log file: [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 13:48:24 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [Tue Oct 15 13:48:24 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc got a worker for name ajp12 [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [Tue Oct 15 13:48:24 2002] [jk_connect.c (108)]: Into jk_open_socket [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 632 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [Tue Oct 15 13:48:25 2002] [jk_isapi_plugin.c (716)]: HttpExtensionProc error, service() failed [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com
RE: Tomcat IIS Worker problem
I would change ajp12 to ajp13, especially in .type. JK = ajp13. Like this: worker.list = one worker.one.type = ajp13 worker.one.host = localhost worker.one.port = 8009 Take out the load balance line (lbfactor)...with only one Tomcat there is no need for any load-balancing configuration. Change default.worker in the URI properties file to match whatever worker.list is in your workers.properties file. In server.xml, make sure that the element with a class of Ajp13Connector is enabled (remove the comment tags) and is set to run on port 8009, the same port listed in your workers.properties file. Think of JK as a chain. All you have to do is make sure each link in the chain matches the next one. I think someone else suggested changing things to ajp12, I'm not sure why, but if I were you I would avoid anything but ajp13 and use my own names for things like worker.list, etc. AJP12, AJP13, and AJP14 designate a particular protocol. John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:04 PM To: Tomcat Users List Subject: RE: Tomcat IIS Worker problem Here we go. The files' contents are below. workers.p : workers.tomcat_home=c:\tomcat workers.java_home=c:\jdk1.3.1_04 ps=\ worker.list = ajp12 worker.ajp12.type = ajp12 worker.ajp12.host = localhost worker.ajp12.port = 8009 worker.ajp12.lbfactor=1 uriworkermap.p: default.worker=ajp12 /*.jsp=$(default.worker) /refcoapp/*.jsp=$(default.worker) /examples/*.jsp=$(default.worker) /examples/servlet/*=$(default.worker) I'm not certain what other files would be necessary since I've only touched these in the whole process. I changed all ajp13 to 12s and got the error that you saw. Where would I change the listening port for tomcat...I didn't change any of the server.xml properties. Thanks, Lior Turner, John [EMAIL PROTECTED] wrote: Looks to me like your Tomcat is either not running, or listening on a different port: [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 632 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 FYI - It would be A LOT easier for people to help you if you would post some config files (as I've already suggested twice...maybe 3 times is the charm). Probably could have saved the last 2 or 3 iterations of OK, I tried X and got Y, now what?. But hey, if you want to draw this out, that's cool. John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 1:53 PM To: Tomcat Users List Subject: RE: Tomcat IIS Worker problem Ok, so now that I changed the service to ajp12 I get the following in the log file: [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 13:48:24 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name ajp12 [Tue Oct 15 13:48:24 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done found a worker [Tue Oct 15 13:48:24 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc got a worker for name ajp12 [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (223)]: Into jk_worker_t::get_endpoint [Tue Oct 15 13:48:24 2002] [jk_ajp12_worker.c (121)]: Into jk_endpoint_t::service [Tue Oct 15 13:48:24 2002] [jk_connect.c (108)]: Into jk_open_socket [Tue Oct 15 13:48:24 2002] [jk_connect.c (115)]: jk_open_socket, try to connect socket = 632 [Tue Oct 15 13:48:25 2002] [jk_connect.c (124)]: jk_open_socket, after connect ret = -1 [Tue Oct 15 13:48:25 2002] [jk_connect.c (143)]: jk_open_socket, connect() failed errno = 61 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (134)]: In jk_endpoint_t::service, sd = -1 [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (152)]: In jk_endpoint_t::service, Error sd = -1 [Tue Oct 15 13:48:25 2002] [jk_isapi_plugin.c (716)]: HttpExtensionProc error, service() failed [Tue Oct 15 13:48:25 2002] [jk_ajp12_worker.c (163)]: Into jk_endpoint_t::done -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat IIS Worker problem
Unfortunately, I'm still getting the original error: [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 14:15:49 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name rsworker [Tue Oct 15 14:15:49 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get a worker for name rsworker [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could not get a worker for name rsworker Why did it not find the worker here, but the Ajp12 worked (as far as finding a worker)? - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com
RE: Tomcat IIS Worker problem
At this point I can only surmise that it has something to do with IIS and the isapi_redirect thingie. Since I don't run IIS, I can't help with those things. Your workers.properties file and uri.properties file look fine to me. Perhaps someone out there with a working IIS configuration can offer more. John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:21 PM To: Tomcat Users List Subject: RE: Tomcat IIS Worker problem Unfortunately, I'm still getting the original error: [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 14:15:49 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name rsworker [Tue Oct 15 14:15:49 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get a worker for name rsworker [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could not get a worker for name rsworker Why did it not find the worker here, but the Ajp12 worked (as far as finding a worker)? - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat IIS Worker problem
Thanks for the help John. Hopefully I'll get this resolved. Turner, John [EMAIL PROTECTED] wrote: At this point I can only surmise that it has something to do with IIS and the isapi_redirect thingie. Since I don't run IIS, I can't help with those things. Your workers.properties file and uri.properties file look fine to me. Perhaps someone out there with a working IIS configuration can offer more. John -Original Message- From: Lior Shliechkorn [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 15, 2002 2:21 PM To: Tomcat Users List Subject: RE: Tomcat IIS Worker problem Unfortunately, I'm still getting the original error: [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (679)]: HttpExtensionProc started [Tue Oct 15 14:15:49 2002] [jk_worker.c (123)]: Into wc_get_worker_for_name rsworker [Tue Oct 15 14:15:49 2002] [jk_worker.c (127)]: wc_get_worker_for_name, done did not found a worker [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (701)]: HttpExtensionProc could not get a worker for name rsworker [Tue Oct 15 14:15:49 2002] [jk_isapi_plugin.c (722)]: HttpExtensionProc error, could not get a worker for name rsworker Why did it not find the worker here, but the Ajp12 worked (as far as finding a worker)? - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com -- To unsubscribe, e-mail: For additional commands, e-mail: - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, more faith.yahoo.com
RE: Tomcat IIS Worker problem
Hmm, I have a little more in my workers.properties file. I've attached mine along with this message. And here's my uriworkermap.properties information. /examples/*.jsp=ajp13 /examples/servlet/*=ajp13 /ora/*.jsp=ajp13 /cocoon/*=ajp13 /jetspeed/*=ajp13 /Addressbook/*=ajp13 This is working well with Tomcat 4.12, IIS 5, jdk 1.3.1_04, Windows/2000 Professional with the latest patches, and jk 1.2. The same set of files worked fine with Tomcat 4.0x, IIS 5, jdk 1.3.1_04, Windows/2000 Professional with the latest patches, and jk 1.2 or jk 1.0. I hope this helps a bit. /mde/ just my two cents . . . . __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com # # general stuff # workers.tomcat_home=c:\tomcat workers.java_home=c:\jdk1.3.1_04 ps=\ # # workers list # worker.list=ajp12, ajp13 # # ajp12 communicates on port 8007 # worker.ajp12.port=8007 worker.ajp12.host=localhost worker.ajp12.type=ajp12 worker.ajp12.lbfactor=1 # # ajp13 connector communicating on port 8009 # worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 worker.ajp13.lbfactor=1 # # load balancing # worker.loadbalancer.type=lb worker.loadbalancer.balanced_workers=ajp13, ajp12 # # The JVM that we are about to use # worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll # # Setting the place for the stdout and stderr of tomcat # worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat IIS HowTo - with Tomcat 4?
Tomcat 4 definitely works with IIS although I didn't use the installer program I just got the zip and unzipped it into a directory such as C:\javaapps\jakarta-tomcat-4.0.5. -Original Message- From: Richard Katz [mailto:[EMAIL PROTECTED]] Posted At: Thursday, 10 October 2002 7:08 AM Posted To: Tomcat Conversation: Tomcat IIS HowTo - with Tomcat 4? Subject: Tomcat IIS HowTo - with Tomcat 4? Does this just not work with Tomcat 4.0? I've followed all the steps but I still get a down red arrow instead of an up green one on the IIS MMC for the jakarta filter. Questions - about quotes: Tomcat 4 normally installs in C:\Program Files\Apache Tomcat 4.0 which is where I installed it. Unfprtunately, this offers the registry, the MMC, and the workers.properties numerous opportunities to mis-handle quotes. For instance in the registry: Should there be quotes around log_file value: C:\Program Files\Apache Tomcat 4.0\logs\isapi.log I've tried it both ways - no luck. In MMC: The Virtual directory does not seem to want quotes. It browses correctly when given C:\Program Files\Apache Tomcat 4.0\bin\win32\i386 The filter executable can be specified as C:\Program Files\Apache Tomcat 4.0\bin\win32\i386\isapi_redirect.dll Neither require quotes. If Tomcat 4 is supposed to work with IIS, I'll move it to a different directory so that the quote question goes away and try again. Otherwise, I'll go back to Tomcat 3.x Thanks, Rich Katz -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat IIS HowTo - with Tomcat 4?
Does this just not work with Tomcat 4.0? I've followed all the steps but I still get a down red arrow instead of an up green one on the IIS MMC for the jakarta filter. Yes, it works. I have it. And with spaces in path. Questions - about quotes: Tomcat 4 normally installs in C:\Program Files\Apache Tomcat 4.0 which is where I installed it. Unfprtunately, this offers the registry, the MMC, and the workers.properties numerous opportunities to mis-handle quotes. For instance in the registry: Should there be quotes around log_file value: C:\Program Files\Apache Tomcat 4.0\logs\isapi.log Not, without quotes. I've tried it both ways - no luck. In MMC: The Virtual directory does not seem to want quotes. It browses correctly when given C:\Program Files\Apache Tomcat 4.0\bin\win32\i386 The filter executable can be specified as C:\Program Files\Apache Tomcat 4.0\bin\win32\i386\isapi_redirect.dll Neither require quotes. If Tomcat 4 is supposed to work with IIS, I'll move it to a different directory so that the quote question goes away and try again. Otherwise, I'll go back to Tomcat 3.x Thanks, Rich Katz -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat IIS HowTo - with Tomcat 4?
It definitely works. HOWTOs are posted. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm John -Original Message- From: Richard Katz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 5:08 PM To: [EMAIL PROTECTED] Subject: Tomcat IIS HowTo - with Tomcat 4? Does this just not work with Tomcat 4.0? I've followed all the steps but I still get a down red arrow instead of an up green one on the IIS MMC for the jakarta filter. Questions - about quotes: Tomcat 4 normally installs in C:\Program Files\Apache Tomcat 4.0 which is where I installed it. Unfprtunately, this offers the registry, the MMC, and the workers.properties numerous opportunities to mis-handle quotes. For instance in the registry: Should there be quotes around log_file value: C:\Program Files\Apache Tomcat 4.0\logs\isapi.log I've tried it both ways - no luck. In MMC: The Virtual directory does not seem to want quotes. It browses correctly when given C:\Program Files\Apache Tomcat 4.0\bin\win32\i386 The filter executable can be specified as C:\Program Files\Apache Tomcat 4.0\bin\win32\i386\isapi_redirect.dll Neither require quotes. If Tomcat 4 is supposed to work with IIS, I'll move it to a different directory so that the quote question goes away and try again. Otherwise, I'll go back to Tomcat 3.x Thanks, Rich Katz -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat IIS HowTo - with Tomcat 4?
Also check out http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/index.html -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 -Original Message- From: Turner, John [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 9:01 AM To: 'Tomcat Users List' Subject: RE: Tomcat IIS HowTo - with Tomcat 4? It definitely works. HOWTOs are posted. http://www.getnet.net/~rbarr/TomcatOnIIS/default.htm John -Original Message- From: Richard Katz [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 09, 2002 5:08 PM To: [EMAIL PROTECTED] Subject: Tomcat IIS HowTo - with Tomcat 4? Does this just not work with Tomcat 4.0? I've followed all the steps but I still get a down red arrow instead of an up green one on the IIS MMC for the jakarta filter. Questions - about quotes: Tomcat 4 normally installs in C:\Program Files\Apache Tomcat 4.0 which is where I installed it. Unfprtunately, this offers the registry, the MMC, and the workers.properties numerous opportunities to mis-handle quotes. For instance in the registry: Should there be quotes around log_file value: C:\Program Files\Apache Tomcat 4.0\logs\isapi.log I've tried it both ways - no luck. In MMC: The Virtual directory does not seem to want quotes. It browses correctly when given C:\Program Files\Apache Tomcat 4.0\bin\win32\i386 The filter executable can be specified as C:\Program Files\Apache Tomcat 4.0\bin\win32\i386\isapi_redirect.dll Neither require quotes. If Tomcat 4 is supposed to work with IIS, I'll move it to a different directory so that the quote question goes away and try again. Otherwise, I'll go back to Tomcat 3.x Thanks, Rich Katz -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:tomcat-user- [EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat IIS HowTo - with Tomcat 4?
Does this just not work with Tomcat 4.0? I've followed all the steps but I still get a down red arrow instead of an up green one on the IIS MMC for the jakarta filter. Questions - about quotes: Tomcat 4 normally installs in C:\Program Files\Apache Tomcat 4.0 which is where I installed it. Unfprtunately, this offers the registry, the MMC, and the workers.properties numerous opportunities to mis-handle quotes. For instance in the registry: Should there be quotes around log_file value: C:\Program Files\Apache Tomcat 4.0\logs\isapi.log I've tried it both ways - no luck. In MMC: The Virtual directory does not seem to want quotes. It browses correctly when given C:\Program Files\Apache Tomcat 4.0\bin\win32\i386 The filter executable can be specified as C:\Program Files\Apache Tomcat 4.0\bin\win32\i386\isapi_redirect.dll Neither require quotes. If Tomcat 4 is supposed to work with IIS, I'll move it to a different directory so that the quote question goes away and try again. Otherwise, I'll go back to Tomcat 3.x Thanks, Rich Katz -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat/IIS SSL
Hello, I don't have any experience using SSL, but I have been reading up on it on the web. On the Apache website for Tomcat, it says that if you are using tomcat with another server (I'm using IIS) you should implement SSL in IIS rather than tomcat. I went on the Microsoft site to read up on implementing it on IIS and I couldn't find a simple way to implement a self-signed certificate. Does anyone know of a simple way to implement this? Is it possible to use the java keytool to generate the key and use it in IIS? How would IIS locate this key after it has been created? Fawaz -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
SSL Tomcat/IIS
Can someone using SSL for servlets in Tomcat using IIS 5.0 as their web server please help me out. I have Microsoft Certification Authority installed and everything set up on IIS so that the jakarta web directory requires SSL. When i go to http://localhost it says that you must use https, which is what i expect. however, when i go to https://localhost the page is not displayed (it gives a the page can not be displayed error). Do i need to configure tomcat to use ssl as well before this will work properly? Thank you for your help! Fuz -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Tomcat/IIS, Caching Issue
Hi, Has anyone had any caching problems when IIS sits in-front of TOMCAT? Sincerely, Emran Emran Jafree iManage, Inc. 55 East Monroe, Suite 1740 Chicago, IL 60603 -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]