Re: mod_webapp with apache 2.0
Hi... Would you be so kind as to send the makefile you used. I don't really understand how the whole compile process here works. From what I can see, running make (the one generated by configure) only runs apxs... Thanks in advance. Regards, John I believe the makefile is wrong. I had to look at the output of the make command and find a command near the end that was run in the base/apache-2.0 dir that was linking mod_webapp.la. I then copies that command, added the -shared flag and changed the output to mod_webapp.so. This worked for me with apache 2.0.32 but not 2.0.28. - Original Message - From: John Chan [EMAIL PROTECTED] To: Tomcat [EMAIL PROTECTED] Sent: Friday, March 01, 2002 4:27 PM Subject: mod_webapp with apache 2.0 Hi, I'm trying to build webapp on Red Hat 7.2 to use with Apache 2.0. All the documentation refers to the output being a .so file but I don't get one. I get a .o .la .slo and a .lo (which is pointing to the .o file). I took a look at the make file, and it doesn't make any mention of .so. I also tried a couple different versions of libtool (shot in the dark) but no go. Not being very knowledgeable in this matter, is there a problem or is this the expected output. Thanks. John -- 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: mod_webapp with apache 2.0
Your right about the makefile. I guess what I said before wasn't exactly so. What I ment was that the output of the make command didn't link it shared. What I actually did to fix it was copy the last libtool opperation from the output to the command line, edit it, and rerun it. Here is exactly what I do to build mod_webapp.so. If this doesn't work, contact me directly and I'll send you my binary. tar -xvzf ./webapp-module-1.0.2-tc402-src.tar.gz cd webapp-module-1.0.2-tc402/ ./support/buildconf.sh ./configure --with-apxs=/usr/local/apache2/bin/apxs make This produces some output that I examine for the line which I copy and past and edit to get the .so file. cd apache-2.0/ I copy the following from the output: /usr/local/apache2/build/libtool --silent --mode=link gcc -o mod_webapp.la -rpath /usr/local/apache2/modules -module -avoid-version -I../include -L../lib -lwebapp mod_webapp.lo And edit it like so to produce the last command. The changes I made were after the gcc, I added -shared and changed the name of the output file after -o from mod_webapp.la to mod_webapp.so /usr/local/apache2/build/libtool --silent --mode=link gcc -shared -o mod_webapp.so -rpath /usr/local/apache2/modules -module -avoid-version -I../include -L../lib -lwebapp mod_webapp.lo That is all I had to do... But it did not work with apache 2.0.28. It only worked with apache 2.0.32 Cavan Morris - Original Message - From: John Chan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 04, 2002 10:41 AM Subject: Re: mod_webapp with apache 2.0 Hi... Would you be so kind as to send the makefile you used. I don't really understand how the whole compile process here works. From what I can see, running make (the one generated by configure) only runs apxs... Thanks in advance. Regards, John I believe the makefile is wrong. I had to look at the output of the make command and find a command near the end that was run in the base/apache-2.0 dir that was linking mod_webapp.la. I then copies that command, added the -shared flag and changed the output to mod_webapp.so. This worked for me with apache 2.0.32 but not 2.0.28. - Original Message - From: John Chan [EMAIL PROTECTED] To: Tomcat [EMAIL PROTECTED] Sent: Friday, March 01, 2002 4:27 PM Subject: mod_webapp with apache 2.0 Hi, I'm trying to build webapp on Red Hat 7.2 to use with Apache 2.0. All the documentation refers to the output being a .so file but I don't get one. I get a .o .la .slo and a .lo (which is pointing to the .o file). I took a look at the make file, and it doesn't make any mention of .so. I also tried a couple different versions of libtool (shot in the dark) but no go. Not being very knowledgeable in this matter, is there a problem or is this the expected output. Thanks. John -- 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]
mod_webapp with apache 2.0
Hi, I'm trying to build webapp on Red Hat 7.2 to use with Apache 2.0. All the documentation refers to the output being a .so file but I don't get one. I get a .o .la .slo and a .lo (which is pointing to the .o file). I took a look at the make file, and it doesn't make any mention of .so. I also tried a couple different versions of libtool (shot in the dark) but no go. Not being very knowledgeable in this matter, is there a problem or is this the expected output. Thanks. John -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: mod_webapp with apache 2.0
I believe the makefile is wrong. I had to look at the output of the make command and find a command near the end that was run in the base/apache-2.0 dir that was linking mod_webapp.la. I then copies that command, added the -shared flag and changed the output to mod_webapp.so. This worked for me with apache 2.0.32 but not 2.0.28. - Original Message - From: John Chan [EMAIL PROTECTED] To: Tomcat [EMAIL PROTECTED] Sent: Friday, March 01, 2002 4:27 PM Subject: mod_webapp with apache 2.0 Hi, I'm trying to build webapp on Red Hat 7.2 to use with Apache 2.0. All the documentation refers to the output being a .so file but I don't get one. I get a .o .la .slo and a .lo (which is pointing to the .o file). I took a look at the make file, and it doesn't make any mention of .so. I also tried a couple different versions of libtool (shot in the dark) but no go. Not being very knowledgeable in this matter, is there a problem or is this the expected output. Thanks. John -- 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]
Anyone built mod_webapp for Apache 2.0?
I've been trying to build mod_webapp for apache 2.0 and have been completely unsuccessful. I'm just about ready to give up, but I know there are people out there who have done it. So if there's anyone out there who has built mod_webapp.so for apache 2.0 on a Redhat like system could you please just email it to me at [EMAIL PROTECTED] Thanks a lot. -Cavan P.S. I'm serious. I just need that file. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Problems with mod_webapp and Apache 2.0
Hi folks. This is not really Apache 2.0 related - I suspect it would do the same on 1.3. So, here is my situation. I have Tomcat 4.01 binary, mod_webapp 20011126 snapshot and Apache 2.0.28 Tomcat standalone works. Apache 2.0.28 standalone works (although in prefork MPM mode, if that matters). I have a virtual host defined under Tomcat and I'm trying to connect Apache 2.0.28 on another machine to Tomcat via WARP. The virtual host on Tomcat works as standalone. This is my Tomcat's server.xml (just the virtual host bit): --- Host name=Mercury.ev.co.yu debug=0 appBase=/usr/users/mercury/webapps unpackWARs=true Valve className=org.apache.catalina.valves.AccessLogValve directory=logs prefix=mercury_access_log. suffix=.txt pattern=common/ Logger className=org.apache.catalina.logger.FileLogger directory=logs prefix=mercury_log. suffix=.txt timestamp=true/ DefaultContext cookies=true reloadable=true/ Context docBase=/usr/local/java/tomcat-4.01/webapps/manager path=/manager debug=0 privileged=true/ Context docBase=/usr/local/java/tomcat-4.01/webapps/tomcat-docs path=/docs / !-- Context docBase=addr_book path=/addr_book debug=0/ -- !-- Context docBase=addr_admin path=/addr_admin/ debug=0/ -- /Host This is my Apache config entry: --- IfModule mod_webapp.c ServerName Legba.ev.co.yu:80 WebAppConnectionTomcat40warpMercury.ev.co.yu:8008 # WebAppDeploy addr_book Tomcat40/webapp/addr_book # WebAppDeploy addr_admin Tomcat40/webapp/addr_admin WebAppDeployexamplesTomcat40/webapp/examples /IfModule --- The deployment of any of these contexts fails and Tomcat's log reads: - 2001-11-27 18:00:56 [org.apache.catalina.connector.warp.WarpConfigurationHandler] java.lang.IllegalArgumentException: addChild: Child name 'legba.ev.co.yu' is not unique at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java, Compiled Code) at org.apache.catalina.core.StandardEngine.addChild(StandardEngine.java, Compiled Code) at org.apache.catalina.connector.warp.WarpConfigurationHandler.deploy(WarpConfigurationHandler.ja va, Compiled Code) at org.apache.catalina.connector.warp.WarpConfigurationHandler.handle(WarpConfigurationHandler.ja va, Compiled Code) at org.apache.catalina.connector.warp.WarpConnection.run(WarpConnection.java, Compiled Code) at java.lang.Thread.run(Thread.java:484) 2001-11-27 18:00:56 [org.apache.catalina.connector.warp.WarpConfigurationHandler] Error deploying web app lication examples under http://Legba.ev.co.yu:80/webapp/examples/ What does this mean? Child name is not unique? Does anyone have a comprehensive doc on deploying with virtualhosts? Nix. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
mod_webapp with Apache 2.0
I was just perusing the jakarta-tomcat-connectors tree and found plenty about building with Apache 1.3 but no mention of 2.0 -- is there a separate tree for it or something? cheers, -Ian -- Ian Kallen [EMAIL PROTECTED] | AIM: iankallen
Re: mod_webapp with Apache 2.0
Ian Kallen [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: I was just perusing the jakarta-tomcat-connectors tree and found plenty about building with Apache 1.3 but no mention of 2.0 -- is there a separate tree for it or something? Sorry, but mod_webapp has not yet been written for 2.0 :) :) Pier