Service Temporary Unavailable! after adding site in IIS7

1,341 views
Skip to first unread message

Anthony Katgert

unread,
Mar 7, 2011, 2:30:38 AM3/7/11
to Railo
Members
I managed to get Tomcat to listen to port 80 - used a fresh install of
Jordan;'s Railo Installer with Tomcat for Windows. I installed in on
my laptop.

All seemd to be working, yet when I just added a site www.pasio2go.com
in IIS7 just after amending the server.xml file - go to my browser and
I get


Service Temporary Unavailable!
The server is temporarily unable to service your request due to
maintenance downtime or capacity problems. Please try again later.





Jakarta/ISAPI/isapi_redirector/1.2.30

I posted my logfiles below, can anyone make sense of this ? I mean it
seems to refer to port 8009

Thanks in advance

Logfile output isapi_redirect:

[Mon Mar 07 08:21:46.092 2011] [4316:4528] [info] jk_connect.c (622):
connect to 127.0.0.1:8009 failed (errno=61)
[Mon Mar 07 08:21:46.119 2011] [4316:4528] [info] jk_ajp_common.c
(959): Failed opening socket to (127.0.0.1:8009) (errno=61)
[Mon Mar 07 08:21:46.142 2011] [4316:4528] [error] jk_ajp_common.c
(1585): (ajp13w) connecting to backend failed. Tomcat is probably not
started or is listening on the wrong port (errno=61)
[Mon Mar 07 08:21:46.164 2011] [4316:4528] [info] jk_ajp_common.c
(2540): (ajp13w) sending request to tomcat failed (recoverable),
because of error during request sending (attempt=1)
[Mon Mar 07 08:21:47.301 2011] [4316:4528] [info] jk_connect.c (622):
connect to 127.0.0.1:8009 failed (errno=61)
[Mon Mar 07 08:21:47.332 2011] [4316:4528] [info] jk_ajp_common.c
(959): Failed opening socket to (127.0.0.1:8009) (errno=61)
[Mon Mar 07 08:21:47.391 2011] [4316:4528] [error] jk_ajp_common.c
(1585): (ajp13w) connecting to backend failed. Tomcat is probably not
started or is listening on the wrong port (errno=61)
[Mon Mar 07 08:21:47.458 2011] [4316:4528] [info] jk_ajp_common.c
(2540): (ajp13w) sending request to tomcat failed (recoverable),
because of error during request sending (attempt=2)
[Mon Mar 07 08:21:47.500 2011] [4316:4528] [error] jk_ajp_common.c
(2559): (ajp13w) connecting to tomcat failed.
[Mon Mar 07 08:21:47.544 2011] [4316:4528] [info] jk_lb_worker.c
(1388): service failed, worker ajp13w is in error state
[Mon Mar 07 08:21:47.684 2011] [4316:4528] [info] jk_lb_worker.c
(1440): Forcing recovery once for 1 workers
[Mon Mar 07 08:21:48.731 2011] [4316:4528] [info] jk_connect.c (622):
connect to 127.0.0.1:8009 failed (errno=61)
[Mon Mar 07 08:21:48.765 2011] [4316:4528] [info] jk_ajp_common.c
(959): Failed opening socket to (127.0.0.1:8009) (errno=61)
[Mon Mar 07 08:21:48.786 2011] [4316:4528] [error] jk_ajp_common.c
(1585): (ajp13w) connecting to backend failed. Tomcat is probably not
started or is listening on the wrong port (errno=61)
[Mon Mar 07 08:21:48.808 2011] [4316:4528] [info] jk_ajp_common.c
(2540): (ajp13w) sending request to tomcat failed (recoverable),
because of error during request sending (attempt=1)
[Mon Mar 07 08:21:49.941 2011] [4316:4528] [info] jk_connect.c (622):
connect to 127.0.0.1:8009 failed (errno=61)
[Mon Mar 07 08:21:49.975 2011] [4316:4528] [info] jk_ajp_common.c
(959): Failed opening socket to (127.0.0.1:8009) (errno=61)
[Mon Mar 07 08:21:49.997 2011] [4316:4528] [error] jk_ajp_common.c
(1585): (ajp13w) connecting to backend failed. Tomcat is probably not
started or is listening on the wrong port (errno=61)
[Mon Mar 07 08:21:50.029 2011] [4316:4528] [info] jk_ajp_common.c
(2540): (ajp13w) sending request to tomcat failed (recoverable),
because of error during request sending (attempt=2)
[Mon Mar 07 08:21:50.053 2011] [4316:4528] [error] jk_ajp_common.c
(2559): (ajp13w) connecting to tomcat failed.
[Mon Mar 07 08:21:50.076 2011] [4316:4528] [info] jk_lb_worker.c
(1388): service failed, worker ajp13w is in error state
[Mon Mar 07 08:21:50.098 2011] [4316:4528] [info] jk_lb_worker.c
(1468): All tomcat instances are busy or in error state
[Mon Mar 07 08:21:50.120 2011] [4316:4528] [error] jk_lb_worker.c
(1473): All tomcat instances failed, no more workers left
[Mon Mar 07 08:21:50.153 2011] [4316:4528] [error] jk_isapi_plugin.c
(2195): service() failed with http error 503

