Welcome to MobyThreads.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Tomcat 4 and Apache

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Related Topics:
Apache+Tomcat+Cocoon - Anyone ever get those 3 release ever work? I got works fine. But I can't get Cocoon to work. All I got when I did is a directory listing. Helps are greatly PS: Its too confusing to..

Apache on Linux and Tomcat in Windows - Hello, my problem is to configure a apache webserver so, that it is using a tomcat servlet engine, that runs on an other machine wihich has windows as its os. Apache by itself runs under linux. Can anyone please help me. I am an newbie in this sector but

tomcat apache integration documentation - Hi, well I couldn't get it to work, the jsp pages were showing up as text on the webpage, so anyway I'm starting from scratch on a test box. I want to make sure I'm using the right from the start though. I was had been using..

apache + tomcat + mod_jk to load jsp pages through apache - I'm to try to get apache, tomcat, and the connector to work so apache passes jsp page requests to tomcat. It still is not but still haven't found the culprit of why this isn't working. My including perhaps

apache not passing jsp requests to tomcat (config looks ok) - Looks like is _but_ when i navgate to execute a jsp page within the JkMount path the apache webserver displays it as text, so it looks like apache is not handing off to mod_jk and the tomcat..
Next:  Apache: Can htaccess include another file?  
Author Message
user2392

External


Since: Jul 24, 2003
Posts: 2



(Msg. 1) Posted: Thu Jul 24, 2003 5:26 pm
Post subject: Tomcat 4 and Apache
Archived from groups: comp>lang>java>programmer, others (more info?)

Hello all.

I worked with Apache and Tomcat 3 for a while but never got around to
Tomcat 4. My question is how do Apache and Tomcat 4 work together? Is
Tomcat 4 a web and app server in one, or maybe Apache has to be configured
to send requests to Tomcat 4?

Thanks,

Eugene.

 >> Stay informed about: Tomcat 4 and Apache 
Back to top
Login to vote
cbroussard

External


Since: Jul 24, 2003
Posts: 2



