There isn't much involved in getting ajp12 running - just put the
appropriate statements in workers.properties and in server.xml, like so:

workers.properties:

worker.ajp12.port=8007
worker.ajp12.host=localhost
worker.ajp12.type=ajp12

server.xml:

        <Connector className="org.apache.tomcat.service.PoolTcpConnector">
            <Parameter name="handler"
       value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
            <Parameter name="port" value="8007"/>
        </Connector>

ajp13 is similar.  BTW, the above is defined by default - should already be
there if you have a stock Tomcat install.

Depending on which connector you are using (mod_jk or mod_jserv), you also
need to include the appropriate include statement in httpd.conf so that the
workers get created on the apache side.

----- Original Message -----
From: William Keller <[EMAIL PROTECTED]>
To: JBoss-User <[EMAIL PROTECTED]>
Sent: Wednesday, March 07, 2001 6:37 PM
Subject: Re: [jBoss-User] Ajp Connector with Embedded Tomcat


> Thanks fof the reply,
>     Well the problem is just that I cannot get it to start. The only
reason
> I need it is to retro fit Jboss+Tomcat into our current environment -
which
> is been setup for fail over, using Squid+Apache as the gateway to all
> servlet requests. The only connector that starts, is the HttpConnector
> (which is kind of expected!). Recentdevelopments have led me to abandon
the
> Jboss+Tomcat in our test environment, as we have encountered some JVM
> Siganll 11's (On a Sparc Solaris 2.8 Quad CPU box). Unfortunaley, I cannot
> use the Jboss 2.1 beta, as our operations guys see the word 'beta' as
being
> very dirty!
>
> Thanks for all your help
>
>
>
>
>
> ----- Original Message -----
> From: "David Castro Diephouse" <[EMAIL PROTECTED]>
> To: "JBoss-User" <[EMAIL PROTECTED]>
> Sent: Thursday, March 08, 2001 1:10 AM
> Subject: Re: [jBoss-User] Ajp Connector with Embedded Tomcat
>
>
> > Dont know Ajp, but if it is something that you set up in server.xml you
> may
> > need
> > to run with 2.1 beta (since server.xml is not used in 2.0).
> >
> > What problems are you running in to?
> >
> > William Keller wrote:
> >
> > > Greets,
> > >
> > >     I was after a little bit of guidance in order to get the Ajp12
> > connector
> > > running under JBoss+Tomcat. I'm using the final versions of each
(Tomcat
> > > 3.2.1 and JBoss 2.0 Final) and although everything works perfectly
(with
> > the
> > > inVM optimisations), I can't seem to start the Ajp connector. The
reason
> > why
> > > I require this, is for fitting it in within our Apache environment.
> > Putting
> > > it bluntly, is it possible? Or am I flogging a dead horse ? I've tried
> the
> > > documentation, but haven't been able to find much - although I was led
> to
> > > believe it was possible when I saw
> > > http://www.jboss.org/newsite/business/jboss-tomcat.html.
> > >
> > > Thanks in advance, and apologies in case I missed something obvious!
> > >
> > > William Keller
> > > Java Developer,
> > > Level 1 Wharf 12 Pyrmont NSW 2009
> > > Email: [EMAIL PROTECTED]
> > > Tel: +61 2 9004 5441
> > > Fax: +61 2 9004 5401
> > >
> > > --
> > > --------------------------------------------------------------
> > > To subscribe:        [EMAIL PROTECTED]
> > > To unsubscribe:      [EMAIL PROTECTED]
> >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > This message (including any attachments) contains confidential,
> proprietary
> > or privileged information intended for a specific purpose and
> individual(s),
> > and is protected by law.  If you receive this message in error, please
> > immediately delete it and all copies of it from your system, destroy any
> > hard copies of it and notify the sender.  Any unauthorized disclosure,
> > copying or distribution of any part of this message, or the taking of
any
> > unauthorized action based on it, is strictly prohibited.
> >
> >
> > --
> > --------------------------------------------------------------
> > To subscribe:        [EMAIL PROTECTED]
> > To unsubscribe:      [EMAIL PROTECTED]
>
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
>
>



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]

Reply via email to