tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vasanth Kumar ravi" <josvasa...@gmail.com>
Subject Re: Issue in connecting to tomcat via Apache
Date Fri, 29 Aug 2008 02:07:17 GMT
Martin,
I m trying to access the folder /examples on the localhost which is actualy
hosted in the TOMCAT.

http://localhost/examples .

The tomcat is running on port 8080 and the httpd is running on 8000.
When I access the same folder using the port like
http://localhost:8080/examples is successful.

I tried the two options on worker properties like

JkMount  /examples/* worker1
JkMount  /   worker1

But both of them did not fwd the request to tomcat via the httpd.
There are no pointers in the log files of jk/httpd/tomcat etc..

Thanks.
Thanks.
On Fri, Aug 29, 2008 at 10:01 AM, Martin Gainty <mgainty@hotmail.com> wrote:

>
> dont forget jsp mapping in httpd.conf
> JkMount /*.jsp worker1
>
> Martin
> ______________________________________________
> Disclaimer and confidentiality note
> Everything in this e-mail and any attachments relates to the official
> business of Sender. This transmission is of a confidential nature and Sender
> does not endorse distribution to any party other than intended recipient.
> Sender does not necessarily endorse content contained within this
> transmission.
>
>
> > Date: Thu, 28 Aug 2008 21:34:07 -0400
> > From: lprikockis@vecna.com
> > To: users@tomcat.apache.org
> > Subject: Re: Issue in connecting to tomcat via Apache
> >
> > You don't specify exactly what you mean by "it fails", but assuming
> > you're saying that requests to Apache aren't getting passed along to
> > Tomcat, your answer is right here:
> > (from httpd.conf)
> >
> > # Send everything for context /examples to worker named worker1 (ajp13)
> > #JkMount  /examples/* worker1
> >
> > if you want everything to go to Tomcat, add a line like:
> >
> > JkMount  /   worker1
> >
> > and you're all set.
> >
> > If you want just a certain portion of the url namespace to get passed
> > along to Tomcat, you could use some thing like the commented out
> > example.  In that case:  http://yourserver/index.html would be served by
> > Apache httpd, but http://yourserver/examples/someexample.jsp would be
> > served by Tomcat.
> >
> >
> > Vasanth Kumar ravi wrote:
> > > Hi,
> > > I am using the mod_jk to connect the apache webserver and the tomcat
> > > server.
> > > Though I am able to access them individually, when I try to access the
> > > tomcat via the apache webserver, it fails.
> > >
> > > I used the examples given the apache site to configure the
> > > workers.properties and the httpd.conf files.
> > >
> > > Apache :2.2.8
> > > Tomcat :6.0.16
> > > jdk :1.5.014 from Sun
> > > OS : Suse Linux..
> > >
> > > --
> > > Regards&Thanks,
> > > Vasanth Kumar Ravi
> > >
> ------------------------------------------------------------------------
> > >
> > > ---------------------------------------------------------------------
> > > To start a new topic, e-mail: users@tomcat.apache.org
> > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > > For additional commands, e-mail: users-help@tomcat.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail: users-help@tomcat.apache.org
> >
>
> _________________________________________________________________
> See what people are saying about Windows Live.  Check out featured posts.
> http://www.windowslive.com/connect?ocid=TXT_TAGLM_WL_connect2_082008




-- 
Regards&Thanks,
Vasanth Kumar Ravi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message