tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bi...@perform-soft.com
Subject Solution for Tomcat IIS problem
Date Wed, 04 Jan 2006 06:35:30 GMT
Tolle,

I had the same problem as Paresh below.

My conclusion is that the sample workers2.properties file that is
distributed does not work.

When I changed

    group=lb  to  group=lb:lb

I was fine.  Of course, now that I have gotten this far I just found out
that jk2 is no longer supported... so I guess I redeploy using jk.

Eternally grateful,

Bill



From: Tolle Krez [mailto:tk7727@hotmail.com]
Sent: Monday, May 03, 2004 8:22 AM
To: Paresh Varatkar
Subject: Problem with Tomcat5 and IIS5


Hello Paresh,

try to use group:lb:lb instead of just group:lb

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
group=lb:lb

[uri:/gf/*]
group=lb:lb

I hope this helps.


-----Original Message-----
From: Paresh Varatkar
Sent: Thursday, April 29, 2004 8:25 AM
To: tomcat-user@jakarta.apache.org
Subject: Problem with Tomcat5 and IIS5
Importance: High


Hi,
I have many times made tomcat to work with iis.
This time I am getting HTTP 500 error.
I checked my jakarta filter is green but its not producing any log
In IIS log I get this.
#Date: 2004-04-28 15:16:28
#Fields: date time c-ip cs-username s-ip s-port cs-method cs-uri-stem
cs-uri-query \
sc-status cs(User-Agent)  2004-04-28 15:16:28 127.0.0.1 - 127.0.0.1 80 GET \
/jakarta/isapi_redirector2.dll - 500 \
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705)
\
2004-04-28 15:16:30 127.0.0.1 - 127.0.0.1 80 GET
/jakarta/isapi_redirector2.dll - 500 \
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705)
\
2004-04-28 15:16:31 127.0.0.1 - 127.0.0.1 80 GET
/jakarta/isapi_redirector2.dll - 500 \
Mozilla/4.0+(compatible;+MSIE+5.5;+Windows+NT+5.0;+T312461;+.NET+CLR+1.0.3705)

Regards
Paresh





___________________________________________________________________________
My workers2.properties file is

[shm]
info=Scoreboard. Requried for reconfiguration and status with multiprocess
servers.
file=anon

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

# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.01

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
group=lb

# Map the Tomcat examples webapp to the Web server uri space
[uri:/gf/*]
group=lb

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

[uri:/jkstatus/*]
info=The Tomcat /jkstatus handler
group=status:

__________________________________________________________________________


My server.xml connector has(I tried both redirecting to 8080 as wellas
8443, both \
gives same error)


<!-- Define a non-SSL Coyote HTTP/1.1 Connector on the port specified
         during installation -->
    <Connector
port="8080"               maxThreads="150" minSpareThreads="25"
maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="0" connectionTimeout="20000"
               disableUploadTimeout="true" />

    <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector port="8443"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" debug="0" scheme="https" secure="true">
      <Factory clientAuth="false" protocol="TLS" />
    </Connector>
    -->

    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector port="8009"
               enableLookups="false" redirectPort="8080" debug="0"
               protocol="AJP/1.3" />
___________________________________________________________________________________

My Registry property are

extensionUri=/jakarta/isapi_redirector2.dll
serverRoot=C:\Tomcat
logLevel=DEBUG
workersFile=C:\Tomcat\conf\workers2.properties
worker_mount_file=C:\Tomcat\conf\uriworkermap.properties (I know this is
not needed \
but removing this does not make any change). \
______________________________________________________________________________________
\

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.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