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]

Reply via email to