<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA["Internal Server Error" occurs if I try to open Tomcat application via browser using URL like http://SERVER_IP/WEB_APP/. If I use port 9080, it works (http://SERVER_IP:9080/WEB_APP/).]]></title>
<link>http://kb.parallels.com/en/1571</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">"Internal Server Error" occurs if I try to open Tomcat application via browser using URL like http://SERVER_IP/WEB_APP/. If I use port 9080, it works (http://SERVER_IP:9080/WEB_APP/).</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1571&nbsp;</div>
					<div>Last Review: Oct,6 2008</div>
					<tr>
						<td>Author: </td>
						<td></td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>system</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Parallels Plesk Panel for Linux/Unix</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Resolution</h2>
					
If an application works though the 9080 port, but failed to run on 80, it is possible that Apache&lt;-&gt;Tomcat (mod_jk) connector is not configured properly.<br /><br />Make sure that the file <span style="font-weight: bold;"><a href="http://kb.parallels.com/en/952">$HTTPD_CONF_D</a>/workers.properties </span>which is included into <span style="font-weight: bold;"><a href="http://kb.parallels.com/en/952">$HTTPD_INCLUDE_D</a>/zz010_psa_httpd.conf  </span>contains the following options:<br /><br /><div style="margin-left: 40px; font-style: italic;">worker.list=ajp13<br />worker.ajp13.port=9008<br />worker.ajp13.host=localhost<br />worker.ajp13.type=ajp13<br /></div><br />If not, correct it and restart Apache.<br /><br />If it doesn't help, check that you get an answer when run:<br /><br /><div class="commandline"><code>#  telnet localhost 9008<br />Trying 127.0.0.1...<br />Connected to localhost.localdomain (127.0.0.1).<br />Escape character is '^]'.</code></div><br /><div style="font-style: italic;"><br /></div>
And if the connection to 9008 failed check that Tomcat itself is configured to listen on 9008. It should be the line in like:<br /><br /><div style="margin-left: 40px;"><span style="font-style: italic;">&lt;Connector port=&quot;9008&quot; enableLookups=&quot;true&quot; debug=&quot;0&quot; protocol=&quot;AJP/1.3&quot;/&gt;<br /></span></div><span style="font-style: italic;"></span><br /><span style="font-style: italic;"></span>If you don't see it, run:<br /><br /><div class="commandline"><code> /usr/local/psa/admin/sbin/tomcatmng  --install-psa</code></div><br /><br />command to configure needed by Plesk connectors.<span style="font-style: italic;"></span><br /><span style="font-style: italic;"></span> 
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1571&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1571&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '1571',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<guid isPermaLink="false">1210 LastUpdated: 2008-10-06 09:11:37</guid>
<pubDate>2008-10-06 09:11:37</pubDate>
</item>
</channel>
</rss>



