Thk you all for help me in this, you guys have been great help
thks,
Paul
Quoting "Chauhan, Anand" <[EMAIL PROTECTED]>:
> I am glad to hear that you got it workin' .. way to go buddy.. all the
> best..
>
> -----Original Message-----
> From: Paul Tan [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 06, 2001 11:12 PM
> To: Chauhan, Anand
> Subject: Re: Apache and Tomcat on different boxes
>
>
> Hey hey hey!!!!!!!!!! I got it started and connected to a separate
> machine!!
> Seems that apache must not be compiled statically.
> Now i see a 404 error and it's some url problem with tomcat.....will
> edit
> the server.xml file to try later....
>
>
> Thks,
> Paul
>
> ----- Original Message -----
> From: "Chauhan, Anand" <[EMAIL PROTECTED]>
> To: "Paul Tan" <[EMAIL PROTECTED]>
> Sent: Thursday, June 07, 2001 10:33 AM
> Subject: RE: Apache and Tomcat on different boxes
>
>
> >
> >
> > >I get the following error when i start apache
> > my conf in httpd.conf
> > .......
> >
> > LoadModule jk_module libexec/mod_jk.so
> > JkMount /embrace remotetomcat
> > JkWorkersFile /usr/local/apache/conf/workers.properties
> > JkLogFile /usr/local/apache/logs/mod_jk.log
> > JkLogLevel error
> > ........
> >
> > 1) Do not include the mod_jk file in the http.conf file.
> > 2) Include the worker handler "remotetomcat" in the worker.list.
> >
> > Better still you could attach the two files http.conf and
> worker.properties and I could check it for you in case you have any
> problems.
> >
> > Hope it helps,
> > -Andy
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: "Chauhan, Anand" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, June 07, 2001 8:53 AM
> > Subject: FW: Apache and Tomcat on different boxes
> >
> >
> > > Hi Paul,
> > >
> > > My thing worked just following the message attached below. All the
> best
> > and let me know in case you have any problems. Have a nice nite.
> > >
> > > Regards,
> > > -Andy
> > >
> > > -----Original Message-----
> > > From: Jason Koeninger [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, June 06, 2001 12:21 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: Apache and Tomcat on different boxes
> > >
> > >
> > > The workers.properties file should be on the Apache machine. The
> > > problem you're running into is that the documentation usually
> assumes
> > > Tomcat and Apache are on the same machine, and it's leading you
> > > to believe that workers.properties has something to do with
> Tomcat.
> > > workers.properties is only relevant to mod_jk running on Apache,
> not
> > > to Tomcat. If you need the example file provided with Tomcat, just
> copy
> > > it over to the Apache machine from a distribution of Tomcat and
> point
> > > JkWorkersFile to the right place on the local file system.
> > >
> > > And yes, it does work. I've run several development and
> production
> > > systems this way.
> > >
> > > Best Regards,
> > >
> > > Jason Koeninger
> > > J&J Computer Consulting
> > > http://www.jjcc.com
> > >
> > > On Wed, 6 Jun 2001 11:23:07 -0400, Chauhan, Anand wrote:
> > >
> > > >The idea seems great. But how would you access the
> worker.properties
> file
> > on the remote machine. Or is it that, as suggested, you would be
> "creating"
> > a worker.properties file in the conf/worker.properties
> > > >
> > > >Did the idea work for you ? Let me know. Thanks.
> > > >
> > > >-Andy
> > > >
> > > >-----Original Message-----
> > > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > > >Sent: Wednesday, June 06, 2001 10:10 AM
> > > >To: Jason Koeninger
> > > >Cc: [EMAIL PROTECTED]
> > > >Subject: Re: Apache and Tomcat on different boxes
> > > >
> > > >
> > > >Thks for replying,
> > > >
> > > > So if i understand you correctly, i have to
> create
> > > >a "workers.properties" file in my apache conf dir and have mod_jk
> look
> > for it
> > > >there?
> > > >
> > > >eg.
> > > >httpd.conf contains
> > > >
> > > >LoadModule jk_module libexec/mod_jk.so
> > > >AddModule mod_jk.c
> > > >
> > > >JkMount /someurl remotetomcat
> > > >
> > > >and
> > > >
> > > >workers.properties file in apache/conf contains:
> > > >
> > > >worker.remotetomcat.type=ajp13
> > > >worker.remotetomcat.port=8009
> > > >worker.remotetomcat.host=www.x.com
> > > >worker.remotetomcat.cachesize=30
> > > >
> > > > Is that all i have to do?
> > > >
> > > >Thks a Million,
> > > >Paul
> > > >
> > > >
> > > >
> > > >Quoting Jason Koeninger <[EMAIL PROTECTED]>:
> > > >
> > > >> The ip address or hostname of the Tomcat machine is stored
> > > >> in the workers.properties file referenced by your mod_jk setup.
> > > >> I've also seen some sort of url version of the JkMount command,
> > > >> but I've never used it myself and don't know if it works or
> what
> > > >> versions it works on.
> > > >>
> > > >> Best Regards,
> > > >>
> > > >> Jason Koeninger
> > > >> J&J Computer Consulting
> > > >> http://www.jjcc.com
> > > >>
> > > >> On Wed, 6 Jun 2001 18:29:49 +0800, Paul Tan wrote:
> > > >>
> > > >> >Hi all,
> > > >> >
> > > >> > I tried searching to mailing list b4 posting here.
> Anyway,
> > > >> what must i put into apache's "http.conf" for
> > > >> mod_jk.so to enable a connection to a separate machine
> containing
> > tomcat
> > > >> 3.2.2?
> > > >> >
> > > >> > Placing both the Web Server and App server into
> 1
> > > >> machine is rather well documented. But I can't seem
> > > >> to find any for separate machines.
> > > >> >Can someone show me where to fish? or would someone gimme a
> fish?
> > > >> >
> > > >> >Thks,
> > > >> >Paul
> > > >> >
> > > >>
> > > >>
> > > >>
> > >
> >
>