You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by dljohnson69 <DL...@firstcommand.com> on 2009/06/02 19:42:00 UTC

ISAPI issues

I have a Tomcat install that is working okay but going through the
isapi_redirect it gets a "bad gateway" error.   The isapi.log has errors
that says it cannot connect to tomcat, "tomcat is down or refused
connection".   Any ideas??
-- 
View this message in context: http://www.nabble.com/ISAPI-issues-tp23837289p23837289.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: ISAPI issues

Posted by Rainer Jung <ra...@kippdata.de>.
On 02.06.2009 19:42, dljohnson69 wrote:
> I have a Tomcat install that is working okay but going through the
> isapi_redirect it gets a "bad gateway" error.   The isapi.log has errors
> that says it cannot connect to tomcat, "tomcat is down or refused
> connection".   Any ideas??

Bad gateway plus log file means your redirector is working, but you have
your configuration wrong.

Regards,

Rainer

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


Re: ISAPI issues

Posted by dljohnson69 <DL...@firstcommand.com>.
Replies included....



Rainer Jung-3 wrote:
> 
> On 02.06.2009 23:30, dljohnson69 wrote:
>> Actually I am still on 1.2.27 but am willing to update, just cannot find
>> a
>> compiled download of the 1.2.28 dll.
> 
> http://tomcat.apache.org/download-connectors.cgi -- downloaded, installed
> and "loaded" (working)
> 
>> However, I made those changes and now there are no errors in the
>> isapi.log
>> but the browser errors with "service temporary unavailable".  When I
>> check
>> the logs I get "All Tomcat instances failed, no more workers left". The
>> next
>> line says, "all tomcat instances are busy or in error state".  This was
>> AFTER a reboot of the physical box.
> 
> IIS and Tomcat on the same box? (Yes, IIS, Tomcat and apps on same box)
> 
> Could you get your pages directly from Tomcat via its http connector
> (8080 or so)? (Yes, can get apps directly through Tomcat ports 8009, 8010)
> 
> So does it
> 
> - work never (correct, has never worked through IIS, always worked
> directly to app port which means to me that Tomcat itself is okay, just
> IIS issue)
> - work sometimes, but sometimes not?
> 
> Which URL did you use, what's exactly in the log file?
> (http://xxapp/wealthstation/FCMD does not work,
> http://xxapp:8010/wealthstation/FCMD does work.  These are the current
> logs AFTER changes to worker and urimap listed below.  Currently no errors
> in isapi.log but there is obviously a configuration or other issue as the
> error goes to a 404 error now.
> 
> Jakarta/ISAPI/isapi_redirector/1.2.28
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2423): Detected IIS version 6.0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2428): Using registry.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2431): Using log file
> E:\wealthstation\logs\isapi.log.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2432): Using log level 1.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2433): Using extension uri
> /tomcat/isapi_redirect.dll.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2434): Using worker file
> E:\wealthstation\appserver2\conf\workers.properties.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2435): Using worker mount file
> E:\wealthstation\appserver2\conf\uriworkermap.properties.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2437): Using rewrite rule file .
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2439): Using uri select 3.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2440): Using no chunked encoding.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2442): Using notification event
> SF_NOTIFY_AUTH_COMPLETE (0x04000000)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2452): Using uri header
> TOMCATURI0000000010000000:.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2453): Using query header
> TOMCATQUERY0000000010000000:.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2454): Using worker header
> TOMCATWORKER0000000010000000:.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2455): Using worker index
> TOMCATWORKERIDX0000000010000000:.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2456): Using translate header
> TOMCATTRANSLATE0000000010000000:.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> init_jk::jk_isapi_plugin.c (2457): Using a default of 250 connections per
> pool.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property '/admin/*' with
> value 'wlb' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property '/manager/*' with
> value 'wlb' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property '/jsp-examples/*'
> with value 'wlb' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> '/servlets-examples/*' with value 'wlb' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property '/planningstation/*'
> with value 'ps' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property '/wealthstation/*'
> with value 'ws' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property '/jkmanager' with
> value 'jkstatus' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_load::jk_uri_worker_map.c (1102): Loading urimaps from
> E:\wealthstation\appserver2\conf\uriworkermap.properties with reload check
> interval 60 seconds
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
> '/admin/*=wlb' source 'uriworkermap' was added
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
> '/manager/*=wlb' source 'uriworkermap' was added
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
> '/jsp-examples/*=wlb' source 'uriworkermap' was added
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
> '/servlets-examples/*=wlb' source 'uriworkermap' was added
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
> '/planningstation/*=ps' source 'uriworkermap' was added
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (720): wildchar rule
> '/wealthstation/*=ws' source 'uriworkermap' was added
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_add::jk_uri_worker_map.c (729): exact rule
> '/jkmanager=jkstatus' source 'uriworkermap' was added
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after file
> load: index=0
> file='E:\wealthstation\appserver2\conf\uriworkermap.properties'
> reject_unsafe=0 reload=60 modified=1244031957 checked=1244032750
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
> nosize=0 capacity=0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=7
> nosize=0 capacity=8
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
> uri=/servlets-examples/* worker=wlb context=/servlets-examples/*
> source=uriworkermap type=Wildchar len=20
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #1:
> uri=/planningstation/* worker=ps context=/planningstation/*
> source=uriworkermap type=Wildchar len=18
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #2:
> uri=/wealthstation/* worker=ws context=/wealthstation/*
> source=uriworkermap type=Wildchar len=16
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #3:
> uri=/jsp-examples/* worker=wlb context=/jsp-examples/* source=uriworkermap
> type=Wildchar len=15
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #4:
> uri=/manager/* worker=wlb context=/manager/* source=uriworkermap
> type=Wildchar len=10
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #5:
> uri=/admin/* worker=wlb context=/admin/* source=uriworkermap type=Wildchar
> len=8
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #6:
> uri=/jkmanager worker=jkstatus context=/jkmanager source=uriworkermap
> type=Exact len=10
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.list' with
> value 'wlb,jkstatus,ps,ws' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.ajp13w.type'
> with value 'ajp13' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.ajp13w.host'
> with value 'localhost' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.ajp13w.port'
> with value '8009' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.lbps.type'
> with value 'lb' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.lbps.host'
> with value 'localhost' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.lbps.port'
> with value '8009' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.lbps.balance_workers' with value 'ps' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.lbws.type'
> with value 'lb' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.lbws.host'
> with value 'localhost' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.lbws.port'
> with value '8009' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.lbws.balance_workers' with value 'ws' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.wlb.type'
> with value 'lb' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.wlb.host'
> with value 'localhost' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property 'worker.wlb.port'
> with value '8009' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.wlb.balance_workers' with value 'ajp13w' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.jkstatus.type' with value 'status' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.jkstatus.host' with value 'localhost' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_read_property::jk_map.c (491): Adding property
> 'worker.jkstatus.port' with value '8009' to map.
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_map_resolve_references::jk_map.c (774): Checking for references with
> prefix worker. with wildcard (recursion 1)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_shm_calculate_size::jk_shm.c (125): worker wlb of type lb has 1 members
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_shm_calculate_size::jk_shm.c (132): shared memory will contain 2 ajp
> workers of size 320 and 1 lb workers of size 320 with 1 members of size
> 384+320
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_shm_open::jk_shm.c
> (254): Initialized shared memory JKISAPISHMEM_FCAPP6_FIRSTCOMMAND_COM_1
> size=1792 free=1664 addr=0x2d30000
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.list' -> 'wlb,jkstatus,ps,ws'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.ajp13w.type' -> 'ajp13'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.ajp13w.host' -> 'localhost'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.ajp13w.port' -> '8009'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.lbps.type' -> 'lb'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.lbps.host' -> 'localhost'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.lbps.port' -> '8009'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.lbps.balance_workers' -> 'ps'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.lbws.type' -> 'lb'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.lbws.host' -> 'localhost'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.lbws.port' -> '8009'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.lbws.balance_workers' -> 'ws'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.wlb.type' -> 'lb'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.wlb.host' -> 'localhost'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.wlb.port' -> '8009'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.wlb.balance_workers' -> 'ajp13w'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.jkstatus.type' -> 'status'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.jkstatus.host' -> 'localhost'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] jk_map_dump::jk_map.c
> (589): Dump of map: 'worker.jkstatus.port' -> '8009'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> build_worker_map::jk_worker.c (242): creating worker wlb
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance wlb of lb
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init wlb
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance ajp13w of
> ajp13
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init ajp13w
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_validate::jk_ajp_common.c (2512): worker ajp13w contact is
> 'localhost:8009'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2699): setting endpoint options:
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2702): keepalive:              0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2706): socket timeout:         0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2710): socket connect timeout: 0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2714): buffer size:            0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2718): pool timeout:           0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2722): ping timeout:           10000
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2726): connect timeout:        0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2730): reply timeout:          0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2734): prepost timeout:        0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2738): recovery options:       0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2742): retries:                2
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2746): max packet size:        8192
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2750): retry interval:         100
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_create_endpoint_cache::jk_ajp_common.c (2562): setting connection pool
> size to 250 with min 125 and acquire timeout 200
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> validate::jk_lb_worker.c (1616): Balanced worker 0 has name ajp13w and
> route ajp13w in domain 
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> update_mult::jk_lb_worker.c (261): worker ajp13w gets multiplicity 1
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> jk_lb_push::jk_lb_worker.c (347): syncing shm for lb 'wlb' from mem (0->1)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> build_worker_map::jk_worker.c (242): creating worker jkstatus
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance jkstatus of
> status
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init jkstatus
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] init::jk_status.c
> (5021): Status worker 'jkstatus' is read/write and has css '(null)',
> prefix 'worker', name space 'jk:', xml name space
> 'xmlns:jk="http://tomcat.apache.org"', document type '(null)'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug] init::jk_status.c
> (5072): Status worker 'jkstatus' has good rating for '0000000f' and bad
> rating for '00ff1010'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> build_worker_map::jk_worker.c (242): creating worker ps
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance ps of ajp13
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init ps
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_validate::jk_ajp_common.c (2512): worker ps contact is
> 'localhost:8009'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2699): setting endpoint options:
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2702): keepalive:              0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2706): socket timeout:         0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2710): socket connect timeout: 0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2714): buffer size:            0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2718): pool timeout:           0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2722): ping timeout:           10000
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2726): connect timeout:        0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2730): reply timeout:          0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2734): prepost timeout:        0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2738): recovery options:       0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2742): retries:                2
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2746): max packet size:        8192
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2750): retry interval:         100
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_create_endpoint_cache::jk_ajp_common.c (2562): setting connection pool
> size to 250 with min 125 and acquire timeout 200
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> build_worker_map::jk_worker.c (242): creating worker ws
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (146): about to create instance ws of ajp13
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_create_worker::jk_worker.c (159): about to validate and init ws
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_validate::jk_ajp_common.c (2512): worker ws contact is
> 'localhost:8009'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2699): setting endpoint options:
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2702): keepalive:              0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2706): socket timeout:         0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2710): socket connect timeout: 0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2714): buffer size:            0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2718): pool timeout:           0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2722): ping timeout:           10000
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2726): connect timeout:        0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2730): reply timeout:          0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2734): prepost timeout:        0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2738): recovery options:       0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2742): retries:                2
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2746): max packet size:        8192
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_init::jk_ajp_common.c (2750): retry interval:         100
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> ajp_create_endpoint_cache::jk_ajp_common.c (2562): setting connection pool
> size to 250 with min 125 and acquire timeout 200
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_worker_for_name::jk_worker.c (116): found a worker wlb
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_name_for_type::jk_worker.c (293): Found worker type 'lb'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for
> worker 0: wlb of type lb (5)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_worker_for_name::jk_worker.c (116): found a worker ps
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for
> worker 1: ps of type ajp13 (2)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_worker_for_name::jk_worker.c (116): found a worker ws
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_name_for_type::jk_worker.c (293): Found worker type 'ajp13'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for
> worker 2: ws of type ajp13 (2)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_worker_for_name::jk_worker.c (116): found a worker wlb
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_name_for_type::jk_worker.c (293): Found worker type 'lb'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for
> worker 3: wlb of type lb (5)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_worker_for_name::jk_worker.c (116): found a worker wlb
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_name_for_type::jk_worker.c (293): Found worker type 'lb'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for
> worker 4: wlb of type lb (5)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_worker_for_name::jk_worker.c (116): found a worker wlb
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_name_for_type::jk_worker.c (293): Found worker type 'lb'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for
> worker 5: wlb of type lb (5)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_worker_for_name::jk_worker.c (116): found a worker jkstatus
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> wc_get_name_for_type::jk_worker.c (293): Found worker type 'status'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_ext::jk_uri_worker_map.c (512): Checking extension for
> worker 6: jkstatus of type status (6)
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (171): uri map dump after
> extension stripping: index=0
> file='E:\wealthstation\appserver2\conf\uriworkermap.properties'
> reject_unsafe=0 reload=60 modified=1244031957 checked=1244032750
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 0: size=0
> nosize=0 capacity=0
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (176): generation 1: size=7
> nosize=0 capacity=8
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #0:
> uri=/servlets-examples/* worker=wlb context=/servlets-examples/*
> source=uriworkermap type=Wildchar len=20
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #1:
> uri=/planningstation/* worker=ps context=/planningstation/*
> source=uriworkermap type=Wildchar len=18
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #2:
> uri=/wealthstation/* worker=ws context=/wealthstation/*
> source=uriworkermap type=Wildchar len=16
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #3:
> uri=/jsp-examples/* worker=wlb context=/jsp-examples/* source=uriworkermap
> type=Wildchar len=15
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #4:
> uri=/manager/* worker=wlb context=/manager/* source=uriworkermap
> type=Wildchar len=10
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #5:
> uri=/admin/* worker=wlb context=/admin/* source=uriworkermap type=Wildchar
> len=8
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_dump::jk_uri_worker_map.c (186): NEXT (1) map #6:
> uri=/jkmanager worker=jkstatus context=/jkmanager source=uriworkermap
> type=Exact len=10
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> uri_worker_map_switch::jk_uri_worker_map.c (482): Switching uri worker map
> from index 0 to index 1
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [info]
> init_jk::jk_isapi_plugin.c (2572): Jakarta/ISAPI/isapi_redirector/1.2.28
> initialized
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> HttpFilterProc::jk_isapi_plugin.c (1841): Filter started
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> map_uri_to_worker_ext::jk_uri_worker_map.c (1036): Attempting to map URI
> '/fcapp6.firstcommand.com/jkstatus' from 7 maps
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/servlets-examples/*=wlb' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/planningstation/*=ps' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/wealthstation/*=ws' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/jsp-examples/*=wlb' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/manager/*=wlb' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/admin/*=wlb' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/jkmanager=jkstatus' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/servlets-examples/*=wlb' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/planningstation/*=ps' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/wealthstation/*=ws' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/jsp-examples/*=wlb' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/manager/*=wlb' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/admin/*=wlb' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> find_match::jk_uri_worker_map.c (850): Attempting to map context URI
> '/jkmanager=jkstatus' source 'uriworkermap'
> [Wed Jun 03 07:39:10.659 2009] [4656:4700] [debug]
> HttpFilterProc::jk_isapi_plugin.c (2061): [/jkstatus] is not a servlet url
> [Wed Jun 03 08:16:08.522 2009] [1296:2720] [debug]
> HttpFilterProc::jk_isapi_plugin.c (2061): [/wealthstation/FCMD] is not a
> servlet url
> 
> 
> 
>> I have done nothing nor know how to use the jkstatus, it was just in the
>> work or uri example files.  Let me know if I should remove it or if
>> further
> 
> Should be available under the URL /jkmanager and is very helpful.
> There's a security problem with an open jkstatus though. (Still not
> working, page not found.  Can't even get this directly through app port.)
> 
>> configuration needs to be done if it is needed.  Actually I have 2 Tomcat
>> installs, one for ps and one for ws.
> 
> So you need to find out the port numbers (and if on different hosts the
> host names) and define two workers ws and ps in the way you have done
> with ajp13w.
> 
>> We are trying to mimic a 3rd party app
>> of a vendor and this is the way they have theirs.  Only difference is
>> they
>> have Apace and we have IIS, hence the lack of knowledge on it. 
>> 
>> I have the examples working from IIS, just not the apps for ws and ps.
> 
> Define the ws and ps workers with correct host names and ports, wrap
> them in a new lb, like lbps and lbws
> 
> worker.lbps.type=lb
> worker.lbps.balance_workers=ps
> worker.lbws.type=lb
> worker.lbws.balance_workers=ws (I think I have this part setup correctly
> but attaching just to verify. Is the worker.list section correct?)
> 
> worker.list=wlb,jkstatus,ps,ws
> 
> worker.ajp13w.type=ajp13
> worker.ajp13w.host=localhost
> worker.ajp13w.port=8009
> 
> worker.lbps.type=lb
> worker.lbps.host=localhost
> worker.lbps.port=8010
> worker.lbps.balance_workers=ps
> 
> worker.lbws.type=lb
> worker.lbws.host=localhost
> worker.lbws.port=8009
> worker.lbws.balance_workers=ws
> 
> worker.wlb.type=lb
> worker.wlb.host=localhost
> worker.wlb.port=8009
> worker.wlb.balance_workers=ajp13w
> 
> worker.jkstatus.type=status
> worker.jkstatus.host=localhost
> worker.jkstatus.port=8009
> 
> 
> 
> and put lbps resp. lbws behind the equal sign in the lines of
> uriworkermap.properties you want to be mapped to ps resp. ws.  (A bit lost
> on this part and feel sure this is where the problem still lies and
> understanding is off.  Here is what I have as of last changes)
> 
> 
> 
> /admin/*=wlb
> /manager/*=wlb
> /jsp-examples/*=wlb
> /servlets-examples/*=wlb
> /planningstation/*lbps=ps
> /wealthstation/*lbws=ws
> /jkmanager=jkstatus
> 
> 
> Regards,
> 
> Rainer
> 
>> Rainer Jung-3 wrote:
>>> I assume you are using the latest version 1.2.28. That makes things
>>> easier to discuss.
>>>
>>> On 02.06.2009 21:53, dljohnson69 wrote:
>>>> Cool, maybe you can help more than the log files then.  Are you
>>>> referring
>>>> to
>>>> the configuration of the workers.properties and/or the uriworkermap
>>>> files
>>>> or
>>>> is there something else that could be involved as well?  I just started
>>>> with
>>>> a basic setup as instructed by some sites.  Here is what I have, if you
>>>> see
>>>> something that is suspect please point it out...thanks!
>>>>
>>>> #/examples/*=testWorker
>>>> #/examples/*.jsp=testWorker
>>>> #/examples/servlet/*=testWorker
>>>>
>>>> /admin/*=wlb
>>>> /manager/*=wlb
>>>> /jsp-examples/*=wlb
>>>> /servlets-examples/*=wlb
>>>> /wealthstation/*=ws
>>>> /planningstation/*=ps
>>>> /jkmanager=jkstatus
>>> Can you see those in the display of the status worker (/jkmanager)?
>>>
>>>> workers.properties
>>>>
>>>> worker.list=ws,ps,wb,jkstatus
>>>>
>>>> worker.ajp13w.type=ajp13
>>>> worker.ajp13w.host=localhost
>>>> worker.ajp13w.port=8010
>>> Better remove the socket_timeout=0, because that disables it, but it is
>>> disabled by default, and we don't want to rely a "0" to mean disable in
>>> all versions.
>>>
>>>> socket_timeout=0
>>>>
>>>> worker.wlb.type=lb
>>>> worker.wlb.balance_workers=ajp13w
>>>>
>>>> worker.jkstatus.type=status
>>>
>>>> also, I have 2 apps, 2 instances....one houses the ps app, one for the
>>>> ws
>>>> app but from ws the user goes to the ps app once you are in it.  Should
>>>> each
>>>> apps workers.properties file ONLY point to that context or should each
>>>> have
>>>> both?
>>> There is only one workers.properties, not one per context.
>>>
>>> A worker is the same as a Tomcat connector (at least a worker of type
>>> ajp13). So for each Tomcat you need to define one worker.
>>>
>>> You can optionally wrap them in lb workers.
>>>
>>> Which requests get send there is decided by the uriworkermap.properties
>>> shown above.
>>>
>>> So if you only have one Tomcat, you would only use one worker (ajp13w)
>>> and not also ws and ps. Since you wrapped ajp13w into wlb, you would
>>> then map
>>>
>>> /wealthstation/*=wlb
>>> /planningstation/*=wlb
>>>
>>> Theoretically you can define more than one connector (port) for ajp13
>>> use in Tomcat and separate a ws, ps, ajp13w worker from each other, but
>>> you need to have a serious reason for this. If you want a simple start,
>>> don't separate.
>>>
>>> Which requests do not work, example-URL?
>>>
>>> Regards,
>>>
>>> Rainer
>>>
>>>> Thanks again!
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> dljohnson69 wrote:
>>>>> I have a new Tomcat install and deployed app that is working okay but
>>>>> going through the isapi_redirect it gets a "bad gateway" error.   The
>>>>> isapi.log has errors that says it cannot connect to tomcat, "tomcat is
>>>>> down or refused connection".   Any ideas??   I would assume that all
>>>>> is
>>>>> fine since the app works fine when going directly to Tomcat.    The
>>>>> isapi-redirector is loaded and green but will not load through IIS. 
>>>>>
>>>>> Thanks for any helpful advice, we are new to this. 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ISAPI-issues-tp23837289p23851419.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: ISAPI issues

Posted by Rainer Jung <ra...@kippdata.de>.
On 02.06.2009 23:30, dljohnson69 wrote:
> Actually I am still on 1.2.27 but am willing to update, just cannot find a
> compiled download of the 1.2.28 dll.

http://tomcat.apache.org/download-connectors.cgi

> However, I made those changes and now there are no errors in the isapi.log
> but the browser errors with "service temporary unavailable".  When I check
> the logs I get "All Tomcat instances failed, no more workers left". The next
> line says, "all tomcat instances are busy or in error state".  This was
> AFTER a reboot of the physical box.

IIS and Tomcat on the same box?

Could you get your pages directly from Tomcat via its http connector
(8080 or so)?

So does it

- work never
- work sometimes, but sometimes not?

Which URL did you use, what's exactly in the log file?

> I have done nothing nor know how to use the jkstatus, it was just in the
> work or uri example files.  Let me know if I should remove it or if further

Should be available under the URL /jkmanager and is very helpful.
There's a security problem with an open jkstatus though.

> configuration needs to be done if it is needed.  Actually I have 2 Tomcat
> installs, one for ps and one for ws.

So you need to find out the port numbers (and if on different hosts the
host names) and define two workers ws and ps in the way you have done
with ajp13w.

> We are trying to mimic a 3rd party app
> of a vendor and this is the way they have theirs.  Only difference is they
> have Apace and we have IIS, hence the lack of knowledge on it. 
> 
> I have the examples working from IIS, just not the apps for ws and ps.

Define the ws and ps workers with correct host names and ports, wrap
them in a new lb, like lbps and lbws

worker.lbps.type=lb
worker.lbps.balance_workers=ps
worker.lbws.type=lb
worker.lbws.balance_workers=ws

and put lbps resp. lbws behind the equal sign in the lines of
uriworkermap.properties you want to be mapped to ps resp. ws.

Regards,

Rainer

> Rainer Jung-3 wrote:
>> I assume you are using the latest version 1.2.28. That makes things
>> easier to discuss.
>>
>> On 02.06.2009 21:53, dljohnson69 wrote:
>>> Cool, maybe you can help more than the log files then.  Are you referring
>>> to
>>> the configuration of the workers.properties and/or the uriworkermap files
>>> or
>>> is there something else that could be involved as well?  I just started
>>> with
>>> a basic setup as instructed by some sites.  Here is what I have, if you
>>> see
>>> something that is suspect please point it out...thanks!
>>>
>>> #/examples/*=testWorker
>>> #/examples/*.jsp=testWorker
>>> #/examples/servlet/*=testWorker
>>>
>>> /admin/*=wlb
>>> /manager/*=wlb
>>> /jsp-examples/*=wlb
>>> /servlets-examples/*=wlb
>>> /wealthstation/*=ws
>>> /planningstation/*=ps
>>> /jkmanager=jkstatus
>> Can you see those in the display of the status worker (/jkmanager)?
>>
>>> workers.properties
>>>
>>> worker.list=ws,ps,wb,jkstatus
>>>
>>> worker.ajp13w.type=ajp13
>>> worker.ajp13w.host=localhost
>>> worker.ajp13w.port=8010
>> Better remove the socket_timeout=0, because that disables it, but it is
>> disabled by default, and we don't want to rely a "0" to mean disable in
>> all versions.
>>
>>> socket_timeout=0
>>>
>>> worker.wlb.type=lb
>>> worker.wlb.balance_workers=ajp13w
>>>
>>> worker.jkstatus.type=status
>>
>>> also, I have 2 apps, 2 instances....one houses the ps app, one for the ws
>>> app but from ws the user goes to the ps app once you are in it.  Should
>>> each
>>> apps workers.properties file ONLY point to that context or should each
>>> have
>>> both?
>> There is only one workers.properties, not one per context.
>>
>> A worker is the same as a Tomcat connector (at least a worker of type
>> ajp13). So for each Tomcat you need to define one worker.
>>
>> You can optionally wrap them in lb workers.
>>
>> Which requests get send there is decided by the uriworkermap.properties
>> shown above.
>>
>> So if you only have one Tomcat, you would only use one worker (ajp13w)
>> and not also ws and ps. Since you wrapped ajp13w into wlb, you would
>> then map
>>
>> /wealthstation/*=wlb
>> /planningstation/*=wlb
>>
>> Theoretically you can define more than one connector (port) for ajp13
>> use in Tomcat and separate a ws, ps, ajp13w worker from each other, but
>> you need to have a serious reason for this. If you want a simple start,
>> don't separate.
>>
>> Which requests do not work, example-URL?
>>
>> Regards,
>>
>> Rainer
>>
>>> Thanks again!
>>>
>>>
>>>
>>>
>>>
>>> dljohnson69 wrote:
>>>> I have a new Tomcat install and deployed app that is working okay but
>>>> going through the isapi_redirect it gets a "bad gateway" error.   The
>>>> isapi.log has errors that says it cannot connect to tomcat, "tomcat is
>>>> down or refused connection".   Any ideas??   I would assume that all is
>>>> fine since the app works fine when going directly to Tomcat.    The
>>>> isapi-redirector is loaded and green but will not load through IIS. 
>>>>
>>>> Thanks for any helpful advice, we are new to this. 

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


Re: ISAPI issues

Posted by dljohnson69 <DL...@firstcommand.com>.
Actually I am still on 1.2.27 but am willing to update, just cannot find a
compiled download of the 1.2.28 dll.

However, I made those changes and now there are no errors in the isapi.log
but the browser errors with "service temporary unavailable".  When I check
the logs I get "All Tomcat instances failed, no more workers left". The next
line says, "all tomcat instances are busy or in error state".  This was
AFTER a reboot of the physical box.

I have done nothing nor know how to use the jkstatus, it was just in the
work or uri example files.  Let me know if I should remove it or if further
configuration needs to be done if it is needed.  Actually I have 2 Tomcat
installs, one for ps and one for ws.  We are trying to mimic a 3rd party app
of a vendor and this is the way they have theirs.  Only difference is they
have Apace and we have IIS, hence the lack of knowledge on it. 

I have the examples working from IIS, just not the apps for ws and ps.



Rainer Jung-3 wrote:
> 
> I assume you are using the latest version 1.2.28. That makes things
> easier to discuss.
> 
> On 02.06.2009 21:53, dljohnson69 wrote:
>> Cool, maybe you can help more than the log files then.  Are you referring
>> to
>> the configuration of the workers.properties and/or the uriworkermap files
>> or
>> is there something else that could be involved as well?  I just started
>> with
>> a basic setup as instructed by some sites.  Here is what I have, if you
>> see
>> something that is suspect please point it out...thanks!
>> 
>> #/examples/*=testWorker
>> #/examples/*.jsp=testWorker
>> #/examples/servlet/*=testWorker
>> 
>> /admin/*=wlb
>> /manager/*=wlb
>> /jsp-examples/*=wlb
>> /servlets-examples/*=wlb
>> /wealthstation/*=ws
>> /planningstation/*=ps
>> /jkmanager=jkstatus
> 
> Can you see those in the display of the status worker (/jkmanager)?
> 
>> workers.properties
>> 
>> worker.list=ws,ps,wb,jkstatus
>> 
>> worker.ajp13w.type=ajp13
>> worker.ajp13w.host=localhost
>> worker.ajp13w.port=8010
> 
> Better remove the socket_timeout=0, because that disables it, but it is
> disabled by default, and we don't want to rely a "0" to mean disable in
> all versions.
> 
>> socket_timeout=0
>> 
>> worker.wlb.type=lb
>> worker.wlb.balance_workers=ajp13w
>> 
>> worker.jkstatus.type=status
> 
> 
>> also, I have 2 apps, 2 instances....one houses the ps app, one for the ws
>> app but from ws the user goes to the ps app once you are in it.  Should
>> each
>> apps workers.properties file ONLY point to that context or should each
>> have
>> both?
> 
> There is only one workers.properties, not one per context.
> 
> A worker is the same as a Tomcat connector (at least a worker of type
> ajp13). So for each Tomcat you need to define one worker.
> 
> You can optionally wrap them in lb workers.
> 
> Which requests get send there is decided by the uriworkermap.properties
> shown above.
> 
> So if you only have one Tomcat, you would only use one worker (ajp13w)
> and not also ws and ps. Since you wrapped ajp13w into wlb, you would
> then map
> 
> /wealthstation/*=wlb
> /planningstation/*=wlb
> 
> Theoretically you can define more than one connector (port) for ajp13
> use in Tomcat and separate a ws, ps, ajp13w worker from each other, but
> you need to have a serious reason for this. If you want a simple start,
> don't separate.
> 
> Which requests do not work, example-URL?
> 
> Regards,
> 
> Rainer
> 
>> Thanks again!
>> 
>> 
>> 
>> 
>> 
>> dljohnson69 wrote:
>>> I have a new Tomcat install and deployed app that is working okay but
>>> going through the isapi_redirect it gets a "bad gateway" error.   The
>>> isapi.log has errors that says it cannot connect to tomcat, "tomcat is
>>> down or refused connection".   Any ideas??   I would assume that all is
>>> fine since the app works fine when going directly to Tomcat.    The
>>> isapi-redirector is loaded and green but will not load through IIS. 
>>>
>>> Thanks for any helpful advice, we are new to this. 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/ISAPI-issues-tp23837289p23841286.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: ISAPI issues

Posted by Rainer Jung <ra...@kippdata.de>.
I assume you are using the latest version 1.2.28. That makes things
easier to discuss.

On 02.06.2009 21:53, dljohnson69 wrote:
> Cool, maybe you can help more than the log files then.  Are you referring to
> the configuration of the workers.properties and/or the uriworkermap files or
> is there something else that could be involved as well?  I just started with
> a basic setup as instructed by some sites.  Here is what I have, if you see
> something that is suspect please point it out...thanks!
> 
> #/examples/*=testWorker
> #/examples/*.jsp=testWorker
> #/examples/servlet/*=testWorker
> 
> /admin/*=wlb
> /manager/*=wlb
> /jsp-examples/*=wlb
> /servlets-examples/*=wlb
> /wealthstation/*=ws
> /planningstation/*=ps
> /jkmanager=jkstatus

Can you see those in the display of the status worker (/jkmanager)?

> workers.properties
> 
> worker.list=ws,ps,wb,jkstatus
> 
> worker.ajp13w.type=ajp13
> worker.ajp13w.host=localhost
> worker.ajp13w.port=8010

Better remove the socket_timeout=0, because that disables it, but it is
disabled by default, and we don't want to rely a "0" to mean disable in
all versions.

> socket_timeout=0
> 
> worker.wlb.type=lb
> worker.wlb.balance_workers=ajp13w
> 
> worker.jkstatus.type=status


> also, I have 2 apps, 2 instances....one houses the ps app, one for the ws
> app but from ws the user goes to the ps app once you are in it.  Should each
> apps workers.properties file ONLY point to that context or should each have
> both?

There is only one workers.properties, not one per context.

A worker is the same as a Tomcat connector (at least a worker of type
ajp13). So for each Tomcat you need to define one worker.

You can optionally wrap them in lb workers.

Which requests get send there is decided by the uriworkermap.properties
shown above.

So if you only have one Tomcat, you would only use one worker (ajp13w)
and not also ws and ps. Since you wrapped ajp13w into wlb, you would
then map

/wealthstation/*=wlb
/planningstation/*=wlb

Theoretically you can define more than one connector (port) for ajp13
use in Tomcat and separate a ws, ps, ajp13w worker from each other, but
you need to have a serious reason for this. If you want a simple start,
don't separate.

Which requests do not work, example-URL?

Regards,

Rainer

> Thanks again!
> 
> 
> 
> 
> 
> dljohnson69 wrote:
>> I have a new Tomcat install and deployed app that is working okay but
>> going through the isapi_redirect it gets a "bad gateway" error.   The
>> isapi.log has errors that says it cannot connect to tomcat, "tomcat is
>> down or refused connection".   Any ideas??   I would assume that all is
>> fine since the app works fine when going directly to Tomcat.    The
>> isapi-redirector is loaded and green but will not load through IIS. 
>>
>> Thanks for any helpful advice, we are new to this. 



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


Re: ISAPI issues

Posted by dljohnson69 <DL...@firstcommand.com>.
Cool, maybe you can help more than the log files then.  Are you referring to
the configuration of the workers.properties and/or the uriworkermap files or
is there something else that could be involved as well?  I just started with
a basic setup as instructed by some sites.  Here is what I have, if you see
something that is suspect please point it out...thanks!

#/examples/*=testWorker
#/examples/*.jsp=testWorker
#/examples/servlet/*=testWorker

/admin/*=wlb
/manager/*=wlb
/jsp-examples/*=wlb
/servlets-examples/*=wlb
/wealthstation/*=ws
/planningstation/*=ps
/jkmanager=jkstatus

workers.properties

worker.list=ws,ps,wb,jkstatus

worker.ajp13w.type=ajp13
worker.ajp13w.host=localhost
worker.ajp13w.port=8010

socket_timeout=0

worker.wlb.type=lb
worker.wlb.balance_workers=ajp13w

worker.jkstatus.type=status

also, I have 2 apps, 2 instances....one houses the ps app, one for the ws
app but from ws the user goes to the ps app once you are in it.  Should each
apps workers.properties file ONLY point to that context or should each have
both?

Thanks again!





dljohnson69 wrote:
> 
> I have a new Tomcat install and deployed app that is working okay but
> going through the isapi_redirect it gets a "bad gateway" error.   The
> isapi.log has errors that says it cannot connect to tomcat, "tomcat is
> down or refused connection".   Any ideas??   I would assume that all is
> fine since the app works fine when going directly to Tomcat.    The
> isapi-redirector is loaded and green but will not load through IIS. 
> 
> Thanks for any helpful advice, we are new to this. 
> 

-- 
View this message in context: http://www.nabble.com/ISAPI-issues-tp23837289p23839567.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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