tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Propes, Barry L" <barry.l.pro...@citigroup.com>
Subject RE: IIS and Tomcat on different physical servers
Date Mon, 02 Oct 2006 16:20:31 GMT
I don't think you can do it that way, Oyvind. Is there a reason you don't have Tomcat running
on the IIS server?
You might try changing the port configuration in the server.xml file from port 8080 to port
80 then try it.

-----Original Message-----
From: Øyvind Roth [mailto:oor@suss.no]
Sent: Monday, October 02, 2006 8:37 AM
To: users@tomcat.apache.org
Subject: IIS and Tomcat on different physical servers


I am trying to get IIS and Tomcat to communicate on two different machines.
With no luck.

It seems like almost all questions on the web regarding IIS/Tomcat asssume
the two servers 

run on the same machine. In my case, not.

 

On Server1:

Windows 2000 Server SP4 (with IIS v. 5 I assume...)

JK2 v. 2.0.3

 

On Server2:

Windows 2000 Server SP4

Tomcat 5.5

Java 1.5.0_06-b05

 

On Server1:

"http://myserver1/jkstatus" seems to work fine

 

On Server2:

"http://myserver2:8080/reptilcom/knife/doit" works fine

 

When I try to reach Tomcat from Server1, like:

"http://myserver1/reptilcom/knife/doit" I get the following debug/error
mesages in the Event Log for JK:

Error: [jk_isapi_plugin.c (496)]: HttpExtensionProc worker is NULL

Debug:  [jk_isapi_plugin.c (491)]: HttpExtensionProc could not get a worker
for name lb_ms_rc

Debug:  [jk_isapi_plugin.c (482)]: HttpExtensionProc started

Debug:  [jk_isapi_plugin.c (429)]: HttpFilterProc check if
[/reptilcom/knife/doit] is pointing to the web-inf directory

 

On server1 no Java and no Tomcat Server are installed. I have assumed all
the time that that's OK.

Am I right? If not, what's Java/Tomcat doing on Server1?

 

 

My configuration files are as follows:

 

*******************************************************************

 

REGEDIT4

 

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\2.0]

"serverRoot"="C:\\Program Files\\Tomcat 5.5"

"extensionUri"="/jakarta/isapi_redirector2.dll"

"logLevel"="DEBUG"

"workersFile"="C:\\Program Files\\Tomcat 5.5\\conf\\workers2.properties"

 

*******************************************************************

 

[shm]

info=Scoreboard. Required for reconfiguration and status with multiprocess
servers.

file=C:/Program Files/Tomcat 5.5/work/anon.shm

 

# Defines a load balancer named lb. Use even if you only have one machine.

[lb:lb_ms_rc]

 

[channel.socket:MYSERVER2:8009]

host=<my correct octets>

port=8009

 

# define the worker

[ajp13:MYSERVER2:8009]

channel=channel.socket:MYSERVER2:8009

group=lb_ms_rc

 

[uri:/reptilcom/knife/doit]

group=lb_ms_rc

context=/reptilcom/

path=/reptilcom/knife/doit

 

[status:]

info=Status worker, displays runtime information

 

[uri:/jkstatus/*]

info=The Tomcat /jkstatus handler

group=status:

 

[logger.win32]

level=INFO

 

 

regards

Øyvind


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message