<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cPanel Admins &#187; Tomcat</title>
	<atom:link href="http://www.cpaneladmins.com/category/tomcat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpaneladmins.com</link>
	<description>Random Notes for cPanel Admins</description>
	<lastBuildDate>Tue, 01 Feb 2011 02:22:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to Uninstall Servlets from a cPanel Account</title>
		<link>http://www.cpaneladmins.com/how-to-uninstall-servlets-from-a-cpanel-account/</link>
		<comments>http://www.cpaneladmins.com/how-to-uninstall-servlets-from-a-cpanel-account/#comments</comments>
		<pubDate>Wed, 08 Sep 2010 02:51:56 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[domains]]></category>
		<category><![CDATA[servlets]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=399</guid>
		<description><![CDATA[You can remove Tomcat support for sites via /scripts/remservlets, which uses the following syntax: /scripts/remservlets --domain=domain-you-want-to-remove-jsp-and-servlets.com]]></description>
			<content:encoded><![CDATA[<p>You can remove Tomcat support for sites via /scripts/remservlets, which uses the following syntax:</p>
<pre class="brush:bash">/scripts/remservlets --domain=domain-you-want-to-remove-jsp-and-servlets.com</pre>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.cpaneladmins.com%2Fhow-to-uninstall-servlets-from-a-cpanel-account%2F&amp;title=How%20to%20Uninstall%20Servlets%20from%20a%20cPanel%20Account" id="wpa2a_2"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/how-to-uninstall-servlets-from-a-cpanel-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to extract a .war file</title>
		<link>http://www.cpaneladmins.com/how-to-extract-a-war-file/</link>
		<comments>http://www.cpaneladmins.com/how-to-extract-a-war-file/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 02:13:07 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[war]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=385</guid>
		<description><![CDATA[How to extract a .war file If your hosting provider supports Tomcat, but not .war files, you can extract your .war file in your public_html folder to run your Tomcat application from there. # jar xvf filename.war]]></description>
			<content:encoded><![CDATA[<p><strong>How to extract a .war file</strong></p>
<p>If your hosting provider supports Tomcat, but not .war files, you can extract your .war file in your public_html folder to run your Tomcat application from there.</p>
<p><code># jar xvf filename.war</code></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.cpaneladmins.com%2Fhow-to-extract-a-war-file%2F&amp;title=How%20to%20extract%20a%20.war%20file" id="wpa2a_4"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/how-to-extract-a-war-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Increase Memory Available for Tomcat &amp; Java</title>
		<link>http://www.cpaneladmins.com/increase-memory-available-for-tomcat-java/</link>
		<comments>http://www.cpaneladmins.com/increase-memory-available-for-tomcat-java/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 16:26:17 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Tomcat]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[memory]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=361</guid>
		<description><![CDATA[First, open the following file in your favorite editor: # vi /var/cpanel/tomcat.options Insert the following 2 lines (if not already present): Xmx200M Xms100M Xmx is the upper limit and Xms is the lower limit. Once done, restart the Tomcat service: #/scripts/restartsrv_tomcat]]></description>
			<content:encoded><![CDATA[<p>First, open the following file in your favorite editor:</p>
<p><code># vi /var/cpanel/tomcat.options</code></p>
<p>Insert the following 2 lines (if not already present):</p>
<p><code>Xmx200M<br />
Xms100M</code></p>
<p>Xmx is the upper limit and Xms is the lower limit. </p>
<p>Once done, restart the Tomcat service:</p>
<p><code>#/scripts/restartsrv_tomcat</code></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.cpaneladmins.com%2Fincrease-memory-available-for-tomcat-java%2F&amp;title=Increase%20Memory%20Available%20for%20Tomcat%20%26%23038%3B%20Java" id="wpa2a_6"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/increase-memory-available-for-tomcat-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tomcat java.lang.OutOfMemoryError</title>
		<link>http://www.cpaneladmins.com/tomcat-java-lang-outofmemoryerror/</link>
		<comments>http://www.cpaneladmins.com/tomcat-java-lang-outofmemoryerror/#comments</comments>
		<pubDate>Thu, 24 Sep 2009 19:18:56 +0000</pubDate>
		<dc:creator>tech</dc:creator>
				<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://www.cpaneladmins.com/?p=44</guid>
		<description><![CDATA[SEVERE: Caught exception (java.lang.OutOfMemoryError: Java heap space) executing org.apache.jk.common.ChannelSocket$SocketAcceptor@1e9c3f, terminating thread Sep 24, 2009 2:02:23 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet jsp threw exception If you&#8217;re getting this error, place the following in /var/cpanel/tomcat.options, -Xmx256m -Xms256m Then restart tomcat via /scripts/restartsrv_tomcat. You&#8217;ll now see tomcat restart with your options: [root@hosting logs]# vi /var/cpanel/tomcat.options [root@hosting [...]]]></description>
			<content:encoded><![CDATA[<p>SEVERE: Caught exception (java.lang.OutOfMemoryError: Java heap space) executing org.apache.jk.common.ChannelSocket$SocketAcceptor@1e9c3f, terminating thread<br />
Sep 24, 2009 2:02:23 PM org.apache.catalina.core.StandardWrapperValve invoke<br />
SEVERE: Servlet.service() for servlet jsp threw exception</p>
<p>If you&#8217;re getting this error, place the following in /var/cpanel/tomcat.options,<br />
<code><br />
-Xmx256m<br />
-Xms256m</code></p>
<p>Then restart tomcat via /scripts/restartsrv_tomcat.</p>
<p>You&#8217;ll now see tomcat restart with your options:</p>
<p><code><br />
[root@hosting logs]# vi /var/cpanel/tomcat.options<br />
[root@hosting logs]# /scripts/restartsrv_tomcat<br />
Adding in custom Tomcat option(s): -Xmx256m<br />
Adding in custom Tomcat option(s): -Xms256m<br />
</code></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.cpaneladmins.com%2Ftomcat-java-lang-outofmemoryerror%2F&amp;title=Tomcat%20java.lang.OutOfMemoryError" id="wpa2a_8"><img src="http://www.cpaneladmins.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.cpaneladmins.com/tomcat-java-lang-outofmemoryerror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

