<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Dan Walmsley &#187; apache wicket tomcat maven debian deployment provisioni</title>
	<atom:link href="http://www.danwalmsley.com/tag/apache-wicket-tomcat-maven-debian-deployment-provisioning-war-java-servlet-permissions/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danwalmsley.com</link>
	<description>Coding so you don&#039;t have to</description>
	<lastBuildDate>Mon, 02 Jan 2012 12:19:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<copyright>Copyright &#xA9; Dan Walmsley 2011 </copyright>
	<managingEditor>dan@danwalmsley.com (Dan Walmsley)</managingEditor>
	<webMaster>dan@danwalmsley.com (Dan Walmsley)</webMaster>
	<image>
		<url>http://www.danwalmsley.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Dan Walmsley</title>
		<link>http://www.danwalmsley.com</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>Putting the nerd in comnerdedy</itunes:summary>
	<itunes:keywords></itunes:keywords>
	<itunes:category text="Society &#38; Culture" />
	<itunes:author>Dan Walmsley</itunes:author>
	<itunes:owner>
		<itunes:name>Dan Walmsley</itunes:name>
		<itunes:email>dan@danwalmsley.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://www.danwalmsley.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Wicket, Tomcat, Debian: Sometimes a little security goes way too far</title>
		<link>http://www.danwalmsley.com/2008/01/20/wicket-tomcat-debian-sometimes-a-little-security-goes-way-too-far/</link>
		<comments>http://www.danwalmsley.com/2008/01/20/wicket-tomcat-debian-sometimes-a-little-security-goes-way-too-far/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 00:40:51 +0000</pubDate>
		<dc:creator>dan</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[apache wicket tomcat maven debian deployment provisioni]]></category>

		<guid isPermaLink="false">http://www.danwalmsley.com/2008/01/20/wicket-tomcat-debian-sometimes-a-little-security-goes-way-too-far/</guid>
		<description><![CDATA[Was up until 3am last night banging my head against another frustrating go-nowhere issue deploying Wicket on Debian Etch&#8217;s default Tomcat5.5. Apparently the latest version (5.5.20-2etch1) has additional security headaches &#8230; <a class="more" href="http://www.danwalmsley.com/2008/01/20/wicket-tomcat-debian-sometimes-a-little-security-goes-way-too-far/">Continue reading</a>]]></description>
			<content:encoded><![CDATA[<p>Was up until 3am last night banging my head against another frustrating go-nowhere issue deploying Wicket on Debian Etch&#8217;s default Tomcat5.5. </p>
<p>Apparently the latest version (5.5.20-2etch1) has additional security <strike>headaches</strike> features which prevent wicket from functioning properly out-of-the-box:</p>
<ul>
<li>First of all, there&#8217;s still an (as-yet-unsolved) mystery around why I couldn&#8217;t get Wicket to start up as a filter. Just the mysterious &#8220;ERROR: filterStart&#8221; which makes me want to feed Tomcat to angry lions. Worked around it by using Wicket in Servlet mode instead.</li>
<li>Tomcat&#8217;s juli.jar can&#8217;t access WEB-INF/classes/logging.properties. Fixed (in sledgehammer-like way) by adding &#8220;permission java.security.AllPermission;&#8221; to /etc/tomcat5.5/policy.d/03catalina.policy, in the Juli section.</li>
<li>Tomcat security prevents webapps from accessing all sorts of features and methods by default, including wicket.properties, methods inside shipped jars, etc. Not being a Tomcat expert, and trusting the innate security of the server and millions of lines of third party code (i.e. I&#8217;m an idiot) I again just popped a java.security.AllPermission; in appropriate spots in /etc/tomcat5.5/policy.d/04webapps.policy. Let the flames commence!</li>
</ul>
<p>If Tomcat was a little more helpful in its error messages, this would never have been so painful. Jetty has always run my Wicket apps without complaint (though I&#8217;ve never tried the official Debian Jetty packages &#8211; maybe they&#8217;re <strike>crippleware</strike> secure too?).</p>
<p>The only reason I use Tomcat at all is the remote management and deployment features, which are well-supported by Cargo. Now that these issues are out of the way (mostly) I can take another few steps towards my dream of a seamless, fire-and-forget, auto-deploying, smoke-tested, pluggable and modular web app deployment system.</p>
<p>Oh, and have I mentioned recently how much I LOVE IInitializer?</p>
<p>Bless you, Wicket. Bless you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.danwalmsley.com/2008/01/20/wicket-tomcat-debian-sometimes-a-little-security-goes-way-too-far/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