Logfile output catalina

7-mrt-2011 8:21:38 org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
7-mrt-2011 8:21:38 org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
7-mrt-2011 8:21:38 org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 138 column 4: Element type "Host"
must be followed by either attribute specifications, ">" or "/>".
org.xml.sax.SAXParseException: Element type "Host" must be followed by
either attribute specifications, ">" or "/>".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642)
at org.apache.catalina.startup.Catalina.load(Catalina.java:510)
at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
7-mrt-2011 8:21:38 org.apache.catalina.startup.Catalina load
WARNING: Catalina.start using conf/server.xml:
org.xml.sax.SAXParseException: Element type "Host" must be followed by
either attribute specifications, ">" or "/>".
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642)
at org.apache.catalina.startup.Catalina.load(Catalina.java:510)
at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
7-mrt-2011 8:21:38 org.apache.tomcat.util.digester.Digester fatalError
SEVERE: Parse Fatal Error at line 138 column 4: Element type "Host"
must be followed by either attribute specifications, ">" or "/>".
org.xml.sax.SAXParseException: Element type "Host" must be followed by
either attribute specifications, ">" or "/>".
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642)
at org.apache.catalina.startup.Catalina.load(Catalina.java:510)
at org.apache.catalina.startup.Catalina.start(Catalina.java:568)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
7-mrt-2011 8:21:38 org.apache.catalina.startup.Catalina load
WARNING: Catalina.start using conf/server.xml:
org.xml.sax.SAXParseException: Element type "Host" must be followed by
either attribute specifications, ">" or "/>".
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.tomcat.util.digester.Digester.parse(Digester.java:1642)
at org.apache.catalina.startup.Catalina.load(Catalina.java:510)
at org.apache.catalina.startup.Catalina.start(Catalina.java:568)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
7-mrt-2011 8:21:38 org.apache.catalina.startup.Catalina start
SEVERE: Cannot start server. Server instance is not configured.

Logfile output jakarta_service

