build new mod_webapp
hi ml, i have never build anything i´ve downloaded from a cvs. but i need the newest mod_webapp to connect apache 1.3.22 with tomcat 4.0.1. I hope there are some bugs fixed. I have downloaded the following files from jakarta cvs server: Makefile.in Makefile.win mod_webapp.c I use win2000Prof. what do i need to build the file??? do i need a C-Compiler (if yes which one do you prefare?) need anything else ??? sorry for this dummy- questions :-) i am happy about any tips! Thanks for any suggestions. Lars. Lars Gentz Katharinenweg 21 27751 Delmenhorst Fon: (0 42 21) 97 39 73 D2-Fu: (01 72) 8 64 56 67 http://www.larsgentz.de mailto:[EMAIL PROTECTED] !!! please don´t attach files with suffix .bat .vbs .exe .cmd ... please use .zip or .rar instead!!! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
AW: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics
hi, i would like to help you... and i have ms Visual studio... but wich files do i need to build the mod_webapp.so for win??? i have the same problems:-( i have never worked with source code... i have downloaded the following files: Makefile.in Makefile.win mod_webapp.c when starting mod_webapp.c in ms Visual studio and i click on compile i get an error: Include file could not be found fatal error: c1083 httpd.h where can i find the httpd.h file??? wich file do i need else??? thanx lars. -Ursprungliche Nachricht- Von: Brian Adams [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 29. Januar 2002 04:52 An: Tomcat Users List Betreff: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics yep, wich I could help but I don't have MS Visual Studio. CAN SOMEONE HELP PLEASE? (not shouting just getting attention) :) We need mod_webapp.so for Windows and it has to be newer than the download we can already get. Has someone built it from CVS? Thanks for the help folks, B good luck dennis! In the mean time you should be able to run tomcat as a stand alone server (port 8080) and get some work done. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 9:19 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics bigb, I tried TC 4.0.2-b2, but the same thing happened. Looks like I could use an already-built mod_webapp.c (or whatever else I might need for this version, if someone could provide it), as I'm not up to doing that yet. Thanks. Dennis -Original Message- From: Dennis.Johnson [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 6:31 PM To: bigb; tomcat-user Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics Thanks. Will get right on it... -Original Message- From: bigb [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 6:30 PM To: tomcat-user Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics try just tomcat 4.0.2-2b (does not matter zip exe) by its self and see if it fixes it. I am not sure if it is the warp.jar or if the bug was in mod_webapp.so. I would try the new tomcat alone and see. if not you'll have to download the mod_webapp.c and build it or ask some one to give you theirs. let us know what you find. maybe I will bump up to 4.0.2-2b B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 8:23 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics bigb, Thanks for the reply. Just to clarify... You're suggesting that I install Tomcat 4.0.2-2b from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2-b2/bin/, correct? If so, is there a preference between the exe and zip? Also, I noticed that there's no /bin/win32 with a mod_webapp to download for this version. Do I just keep the webapp-module-1.0-tc40-windows versions of mod_webapp.so and libapr.dll that came with TC 4.0.1? Please advise. Thanks. Dennis -Original Message- From: bigb [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 6:05 PM To: tomcat-user Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics bug in Warp connector. If you need to use webapp then maybe download 4.0.2b and try that. I know folks checked it out of cvs a month ago and it worked. good luck, B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 7:56 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics Running the following: - NT 4 Server - Apache 1.3.22 + Tomcat 4.0.1 using mod_webapp - Both Apache and Tomcat starting as NT services - Both Apache and Tomcat work great independently Two issues: (1) Have to Restart Apache after bootup: - Apache won't recognize Tomcat's area (e.g., /examples/) unless I restart Apache after bootup. Is there a way to have Tomcat start before Apache, or is there another solution? (2) Server hangs when loading Tomcat graphics from Apache: - When accessing a web page that's in the Tomcat area from Apache, if the page has graphics, it hangs. For example, using the following (my NT machine's DNS = sawebd01): http://sawebd01/examples/jsp/ - The text for the page loads right away, but it hangs trying to download the 3 image gif's. When I press Stop and then Refresh (IE 5.5), I get the following error: WebApp: Error 500, (File: pr_warp.c Line: 438), Invalid packet 16. After Stop, Back, and then try to load the /examples/jsp/index.html URL again, the 1st graphic (gears, for Execute the example) is loaded, but it hangs trying to load the 2nd graphic. If I Stop and try to click one of the example Execute links, I get the 500 error again. On the other hand, clicking Source brings up the next page with the link for the source (e.g., Source code for numguess
AW: change root directory
hi, you can change the standard welcome file by changing/ adding the following lines in the tomcat web.xml in TOMCAT HOME/conf/web.xml welcome-file-list welcome-fileindex.html/welcome-file welcome-fileindex.htm/welcome-file welcome-fileindex.jsp/welcome-file /welcome-file-list hope this helps you ... Lars. -Ursprungliche Nachricht- Von: Andreas Panagiotidis [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 29. Januar 2002 13:50 An: [EMAIL PROTECTED] Betreff: change root directory hello, I have installed tomcat standalone, and i have it to listen to my default port 80. but I want to change my welcome page. Instead of showing index.html that comes with tomcat, I want to show another directory. My purpose is to make /cocoon that default page for my localhost:80/ Thank you for your help ,andreas -- 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]
AW: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics
thnx for tips.. i will try a little... perhaps it works in a few hour´s day´s ... Lars. -Ursprüngliche Nachricht- Von: Brian Adams [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 29. Januar 2002 15:02 An: 'Tomcat Users List' Betreff: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics I wish I could tell you how but I don't know. I know you need to get webapp source from jakarta-tomcat-connectors cvs. and I know you have to get apr source from the apr cvs module. but then I have no clue on how to build it in Windows. I read about export a Makfile and run NMAKE.exe on it Sorry, B -Original Message- From: lars_ake_gentz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 5:28 AM To: Tomcat Users List; [EMAIL PROTECTED] Subject: AW: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics hi, i would like to help you... and i have ms Visual studio... but wich files do i need to build the mod_webapp.so for win??? i have the same problems:-( i have never worked with source code... i have downloaded the following files: Makefile.in Makefile.win mod_webapp.c when starting mod_webapp.c in ms Visual studio and i click on compile i get an error: Include file could not be found fatal error: c1083 httpd.h where can i find the httpd.h file??? wich file do i need else??? thanx lars. -Ursprungliche Nachricht- Von: Brian Adams [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 29. Januar 2002 04:52 An: Tomcat Users List Betreff: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics yep, wich I could help but I don't have MS Visual Studio. CAN SOMEONE HELP PLEASE? (not shouting just getting attention) :) We need mod_webapp.so for Windows and it has to be newer than the download we can already get. Has someone built it from CVS? Thanks for the help folks, B good luck dennis! In the mean time you should be able to run tomcat as a stand alone server (port 8080) and get some work done. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 9:19 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics bigb, I tried TC 4.0.2-b2, but the same thing happened. Looks like I could use an already-built mod_webapp.c (or whatever else I might need for this version, if someone could provide it), as I'm not up to doing that yet. Thanks. Dennis -Original Message- From: Dennis.Johnson [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 6:31 PM To: bigb; tomcat-user Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics Thanks. Will get right on it... -Original Message- From: bigb [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 6:30 PM To: tomcat-user Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics try just tomcat 4.0.2-2b (does not matter zip exe) by its self and see if it fixes it. I am not sure if it is the warp.jar or if the bug was in mod_webapp.so. I would try the new tomcat alone and see. if not you'll have to download the mod_webapp.c and build it or ask some one to give you theirs. let us know what you find. maybe I will bump up to 4.0.2-2b B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 8:23 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics bigb, Thanks for the reply. Just to clarify... You're suggesting that I install Tomcat 4.0.2-2b from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.2-b2/bin/, correct? If so, is there a preference between the exe and zip? Also, I noticed that there's no /bin/win32 with a mod_webapp to download for this version. Do I just keep the webapp-module-1.0-tc40-windows versions of mod_webapp.so and libapr.dll that came with TC 4.0.1? Please advise. Thanks. Dennis -Original Message- From: bigb [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 6:05 PM To: tomcat-user Subject: RE: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics bug in Warp connector. If you need to use webapp then maybe download 4.0.2b and try that. I know folks checked it out of cvs a month ago and it worked. good luck, B -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 28, 2002 7:56 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Ap 1.3.22+TC 4.0.1+NT4+webapp=Hangs loading graphics Running the following: - NT 4 Server - Apache 1.3.22 + Tomcat 4.0.1 using mod_webapp - Both Apache and Tomcat starting as NT services - Both Apache and Tomcat work great independently Two issues: (1) Have to Restart Apache after bootup: - Apache won't recognize Tomcat's area (e.g., /examples/) unless I restart Apache after bootup. Is there a way to have Tomcat start before Apache, or is there another solution? (2) Server hangs when loading Tomcat graphics from Apache
AW: Connecting Apache to Tomcat
hi, i have no defaultHost Parameter in my config everything else ist the same - so i have no more idea - Sorry... Are you sure that apache ist running correctly??? try http://yourApacheServer there must be a standard site: apacheWebServer is running... perhaps you have to look for the file/folder permissions for the /examples folder hope this helps you a little... Lars. Engine className=org.apache.catalina.connector.warp.WarpEngine name=Apache debug=0 appBase=webapps -Ursprungliche Nachricht- Von: Cleber Hostalacio de Melo [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 29. Januar 2002 16:45 An: [EMAIL PROTECTED] Betreff: Connecting Apache to Tomcat Hi, I have conectiva linux 7.0 (kernel 2.4.5), apache 1.3.19 and Tomacat 4.0.1 Tomcat are working well with the url: http://Myserv:tomcat_port/examples/jsp/index.html But when I try to access this application from Apache with the URL: http://Myserv/examples/jsp/index.html I receive the message in my browser: Forbidden You don't have permission to access /examples/jsp/index.html on this server. The corresponding entries in the Apache logs are: httpd/logs/access.log: GET /examples/jsp/index.html HTTP/1.0 403 301 httpd/logs/error.log: [error] [client xxx.xxx.xxx.x] (2)No such file or directory: cannot read directory for multi: /examples/jsp/ There is no entry in the Tomcat logs which looks like that Apache is not even trying to connect to Tomcat. My configuration files are: httpd.com . ServerName myServer ServerType standalone ServerRoot /etc/httpd .. LoadModule LoadModule webapp_module libexec/mod_webapp-1.0-eapi.so .. AddModule AddModule mod_webapp.c .. DocumentRoot /home/myDocs .. WebAppConnection Tomcat_Apache warp localhost:8008 WebAppDeploy examples Tomcat_Apache /examples/ server.xml . 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=myServer debug=0 appBase=webapps . /Engine /Service Anyone has any idea what could be the problem? Thanks. -- 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]