4.1.3 Beta mod_jk2 ALMOST working
Title: 4.1.3 Beta mod_jk2 ALMOST working Hi there I'm trying Apache 2.0.39 and Tomcat 4.1.3 Beta on a Win2K machine with mod_jk2 nightly binary. I'm doing all my configuration through workers2.properties (copied from jtc-src in the 4.1.3 download). My Coyote JK2 connector is on the default port 8009 and Apache2 is on port 9000. It's almost working (I think). I can start Apache with no errors. My Apache2 error log registers: [warn] workerEnv.init() ok C:/Dev/Apache2/conf/workers2.properties [warn] mod_jk child init 1 -1 which seems good. I can then browse localhost:9000/jkstatus and see a JK2 status page. However, if I try to browse localhost:9000/examples (I have [uri:/examples/*] set up) then I get 500 error from Apache. The log shows: [warn] service.init() Can't find child in scoreboard 2208 [error] channelSocket.connect() connect failed dlportaldevsys1:8009 61 Unknown error [error] ajp13.connect() failed ajp13:dlportaldevsys1:8009 [error] ajp13.service() failed to connect endpoint errno=61 Unknown error [warn] ajp13.done() close endpoint ajp13:dlportaldevsys1:8009 error_state 1 [error] mod_jk.handler() Error connecting to tomcat 21000 The first line doesn't seem too serious, but line two's connect failed...61 Unknown error is puzzling. I definitely have a connector configured on 8009, and I believe I've set the right className and protocolHandlerClassName attributes as well (see shortened version below). Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler useURIValidationHack=false Factory className=org.apache.catalina.net.DefaultServerSocketFactory/ /Connector Does anyone know what Error 61 is? Any help would be most appreciated. This is the closest I've come to getting Apache2/Tomcat4/mod_jk to work on Win2K. I suspect perhaps my jk2.properties file is incorrect. By default channelSocket.port=8019 is there, changing to 8009 gives me different errors, namely Bad file descriptor, BAD MESSAGE etc. Thanks apologies for the long, code-ridden mail Rory Douglas Sun Chemical Corporation (201) 224-4600 x133 [EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: 4.1.3 Beta mod_jk2 ALMOST working
According to this thread, there seems to be a problem with mod_jk and the latest apache (2.0.39): http://mailman.real-time.com/pipermail/tomcat-users/2002-June/069534.html John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Douglas, Rory [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 12:11 PM To: Tomcat Users List (E-mail) Subject: 4.1.3 Beta mod_jk2 ALMOST working Hi there I'm trying Apache 2.0.39 and Tomcat 4.1.3 Beta on a Win2K machine with mod_jk2 nightly binary. I'm doing all my configuration through workers2.properties (copied from jtc-src in the 4.1.3 download). My Coyote JK2 connector is on the default port 8009 and Apache2 is on port 9000. It's almost working (I think). I can start Apache with no errors. My Apache2 error log registers: [warn] workerEnv.init() ok C:/Dev/Apache2/conf/workers2.properties [warn] mod_jk child init 1 -1 which seems good. I can then browse localhost:9000/jkstatus and see a JK2 status page. However, if I try to browse localhost:9000/examples (I have [uri:/examples/*] set up) then I get 500 error from Apache. The log shows: [warn] service.init() Can't find child in scoreboard 2208 [error] channelSocket.connect() connect failed dlportaldevsys1:8009 61 Unknown error [error] ajp13.connect() failed ajp13:dlportaldevsys1:8009 [error] ajp13.service() failed to connect endpoint errno=61 Unknown error [warn] ajp13.done() close endpoint ajp13:dlportaldevsys1:8009 error_state 1 [error] mod_jk.handler() Error connecting to tomcat 21000 The first line doesn't seem too serious, but line two's connect failed...61 Unknown error is puzzling. I definitely have a connector configured on 8009, and I believe I've set the right className and protocolHandlerClassName attributes as well (see shortened version below). Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler useURIValidationHack=false Factory className=org.apache.catalina.net.DefaultServerSocketFactory/ /Connector Does anyone know what Error 61 is? Any help would be most appreciated. This is the closest I've come to getting Apache2/Tomcat4/mod_jk to work on Win2K. I suspect perhaps my jk2.properties file is incorrect. By default channelSocket.port=8019 is there, changing to 8009 gives me different errors, namely Bad file descriptor, BAD MESSAGE etc. Thanks apologies for the long, code-ridden mail Rory Douglas Sun Chemical Corporation (201) 224-4600 x133 [EMAIL PROTECTED]
Re[2]: 4.1.3 Beta mod_jk2 ALMOST working
Hello John, That isn't an issue anymore. The nightly binaries were rebuilt. However, that only includes mod_jk2, not mod_jk. The fact that Rory got Apache running at all means he was using a binary compatible with Apache 2.0.39. Now if someone can provide a configuration example for how mod_jk2 works! Jake Friday, June 21, 2002, 11:48:59 AM, you wrote: TJ According to this thread, there seems to be a problem with mod_jk and the TJ latest apache (2.0.39): TJ http://mailman.real-time.com/pipermail/tomcat-users/2002-June/069534.html TJ John Turner TJ [EMAIL PROTECTED] TJ http://www.aas.com TJ -Original Message- TJ From: Douglas, Rory [mailto:[EMAIL PROTECTED]] TJ Sent: Friday, June 21, 2002 12:11 PM TJ To: Tomcat Users List (E-mail) TJ Subject: 4.1.3 Beta mod_jk2 ALMOST working TJ Hi there TJ I'm trying Apache 2.0.39 and Tomcat 4.1.3 Beta on a Win2K machine with TJ mod_jk2 nightly binary. TJ I'm doing all my configuration through workers2.properties (copied from TJ jtc-src in the 4.1.3 download). My Coyote JK2 connector is on the default TJ port 8009 and Apache2 is on port 9000. TJ It's almost working (I think). I can start Apache with no errors. My TJ Apache2 error log registers: TJ [warn] workerEnv.init() ok C:/Dev/Apache2/conf/workers2.properties TJ [warn] mod_jk child init 1 -1 TJ which seems good. I can then browse localhost:9000/jkstatus and see a JK2 TJ status page. TJ However, if I try to browse localhost:9000/examples (I have TJ [uri:/examples/*] set up) then I get 500 error from Apache. The log shows: TJ [warn] service.init() Can't find child in scoreboard 2208 TJ [error] channelSocket.connect() connect failed dlportaldevsys1:8009 61 TJ Unknown error TJ [error] ajp13.connect() failed ajp13:dlportaldevsys1:8009 TJ [error] ajp13.service() failed to connect endpoint errno=61 Unknown error TJ [warn] ajp13.done() close endpoint ajp13:dlportaldevsys1:8009 error_state TJ 1 TJ [error] mod_jk.handler() Error connecting to tomcat 21000 TJ The first line doesn't seem too serious, but line two's connect failed...61 TJ Unknown error is puzzling. I definitely have a connector configured on TJ 8009, and I believe I've set the right className and TJ protocolHandlerClassName attributes as well (see shortened version below). TJ Connector className=org.apache.coyote.tomcat4.CoyoteConnector TJ port=8009 TJ protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler TJ useURIValidationHack=false TJ Factory TJ className=org.apache.catalina.net.DefaultServerSocketFactory/ TJ /Connector TJ Does anyone know what Error 61 is? Any help would be most appreciated. This TJ is the closest I've come to getting Apache2/Tomcat4/mod_jk to work on Win2K. TJ I suspect perhaps my jk2.properties file is incorrect. By default TJ channelSocket.port=8019 is there, changing to 8009 gives me different TJ errors, namely Bad file descriptor, BAD MESSAGE etc. TJ Thanks apologies for the long, code-ridden mail TJ Rory Douglas TJ Sun Chemical Corporation TJ (201) 224-4600 x133 TJ [EMAIL PROTECTED] -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Re[2]: 4.1.3 Beta mod_jk2 ALMOST working
Thanks... I never saw a post on the list that specifically said the problem was solved. Perhaps I missed it. John Turner [EMAIL PROTECTED] http://www.aas.com -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 1:04 PM To: Tomcat Users List Subject: Re[2]: 4.1.3 Beta mod_jk2 ALMOST working Hello John, That isn't an issue anymore. The nightly binaries were rebuilt. However, that only includes mod_jk2, not mod_jk. The fact that Rory got Apache running at all means he was using a binary compatible with Apache 2.0.39. Now if someone can provide a configuration example for how mod_jk2 works! Jake Friday, June 21, 2002, 11:48:59 AM, you wrote: TJ According to this thread, there seems to be a problem with mod_jk and the TJ latest apache (2.0.39): TJ http://mailman.real-time.com/pipermail/tomcat-users/2002-June/069534.html TJ John Turner TJ [EMAIL PROTECTED] TJ http://www.aas.com TJ -Original Message- TJ From: Douglas, Rory [mailto:[EMAIL PROTECTED]] TJ Sent: Friday, June 21, 2002 12:11 PM TJ To: Tomcat Users List (E-mail) TJ Subject: 4.1.3 Beta mod_jk2 ALMOST working TJ Hi there TJ I'm trying Apache 2.0.39 and Tomcat 4.1.3 Beta on a Win2K machine with TJ mod_jk2 nightly binary. TJ I'm doing all my configuration through workers2.properties (copied from TJ jtc-src in the 4.1.3 download). My Coyote JK2 connector is on the default TJ port 8009 and Apache2 is on port 9000. TJ It's almost working (I think). I can start Apache with no errors. My TJ Apache2 error log registers: TJ [warn] workerEnv.init() ok C:/Dev/Apache2/conf/workers2.properties TJ [warn] mod_jk child init 1 -1 TJ which seems good. I can then browse localhost:9000/jkstatus and see a JK2 TJ status page. TJ However, if I try to browse localhost:9000/examples (I have TJ [uri:/examples/*] set up) then I get 500 error from Apache. The log shows: TJ [warn] service.init() Can't find child in scoreboard 2208 TJ [error] channelSocket.connect() connect failed dlportaldevsys1:8009 61 TJ Unknown error TJ [error] ajp13.connect() failed ajp13:dlportaldevsys1:8009 TJ [error] ajp13.service() failed to connect endpoint errno=61 Unknown error TJ [warn] ajp13.done() close endpoint ajp13:dlportaldevsys1:8009 error_state TJ 1 TJ [error] mod_jk.handler() Error connecting to tomcat 21000 TJ The first line doesn't seem too serious, but line two's connect failed...61 TJ Unknown error is puzzling. I definitely have a connector configured on TJ 8009, and I believe I've set the right className and TJ protocolHandlerClassName attributes as well (see shortened version below). TJ Connector className=org.apache.coyote.tomcat4.CoyoteConnector TJ port=8009 TJ protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler TJ useURIValidationHack=false TJ Factory TJ className=org.apache.catalina.net.DefaultServerSocketFactory/ TJ /Connector TJ Does anyone know what Error 61 is? Any help would be most appreciated. This TJ is the closest I've come to getting Apache2/Tomcat4/mod_jk to work on Win2K. TJ I suspect perhaps my jk2.properties file is incorrect. By default TJ channelSocket.port=8019 is there, changing to 8009 gives me different TJ errors, namely Bad file descriptor, BAD MESSAGE etc. TJ Thanks apologies for the long, code-ridden mail TJ Rory Douglas TJ Sun Chemical Corporation TJ (201) 224-4600 x133 TJ [EMAIL PROTECTED] -- Best regards, Jacobmailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: 4.1.3 Beta mod_jk2 ALMOST working
I've encountered error 61 when tomcat wasn't given enough time to initialize prior to starting Apache (Apache 2.0.36 Tomcat 4.0.3). Can you please provide your mod_jk.conf, workers2.properties and any other required mod_jk2 files? -Original Message- From: Douglas, Rory [mailto:[EMAIL PROTECTED]] Sent: June 21, 2002 9:11 AM To: Tomcat Users List (E-mail) Subject: 4.1.3 Beta mod_jk2 ALMOST working Hi there I'm trying Apache 2.0.39 and Tomcat 4.1.3 Beta on a Win2K machine with mod_jk2 nightly binary. I'm doing all my configuration through workers2.properties (copied from jtc-src in the 4.1.3 download). My Coyote JK2 connector is on the default port 8009 and Apache2 is on port 9000. It's almost working (I think). I can start Apache with no errors. My Apache2 error log registers: [warn] workerEnv.init() ok C:/Dev/Apache2/conf/workers2.properties [warn] mod_jk child init 1 -1 which seems good. I can then browse localhost:9000/jkstatus and see a JK2 status page. However, if I try to browse localhost:9000/examples (I have [uri:/examples/*] set up) then I get 500 error from Apache. The log shows: [warn] service.init() Can't find child in scoreboard 2208 [error] channelSocket.connect() connect failed dlportaldevsys1:8009 61 Unknown error [error] ajp13.connect() failed ajp13:dlportaldevsys1:8009 [error] ajp13.service() failed to connect endpoint errno=61 Unknown error [warn] ajp13.done() close endpoint ajp13:dlportaldevsys1:8009 error_state 1 [error] mod_jk.handler() Error connecting to tomcat 21000 The first line doesn't seem too serious, but line two's connect failed...61 Unknown error is puzzling. I definitely have a connector configured on 8009, and I believe I've set the right className and protocolHandlerClassName attributes as well (see shortened version below). Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler useURIValidationHack=false Factory className=org.apache.catalina.net.DefaultServerSocketFactory/ /Connector Does anyone know what Error 61 is? Any help would be most appreciated. This is the closest I've come to getting Apache2/Tomcat4/mod_jk to work on Win2K. I suspect perhaps my jk2.properties file is incorrect. By default channelSocket.port=8019 is there, changing to 8009 gives me different errors, namely Bad file descriptor, BAD MESSAGE etc. Thanks apologies for the long, code-ridden mail Rory Douglas Sun Chemical Corporation (201) 224-4600 x133 [EMAIL PROTECTED]