[2011-03-07 00:36:13] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 00:36:13] [info] Running Service...
[2011-03-07 00:36:13] [info] Starting service...
[2011-03-07 00:36:14] [info] Service started in 1286 ms.
[2011-03-07 00:36:17] [info] Run service finished.
[2011-03-07 00:36:17] [info] Commons Daemon procrun finished.
[2011-03-07 00:38:10] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 00:38:10] [info] Running Service...
[2011-03-07 00:38:10] [info] Starting service...
[2011-03-07 00:38:12] [info] Service started in 1213 ms.
[2011-03-07 00:38:14] [info] Run service finished.
[2011-03-07 00:38:14] [info] Commons Daemon procrun finished.
[2011-03-07 00:55:23] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 00:55:23] [info] Running Service...
[2011-03-07 00:55:23] [info] Starting service...
[2011-03-07 00:55:24] [info] Service started in 1224 ms.
[2011-03-07 00:55:26] [info] Run service finished.
[2011-03-07 00:55:26] [info] Commons Daemon procrun finished.
[2011-03-07 00:56:12] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 00:56:12] [info] Running Service...
[2011-03-07 00:56:12] [info] Starting service...
[2011-03-07 00:56:13] [info] Service started in 1204 ms.
[2011-03-07 00:56:15] [info] Run service finished.
[2011-03-07 00:56:15] [info] Commons Daemon procrun finished.
[2011-03-07 00:58:25] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 00:58:25] [info] Running Service...
[2011-03-07 00:58:25] [info] Starting service...
[2011-03-07 00:58:26] [info] Service started in 1260 ms.
[2011-03-07 00:58:28] [info] Run service finished.
[2011-03-07 00:58:28] [info] Commons Daemon procrun finished.
[2011-03-07 01:00:01] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 01:00:01] [info] Running Service...
[2011-03-07 01:00:01] [info] Starting service...
[2011-03-07 01:00:03] [info] Service started in 1267 ms.
[2011-03-07 01:00:05] [info] Run service finished.
[2011-03-07 01:00:05] [info] Commons Daemon procrun finished.
[2011-03-07 01:00:46] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 01:00:46] [info] Running Service...
[2011-03-07 01:00:46] [info] Starting service...
[2011-03-07 01:00:47] [info] Service started in 1254 ms.
[2011-03-07 01:00:49] [info] Run service finished.
[2011-03-07 01:00:49] [info] Commons Daemon procrun finished.
[2011-03-07 01:01:49] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 01:01:49] [info] Running Service...
[2011-03-07 01:01:49] [info] Starting service...
[2011-03-07 01:01:50] [info] Service started in 1228 ms.
[2011-03-07 01:01:52] [info] Run service finished.
[2011-03-07 01:01:52] [info] Commons Daemon procrun finished.
[2011-03-07 07:36:18] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 07:36:18] [info] Running Service...
[2011-03-07 07:36:18] [info] Starting service...
[2011-03-07 07:36:22] [info] Service started in 4080 ms.
[2011-03-07 07:36:32] [info] Run service finished.
[2011-03-07 07:36:32] [info] Commons Daemon procrun finished.
[2011-03-07 07:58:32] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 07:58:32] [info] Running Service...
[2011-03-07 07:58:32] [info] Starting service...
[2011-03-07 07:58:33] [info] Service started in 1324 ms.
[2011-03-07 07:58:34] [info] Run service finished.
[2011-03-07 07:58:34] [info] Commons Daemon procrun finished.
[2011-03-07 07:58:43] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 07:58:43] [info] Running Service...
[2011-03-07 07:58:43] [info] Starting service...
[2011-03-07 07:58:44] [info] Service started in 1212 ms.
[2011-03-07 07:58:45] [info] Run service finished.
[2011-03-07 07:58:45] [info] Commons Daemon procrun finished.
[2011-03-07 07:59:16] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 07:59:16] [info] Running Service...
[2011-03-07 07:59:16] [info] Starting service...
[2011-03-07 07:59:17] [info] Service started in 1222 ms.
[2011-03-07 07:59:18] [info] Run service finished.
[2011-03-07 07:59:18] [info] Commons Daemon procrun finished.
[2011-03-07 07:59:27] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 07:59:27] [info] Running Service...
[2011-03-07 07:59:27] [info] Starting service...
[2011-03-07 07:59:29] [info] Service started in 1298 ms.
[2011-03-07 07:59:30] [info] Run service finished.
[2011-03-07 07:59:30] [info] Commons Daemon procrun finished.
[2011-03-07 08:16:51] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 08:16:51] [info] Running Service...
[2011-03-07 08:16:51] [info] Starting service...
[2011-03-07 08:16:52] [info] Service started in 1230 ms.
[2011-03-07 08:16:53] [info] Run service finished.
[2011-03-07 08:16:53] [info] Commons Daemon procrun finished.
[2011-03-07 08:17:29] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 08:17:29] [info] Running Service...
[2011-03-07 08:17:29] [info] Starting service...
[2011-03-07 08:17:31] [info] Service started in 1232 ms.
[2011-03-07 08:17:32] [info] Run service finished.
[2011-03-07 08:17:32] [info] Commons Daemon procrun finished.
[2011-03-07 08:18:10] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 08:18:10] [info] Running Service...
[2011-03-07 08:18:10] [info] Starting service...
[2011-03-07 08:18:12] [info] Service started in 1246 ms.
[2011-03-07 08:18:13] [info] Run service finished.
[2011-03-07 08:18:13] [info] Commons Daemon procrun finished.
[2011-03-07 08:18:21] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 08:18:21] [info] Running Service...
[2011-03-07 08:18:21] [info] Starting service...
[2011-03-07 08:18:23] [info] Service started in 1211 ms.
[2011-03-07 08:18:25] [info] Run service finished.
[2011-03-07 08:18:25] [info] Commons Daemon procrun finished.
[2011-03-07 08:21:35] [info] Commons Daemon procrun (1.0.2.0) started
[2011-03-07 08:21:35] [info] Running Service...
[2011-03-07 08:21:35] [info] Starting service...
[2011-03-07 08:21:36] [info] Service started in 1196 ms.
[2011-03-07 08:21:38] [info] Run service finished.
[2011-03-07 08:21:38] [info] Commons Daemon procrun finished.

Jordan Michaels

unread,
Mar 23, 2011, 2:39:51 PM3/23/11
to Railo
Odd. I do not see this in my in-box and according to the google site
I'm looking at now, no one has responded to this (http://
groups.google.com/group/railo/browse_thread/thread/8cf18f43007667e0).

Sorry about that. I just haven't seen this before now. I only happened
across it now because I was researching another Railo issue.

At any rate, regarding this issue, check the documentation here:
http://wiki.getrailo.org/wiki/Installation:InstallerDocumentation:MSAddingSites

Make sure you remembered to add the "jakarta" directory to your new
site in IIS. That's a step that's frequently forgotten. Next, make
sure that port 8009 is accessible by your machine, and not firewalled
or anything like that.

Hope this helps.

-Jordan


On Mar 7, 12:30 am, Anthony Katgert <anth...@pasioingredients.com>
wrote:
Reply all
Reply to author
Forward
0 new messages