xml_abh
asked on
Problem with Tomcat 5.0 work with IIS 6.0 using JK2 apj13
I am trying to get Tomcat 5.0 to work with IIS 6.0 using JK2 ajp13. This is the following URL I used as a resource. http://virtualict.net/support/kb/iis6-Tomcat5-JK2.html#introduction
When I go to
http://localhost:8080/jsp-examples/index.html (obviously)
http://localhost/jsp-examples (does not work, I am attaching the workers.properties document at the end of the email
The installation is straight forward. Some relevant information:
IIS Log:
1. 2004-04-08 15:25:01 127.0.0.1 GET /jakarta/isapi_redirector2 .dll - 80 - 127.0.0.1 Mozilla/4.0+(compatible;+M SIE+6.0;+W indows+NT+ 5.2;+.NET+ CLR+1.1.43 22) 500 0 0
the tomcat startup shows the follwowing error
2.Apr 8, 2004 12:53:36 PM org.apache.catalina.core.S tandardHos tDeployer install
INFO: Installing web application at context path /webdav from URL file:C:\Apache\Tomcat5.0\w ebapps\web dav
Apr 8, 2004 12:53:36 PM org.apache.coyote.http11.H ttp11Proto col start
INFO: Starting Coyote HTTP/1.1 on port 8080
Apr 8, 2004 12:53:37 PM org.apache.jk.common.Chann elSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 8, 2004 12:53:37 PM org.apache.jk.server.JkMai n start
INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkE rror: no jkjni in java.library.path
Apr 8, 2004 12:53:37 PM org.apache.jk.server.JkMai n start
INFO: Jk running ID=0 time=0/250 config=C:\Apache\Tomcat5.0 \conf\jk2. properties
Apr 8, 2004 12:53:37 PM org.apache.catalina.startu p.Catalina start
INFO: Server startup in 18140 ms
==> The isapi filter used is isapi_redirector2.dll . This shows the desired green arrow.
==> The workers.properties
[shm:]
info=Shared memory file. Required for multiprocess servers
file=C:\Apache\Tomcat5.0\w ork\jk2.sh m
size=1000000
[channel.socket:localhost: 8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009
[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples
[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples
[logger.file:0]
level=INFO
file=c:/Apache/Tomcat5.0/l ogs/iis_jk 2.log
the jk2.properties file has everything commented out as it suggests that it is not required. Is this that might be missing.
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.
## COMMENTS WILL BE _LOST_
## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
# Set the desired handler list
#handler.list=apr,request, channelJni
#
# Override the default port for the socketChannel
#channelSocket.port=8019
# Default:
channelUnix.file=C:\Apache \Tomcat5.0 \work\jk2. socket
# Just to check if the the config is working
#shm.file=C:\Apache\Tomcat 5.0\work\j k2.shm
# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:
#apr.jniModeSo=/opt/apache 2/modules/ mod_jk2.so
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
Thanks
Abhay
When I go to
http://localhost:8080/jsp-examples/index.html (obviously)
http://localhost/jsp-examples (does not work, I am attaching the workers.properties document at the end of the email
The installation is straight forward. Some relevant information:
IIS Log:
1. 2004-04-08 15:25:01 127.0.0.1 GET /jakarta/isapi_redirector2
the tomcat startup shows the follwowing error
2.Apr 8, 2004 12:53:36 PM org.apache.catalina.core.S
INFO: Installing web application at context path /webdav from URL file:C:\Apache\Tomcat5.0\w
Apr 8, 2004 12:53:36 PM org.apache.coyote.http11.H
INFO: Starting Coyote HTTP/1.1 on port 8080
Apr 8, 2004 12:53:37 PM org.apache.jk.common.Chann
INFO: JK2: ajp13 listening on /0.0.0.0:8009
Apr 8, 2004 12:53:37 PM org.apache.jk.server.JkMai
INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkE
Apr 8, 2004 12:53:37 PM org.apache.jk.server.JkMai
INFO: Jk running ID=0 time=0/250 config=C:\Apache\Tomcat5.0
Apr 8, 2004 12:53:37 PM org.apache.catalina.startu
INFO: Server startup in 18140 ms
==> The isapi filter used is isapi_redirector2.dll . This shows the desired green arrow.
==> The workers.properties
[shm:]
info=Shared memory file. Required for multiprocess servers
file=C:\Apache\Tomcat5.0\w
size=1000000
[channel.socket:localhost:
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009
[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples
[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples
[logger.file:0]
level=INFO
file=c:/Apache/Tomcat5.0/l
the jk2.properties file has everything commented out as it suggests that it is not required. Is this that might be missing.
## THIS FILE MAY BE OVERRIDEN AT RUNTIME. MAKE SURE TOMCAT IS STOPED
## WHEN YOU EDIT THE FILE.
## COMMENTS WILL BE _LOST_
## DOCUMENTATION OF THE FORMAT IN JkMain javadoc.
# Set the desired handler list
#handler.list=apr,request,
#
# Override the default port for the socketChannel
#channelSocket.port=8019
# Default:
channelUnix.file=C:\Apache
# Just to check if the the config is working
#shm.file=C:\Apache\Tomcat
# In order to enable jni use any channelJni directive
# channelJni.disabled = 0
# And one of the following directives:
#apr.jniModeSo=/opt/apache
# If set to inprocess the mod_jk2 will Register natives itself
# This will enable the starting of the Tomcat from mod_jk2
# apr.jniModeSo=inprocess
Thanks
Abhay
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
Answer has been provided already, points has to give....
R.K
Answer has been provided already, points has to give....
R.K
http://www.siteexperts.com/forums/viewConverse.asp?d_id=14735&Sort=0
http://www.siteexperts.com/forums/viewConverse.asp?d_id=14735&start=1
R.K