You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark Prins <Ma...@caris.nl> on 2002/06/27 16:38:02 UTC

RE: TC 4.1.3: JK2 connector dies? cant get isapi_redirector to t alkto tomcat

I'm not sure I understand, but in my server.xml the connector is specified
as listening to 8009, so how's that?

    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
redirectPort="8443" bufferSize="2048" port="8009" connectionTimeout="20000"
scheme="http" enableLookups="true" secure="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler" debug="1"
proxyPort="0" minProcessors="10" maxProcessors="50" tcpNoDelay="true"
acceptCount="25" useURIValidationHack="false">
      <Factory
className="org.apache.catalina.net.DefaultServerSocketFactory"/>
    </Connector>

What should be in my jk2.properties?


Everything works OK when I replace the above connector with :
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009"
minProcessors="5" maxProcessors="75" acceptCount="10" debug="0" />

Apart from an exception that is thrown concerning the Mbean:
Bootstrap: Create Catalina server
Bootstrap: Starting service
ServerLifecycleListener: createMBeans: MBeanException
java.lang.Exception: ManagedBean is not found with Ajp13Connector
	at
org.apache.catalina.mbeans.MBeanUtils.createMBean(MBeanUtils.java:224)
	at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListener.java:314)
	at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListener.java:644)
	at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListener.java:618)
	at
org.apache.catalina.mbeans.ServerLifecycleListener.createMBeans(ServerLifecy
cleListener.java:284)
	at
org.apache.catalina.mbeans.ServerLifecycleListener.lifecycleEvent(ServerLife
cycleListener.java:184)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:166)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2179)
	at
org.apache.catalina.startup.CatalinaService.start(CatalinaService.java:256)
	at java.lang.reflect.Method.invoke(Native Method)
	at
org.apache.catalina.startup.BootstrapService.start(BootstrapService.java:219
)
	at
org.apache.catalina.startup.BootstrapService.main(BootstrapService.java:279)
Starting service Tomcat-Standalone
Apache Tomcat/4.1.3
Bootstrap: Service started


Mark

> -----Original Message-----
> From: Ignacio J. Ortega [mailto:nacho@siapi.es]
> Sent: Thursday, June 27, 2002 4:14 PM
> Subject: RE: TC 4.1.3: JK2 connector dies? cant get 
> isapi_redirector to
> t alkto tomcat
> 
> 
> 4.1.3 uses 8019 as ajp13 port, so you need to change your
> worker.properties to match, jk2.properties.. ( it's not a typo it's
> jk2.properties at conf :)
> 
> Saludos ,
> Ignacio J. Ortega
> 
> 
> > -----Mensaje original-----