Bugs item #795969, was opened at 2003-08-27 06:26 Message generated for change (Settings changed) made by starksm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=795969&group_id=22866
Category: JBossServer Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Werner Ramaekers (wernerramaekers) >Assigned to: Scott M Stark (starksm) Summary: ServiceBindingManager doesn't handle JkCoyoteHandler Initial Comment: The ServiceBindingManager does not handle the port conversion for the JkCoyoteHandler correctly, it uses the new port but converts the JkCoyoteHandler into a Http11Protocol handler. This makes the ServiceBindingManager configuration unreachable using the JK2 connector. JBoss version used : jboss-3.2.2RC3 OS : RedHat 9 JDK : Sun JDK 1.4.2 The bug can be recreated as follows : 1. copy the $JBOSS_HOME/server/default to $JBOSS_HOME/server/ports_01 2. edit the $JBOSS_HOME/server/ports_01/conf/jboss-service.xml so that it uses the ServiceBindingManager with the ports_01 configuration 3. start JBoss using: ./run.sh -c ports_01 in $JBOSS_HOME/bin in the server.log you will find server.log:2003-08-27 15:09:43,131 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on port 8109 REMARK: When running JBoss in its default configuration (./run.sh) the JkCoyoteHandler is correctly made available on port 8009 as shown in the server.log for the default configuration : server.log:2003-08-27 14:32:45,128 DEBUG [org.apache.jk.server.JkCoyoteHandler] setProperty port 8009 ---------------------------------------------------------------------- Comment By: Werner Ramaekers (wernerramaekers) Date: 2003-08-28 00:59 Message: Logged In: YES user_id=510647 The solution to the problem is to make the following change in the $JBOSS_HOME/docs/examples/binding/sample-bindings.xml replace : <xsl:template match="Connector [EMAIL PROTECTED]'org.apache.coyote.tomcat4.CoyoteConnector'] [EMAIL PROTECTED]'8009']"> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="{$portAJP}" /> </xsl:template> by : <xsl:template match="Connector [EMAIL PROTECTED]'org.apache.coyote.tomcat4.CoyoteConnector'] [EMAIL PROTECTED]'8009']"> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="{$portAJP}" protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" /> </xsl:template> ----------------------------------------------- Werner Ramaekers - http://www.werner.be ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=795969&group_id=22866 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development