Make sure that you first stop both the tomcat and the httpd servers. Then, first start the tomcat server and then start the httpd server. Hope this helps!
-----Original Message----- From: David Bishop [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 1:24 PM To: Tomcat Users List Subject: Re: Web-application not yet deployed -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Any ideas on this? Please help! On Tuesday 25 June 2002 10:13 am, David Bishop wrote: > I am using 4.0.4. I was going to try going back to 4.0.1, as per your > suggestion, however it doesn't seem to be available from the web > (http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/ just has back > to 4.0.3). I *don't* get Segfaults in apache, though. Here's a snippet of > it's log: > > Mon Jun 24 18:23:54 2002] [error] Re-Trying to deploy connections > [Mon Jun 24 18:23:54 2002] [error] Connection "webappConn" cannot connect > [Mon Jun 24 18:23:54 2002] [error] Cannot open connection "webappConn" > [Mon Jun 24 18:23:54 2002] [error] Web-application not yet deployed > > I did get Sig11's for a little while, IIRC, it had to do with not linking > to -lglibc_s. Anything else I should try? > > On Monday 24 June 2002 10:04 pm, Keith Pemberton wrote: > > What version of tomcat 4 are you using? 4.0.3 or 4.0.4? I am another > > person on this list have had problems with Apache 1.3.xx and tomcat4.0.3 > > producing the same error messages under RedHat. The solution that we > > came up with is to go back to the 4.0.1 series and that has worked just > > fine for /examples/. The default page, though, for me some of the images > > are garbled, which I don't know what is up with that. Look at your > > error_log page for apache "tail -f /path/to/apache/logs/error_log" and > > see if you get a bunch of Segmentation Fault errors when you try to > > access /examples/. Hope this helps! > > > > Keith > > > > -----Original Message----- > > From: David Bishop [mailto:[EMAIL PROTECTED]] > > Sent: Monday, June 24, 2002 5:58 PM > > To: [EMAIL PROTECTED] > > Subject: Web-application not yet deployed > > > > > > I'm getting 4.0 up and running (well, upgrading from 3.2) and after two > > days straight of downloading various things and tweaking others, I think > > I'm almost there. It's the almost that's the kicker :-) > > > > I have tomcat running fine, standalone, on port 8080. I have apache > > running fine on 80. I am using j2se 1.4, on solaris 7. Apache 1.3.26 > > (two birds with one stone). I have a self-compiled mod_webapp, though I > > had to manually > > add -lgcc_s to that makefile to get that working. My server.xml is based > > off > > of the server-noexamples.xml.config, with very few modifications. The > > following is in my httpd.conf: > > WebAppConnection webappConn warp pedh12.micron.com:8009 > > WebAppDeploy examples webappConn /examples > > > > The following is the only section that I have made changes to in the > > 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"/> > > <Engine className="org.apache.catalina.connector.warp.WarpEngine" > > name="Apache" defaultHost="pedh12.micron.com" debug="0" > > appBase="webapps"> > > <Logger className="org.apache.catalina.logger.FileLogger" > > prefix="apache_log." suffix=".txt" > > timestamp="true"/> > > <Realm className="org.apache.catalina.realm.MemoryRealm" /> > > <Host name="localhost" debug="0" appBase="webapps" > > unpackWARs="true"> > > <Context path="/examples" > > docBase="webapps/examples" > > crossContext="false" > > debug="0" > > reloadable="false" > > > </Context> > > </Host> > > </Engine> > > </Service> > > > > That bit is the only part that is "black magic" to me. I have *no* idea > > if I'm supposed to be putting the host and context tags as children to > > the Tomcat-Apache service tag. Basically, I guessed and added things > > until it started. And, it works in standalone mode (i.e., > > pedh12:8080/examples works). However, when I try to goto > > pedh12/examples, well, examples returns "no such directory, etc", while > > /examples/ returns the > > "Web-application not yet deployed, 404" message. Whew. That took a > > while > > > > :-) Any ideas? This is starting to get painful.... > > > > Thanks, and have a great day! - -- D.A.Bishop "Three people can take efficient care of a unix system as long as two of them are dead" - Unknown HP-UX mailing list member -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9Gga/14eKrYdPXKkRAhwYAJ921a55rkHMKvgQvm1N+oBGEGvP3QCghIlg ecTE6RyDKHh5Pxgcb9iD4Gs= =NNVT -----END PGP SIGNATURE----- -- 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]>
