<?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>devnulled &#187; Servers</title>
	<atom:link href="http://devnulled.com/topics/servers/feed/" rel="self" type="application/rss+xml" />
	<link>http://devnulled.com</link>
	<description>devnulled provides news, tips, resources, and articles about various topics that software developers and engineers enjoy.</description>
	<lastBuildDate>Wed, 18 Aug 2010 06:20:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Running Jetty 7 on Port 80 With Maven</title>
		<link>http://devnulled.com/content/2010/08/running-jetty-7-on-port-80-with-maven/</link>
		<comments>http://devnulled.com/content/2010/08/running-jetty-7-on-port-80-with-maven/#comments</comments>
		<pubDate>Wed, 18 Aug 2010 06:20:43 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Culture]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Jetty]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[jetty]]></category>
		<category><![CDATA[jetty 7]]></category>
		<category><![CDATA[jetty connector]]></category>
		<category><![CDATA[mvn]]></category>
		<category><![CDATA[mvn jetty:run]]></category>
		<category><![CDATA[port 80]]></category>

		<guid isPermaLink="false">http://devnulled.com/?p=795</guid>
		<description><![CDATA[I think Jetty is one of the best kept secrets in the Java world, in particular for getting a quick container up and running with full integration with Maven for local testing of Java based web applications. I was doing a non-stock configuration of Jetty 7 and Maven today which took way too much Googling [...]]]></description>
			<content:encoded><![CDATA[<p>I think <a href="http://www.eclipse.org/jetty/">Jetty</a> is one of the best kept secrets in the Java world, in particular for getting a quick container up and running with full integration with <a href="http://maven.apache.org/">Maven</a> for local testing of Java based web applications.  I was doing a non-stock configuration of Jetty 7 and Maven today which took way too much Googling to get working (mostly to custom configure the connector), so I thought I'd document the process for those looking for the same thing.  If you're looking how to get Jetty 7 working on Port 80 (particularly on Linux or OS X) with Maven, you're in the right place.  As of the time of writing, the latest stable release of Jetty looks to be 7.1.6.v20100715.</p>
<p>The three minor hurdles to configuring Jetty 7 and Maven are making sure port 80 is not already taken, getting the right connector implementation configured, and running Maven as sudo so that Jetty has permission to run on Port 80.  In OS X, you can see if anything is already running on port 80 by running the following command from Terminal:</p>
<div class="igBar"><span id="lcode-4"><a href="#" onclick="javascript:showCodeTxt('code-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-4">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">sudo lsof -i -P | grep -i listen </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>If you're on OS X and see something running on Port 80 yet you didn't install a webserver, chances are it's Sharing.  Go to System Preferences > Sharing and disable it.  Otherwise, figure out what process is running on port 80 and make it go away.</p>
<p>Now to configure the Jetty Maven plug-in, here is what my configuration looks like which you should replicate in your pom.xml under the plugins section (and adjust to your particular directory structure and desired context):</p>
<div class="igBar"><span id="lcode-5"><a href="#" onclick="javascript:showCodeTxt('code-5'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-5">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;plugin&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;groupid&gt;org.<span style="">mortbay</span>.<span style="">jetty</span>&lt;/groupid&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;artifactid&gt;jetty-maven-plugin&lt;/artifactid&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;version&gt;<span style="color:#800000;color:#800000;">7</span>.<span style="color:#800000;color:#800000;">1</span>.<span style="color:#800000;color:#800000;">6</span>.<span style="">v20100715</span>&lt;/version&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;configuration&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;connectors&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;connector implementation=<span style="color:#CC0000;">"org.eclipse.jetty.server.nio.SelectChannelConnector"</span>&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;port&gt;<span style="color:#800000;color:#800000;">80</span>&lt;/port&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/connector&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/connectors&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;webappsourcedirectory&gt;$<span style="color:#006600; font-weight:bold;">&#123;</span>basedir<span style="color:#006600; font-weight:bold;">&#125;</span>/resources/war&lt;/webappsourcedirectory&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;scanintervalseconds&gt;<span style="color:#800000;color:#800000;">10</span>&lt;/scanintervalseconds&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;webappconfig&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;contextpath&gt;/&lt;/contextpath&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &lt;/webappconfig&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &lt;/configuration&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;/plugin&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>One of the difficulties I encountered was getting the connector working correctly.  Since Maven has moved to be an Eclipse project, the package structure for the connector has changed and thus the reason most of the existing documentation on getting custom connectors to work did not work for me.</p>
<p>The last remaining hurdle to overcome is that running a standard “mvn jetty:run” doesn't work on OS X (and likely Linux as well). You'll see the error message “Embedded error: Permission denied”.  If you run Maven with error stacktraces enabled, you'll see an exception that looks like this:</p>
<div class="igBar"><span id="lcode-6"><a href="#" onclick="javascript:showCodeTxt('code-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-6">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> Jetty server exiting.</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> ------------------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>ERROR<span style="color:#006600; font-weight:bold;">&#93;</span> BUILD ERROR</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> ------------------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> Failure</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Embedded error: Permission denied</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> ------------------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> Trace</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">LifecycleExecutionException</span>: Failure</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeGoals</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">719</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeStandaloneGoal</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">569</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeGoal</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">539</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeGoalAndHandleFailures</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">387</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeTaskSegments</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">348</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">180</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">DefaultMaven</span>.<span style="">doExecute</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultMaven.<span style="">java</span>:<span style="color:#800000;color:#800000;">328</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">DefaultMaven</span>.<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultMaven.<span style="">java</span>:<span style="color:#800000;color:#800000;">138</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">cli</span>.<span style="">MavenCli</span>.<span style="">main</span><span style="color:#006600; font-weight:bold;">&#40;</span>MavenCli.<span style="">java</span>:<span style="color:#800000;color:#800000;">362</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">cli</span>.<span style="">compat</span>.<span style="">CompatibleMain</span>.<span style="">main</span><span style="color:#006600; font-weight:bold;">&#40;</span>CompatibleMain.<span style="">java</span>:<span style="color:#800000;color:#800000;">60</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">reflect</span>.<span style="">NativeMethodAccessorImpl</span>.<span style="">invoke0</span><span style="color:#006600; font-weight:bold;">&#40;</span>Native Method<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">reflect</span>.<span style="">NativeMethodAccessorImpl</span>.<span style="">invoke</span><span style="color:#006600; font-weight:bold;">&#40;</span>NativeMethodAccessorImpl.<span style="">java</span>:<span style="color:#800000;color:#800000;">39</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">reflect</span>.<span style="">DelegatingMethodAccessorImpl</span>.<span style="">invoke</span><span style="color:#006600; font-weight:bold;">&#40;</span>DelegatingMethodAccessorImpl.<span style="">java</span>:<span style="color:#800000;color:#800000;">25</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at java.<span style="">lang</span>.<span style="">reflect</span>.<span style="">Method</span>.<span style="">invoke</span><span style="color:#006600; font-weight:bold;">&#40;</span>Method.<span style="">java</span>:<span style="color:#800000;color:#800000;">597</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">codehaus</span>.<span style="">classworlds</span>.<span style="">Launcher</span>.<span style="">launchEnhanced</span><span style="color:#006600; font-weight:bold;">&#40;</span>Launcher.<span style="">java</span>:<span style="color:#800000;color:#800000;">315</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">codehaus</span>.<span style="">classworlds</span>.<span style="">Launcher</span>.<span style="">launch</span><span style="color:#006600; font-weight:bold;">&#40;</span>Launcher.<span style="">java</span>:<span style="color:#800000;color:#800000;">255</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">codehaus</span>.<span style="">classworlds</span>.<span style="">Launcher</span>.<span style="">mainWithExitCode</span><span style="color:#006600; font-weight:bold;">&#40;</span>Launcher.<span style="">java</span>:<span style="color:#800000;color:#800000;">430</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">codehaus</span>.<span style="">classworlds</span>.<span style="">Launcher</span>.<span style="">main</span><span style="color:#006600; font-weight:bold;">&#40;</span>Launcher.<span style="">java</span>:<span style="color:#800000;color:#800000;">375</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Caused by: org.<span style="">apache</span>.<span style="">maven</span>.<span style="">plugin</span>.<span style="">MojoExecutionException</span>: Failure</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">AbstractJettyMojo</span>.<span style="">startJetty</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractJettyMojo.<span style="">java</span>:<span style="color:#800000;color:#800000;">462</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">AbstractJettyMojo</span>.<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractJettyMojo.<span style="">java</span>:<span style="color:#800000;color:#800000;">377</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">JettyRunMojo</span>.<span style="">execute</span><span style="color:#006600; font-weight:bold;">&#40;</span>JettyRunMojo.<span style="">java</span>:<span style="color:#800000;color:#800000;">577</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">plugin</span>.<span style="">DefaultPluginManager</span>.<span style="">executeMojo</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultPluginManager.<span style="">java</span>:<span style="color:#800000;color:#800000;">490</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">apache</span>.<span style="">maven</span>.<span style="">lifecycle</span>.<span style="">DefaultLifecycleExecutor</span>.<span style="">executeGoals</span><span style="color:#006600; font-weight:bold;">&#40;</span>DefaultLifecycleExecutor.<span style="">java</span>:<span style="color:#800000;color:#800000;">694</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; ... <span style="color:#800000;color:#800000;">17</span> more</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Caused by: java.<span style="">net</span>.<span style="">SocketException</span>: Permission denied</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">nio</span>.<span style="">ch</span>.<span style="">Net</span>.<span style="">bind</span><span style="color:#006600; font-weight:bold;">&#40;</span>Native Method<span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">nio</span>.<span style="">ch</span>.<span style="">ServerSocketChannelImpl</span>.<span style="">bind</span><span style="color:#006600; font-weight:bold;">&#40;</span>ServerSocketChannelImpl.<span style="">java</span>:<span style="color:#800000;color:#800000;">119</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at sun.<span style="">nio</span>.<span style="">ch</span>.<span style="">ServerSocketAdaptor</span>.<span style="">bind</span><span style="color:#006600; font-weight:bold;">&#40;</span>ServerSocketAdaptor.<span style="">java</span>:<span style="color:#800000;color:#800000;">59</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">server</span>.<span style="">nio</span>.<span style="">SelectChannelConnector</span>.<span style="">open</span><span style="color:#006600; font-weight:bold;">&#40;</span>SelectChannelConnector.<span style="">java</span>:<span style="color:#800000;color:#800000;">209</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">server</span>.<span style="">nio</span>.<span style="">SelectChannelConnector</span>.<span style="">doStart</span><span style="color:#006600; font-weight:bold;">&#40;</span>SelectChannelConnector.<span style="">java</span>:<span style="color:#800000;color:#800000;">289</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">util</span>.<span style="">component</span>.<span style="">AbstractLifeCycle</span>.<span style="">start</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractLifeCycle.<span style="">java</span>:<span style="color:#800000;color:#800000;">55</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">server</span>.<span style="">Server</span>.<span style="">doStart</span><span style="color:#006600; font-weight:bold;">&#40;</span>Server.<span style="">java</span>:<span style="color:#800000;color:#800000;">253</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">JettyServer</span>.<span style="">doStart</span><span style="color:#006600; font-weight:bold;">&#40;</span>JettyServer.<span style="">java</span>:<span style="color:#800000;color:#800000;">67</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">eclipse</span>.<span style="">jetty</span>.<span style="">util</span>.<span style="">component</span>.<span style="">AbstractLifeCycle</span>.<span style="">start</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractLifeCycle.<span style="">java</span>:<span style="color:#800000;color:#800000;">55</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; at org.<span style="">mortbay</span>.<span style="">jetty</span>.<span style="">plugin</span>.<span style="">AbstractJettyMojo</span>.<span style="">startJetty</span><span style="color:#006600; font-weight:bold;">&#40;</span>AbstractJettyMojo.<span style="">java</span>:<span style="color:#800000;color:#800000;">437</span><span style="color:#006600; font-weight:bold;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; ... <span style="color:#800000;color:#800000;">21</span> more </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This is because you need elevated permissions to run applications on lower ports on *nix based systems.  Simply run it as sudo, “sudo mvn jetty:run” and you'll be good to go.</p>
<p>Not a terribly tough problem to overcome on your own, but I thought I'd try and try to save someone some time if they run across the same issues.</p>
]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/content/2010/08/running-jetty-7-on-port-80-with-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Display Which Processes Are Using What Ports</title>
		<link>http://devnulled.com/content/2008/02/how-to-display-which-processes-are-using-what-ports/</link>
		<comments>http://devnulled.com/content/2008/02/how-to-display-which-processes-are-using-what-ports/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 08:19:09 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[Apache HTTPD]]></category>
		<category><![CDATA[Apache Tomcat]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[FreeBSD]]></category>
		<category><![CDATA[JBoss]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[port in use]]></category>
		<category><![CDATA[port is in use]]></category>
		<category><![CDATA[ports]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[processes]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://devnulled.com/content/2008/02/how-to-display-which-processes-are-using-what-ports/</guid>
		<description><![CDATA[This is just a quick entry on how to see which software is using which ports. This comes in handy when trying to install an application server, web server, etc, and are getting errors like "port is in use". Basically in any Unix type derivative such as Linux such (Ubuntu, RedHat, SuSe, etc.), as well [...]]]></description>
			<content:encoded><![CDATA[<p>This is just a quick entry on how to see which software is using which ports.  This comes in handy when trying to install an application server, web server, etc, and are getting errors like "port is in use".</p>
<p>Basically in any Unix type derivative such as Linux such (Ubuntu, RedHat, SuSe, etc.), as well as Mac OS X, all that you need to type this at the command line:</p>
<div class="igBar"><span id="lcode-8"><a href="#" onclick="javascript:showCodeTxt('code-8'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-8">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">lsof -i </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>I remember there being a couple of commands in Windows which you could do this with, but it's been so long since I've used Windows on a regular basis I honestly don't remember how to do it.  I do know you can use <a href="http://www.microsoft.com/technet/sysinternals/Networking/TcpView.mspx">TCPView</a> to accomplish the same thing, however.</p>
]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/content/2008/02/how-to-display-which-processes-are-using-what-ports/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Maven: Including Axis2 Artifacts into EAR&#8217;s</title>
		<link>http://devnulled.com/content/2008/01/maven-including-axis2-artifacts-into-ears/</link>
		<comments>http://devnulled.com/content/2008/01/maven-including-axis2-artifacts-into-ears/#comments</comments>
		<pubDate>Thu, 31 Jan 2008 06:27:42 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[A Day In The Life Of]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Frameworks]]></category>
		<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[JBoss]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[aar]]></category>
		<category><![CDATA[axis2]]></category>
		<category><![CDATA[deploy]]></category>
		<category><![CDATA[ear]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[mar]]></category>
		<category><![CDATA[maven-ear-plugin]]></category>
		<category><![CDATA[maven2]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[war]]></category>

		<guid isPermaLink="false">http://devnulled.com/content/2008/01/maven-including-axis2-artifacts-into-ears/</guid>
		<description><![CDATA[I'm going to skip over a rant about how much Axis2 sucks in order to pass a tip on how to include Axis2 artifacts (AAR's, MAR's, etc) into an EAR file using the Maven plugin to package EAR files, maven-ear-plugin. It's a pretty obvious solution but if you're in a hurry like I've been to [...]]]></description>
			<content:encoded><![CDATA[<p>I'm going to skip over a rant about how much <a href="http://www.bileblog.org/?p=30">Axis2 sucks</a> in order to pass a tip on how to include <a href="http://ws.apache.org/axis2/">Axis2</a> artifacts (AAR's, MAR's, etc) into an EAR file using the <a href="http://maven.apache.org/">Maven</a> plugin to package EAR files, <a href="http://maven.apache.org/plugins/maven-ear-plugin/">maven-ear-plugin</a>.  It's a pretty obvious solution but if you're in a hurry like I've been to convert a project from a single WAR to one with several EJB's, a WAR, etc, there are a lot of new things to learn all at the same time (how <a href="http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases">classloading works with EAR's in JBoss</a>, how to share the same <a href="http://www.hibernate.org/">Hibernate</a> transactions between your web app and EJB's, etc), and this was one of those little things which wasn't immediately obvious.  If you're seeing exceptions like these when trying to package an EAR in Maven:</p>
<div class="igBar"><span id="lcode-11"><a href="#" onclick="javascript:showCodeTxt('code-11'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-11">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">------------------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>ERROR<span style="color:#006600; font-weight:bold;">&#93;</span> BUILD ERROR</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">------------------------------------------------------------------------</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span> Failed to initialize ear modules</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Embedded error: Unknown artifact type<span style="color:#006600; font-weight:bold;">&#91;</span>mar<span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>INFO<span style="color:#006600; font-weight:bold;">&#93;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">------------------------------------------------------------------------</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color:#006600; font-weight:bold;">&#91;</span>DEBUG<span style="color:#006600; font-weight:bold;">&#93;</span> Trace </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>... you've came to the right place.   <img src='http://devnulled.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>There are many ways to setup your package structure under Maven2 to build EAR's, but essentially what I do is create a root level project which packages a given application into an EAR, and nothing more.  Once you have the maven-ear-plugin setup for the most part, all that you need to do is to tell the Maven EAR Plugin to treat the various Axis2 <strike>pieces of shit</strike> packages like JAR's:</p>
<div class="igBar"><span id="lcode-12"><a href="#" onclick="javascript:showCodeTxt('code-12'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-12">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&lt;plugin&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;artifactid&gt;maven-ear-plugin&lt;/artifactid&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;configuration&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;archive&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;manifest&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;addclasspath&gt;true&lt;/addclasspath&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/manifest&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/archive&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;artifacttypemappings&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;artifacttypemapping type=<span style="color:#CC0000;">"mar"</span> mapping=<span style="color:#CC0000;">"jar"</span>/&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;artifacttypemapping type=<span style="color:#CC0000;">"aar"</span> mapping=<span style="color:#CC0000;">"jar"</span>/&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/artifacttypemappings&gt;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/configuration&gt;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/plugin&gt; </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This is just one of many gotcha's I learned about while working on an aforementioned project.   In fact it's really pretty hard to find any comprehensive documentation on getting <a href="http://java.sun.com/products/ejb/">EJB3</a>, <a href="http://www.springframework.org/">Spring</a>, and Hibernate working together on JBoss with a typical Java web application, especially while using Maven.  I have a sample project I used to work through some of the integration issues with this, and will hopefully be able to wrap it up and add it to Google Code in the next few weeks to provide an example of getting all of these technologies to play together. </p>
]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/content/2008/01/maven-including-axis2-artifacts-into-ears/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Tomcat 6 Surpasses 16,000 Simultaneous Connections</title>
		<link>http://devnulled.com/content/2007/04/tomcat-6-surpasses-16000-simultaneous-connections/</link>
		<comments>http://devnulled.com/content/2007/04/tomcat-6-surpasses-16000-simultaneous-connections/#comments</comments>
		<pubDate>Thu, 05 Apr 2007 17:41:11 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[A Day In The Life Of]]></category>
		<category><![CDATA[Apache Tomcat]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[Culture]]></category>
		<category><![CDATA[Disciplines]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Tips, Hacks, & Tricks]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[jetty]]></category>
		<category><![CDATA[load-testing]]></category>
		<category><![CDATA[nio]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://devnulled.com/content/2007/04/tomcat-6-surpasses-16000-simultaneous-connections/</guid>
		<description><![CDATA[Fillp Hanik recently posted a blog entry about a load test comparison he did using Glassfish, Jetty, and Tomcat 6 using the new NIO (non-blocking io) connectors in which Tomcat 6 was able to handle 16,000 connections. As always load tests should always be taken with a grain of salt, but it certainly did produce [...]]]></description>
			<content:encoded><![CDATA[<p>Fillp Hanik recently posted a blog entry about a <a href="http://blog.covalent.net/roller/covalent/entry/20070308">load test comparison</a> he did using <a href="https://glassfish.dev.java.net/">Glassfish</a>, <a href="http://www.mortbay.org/">Jetty</a>, and <a href="http://tomcat.apache.org/">Tomcat 6</a> using the new <a href="http://people.apache.org/%7Efhanik/http.html#Connector%20Comparison">NIO (non-blocking io) connectors</a> in which Tomcat 6 was able to handle 16,000 connections.  As always load tests should always be taken with a grain of salt, but it certainly did produce some interesting results (especially when compared to other servlet containers).  </p>
<p>I've been working on a sizable project at work that uses <a href="http://java.sun.com/j2se/1.4.2/docs/guide/nio/">NIO</a> under the hood, but luckily I'm using a 3rd party library which provides the network connectivity for me.  It seems that NIO is very hard to implement correctly, but if you can, the performance advantages are definitely worth the effort.  I'm only a few days away from starting to do some load testing on my work, so I'll be interested in seeing the performance improvement over the section of code I'm replacing which uses standard IO (not to mention the various synchronization and thread consumption problems I'll be fixing).</p>
<p>Being able to quickly handle a large number of concurrent connections is definitely a requirement for today's AJAX applications, and it's good to see an NIO based connector from someone other than Jetty.</p>
]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/content/2007/04/tomcat-6-surpasses-16000-simultaneous-connections/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free MySQL Binaries No Longer Available?</title>
		<link>http://devnulled.com/content/2006/12/free-mysql-binaries-no-longer-available/</link>
		<comments>http://devnulled.com/content/2006/12/free-mysql-binaries-no-longer-available/#comments</comments>
		<pubDate>Sat, 30 Dec 2006 22:55:07 +0000</pubDate>
		<dc:creator>Brandon Harper</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Languages]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[binaries]]></category>
		<category><![CDATA[downloads]]></category>

		<guid isPermaLink="false">http://devnulled.com/content/2006/12/free-mysql-binaries-no-longer-available/</guid>
		<description><![CDATA[The MySQL Performance Blog is posting about where you can download/build recent binaries of MySQL as it looks like they are no longer offering recent downloads. I'd have to say there is definitely evidence of this being true-- I'm running 5.0.30-1 on my server this site is hosted on, yet the newest version available for [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.mysqlperformanceblog.com/">MySQL Performance Blog</a> is posting about where you can <a href="http://www.mysqlperformanceblog.com/2006/12/29/where-to-get-recent-mysql-version/">download/build recent binaries of MySQL</a> as it looks like they are no longer offering recent downloads.  I'd have to say there is definitely evidence of this being true-- I'm running 5.0.30-1 on my server this site is hosted on, yet the newest version <a href="http://dev.mysql.com/downloads/mysql/5.0.html#downloads">available for download at the MySQL</a> site is 5.0.27.  </p>
<p>I've always been weary of the <a href="http://mysql.com">MySQL</a> licensing scheme and have used <a href="http://postgresql.org">PostgreSQL</a> instead when possible, and if true this would be yet another reason I will continue to choose PostgreSQL over MySQL.</p>
]]></content:encoded>
			<wfw:commentRss>http://devnulled.com/content/2006/12/free-mysql-binaries-no-longer-available/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->