You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Richard Norman <ja...@hotmail.com> on 2003/09/10 22:31:37 UTC
JK2 Question...
I have read the information and configured my server as specified at the
following URL...
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/jk2/installhowto.html
The thing I think is going on is that the port is not open fully cause every
time I try to connect to a JSP page from IIS, I get the "Can not find server
or DNS Error" message. If I go directly to tomcat on the port I set up,
everything works (40000). in the startup sequence it says in the log file
the following
*****************************************
INFO: Starting Coyote HTTP/1.1 on port 40000
Sep 10, 2003 1:22:09 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:40100
Sep 10, 2003 1:22:09 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/250
config=C:\Tomcat\Tomcat-5.0\conf\jk2.properties
Sep 10, 2003 1:22:09 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 6797 ms
*****************************************
Here is my workers2.properties file
*****************************************
[channel.socket:localhost:40100]
port=40100
host=127.0.0.1
# define the worker
[ajp13:localhost:40100]
channel=channel.socket:localhost:40100
# Map the Tomcat examples webapp to the Web server uri space
[uri:/jsp-examples/*]
info=Map the whole webapp
*****************************************
Here is my jk2.properties file
*****************************************
# Set the desired handler list
handler.list=request,channelSocket
#
# Override the default port for the socketChannel
channelSocket.port=40100
channelSocket.address=127.0.0.1
request.tomcatAuthentication=true
*****************************************
and here is the connector entry in my server.xml file
*****************************************
<Connector port="40100" protocol="AJP/1.3"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
redirectPort="8443">
</Connector>
*****************************************
Any ideas anyone? THis is the last step to get everything working 100% for
me...
Richard Norman
Web/Application Developer
_________________________________________________________________
Compare Cable, DSL or Satellite plans: As low as $29.95.
https://broadband.msn.com
Re: JK2 Question...
Posted by Bill Barker <wb...@wilshire.com>.
I vaguely remember that there was/is a bug in Jk2 with using ports > 32K (a
signed vs. unsigned thing). Can you try with a port < 32K?
"Richard Norman" <ja...@hotmail.com> wrote in message
news:BAY2-F1324FR0rmTIVv00001206@hotmail.com...
> I have read the information and configured my server as specified at the
> following URL...
>
>
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/doc/jk2/installhowto.html
>
> The thing I think is going on is that the port is not open fully cause
every
> time I try to connect to a JSP page from IIS, I get the "Can not find
server
> or DNS Error" message. If I go directly to tomcat on the port I set up,
> everything works (40000). in the startup sequence it says in the log file
> the following
>
> *****************************************
> INFO: Starting Coyote HTTP/1.1 on port 40000
> Sep 10, 2003 1:22:09 PM org.apache.jk.common.ChannelSocket init
> INFO: JK2: ajp13 listening on /0.0.0.0:40100
> Sep 10, 2003 1:22:09 PM org.apache.jk.server.JkMain start
> INFO: Jk running ID=0 time=0/250
> config=C:\Tomcat\Tomcat-5.0\conf\jk2.properties
> Sep 10, 2003 1:22:09 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 6797 ms
> *****************************************
>
> Here is my workers2.properties file
> *****************************************
> [channel.socket:localhost:40100]
> port=40100
> host=127.0.0.1
>
> # define the worker
> [ajp13:localhost:40100]
> channel=channel.socket:localhost:40100
>
> # Map the Tomcat examples webapp to the Web server uri space
> [uri:/jsp-examples/*]
> info=Map the whole webapp
> *****************************************
>
> Here is my jk2.properties file
> *****************************************
> # Set the desired handler list
> handler.list=request,channelSocket
> #
> # Override the default port for the socketChannel
> channelSocket.port=40100
> channelSocket.address=127.0.0.1
>
> request.tomcatAuthentication=true
> *****************************************
>
> and here is the connector entry in my server.xml file
> *****************************************
> <Connector port="40100" protocol="AJP/1.3"
> protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"
> redirectPort="8443">
> </Connector>
> *****************************************
> Any ideas anyone? THis is the last step to get everything working 100%
for
> me...
>
> Richard Norman
> Web/Application Developer
>
> _________________________________________________________________
> Compare Cable, DSL or Satellite plans: As low as $29.95.
> https://broadband.msn.com