<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Hudson love</title>
	<atom:link href="http://malor.se/blog/?feed=rss2&#038;p=57" rel="self" type="application/rss+xml" />
	<link>http://malor.se/blog/?p=57</link>
	<description>Software and fly fishing in harmony</description>
	<lastBuildDate>Wed, 04 Aug 2010 17:04:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: adamarmistead</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8765</link>
		<dc:creator>adamarmistead</dc:creator>
		<pubDate>Mon, 14 Sep 2009 21:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8765</guid>
		<description>The setup here works for me mostly but when I try to run groovy scripts or set up hudson managed security or anything that runs a groovy script i get a ClassNotFoundException for the groovy classes.  Everything works perfectly if i disable the security manager in tomcat so I must still be missing some security setting.  Anyone know how to fix this error?</description>
		<content:encoded><![CDATA[<p>The setup here works for me mostly but when I try to run groovy scripts or set up hudson managed security or anything that runs a groovy script i get a ClassNotFoundException for the groovy classes.  Everything works perfectly if i disable the security manager in tomcat so I must still be missing some security setting.  Anyone know how to fix this error?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regis Desgroppes</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8762</link>
		<dc:creator>Regis Desgroppes</dc:creator>
		<pubDate>Mon, 17 Aug 2009 09:28:16 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8762</guid>
		<description>Sorry for the multiple posts but WordPress doesn&#039;t seem to allow refactoring :)</description>
		<content:encoded><![CDATA[<p>Sorry for the multiple posts but WordPress doesn&#8217;t seem to allow refactoring <img src='http://malor.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regis Desgroppes</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8761</link>
		<dc:creator>Regis Desgroppes</dc:creator>
		<pubDate>Mon, 17 Aug 2009 09:26:31 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8761</guid>
		<description>Re-hum…
============================
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)
————————————————–
&lt;?xml version=’1.0′ encoding=’utf-8′?&gt;
&lt;Context
    docBase=”/srv/hudson/hudson.war”
    privileged=”true”
    path=”/hudson”
    allowLinking=”true”
    swallowOutput=”true”
&gt;
&lt;Environment
    name=”HUDSON_HOME”
    value=”/srv/hudson”
    type=”java.lang.String”
    override=”false”/&gt;
&lt;/Context&gt;</description>
		<content:encoded><![CDATA[<p>Re-hum…<br />
============================<br />
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)<br />
————————————————–<br />
&lt;?xml version=’1.0′ encoding=’utf-8′?&gt;<br />
&lt;Context<br />
    docBase=”/srv/hudson/hudson.war”<br />
    privileged=”true”<br />
    path=”/hudson”<br />
    allowLinking=”true”<br />
    swallowOutput=”true”<br />
&gt;<br />
&lt;Environment<br />
    name=”HUDSON_HOME”<br />
    value=”/srv/hudson”<br />
    type=”java.lang.String”<br />
    override=”false”/&gt;<br />
&lt;/Context&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regis Desgroppes</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8760</link>
		<dc:creator>Regis Desgroppes</dc:creator>
		<pubDate>Mon, 17 Aug 2009 09:24:09 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8760</guid>
		<description>Hum...
============================
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)
————————————————–
&lt;?xml version=&#039;1.0&#039; encoding=&#039;utf-8&#039;?&amp;gt
&lt;Context
	docBase=&quot;/srv/hudson/hudson.war&quot;
	privileged=&quot;true&quot;
	path=&quot;/hudson&quot;
	allowLinking=&quot;true&quot;
	swallowOutput=&quot;true&quot;
&amp;gt
	&lt;Environment name=&quot;HUDSON_HOME&quot; value=&quot;/srv/hudson&quot; type=&quot;java.lang.String&quot; override=&quot;false&quot;/&amp;gt
&lt;/Context&amp;gt</description>
		<content:encoded><![CDATA[<p>Hum&#8230;<br />
============================<br />
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)<br />
————————————————–<br />
&lt;?xml version=&#8217;1.0&#8242; encoding=&#8217;utf-8&#8242;?&amp;gt<br />
&lt;Context<br />
	docBase=&#8221;/srv/hudson/hudson.war&#8221;<br />
	privileged=&#8221;true&#8221;<br />
	path=&#8221;/hudson&#8221;<br />
	allowLinking=&#8221;true&#8221;<br />
	swallowOutput=&#8221;true&#8221;<br />
&amp;gt<br />
	&lt;Environment name=&#8221;HUDSON_HOME&#8221; value=&#8221;/srv/hudson&#8221; type=&#8221;java.lang.String&#8221; override=&#8221;false&#8221;/&amp;gt<br />
&lt;/Context&amp;gt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regis Desgroppes</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8759</link>
		<dc:creator>Regis Desgroppes</dc:creator>
		<pubDate>Mon, 17 Aug 2009 09:20:34 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8759</guid>
		<description>OK, seems it was due to the presence of the xml version &amp; encoding. Removed them so you can finally see the content:
============================
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)
————————————————–

	
</description>
		<content:encoded><![CDATA[<p>OK, seems it was due to the presence of the xml version &amp; encoding. Removed them so you can finally see the content:<br />
============================<br />
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)<br />
————————————————–</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regis Desgroppes</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8758</link>
		<dc:creator>Regis Desgroppes</dc:creator>
		<pubDate>Mon, 17 Aug 2009 09:17:46 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8758</guid>
		<description>Oops, sth wa missing in previsous post:

============================
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)
————————————————–


	
</description>
		<content:encoded><![CDATA[<p>Oops, sth wa missing in previsous post:</p>
<p>============================<br />
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)<br />
————————————————–</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Regis Desgroppes</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8757</link>
		<dc:creator>Regis Desgroppes</dc:creator>
		<pubDate>Mon, 17 Aug 2009 09:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8757</guid>
		<description>Thanks a lot for all your contribs.

In return, let me share my config files:

============================
/etc/tomcat6/policy.d/99hudson.policy (for both extraction and runtime)
--------------------------------------------------
grant codeBase &quot;file:/var/lib/tomcat6/webapps/hudson/-&quot; {
	permission java.security.AllPermission;
};
grant codeBase &quot;file:/srv/hudson/-&quot; {
	permission java.security.AllPermission;
};
============================
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)
--------------------------------------------------


	

============================
In /etc/tomcat6/server.xml, add URIEncoding=&quot;UTF-8&quot; to Connector port otherwise, hudson will complain about URI resolution for non-ascii characters. Any other idea to make it hudson specific?
============================
Dor ssh connections, I had to create a populated .ssh directory in /usr/share/tomcat6. Any other idea to make it hudson specific?

Regards.</description>
		<content:encoded><![CDATA[<p>Thanks a lot for all your contribs.</p>
<p>In return, let me share my config files:</p>
<p>============================<br />
/etc/tomcat6/policy.d/99hudson.policy (for both extraction and runtime)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
grant codeBase &#8220;file:/var/lib/tomcat6/webapps/hudson/-&#8221; {<br />
	permission java.security.AllPermission;<br />
};<br />
grant codeBase &#8220;file:/srv/hudson/-&#8221; {<br />
	permission java.security.AllPermission;<br />
};<br />
============================<br />
/etc/tomcat6/Catalina/localhost/hudson.xml (custom location of .war)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>============================<br />
In /etc/tomcat6/server.xml, add URIEncoding=&#8221;UTF-8&#8243; to Connector port otherwise, hudson will complain about URI resolution for non-ascii characters. Any other idea to make it hudson specific?<br />
============================<br />
Dor ssh connections, I had to create a populated .ssh directory in /usr/share/tomcat6. Any other idea to make it hudson specific?</p>
<p>Regards.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Magnus Häggström</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8668</link>
		<dc:creator>Magnus Häggström</dc:creator>
		<pubDate>Tue, 07 Apr 2009 12:40:40 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8668</guid>
		<description>Instead of disabling tomcat security, a better way is to add, in file /etc/tomcat6/policy.d/50local.policy, the lines:

grant codeBase &quot;file:/var/lib/tomcat6/webapps/hudson/WEB-INF/-&quot; {
  permission java.security.AllPermission;
};</description>
		<content:encoded><![CDATA[<p>Instead of disabling tomcat security, a better way is to add, in file /etc/tomcat6/policy.d/50local.policy, the lines:</p>
<p>grant codeBase &#8220;file:/var/lib/tomcat6/webapps/hudson/WEB-INF/-&#8221; {<br />
  permission java.security.AllPermission;<br />
};</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Altenstedt</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8662</link>
		<dc:creator>Martin Altenstedt</dc:creator>
		<pubDate>Sun, 28 Dec 2008 12:51:13 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8662</guid>
		<description>LymphoCite T, I just verified that the installation instructions indeed seem to work fine with Tomcat 6.  I updated the post so that you can see exactly what I did.  Did you remember to disable the security manager as Julian suggested?  What does your Tomcat log say? (/var/log/tomcat6/catalina.*.log)

Are you running on a minimal installation?  I can really recommend Ubuntu Jeos, now part of the standard server ISO image.  Having your build server running a minimal OS installation is something that I can really recommend, for many reasons.</description>
		<content:encoded><![CDATA[<p>LymphoCite T, I just verified that the installation instructions indeed seem to work fine with Tomcat 6.  I updated the post so that you can see exactly what I did.  Did you remember to disable the security manager as Julian suggested?  What does your Tomcat log say? (/var/log/tomcat6/catalina.*.log)</p>
<p>Are you running on a minimal installation?  I can really recommend Ubuntu Jeos, now part of the standard server ISO image.  Having your build server running a minimal OS installation is something that I can really recommend, for many reasons.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julian Harty</title>
		<link>http://malor.se/blog/?p=57&#038;cpage=1#comment-8661</link>
		<dc:creator>Julian Harty</dc:creator>
		<pubDate>Sat, 27 Dec 2008 21:41:40 +0000</pubDate>
		<guid isPermaLink="false">http://malor.se/blog/?p=57#comment-8661</guid>
		<description>Re: LymphoCite T
I had a similar problem on a fresh install of Ubuntu Heron; and ended up disabling TOMCAT security in my startup script. e.g. TOMCAT6_SECURITY=no

You might find the following article (for Tomcat 5.5 but still relevant) useful
http://suereth.blogspot.com/2008/08/ubuntu-dev-server-hudson.html</description>
		<content:encoded><![CDATA[<p>Re: LymphoCite T<br />
I had a similar problem on a fresh install of Ubuntu Heron; and ended up disabling TOMCAT security in my startup script. e.g. TOMCAT6_SECURITY=no</p>
<p>You might find the following article (for Tomcat 5.5 but still relevant) useful<br />
<a href="http://suereth.blogspot.com/2008/08/ubuntu-dev-server-hudson.html" rel="nofollow">http://suereth.blogspot.com/2008/08/ubuntu-dev-server-hudson.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
