<?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>Putting the nerd in comnerdedy</description>
	<lastBuildDate>Thu, 03 Jun 2010 23:38:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" - maintenance_release="8.8.4" -->
		<copyright>2006-2007 </copyright>
		<managingEditor>dan@danwalmsley.com (Dan Walmsley)</managingEditor>
		<webMaster>dan@danwalmsley.com (Dan Walmsley)</webMaster>
		<category>posts</category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Putting the nerd in comnerdedy</itunes:summary>
		<itunes:author>Dan Walmsley</itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<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" />
		<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>
		<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 features which prevent wicket from functioning properly out-of-the-box:

First of all, there&#8217;s still an (as-yet-unsolved) mystery around why I couldn&#8217;t get Wicket to start up as [...]]]></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>