(Msg. 2) Posted: Thu Jul 24, 2003 5:26 pm
Post subject: Re: Tomcat 4 and Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Well Tomcat 4 you can either run as a stand-a-lone webserver or
integrate it into another webserver(apache, iis, etc) the benefit of
integrating it, get more efficient serving of images/static documents
through say apache( also get more features with apache than you do
with the stand-a-lone ), then for you jsp/servlet requests it is
forwarded on to tomcat. there are instructions on jakartas site that
explains how to do this. try looking for apache-tomcat connector or
mod_jk or jk2 it should be pretty easy to find. however, unless you
have high site traffic just using tomcat 4 should be sufficient, and
easier to work with especially for development (KISS).. tomcat pretty
much has full j2ee features except for ejb container, and jms (i'm
sure i'm missing some missing features). for those you can use jboss
(if you want OS) or a commerical vendor if you like giving $$ away.
(if that's the case I can give you my pobox.Wink )

hope this helps,

chris


Eugene A <lorus77-spam-no-.DeleteThis@nospam.mailandnews.com> wrote in message news:<f58eb6f2127badbd1c2de5b017edf910@TeraNews>...
 > Hello all.
 >
 > I worked with Apache and Tomcat 3 for a while but never got around to
 > Tomcat 4. My question is how do Apache and Tomcat 4 work together? Is
 > Tomcat 4 a web and app server in one, or maybe Apache has to be configured
 > to send requests to Tomcat 4?
 >
 > Thanks,
 >
 > Eugene.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Tomcat 4 and Apache 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 3) Posted: Thu Jul 24, 2003 9:06 pm
Post subject: Re: Tomcat 4 and Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In alt.apache.configuration Eugene A <lorus77-spam-no- DeleteThis @nospam.mailandnews.com> wrote:
 > My question is how do Apache and Tomcat 4 work together?

Tomcat can be used as a WebServer + AppServer or you can leave the
Web Serving to Apache and use the Coyote Connector to comunicate with
Tomcat. Just install and configure the mod_jk.

Davide<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Tomcat 4 and Apache 
Back to top
Login to vote
user2392

External


Since: Jul 24, 2003
Posts: 2



(Msg. 4) Posted: Thu Jul 24, 2003 10:41 pm
Post subject: Re: Tomcat 4 and Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

cbroussard.TakeThisOut@liquiddatainc.com (Chris) wrote in
news:89b6b185.0307241059.6a1679f5@posting.google.com:

 > hope this helps,
 >
 > chris

It does.

Thanks.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Tomcat 4 and Apache 
Back to top
Login to vote
news57

External


Since: Jul 20, 2003
Posts: 3



(Msg. 5) Posted: Thu Jul 24, 2003 11:18 pm
Post subject: Re: Tomcat 4 and Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Eugene A" <lorus77-spam-no- RemoveThis @nospam.mailandnews.com> wrote in message
news:acb57f706237116008e4e5373745a09c@TeraNews...
 > cbroussard RemoveThis @liquiddatainc.com (Chris) wrote in
 > news:89b6b185.0307241059.6a1679f5@posting.google.com:
 >
  > > hope this helps,
  > >
  > > chris
 >
 > It does.
 >
 > Thanks.

One thing I'd like to mention is that IMO tomcat logging sucks. I'm
currently running apache & tomcat with the connector. I had originally
tried running everything on tomcat & it ran fine. They claim a performance
hit if you serve static pages / images / etc on tomcat, but I didn't have a
problem (only moderate traffic on my box). In the end, though, I ended up
going with apache & the connector because I couldn't find anything in tomcat
that came close to providing the info you get in the apache access log.
There was plenty of error & debug logging, but nothing that would let you
know who's hitting your site. If it was there, damned if I could find it.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Tomcat 4 and Apache 
Back to top
Login to vote
cbroussard

External


Since: Jul 24, 2003
Posts: 2



(Msg. 6) Posted: Fri Jul 25, 2003 10:43 am
Post subject: Re: Tomcat 4 and Apache [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

is this what you are looking for?

127.0.0.1 - - [19/Jun/2003:15:37:51 -0600] "GET /test/jsp/ HTTP/1.1"
200 1347
127.0.0.1 - - [19/Jun/2003:15:38:50 -0600] "GET /test/jsp/x.jsp
HTTP/1.1" 500 7675

i grabbed this outta my jboss-tomcat4.1.24 bundle under
default/server/logs

local-access%

i'm pretty sure tomcat has those under tomcat_root/logs directory.
there might be a configuration file to turn it off and on.. not
sure...

chris


"FriscoKid" <news@only> wrote in message news:<SdSdnUzw8fL26r2iXTWQkQ.DeleteThis@giganews.com>...
 > "Eugene A" <lorus77-spam-no-.DeleteThis@nospam.mailandnews.com> wrote in message
 > news:acb57f706237116008e4e5373745a09c@TeraNews...
  > > cbroussard.DeleteThis@liquiddatainc.com (Chris) wrote in
  > > news:89b6b185.0307241059.6a1679f5@posting.google.com:
  > >
   > > > hope this helps,
   > > >
   > > > chris
  > >
  > > It does.
  > >
  > > Thanks.
 >
 > One thing I'd like to mention is that IMO tomcat logging sucks. I'm
 > currently running apache & tomcat with the connector. I had originally
 > tried running everything on tomcat & it ran fine. They claim a performance
 > hit if you serve static pages / images / etc on tomcat, but I didn't have a
 > problem (only moderate traffic on my box). In the end, though, I ended up
 > going with apache & the connector because I couldn't find anything in tomcat
 > that came close to providing the info you get in the apache access log.
 > There was plenty of error & debug logging, but nothing that would let you
 > know who's hitting your site. If it was there, damned if I could find it.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Tomcat 4 and Apache 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]