<?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>USENIX LISA Large Installation Systems Administration Conference Blog &#187; j2ee</title>
	<atom:link href="http://lisa.usenix.org/?feed=rss2&#038;tag=j2ee" rel="self" type="application/rss+xml" />
	<link>http://lisa.usenix.org</link>
	<description>All things related to the USENIX Large Installation Systems Administration Conference (LISA)</description>
	<lastBuildDate>Tue, 16 Dec 2008 06:38:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Java System Administration: Sys Admin, meet J2EE</title>
		<link>http://lisa.usenix.org/?p=105</link>
		<comments>http://lisa.usenix.org/?p=105#comments</comments>
		<pubDate>Fri, 14 Nov 2008 09:48:37 +0000</pubDate>
		<dc:creator>msacks</dc:creator>
				<category><![CDATA[LISA '08]]></category>
		<category><![CDATA[bof]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://lisa.usenix.org/?p=105</guid>
		<description><![CDATA[I gave a small talk at a BoF at LISA entitled J2EE / Java System Administration. This talk was mostly intended for system administrators at LISA who have not had experience with running J2EE application servers and wanted to get some insights into how it is set up and administered. The talk was short and [...]]]></description>
			<content:encoded><![CDATA[<p>I gave a small talk at a BoF at LISA entitled J2EE / Java System Administration. This talk was mostly intended for system administrators at LISA who have not had experience with running J2EE application servers and wanted to get some insights into how it is set up and administered. The talk was short and only offered a brief introduction with the JBoss Community Application server, but people seemed to find it useful, and the audience had some information to share and contribute their experience with running Java application servers.</p>
<p>I have posted a few links here for anyone interested in testing out a Java application server. The target audience is for those who have little or no experience with running J2EE application servers and how to get it set up.</p>
<p><strong>The Elevator Pitch on Application Servers</strong><br />
Pre-requisites: Have Java installed on the host (JRE or JDK 1.5+ is recommended)</p>
<p>Step 1) Get the application server of choice (in this case the free, open-source version of JBoss AS) to install on their system from http://www.jboss.org/jbossas/downloads/<br />
Step 2) Configure the ulimit settings and JAVA_OPTS to enable core dumps and remote management with Java Management Extensions (JMX).</p>
<pre>NOTE: For the ulimit settings a ulimit of unlimited is recommended for the user account under which the application server will run. This is to enable core dumps and setting this to unlimited will eliminate the need to change this setting if heap size is adjusted.</pre>
<p>Setting the JAVA_OPTS: <a href="http://gallemore.blogspot.com/2007/11/connecting-jconsole-to-jboss-jmx-server.html" target="_blank">http://gallemore.blogspot.com/2007/11/connecting-jconsole-to-jboss-jmx-server.html</a><br />
What is JMX: <a href="http://blogs.sun.com/jmxetc/entry/what_is_jmx" target="_blank">http://blogs.sun.com/jmxetc/entry/what_is_jmx</a></p>
<p>Step 3) Unzip the jboss installation to it’s desired location and run bin/run.sh.<br />
Step 4) Deploy an application that you created or downloaded from a trusted site. A simple Hello World web application was used as an example: <a href="http://www.centerkey.com/jboss/" target="_blank">http://www.centerkey.com/jboss/</a></p>
<p>Now the application server is running, and is ready for the deployment of Java web applications or web service applications to it. That’s it! You have configured a Java application server.</p>
<p><strong>Troubleshooting the Application Server</strong><br />
Some utilities were showcase and introduced during the talk, and those links are available below. Gathering thread dumps was shown during the talk and the process is generally as follows:</p>
<p><strong>Generate a thread dump</strong><br />
How to generate and capture Java stack traces: <a href="http://www.jboss.org/community/docs/DOC-12300" target="_blank">http://www.jboss.org/community/docs/DOC-12300</a></p>
<p><strong>Analyze the thread dump. </strong><br />
A tool called Samurai (written in Java) was used as an example: <a href="http://yusuke.homeip.net/samurai/en/index.html" target="_blank">http://yusuke.homeip.net/samurai/en/index.html</a><br />
Monitor the live application server via JMX using Jconsole. Jconsole part of the standard J2SE 1.5+ distribution: <a href="http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html" target="_blank">http://java.sun.com/developer/technicalArticles/J2SE/jconsole.html</a><br />
I hope this BoF/Talk has whetted your appetite for Java, which is a rich, incredibly powerful programming language and application platform.</p>
<p>Matthew</p>
]]></content:encoded>
			<wfw:commentRss>http://lisa.usenix.org/?feed=rss2&amp;p=105</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
