You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Robert Priest <Ro...@bentley.com> on 2003/04/22 20:46:16 UTC

newly built isapi_redirector2.dll not working.

Hello,

I just built a version of isapi_redirector2.dll from the cvs tree and it is
not working.
When I restart IIS, it reloads properly and the arrow is green.

But none of my requests are getting forwarded to tomcat. however tomcat
works when going straight to port 8080.

Also, my jk2.log file reads 0kb for it size, so I have no clue as to what
went wrong.


It used to work just fine - copies I built from the tree that is.

Does anyone have any advice\clues?

Could I be missing anything from my isapi_redirector2.properties file? here
is its contents:

serverRoot=D:\\temp\\test\\jakarta\\jakarta-tomcat-4.1\\
extensionUri=/jakarta/isapi_redirector2.dll
workerFile=D:\\temp\\test\\jakarta\\jakarta-tomcat-4.1\\conf\\workers2.prope
rties
authComplete=0


when I start the tomcat the following log is seen on the console:

[INFO] MbeansDescriptorsDOMSource - -Reading descriptors ( dom ) 401
[INFO] Http11Protocol - -Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1
[INFO] Http11Protocol - -Starting Coyote HTTP/1.1 on port 8080
[Tue Apr 22 14:37:58 2003] (error ) [jk_config_file.c (279)]
config.update(): C
an't find config file ${serverRoot}/conf/workers2.properties
[Tue Apr 22 14:37:58 2003] ( info ) [jk_config.c (246)]
config.setAttribute() E
rror setting config: file ${serverRoot}/conf/workers2.properties
[Tue Apr 22 14:37:58 2003] ( info ) [jk_logger_file.c (177)]  Initializing
log f
ile stderr
[Tue Apr 22 14:37:58 2003] (error ) [jk_shm.c (333)]  shm.init(): No file
[Tue Apr 22 14:37:58 2003] ( info ) [jk_workerEnv.c (403)]  workerEnv.init()
ok
${serverRoot}/conf/workers2.properties
[INFO] AprImpl - -JK2: Initialized apr
[INFO] ChannelJni - -JK2: listening on channel.jni:jni
[INFO] ChannelSocket - -JK2: ajp13 listening on /0.0.0.0:8019
[INFO] JkMain - -Jk running ID=0 time=0/170
config=D:\temp\test\jakarta\jakarta
-tomcat-4.1\bin\..\conf\jk2.properties


The obvious thing would be to look at the "Can't find config file
serverRoot}/conf/workers2.properties" comment. But all my settings are the
same as I had before and it worked previously - with an older version of the
isapi_redirector2.dll. That is the only thing different in this scenario.

----- my workers2.properties file [below] -------


[config:]
file=${serverRoot}/conf/workers2.properties
debug=10
debugEnv=0
TOMCAT_HOME=D:\\temp\\test\\jakarta\\jakarta-tomcat-4.1\\

[uriMap:]
info=Maps the requests. Options: debug
debug=10

# Logger options. For apache2 only level can be set ( it logs to apache's
error.log )
#[logger.file:0]
level=DEBUG
#File property is not used on Apache2 or if a 'native' logger is available
#The Apache2 ( or native ) log file is used instead
#For apache1 the file must be specified if you want logging.
file=${serverRoot}/logs/jk2.log


[workerEnv:]
info=Global server options
timing=1
debug=10
logger=logger.file:0

[lb:lb]
info=Default load balancer.
debug=10

#################### Channels ####################
# Each channel defines a communication mechanism to a tomcat instance.
# Each channel is associated with a ajp13:NAME, with the same local name
[channel.socket:localhost:8019]
info=A second tomcat instance. 
debug=10
tomcatId=localhost:8019
group=lb

[status:]
info=Status worker, displays runtime informations

[uri:/jkstatus/*]
info=Display status information and checks the config file for changes.
group=status:
debug=10

[uri:/uploadfile/*]
info=Map the whole webapp
debug=10

[uri:/examples/*]
info=Map the whole webapp
debug=10

[uri:/tomcat-docs/*]
info=Map the whole webapp
debug=10

[uri:/webdav/*]
info=Map the whole webapp
debug=10

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


RE: newly built isapi_redirector2.dll not working.

Posted by Mladen Turk <mt...@inet.hr>.

> -----Original Message-----
> From: Robert Priest
>
from: 
> serverRoot=D:\\temp\\test\\jakarta\\jakarta-tomcat-4.1\\
to:
serverRoot=D:\\temp\\test\\jakarta\\jakarta-tomcat-4.1

You shuld erase the trailing backslash.

MT.



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org