<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Service Temporarily Unavailable, cant connect to Tomcat</title><link>https://answers.axonivy.com/questions/3289/service-temporarily-unavailable-cant-connect-to-tomcat</link><description>&lt;p&gt;Hello everybody,&lt;/p&gt;
&lt;p&gt;I want to set up an IIS in front of my engine. I already executed the batch script as in the integration-guide described.&lt;/p&gt;
&lt;p&gt;Now if I want to access the engine I get the following message:&lt;/p&gt;
&lt;p&gt;"Service Temporarily Unavailable!
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
  Tomcat/ISAPI/isapi_redirector/1.2.42"&lt;/p&gt;
&lt;p&gt;I also took a look into the log-file of isapi_redirect_1.2.42 and got the following entries:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;"[Tue May 29 13:22:42.100 2018] [1936:5868] [info] jk_open_socket::jk_connect.c (817): connect to 127.0.0.1:8009 failed (errno=61)

[Tue May 29 13:22:42.101 2018] [1936:5868] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1068): (AxonIvyEngine) Failed opening socket to (127.0.0.1:8009) (errno=61)

[Tue May 29 13:22:42.101 2018] [1936:5868] [error] ajp_send_request::jk_ajp_common.c (1728): (AxonIvyEngine) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=61)

[Tue May 29 13:22:42.101 2018] [1936:5868] [info] ajp_service::jk_ajp_common.c (2778): (AxonIvyEngine) sending request to tomcat failed (recoverable), because of error during request sending (attempt=1)

[Tue May 29 13:22:43.227 2018] [1936:5868] [info] jk_open_socket::jk_connect.c (817): connect to 127.0.0.1:8009 failed (errno=61)

[Tue May 29 13:22:43.227 2018] [1936:5868] [info] ajp_connect_to_endpoint::jk_ajp_common.c (1068): (AxonIvyEngine) Failed opening socket to (127.0.0.1:8009) (errno=61)

[Tue May 29 13:22:43.227 2018] [1936:5868] [error] ajp_send_request::jk_ajp_common.c (1728): (AxonIvyEngine) connecting to backend failed. Tomcat is probably not started or is listening on the wrong port (errno=61)

[Tue May 29 13:22:43.227 2018] [1936:5868] [info] ajp_service::jk_ajp_common.c (2778): (AxonIvyEngine) sending request to tomcat failed (recoverable), because of error during request sending (attempt=2)

[Tue May 29 13:22:43.227 2018] [1936:5868] [error] ajp_service::jk_ajp_common.c (2799): (AxonIvyEngine) connecting to tomcat failed (rc=-3, errors=1, client_errors=0).

[Tue May 29 13:22:43.227 2018] [1936:5868] [error] HttpExtensionProc::jk_isapi_plugin.c (2240): service() failed with http error 503

[Tue May 29 13:23:15.651 2018] [1936:5568] [info] TerminateFilter::jk_isapi_plugin.c (2299): Tomcat/ISAPI/isapi_redirector/1.2.42 stopping"
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Can you help me to get this thing started?&lt;/p&gt;
&lt;p&gt;Thanks in advance and best regards
Sebastian&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3289/service-temporarily-unavailable-cant-connect-to-tomcat" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 07 Jun 2018 02:58:24 -0400</lastBuildDate><item><title>Comment by Sebastian Ko on Reguel Wermelinger's answer</title><link>https://answers.axonivy.com/questions/3289/service-temporarily-unavailable-cant-connect-to-tomcat#3320</link><description>&lt;p&gt;Thanks for your help. It helped me to find out that something with my port on the host worked wrong. Don't forget to set back the changes if your problem is solved, so that the performance of the engine and IIS won't be affected negativly.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Ko</dc:creator><pubDate>Thu, 07 Jun 2018 02:58:24 -0400</pubDate><guid>https://answers.axonivy.com/questions/3289/service-temporarily-unavailable-cant-connect-to-tomcat#3320</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/3289/service-temporarily-unavailable-cant-connect-to-tomcat/3317</link><description>&lt;p&gt;Things to check that AJP works properly on the Axon.ivy Engine side:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Check that AJP is Enabled&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;and verify that you try to connect to the correct Port. By default AJP is enabled and bound to TCP port 8009. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;you can the AJP settings in the EngineConfigUI: &lt;img src="https://answers.axonivy.com/upfiles/WebServerPorts.png" height="300"&gt;&lt;/li&gt;
&lt;li&gt;or in the Admin UI. See System Properties &amp;gt; &lt;code&gt;Webserver.AJP.Enabled&lt;/code&gt; and &lt;code&gt;Webserver.AJP.Port&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;changes on these properties (EngineConfigUi oder AdminUI) always require a restart of the Engine to take effect!&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Verify that the TCP Port was bound&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;By default this is TCP Port 8009 which must be bound during the Engine boot and is waiting to receive packets.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;on windows: execute &lt;code&gt;netstat&lt;/code&gt; &lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/ajpListener_windows.png"&gt;&lt;/li&gt;
&lt;li&gt;on linux: execute &lt;code&gt;lsof -i&lt;/code&gt; &lt;img alt="alt text" src="https://answers.axonivy.com/upfiles/ajpListenerLinux.png"&gt;&lt;/li&gt;
&lt;li&gt;if the port is not bound. Try to log the AJP connector bootstrap to get more results: &lt;a href="https://answers.axonivy.com/questions/3318/how-to-log-ajp-connector-bootstrap"&gt;https://answers.axonivy.com/questions/3318/how-to-log-ajp-connector-bootstrap&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Examine IIS &amp;lt;-&amp;gt; Axon.ivyEngine communication&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Enable isap-redirect trace logging to examine in detail the communication between the IIS and the Axon.ivy Engine.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Go to your IIS integration directory. By default &lt;code&gt;[engineDir]/misc/iis/isapi_redirect-1.2.42.properties&lt;/code&gt;. In a productive installation you hopefully have copied that directory to another location outside your current installation directory.&lt;/li&gt;
&lt;li&gt;Adjust the content of the file. Set &lt;code&gt;log_level=debug&lt;/code&gt;, save it. And fire a request against the IIS frontend with your browser.  &lt;img src="https://answers.axonivy.com/upfiles/isapiDebugLog.png" height="200"&gt;&lt;/li&gt;
&lt;/ul&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Thu, 07 Jun 2018 02:28:13 -0400</pubDate><guid>https://answers.axonivy.com/questions/3289/service-temporarily-unavailable-cant-connect-to-tomcat/3317</guid></item><item><title>Comment by ToanLC on Sebastian Ko's question</title><link>https://answers.axonivy.com/questions/3289/service-temporarily-unavailable-cant-connect-to-tomcat#3290</link><description>&lt;p&gt;Could it be the case that the port you configured for ivy engine has been taken by other services?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ToanLC</dc:creator><pubDate>Tue, 29 May 2018 23:40:41 -0400</pubDate><guid>https://answers.axonivy.com/questions/3289/service-temporarily-unavailable-cant-connect-to-tomcat#3290</guid></item></channel></rss>