tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Heath Stewart" <>
Subject Re: Using jsp / servlets for main web site?
Date Mon, 01 Oct 2001 16:51:32 GMT
Out of the box, huh? I untar'ed tomcat (already have jdk 1.3.1 and jsse
1.0.2 installed) and got that setup and tested it - no problems. I untar'ed
cocoon2 (latest) and did:

./ --Dinclude.webapps.libs=yes -Dinstall.war=$CATALINA_HOME/webapps

This worked okay. I restarted tomcat and got the message I posted before.
Did I do everything right?

I also used to connect apache and tomcat. It almost works (it
connects, that is). The examples warpconnection reports that it isn't
deployed yet (even though I followed INSTALL.txt) but the cocoon connection
I made using the .war file starts sending everything but xml files as octet
streams. XML files is just returns the error in xhtml form (though not
proper xhtml) - the same error as before. So, it's actually doing something,
just not the right way.

Should cocoon let regular HTML and PHP files be parsed by / sent from the
server as normal and only try to parse xml files? If not, I'll have to
unmount cocoon from apache's document root (/) and put it somewhere else
(like /xml or something).


Heath Stewart
Systems Administrator / Developer
----- Original Message -----
From: "David Smith" <>
To: <>
Sent: Monday, October 01, 2001 10:43 AM
Subject: Re: Using jsp / servlets for main web site?

> Is this on the default install of Cocoon2 (no edits, mods, etc, ...)??  If
> so, I got it to run straight "out of the box" with out a problem.  I'm
> RC1 at the moment with TC4, Apache 1.3.19, and under
> 8.  Presently in a development environment until I can learn enough about
> sitemap.xmap files to be dangerous, but still....
> I've seen your error message before, but am having trouble remembering
> was done to fix it.  Try doing a search on Google for your exact error
> message and see what you get.
> On connecting Apache and Tomcat, you have two options -- and
> is the older implementation and very stable for
> production use.  Should be easily findable on one the Jakarta website.
> is a very new package and I'm not really sure about it's
> release status at the moment.  Pier Fumagalli is one of the major people
> working on that project and I haven't seen much of any posts from him in a
> while.  Last I knew there were one or two major bugs still in need of
> resolution before 1.0 release.
> Good luck!  --David Smith
> On Monday 01 October 2001 10:05 am, you wrote:
> > I've been running apache for years and want to move to an xml-based
> > operation. I found cocoon sported the best features (without having to
> > to IIS - God help us). I got Jakarta / Tomcat installed and running fine
> > but cocoon2 always bombs out saying, "The sitemap handler's sitemap is
> > available..." but there is a sitemap file in the /cocoon/ URI.
> >
> > Anyway, my real question is whether or not jsp and servlets (namely,
> > cocoon) can be served / used on port 80 (instead of 8080) while running
> > working apache server? Is this what is for? I say it in the
> > archives as a replacement for the depricated, which I've
> > with little to no problem in the past.
> >
> > Any comments would be appreciated and if anyone got cocoon working
> > (especially as part of the main site running apache), please let me
> > I'm a newbie to tomcat but not servlets nor apache so be brutal with the
> > tech-talk. TIA
> >
> > Heath Stewart
> > Systems Administrator / Developer
> > EsotericRealm
> >

View raw message