Yes, tomcat is running. The IIS was shutdown by me on that log reference.
Latest log, server.xml and worker.properties here.....
workers.properties
worker.list=wlb
worker.wlb.type=ajp13
worker.wlb.host=localhost
worker.wlb.port=8010
server.xml
<Server port="8006" shutdown="SHUTDOWN" debug="0">
<Connector port="8010"
maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
enableLookups="false" redirectPort="8443" acceptCount="100"
debug="0" connectionTimeout="20000"
disableUploadTimeout="true" />
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
debug="0"/>
<Listener
className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
debug="0"/>
<!-- Global JNDI resources -->
<GlobalNamingResources>
<!-- Test entry for demonstration purposes -->
<Environment name="simpleValue" type="java.lang.Integer" value="30"/>
<!-- Editable user database that can also be used by
UserDatabaseRealm to authenticate users -->
<Resource name="UserDatabase" auth="Container"
type="org.apache.catalina.UserDatabase"
description="User database that can be updated and saved">
</Resource>
<ResourceParams name="UserDatabase">
<parameter>
<name>factory</name>
<value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
</parameter>
<parameter>
<name>pathname</name>
<value>conf/tomcat-users.xml</value>
</parameter>
</ResourceParams>
</GlobalNamingResources>
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Context displayName="Sungard WealthStation"
docBase="e:/wealthstation/appserver2/webapps/wealthstation"
path="/wealthstation" />
[Thu Jun 04 16:53:10.292 2009] [4872:800] [error]
ajp_get_reply::jk_ajp_common.c (1962): (wlb) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Thu Jun 04 16:53:10.292 2009] [4872:800] [info]
ajp_service::jk_ajp_common.c (2447): (wlb) sending request to tomcat failed
(recoverable), (attempt=2)
[Thu Jun 04 16:53:10.292 2009] [4872:800] [error]
ajp_service::jk_ajp_common.c (2466): (wlb) connecting to tomcat failed.
[Thu Jun 04 16:53:10.292 2009] [4872:800] [error]
HttpExtensionProc::jk_isapi_plugin.c (2200): service() failed with http
error 502
[Thu Jun 04 16:53:10.292 2009] [4872:800] [debug]
ajp_reset_endpoint::jk_ajp_common.c (743): (wlb) resetting endpoint with sd
= 4294967295 (socket shutdown)
[Thu Jun 04 16:53:10.292 2009] [4872:800] [debug] ajp_done::jk_ajp_common.c
(2905): recycling connection pool slot=0 for worker wlb
dljohnson69 wrote:
>
> I now have a simple workers.properties and uri file with the latest 1.2.28
> redirector but no matter what I try I only get "incorrect function"
> returned to the browser. 1st error in log is
> [error] jk_shm_calculate_size::jk_shm.c (120): Could not get member list
> for lb worker from map
> [error] validate::jk_lb_worker.c (1647): NULL parameters
> [error] wc_create_worker::jk_worker.c (163): validate failed for wlb
>
> workers.properties
> worker.list=wlb
>
> worker.wlb.type=lb
> worker.wlb.host=localhost
> worker.wlb.port=8010
>
>
> uriworkermap.properties
> /admin/*=wlb
> /manager/*=wlb
> /jsp-examples/*=wlb
> /servlets-examples/*=wlb
> /ws/*=wlb
>
> When I change the 'type' to ajp13 I get a 502 'bad gateway' error. I've
> simplifed this as much as possible, tried IP instead of localhost and
> still cannot get this to serve up. Any ideas?
>
>
--
View this message in context:
http://www.nabble.com/ISAPI-incorrect-function-tp23871342p23878636.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]