-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

What config in httpd.conf?  What, exactly, do you put in there, that makes it 
"automatically" see web applications like /examples?  And I don't care about 
https, it's all internal stuff anyways :-)

On Wednesday 26 June 2002 09:01 am, Eddie Bush wrote:
> I am a novice, but I have used mod_webapp from the get-go.  You have  a
> more thorough server.xml file than do I.  I make use of the config in
> httpd.conf and then don't even specify hosts in the server.xml file.  I'm
> not quite sure this is the 'best approach' - but it seems to work fine.  I
> say that ... I can't seem to get it to redirect http to https and vice
> versa, but other than that it seems to do fine =)  My next thing to try is
> to actually put hosts in though - and see if I can redirect that way.  I'm
> running RedHat Linux 7.2/Apache 1.3.22/Tomcat 4.0.3.
>
> HTH,
>
> Eddie
>
> David Bishop wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Didn't help.  I should point out that I've used tomcat 3.2 for about a
> > year, so I'm *somewhat* familiar with how it works.  It's just the new
> > mod_webapp stuff (vs. mod-jk.conf) that's confusing me/not working
> > correctly.  Is there *nothing* that I should have to do, besides that
> > snippet from my server.xml, to "deploy" a web-app, so as to make it
> > available through mod_webapp?
> >
> > On Wednesday 26 June 2002 01:11 pm, Keith Pemberton wrote:
> > > 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
> > >
> > >
> > >
> > > 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)
> >
> > iD8DBQE9GhSn14eKrYdPXKkRAgCqAJ4n7pETHOD3vNvrsHi/YyLtzpY8kACgp230
> > 8ek2kh1ieKVC5hW0pyfxHLk=
> > =//ND
> > -----END PGP SIGNATURE-----
> >
> > --
> > To unsubscribe, e-mail:  
> > <mailto:[EMAIL PROTECTED]> For additional
> > commands, e-mail: <mailto:[EMAIL PROTECTED]>

- -- 
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)

iD8DBQE9Gh7l14eKrYdPXKkRAgGJAJ0WIEdGR75e39ts6URxoUGmZJJw4wCfbxRU
aNX6YDozFfPK3lqoeedLisA=
=6E4W
-----END PGP SIGNATURE-----


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to