<?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>Tegak Lurus Dengan Langit &#187; sun application server</title>
	<atom:link href="http://www.jejaklangkah.net/blog/tag/sun-application-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jejaklangkah.net/blog</link>
	<description>Jejak Langkah Seorang Pelamun</description>
	<lastBuildDate>Tue, 13 Jan 2009 17:18:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Glassfish Installation On Ubuntu Hardy</title>
		<link>http://www.jejaklangkah.net/blog/2008/09/glassfish-installation-on-ubuntu-hardy/</link>
		<comments>http://www.jejaklangkah.net/blog/2008/09/glassfish-installation-on-ubuntu-hardy/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 07:18:45 +0000</pubDate>
		<dc:creator>paulus</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[glassfish]]></category>
		<category><![CDATA[sun application server]]></category>

		<guid isPermaLink="false">http://www.jejaklangkah.net/blog/?p=406</guid>
		<description><![CDATA[Since one of my responsibility at work is being pre-sales for Sun Identity Manager software, I need a demo environment ready in my laptop for proof-of-concept, presentation, demonstration, and testing purposes. Early on I usually use Tomcat Application Server to host the application. But being a Sun partner, wouldn&#8217;t it be nice if the apps <a href="http://www.jejaklangkah.net/blog/2008/09/glassfish-installation-on-ubuntu-hardy/" class="more-link">More &#62;</a>]]></description>
			<content:encoded><![CDATA[<p>Since one of my responsibility at work is being pre-sales for Sun Identity Manager software, I need a demo environment ready in my laptop for proof-of-concept, presentation, demonstration, and testing purposes. Early on I usually use Tomcat Application Server to host the application. But being a Sun partner, wouldn&#8217;t it be nice if the apps is deployed on Sun Apps Server as well? <img src='http://www.jejaklangkah.net/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . With the new Identity Manager version 8.0 coming to the market, I decided to set it up on Sun Apps Server, known as Glassfish.</p>
<p>So here goes.</p>
<ul>
<li>Install Sun Java JDK</li>
</ul>
<p>There are two alternatives for Java in ubuntu, i.e. OpenJDK and Sun Java JDK. In this environment I&#8217;m going to use Sun Java JDK.</p>
<p><code>$sudo apt-get install sun-java6-jdk</code></p>
<p>Having OpenJDK installed previously, we need to update the system to use the new JDK<br />
<code>$sudo update-alternatives --config java</code></p>
<ul>
<li>Install Glassfish Application Server</li>
</ul>
<p><code>$sudo apt-get install glasshfishv2</code></p>
<p>By default, apt installs the apps server into /usr/share/glasshfishv2/ directory, and the web application folder goes to /var/lib/glassfishv2.</p>
<ul>
<li>Start the application server</li>
</ul>
<p><code>$/usr/share/glassfishv2/bin/asadmin start-domain<br />
.: 7: Can't open /usr/share/glassfishv2/config/asenv.conf<br />
</code></p>
<p>Now this is weird. I check the /usr/share/glasshfishv2/ and there is no config/ directory in the folder.<br />
For some weird reason, apt seem to forget to configure the application server (or maybe I do something wrong?). After I installed it, i didn&#8217;t check the installation, and shutdown my laptop immediately since I need to do something else. Only after I boot my laptop and trying to configure it, I noticed that there are something wrong.</p>
<p>Since this is my first time using Glasshfish, I really don&#8217;t know my way around <img src='http://www.jejaklangkah.net/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Ask Google, and all references failed. Trying dpkg-reconfigure, failed as well. Being lazy as I am, I took the shortcut, reinstall the damn thing <img src='http://www.jejaklangkah.net/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /><br />
<code>$sudo apt-get install --reinstall glassfishv2</code></p>
<p>Finally, there it is. I finally get it right. Fire up my browser and browse to http://localhost:4848/ the admin page appears.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jejaklangkah.net/blog/2008/09/glassfish-installation-on-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
