RE: tomcat4.0.1 + apache (mod_webapp)?
Hi Walter, That seem's to be a quiet common problem. I've solved the problem as described below under 3) and heard from several others, that it worked for them as well. Regards Falko 1) Simply follow the instructions of the webapp install.txt, which says: Copy mod_webapp.so and libapr.dll file into \modules 2) Once you have done that, edit your httpd.conf configuration file and add LoadModule webapp_module libexec/mod_webapp.so AddModule mod_webapp.c preferably under the other LoadModule lines (which are commented out). 3)Then I faced a problem, that Apache could not recognize the host, so I had to wrap the WebApp Connection and Deployment into a virtual host. I enabled the ServerName directive (somewhere in the middle) and added at the very end of the httpd.conf: VirtualHost localhost ServerName falkomobil.local ErrorLog logs/servl-error_log CustomLog logs/servl-access_log common Deployment und Mapping von WebApps WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples ## /VirtualHost It works as well, if you set the ServerName to localhost. 4) My server.xml entry for Tomcat looks like (the last entry in that file) !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaulthost=localhost debug=0 appBase=webapps !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service 5) Then starting the Tomcat and after that(!) the Apache, I could call localhost\examples\jsp and run the examples. -Original Message- From: Walter Krivanek [mailto:[EMAIL PROTECTED]] Sent: Montag, 26. November 2001 18:38 To: Tomcat Users List Subject: tomcat4.0.1 + apache (mod_webapp)? hi! I,ve got one question: I've installed mod_webapp.so (apache 1.3.14, tomcat 4.0.1, windows 2000/mac os X) and added the following lines to httpd.conf (as described in install.txt): WebAppConnection warpConnection warp localhost:8008 WebAppDeploy examples warpConnection /examples I'm always getting the error message Invalid virtual host name when I want to start apache. But there are no virtual hosts configured. I went trough all release notes and documentations but didn't find anything about it. Can someone help me? Thank you very much! Walter -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE(MIKE) : I don't understand ....
Hello Mike, Think I remember, that you were running Apache and Tomcat both as services. Did you manage to start Apache depending on having Tomcat started? Falko -Original Message- From: Mike Kelley [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 21. November 2001 06:27 To: [EMAIL PROTECTED] Subject: I don't understand I finally got Apache and TC to play nice on win 2000 BUT They act like siblings I start my machine and localhost doesn't work right, I restart TC (which now has apache dependant upon TC running as a service)so after both services restart I hit localhost/examples/jsp/ The page loads but the images don't load If I go to any of the examples they may or may not load, if they page doesn't load I hit reload and the page loads correctly ??? I go back to localhost/examples/jsp/index.html and all the images still don't load (one of them usally loads but not the other two ...) If I restart the apache service (again!) and go to localhost/examples/jsp/index.html everything loads fine ... ??? From this point on all examples work too Here are the error logs for apache As I said I don't understand snip [Tue Nov 20 21:54:01 2001] [error] Connection conn cannot connect [Tue Nov 20 21:54:02 2001] [error] Cannot open connection conn [Tue Nov 20 21:58:56 2001] [error] Cannot shutdown conn [Tue Nov 20 21:58:56 2001] [error] Cannot receive handshake WARP packet [Tue Nov 20 21:58:56 2001] [error] Cannot shutdown conn [Tue Nov 20 21:59:46 2001] [error] Cannot shutdown conn [Tue Nov 20 21:59:46 2001] [error] Connection conn cannot connect [Tue Nov 20 21:59:46 2001] [error] Cannot open connection conn [Tue Nov 20 22:00:07 2001] [error] Cannot shutdown conn [Tue Nov 20 22:02:34 2001] [error] forcing termination of child #0 (handle 524) [Tue Nov 20 22:03:00 2001] [error] Cannot shutdown conn [Tue Nov 20 22:05:36 2001] [error] forcing termination of child #0 (handle 536) [Tue Nov 20 22:05:44 2001] [error] Connection conn cannot connect [Tue Nov 20 22:05:44 2001] [error] Cannot open connection conn snip Help??? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: jaas login module integration with tomcat
Hi Davis, Just an idea: Couldn't it be possible to point to the config-file by setting the System.Property dynamically in your Login-modules class by: System.setProperty(java.security.auth.login.config,jaas.conf) or System.setProperty(java.security.auth.login.config,URL_path\jaas.conf). Falko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Davis Sent: Donnerstag, 22. November 2001 08:25 To: [EMAIL PROTECTED] Subject: jaas login module integration with tomcat Hi All. Right now, I am facing one problem integrating my jaas login module to servlet or JSP using tomcat. I don't find a way to configure the jaas.config file into the server so that the loginContext can find the login module to instantiate from the config file. We can specify this for application using -D option( -Djava.security.auth.login.config==jaas.config ). Any one did this before ?.. Can you please share with me. Any help in this regard is highly appreciated. Warm regards Davis. [EMAIL PROTECTED] wrote: Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. I'm working for my owner, who can be reached at [EMAIL PROTECTED] Acknowledgment: I have added the address [EMAIL PROTECTED] to the tomcat-user mailing list. Welcome to [EMAIL PROTECTED]! Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription address. --- Administrative commands for the tomcat-user list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: [EMAIL PROTECTED] To remove your address from the list, send a message to: [EMAIL PROTECTED] Send mail to the following for info and FAQ for this list: [EMAIL PROTECTED] [EMAIL PROTECTED] Similar addresses exist for the digest list: [EMAIL PROTECTED] [EMAIL PROTECTED] To get messages 123 through 145 (a maximum of 100 per request), mail: [EMAIL PROTECTED] To get an index with subject and author for messages 123-456 , mail: [EMAIL PROTECTED] They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: [EMAIL PROTECTED] The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example [EMAIL PROTECTED], just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription for this address, mail: [EMAIL PROTECTED] In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: [EMAIL PROTECTED] Received: (qmail 25872 invoked from network); 22 Nov 2001 03:31:31 - Received: from daedalus.apache.org (HELO apache.org) (64.125.133.20) by nagoya.betaversion.org with SMTP; 22 Nov 2001 03:31:31 - Received: (qmail 43067 invoked by uid 500); 22 Nov 2001 03:31:22 - Delivered-To: apmail-jakarta-tomcat-user-sc.1006399806.cjfllaacmmnfaefmeggg-davis=elixirte [EMAIL PROTECTED] Received: (qmail 43062 invoked from network); 22 Nov 2001 03:31:22 - Received: from smtp1.cwasia.net.sg (202.79.64.27) by daedalus.apache.org with SMTP; 22 Nov 2001 03:31:22 - Received: from elixirtech.com ([202.79.93.131]) by smtp1.cwasia.net.sg (8.9.3/8.9.1) with SMTP id LAA07064 for tomcat-user-sc.1006399806.cjfllaacmmnfaefmeggg-davis=elixirtech.com@jakarta .apache.org; Thu, 22 Nov 2001 11:31:30 +0800 (SGT) Sender: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Date: Thu, 22 Nov 2001 12:24:26 +0800 From: Davis [EMAIL PROTECTED] X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: tomcat-user-sc.1006399806.cjfllaacmmnfaefmeggg-davis=elixirtech.com@jakarta. apache.org Subject: Re: confirm subscribe to [EMAIL PROTECTED] References: [EMAIL PROTECTED] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N [EMAIL PROTECTED] wrote: Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. I'm working for my owner, who can be reached at [EMAIL PROTECTED] To confirm that you would like [EMAIL PROTECTED] added to the tomcat-user mailing list, please send an empty reply to this address:
RE: Apache 1.3.22 Tomcat 4.0.1-- Connector issue
I have just finished connecting Apache 1.3.20 and Tomcat 4.0.1 in a w2k environment on several systems. Please send the error messages you get, so I might be able to help you. Falko Braun -Original Message- From: Prasad Kallimath [mailto:[EMAIL PROTECTED]] Sent: Montag, 19. November 2001 20:42 To: [EMAIL PROTECTED] Subject: Apache 1.3.22 Tomcat 4.0.1-- Connector issue Hi, Just wondering if anybody had success in tying Tomcat4 with Apache. I tried looking at the archive, but could not get any helpful info. I am very much new to this field. I tried to install Apache and Tomcat on my Windows 2K Adv Server. After I installed, both apache and tomcat are working fine stand alone. I thought of tying them together so that all my JSP and Servlets are served thro Apache. I have set up Apache Tomcat as windows services and they start on booting. I am facing a problem with the Webconnector. I followed the steps mentioned in the INSTALL.txt in the Mod_Webapp package. Really appreciate any insight in this regard, Here is the error log [Sun Nov 18 18:46:46 2001] [error] Connection conn cannot connect [Sun Nov 18 18:46:46 2001] [error] Cannot open connection conn [Sun Nov 18 19:01:19 2001] [error] Web-application not yet deployed [Sun Nov 18 19:24:32 2001] [error] Connection conn cannot connect [Sun Nov 18 19:24:32 2001] [error] Cannot open connection conn [Sun Nov 18 19:25:59 2001] [error] Web-application not yet deployed [Sun Nov 18 19:27:37 2001] [error] Web-application not yet deployed [Sun Nov 18 19:27:41 2001] [error] Web-application not yet deployed [Sun Nov 18 19:28:14 2001] [error] Web-application not yet deployed [Sun Nov 18 19:28:24 2001] [error] Web-application not yet deployed [Sun Nov 18 19:28:35 2001] [error] Web-application not yet deployed Thanks, Prasad __ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Invalid virtual host name on WebAppDeploy
I did the same configurations like mentioned below. But I get: Invalid virtual host name for the following line in httpd.conf: WebAppDeploy examples conn /examples But I did not configure any Virtual Host. -Original Message- From: Lin, Zhongwu [mailto:[EMAIL PROTECTED]] Sent: Freitag, 16. November 2001 04:41 To: 'Tomcat Users List' Subject: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp for window NT I can't make Apache 1.3 Tomcat 4 w/ mod_webApp to work. This is what I do(follow install guide): 1) copy mod_webapp.so and libapr.dll to directory apache install dir \modules 2)edit httpd.conf like this ServerName localhost LoadModule webapp_module modules/mod_webapp.so WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples 3) my tomcat 4 has server.xml like this: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=localhost debug=0 appBase=webapps !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service 4) start tomcat 4 and then apache, I can see apache home on port 80 and tomcat home on port 8080 like this http://localhost/ http://localhost:8080 http://localhost:8080/examples but the following http://localhost/examples give me error of page not found any idea why any help would be greatly appreciated John -Original Message- From: David Smith [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 4:04 PM To: Tomcat Users List Subject: Re: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp I'm guessing you changed the port for the Connector statement in the Tomcat-Apache service of server.xml to 9090? If so, that's correct. If not, try using 8008 instead. The second WebAppConnection line isn't needed unless it's connecting to a different machine and/or port. The way your config is below, there should only be one with both WebAppDeploy lines referencing it. This might be the source of your error. Good luck and hope this helps some. --David Smith On Thursday 15 November 2001 12:09 pm, you wrote: FreeBSD, Tomcat 4, Apache 1.3.19 Here's my config; Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/ WebAppConnection tomcat4 warp localhost:9090 WebAppDeploy myapp tomcat4 /myapp WebAppConnection conn warp localhost:9090 WebAppDeploy examples conn /examples Here's the result from the apache error log; [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 Might this be an error with compiling? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
RE: Invalid virtual host name on WebAppDeploy
Hi Roman, I tried that before like ServerName localhost but it didn't change the error. I'm afraid there is another bug in my .conf, although I didn't change much. If you wouldn't mind, I'd like to ask you, if you can mail me your httpd.conf for comparison. Thanks Falko [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roman Schlueter Sent: Freitag, 16. November 2001 11:24 To: Tomcat Users List Subject: Re: Invalid virtual host name on WebAppDeploy Hello Falko, 'Invalid virtual host name' was also a problem in my configuration. The solution is to enable and assign 'ServerName' in httpd.conf. Regards Roman Falko Braun wrote: I did the same configurations like mentioned below. But I get: Invalid virtual host name for the following line in httpd.conf: WebAppDeploy examples conn /examples But I did not configure any Virtual Host. -Original Message- From: Lin, Zhongwu [mailto:[EMAIL PROTECTED]] Sent: Freitag, 16. November 2001 04:41 To: 'Tomcat Users List' Subject: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp for window NT I can't make Apache 1.3 Tomcat 4 w/ mod_webApp to work. This is what I do(follow install guide): 1) copy mod_webapp.so and libapr.dll to directory apache install dir \modules 2)edit httpd.conf like this ServerName localhost LoadModule webapp_module modules/mod_webapp.so WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples 3) my tomcat 4 has server.xml like this: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=localhost debug=0 appBase=webapps !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service 4) start tomcat 4 and then apache, I can see apache home on port 80 and tomcat home on port 8080 like this http://localhost/ http://localhost:8080 http://localhost:8080/examples but the following http://localhost/examples give me error of page not found any idea why any help would be greatly appreciated John -Original Message- From: David Smith [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 4:04 PM To: Tomcat Users List Subject: Re: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp I'm guessing you changed the port for the Connector statement in the Tomcat-Apache service of server.xml to 9090? If so, that's correct. If not, try using 8008 instead. The second WebAppConnection line isn't needed unless it's connecting to a different machine and/or port. The way your config is below, there should only be one with both WebAppDeploy lines referencing it. This might be the source of your error. Good luck and hope this helps some. --David Smith On Thursday 15 November 2001 12:09 pm, you wrote: FreeBSD, Tomcat 4, Apache 1.3.19 Here's my config; Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/ WebAppConnection tomcat4 warp localhost:9090 WebAppDeploy myapp tomcat4 /myapp WebAppConnection conn warp localhost:9090 WebAppDeploy examples conn /examples Here's the result from the apache error log; [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 Might this be an error with compiling? -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL
Solved! RE: Invalid virtual host name on WebAppDeploy
FYI: I manged to bind Tomcat4.0 to Apache on Win2k by adding the following lines in httpd.conf: LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c and at the very end (which was the important point) of the file #Virtual Host VirtualHost * ServerName localhost ErrorLog logs/error_log CustomLog logs/access_log common WebAppConnection warpconn warp localhost:8008 WebAppDeploy examples warpconn /examples/ WebAppInfo /web-inf /VirtualHost -Original Message- From: Falko Braun [mailto:[EMAIL PROTECTED]] Sent: Freitag, 16. November 2001 11:37 To: Tomcat Users List Subject: RE: Invalid virtual host name on WebAppDeploy Hi Roman, I tried that before like ServerName localhost but it didn't change the error. I'm afraid there is another bug in my .conf, although I didn't change much. If you wouldn't mind, I'd like to ask you, if you can mail me your httpd.conf for comparison. Thanks Falko [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Roman Schlueter Sent: Freitag, 16. November 2001 11:24 To: Tomcat Users List Subject: Re: Invalid virtual host name on WebAppDeploy Hello Falko, 'Invalid virtual host name' was also a problem in my configuration. The solution is to enable and assign 'ServerName' in httpd.conf. Regards Roman Falko Braun wrote: I did the same configurations like mentioned below. But I get: Invalid virtual host name for the following line in httpd.conf: WebAppDeploy examples conn /examples But I did not configure any Virtual Host. -Original Message- From: Lin, Zhongwu [mailto:[EMAIL PROTECTED]] Sent: Freitag, 16. November 2001 04:41 To: 'Tomcat Users List' Subject: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp for window NT I can't make Apache 1.3 Tomcat 4 w/ mod_webApp to work. This is what I do(follow install guide): 1) copy mod_webapp.so and libapr.dll to directory apache install dir \modules 2)edit httpd.conf like this ServerName localhost LoadModule webapp_module modules/mod_webapp.so WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples 3) my tomcat 4 has server.xml like this: !-- Define an Apache-Connector Service -- Service name=Tomcat-Apache Connector className=org.apache.catalina.connector.warp.WarpConnector port=8008 minProcessors=5 maxProcessors=75 enableLookups=true acceptCount=10 debug=0/ !-- Replace localhost with what your Apache ServerName is set to -- Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache defaultHost=localhost debug=0 appBase=webapps !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=apache_log. suffix=.txt timestamp=true/ !-- Because this Realm is here, an instance will be shared globally -- Realm className=org.apache.catalina.realm.MemoryRealm / /Engine /Service 4) start tomcat 4 and then apache, I can see apache home on port 80 and tomcat home on port 8080 like this http://localhost/ http://localhost:8080 http://localhost:8080/examples but the following http://localhost/examples give me error of page not found any idea why any help would be greatly appreciated John -Original Message- From: David Smith [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 4:04 PM To: Tomcat Users List Subject: Re: Trouble connecting Apache 1.3 Tomcat 4 w/ mod_webApp I'm guessing you changed the port for the Connector statement in the Tomcat-Apache service of server.xml to 9090? If so, that's correct. If not, try using 8008 instead. The second WebAppConnection line isn't needed unless it's connecting to a different machine and/or port. The way your config is below, there should only be one with both WebAppDeploy lines referencing it. This might be the source of your error. Good luck and hope this helps some. --David Smith On Thursday 15 November 2001 12:09 pm, you wrote: FreeBSD, Tomcat 4, Apache 1.3.19 Here's my config; Alias /myapp /usr/local/jakarta-tomcat-4.0/webapps/myapp/ WebAppConnection tomcat4 warp localhost:9090 WebAppDeploy myapp tomcat4 /myapp WebAppConnection conn warp localhost:9090 WebAppDeploy examples conn /examples Here's the result from the apache error log; [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001] [error] Cannot read packet (pr_warp_config.c:139) [Thu Nov 15 10:40:00 2001] [error] Cannot configure connection tomcat4 [Thu Nov 15 10:40:00 2001] [error] Cannot receive handshake WARP packet [Thu Nov 15 10:40:00 2001
Need info to combine Tomcat/Apache
Hi, I've just installed Apache and Tomcat 4.0.1, but I can't find any documentation on how to use Tomcat as the servlet container for Apache. Does anybody know an URL. Falko Braun -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
a call to win2k user
From checking entries in the archive I got the impression, that there might be some odd in combining Tomcat4 with Apache 1.3.x. Is there anybody who made it it successful with the mod_webapps.so? I have found some notes, that with Win2k I should return to the mod_jk.dll. Is that really the truth? I can't belive it. Currently I get Invalid virtual host name for just the line WebAppDeploy examples conn /examples in the httpd.conf of Apache the whole part looks like LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c WebAppConnection conn warp localhost:8008 WebAppDeploy examples conn /examples WebAppDeploy jsp conn /jsp WebAppInfo /webapp-info and Tomcat starts as Tomcat-Apache service. Anyone there, who has succeeded in that? Falko -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]