Dewayne McNair wrote:
>
> 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.
Hi,
This is correct, there is not much in
org.apache.tomcat.startup.EmbededTomcat, and that's why I didn't do
anything for connectors when I rewrote the EmbeddedTomcat service. You
can probably take code from org.apache.tomcat.startup.Tomcat though.
> 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?
Chances are good if you only use jdk1.1 code (post on
[EMAIL PROTECTED]). However tomcat 3.2 has already reached
final stage, so I don't know how soon a new release could be.
Sebastien
> Thanks,
>
> Dewayne
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]