I may get to it tomorrow -- I'll let you know if/when I get it working.  Two
changes will need to be made:  (a) one to
org.apache.tomcat.startup.EmbededTomcat.java to add a public method for
adding generic connectors (an easy refactoring of one of the existing
addEndpoint methods) and (b) one to
org.jboss.tomcat.EmbeddedTomcatService.java to parse out the appropriate
connector statements in server.xml.

What's the chances of getting the change to
org.apache.tomcat.startup.EmbededTomcat.java accepted by the Apache folks?

-- Dewayne

----- Original Message -----
From: "Roberto Leong" <[EMAIL PROTECTED]>
To: "jBoss" <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 6:50 AM
Subject: Re: [jBoss-User] Apache+EmbeddedTomcat (revisited)


hi

give me a couple days and i´ll look into it, unless of course you´ve done it
in your computer if so send me the changes and I´ll add them to the module

regards
Roberto


----- Original Message -----
From: "Dewayne McNair" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 11:24 PM
Subject: [jBoss-User] Apache+EmbeddedTomcat (revisited)


> I spent some time last night digging through the source code to both
> org.jboss.tomcat.EmbeddedTomcatService.java and
> org.apache.tomcat.startup.EmbededTomcat.java.
>
> I believe the reason why Apache won't talk to the embedded Tomcat instance
> is because the <Connector ...> items in server.xml are never parsed and
> used.  This means the Ajp12 and Ajp13 connectors are never created (which
is
> how Apache talks to Tomcat, right?).  There doesn't appear to be an
> appropriate method in EmbededTomcat to even allow this.  But, it could
> easily be added -- I think I've got it down to a 5 line refactor that
would
> add the functionality needed.
>
> Before I go any further with this, though, I'd like to get input on (1) is
> this something that someone else has already done and (2) what are the
> chances of getting the modification rolled back into the official
> distribution?
>
> Thanks,
>
> Dewayne
>
>
>
>
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]
>



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]





--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to