tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Prins <Mark.Pr...@caris.nl>
Subject RE: TC 4.1.3: JK2 connector dies? cant get isapi_redirector to t alk to tomcat
Date Fri, 28 Jun 2002 08:34:04 GMT
> -----Original Message-----
> From: Ignacio J. Ortega [mailto:nacho@siapi.es]
> Sent: Thursday, June 27, 2002 7:20 PM
> To: unlisted-recipients
> Subject: RE: TC 4.1.3: JK2 connector dies? cant get 
> isapi_redirector to
> t alkto tomcat
> 
> 
> > De: Mark Prins [mailto:Mark.Prins@caris.nl]
> > Enviado el: 27 de junio de 2002 16:38
> 
> > I'm not sure I understand, but in my server.xml the connector 
> > is specified
> > as listening to 8009, so how's that?
> 
> Please post the log you get when starting tomcat just to be sure..
> 
> What i say is that by default the Coyote/JK2 ajp13 port is 
> 8019 no 8009,
> regarles of what is on server.xml, because jk2 uses jk2.propeties in
> addition to server.xml, and there by default the JK2 port is 8019..
> 
> To be able to use isapi_redirector.dll with jk2 you shopuld change the
> por in workers.properties for ajp13 to 8019..

OK that seems to do the trick. Most of my JSP's work. 

Now I have this in my worker.properties ->

worker.list=ajp13
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
worker.tomcat_home=C:\Program Files\Apache Group\Tomcat 4.1
worker.java_home=c:\jdk
# worker.ajp13.port=8009
worker.ajp13.port=8019
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1
#worker.ajp13.cachesize
ps=\


And my jk2.properties looks like this ->

# Override the default port for the socketChannel
channelSocket.port=8019
# Default: 
# channelUnix.file=${jkHome}/work/jk2.socket
# Just to check if the the config  is working
#shm.file=${jkHome}/work/jk2.shm

#apr.jniModeSo=/opt/apache2/modules/mod_jk2.so

My stderr.log says: ->

[INFO] Registry - -Loading registry information
[INFO] Registry - -Creating new Registry instance
[INFO] Registry - -Creating MBeanServer
[INFO] Http11Protocol - -Attribute port: 8080
[INFO] Http11Protocol - -Attribute maxThreads: 75
[INFO] Http11Protocol - -Attribute backlog: 10
[INFO] Http11Protocol - -Attribute tcpNoDelay: true
[INFO] Http11Protocol - -Attribute soTimeout: 20000
[INFO] Http11Protocol - -Attribute timeout: 20000
[INFO] Http11Protocol - -Attribute secure: false
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
[INFO] JkMain - -Starting Jk2, base dir= C:\Program Files\Apache
Group\Tomcat 4.1 conf=C:\Program Files\Apache Group\Tomcat
4.1\conf\jk2.properties
[INFO] JkMain - -APR not loaded, disabling jni components:
java.io.IOException: no jkjni in java.library.path
[INFO] ChannelSocket - -JK: listening on tcp port 8019
[INFO] ChannelUn - -No file, disabling unix channel
[INFO] JkMain - -Jk running ID=0 ... init time=90 ms
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
[WARN] ChannelSocket - -Server has closed connection
[WARN] ChannelSocket - -Server has closed connection
[WARN] ChannelSocket - -Server has closed connection


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message