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: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

_________________________________________________________________
See what people are saying about Windows Live.  Check out featured posts.
http://www.windowslive.com/connect?ocid=TXT_TAGLM_WL_connect2_082008

Reply via email to