<?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>SpaceFan &#187; Glassfish</title>
	<atom:link href="http://know-and-share.de/spacefan/tag/glassfish/feed/" rel="self" type="application/rss+xml" />
	<link>http://know-and-share.de/spacefan</link>
	<description>Hansjoerg&#039;s thoughts on space (outer-, knowledge-, development-) and related</description>
	<lastBuildDate>Sat, 24 Apr 2010 17:56:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Test and Deploy in virtual times Part 3</title>
		<link>http://know-and-share.de/spacefan/software-development/test-and-deploy-in-virtual-times-part-3/</link>
		<comments>http://know-and-share.de/spacefan/software-development/test-and-deploy-in-virtual-times-part-3/#comments</comments>
		<pubDate>Fri, 13 Nov 2009 12:18:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Glassfish]]></category>
		<category><![CDATA[Opensolaris]]></category>

		<guid isPermaLink="false">http://know-and-share.de/spacefan/?p=66</guid>
		<description><![CDATA[So, now that we have a running OpenSolaris install in our VirtualBox, let&#8217;s get to the next step: Installation of Glassfish and MySQL
First: Installation of Glassfish
Let&#8217;s take the easy approach and use the built-in graphical tools. This is specifically easy as both applications are integrated into OpenSolaris Package Manager. So startup the Package Manager (you [...]]]></description>
			<content:encoded><![CDATA[<p>So, now that we have a running OpenSolaris install in our VirtualBox, let&#8217;s get to the next step: Installation of Glassfish and MySQL</p>
<p><strong>First: Installation of Glassfish</strong></p>
<p>Let&#8217;s take the easy approach and use the built-in graphical tools. This is specifically easy as both applications are integrated into OpenSolaris Package Manager. So startup the Package Manager (you can see a link to it on the Desktop). There is an icon called &#8220;Add more software&#8221;, just double-click on this and the Package Manager will start up. It will look like this:</p>
<div id="attachment_72" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-72" title="Package-Mgr" src="http://know-and-share.de/spacefan/wp-content/uploads/2009/11/Package-Mgr-300x240.png" alt="Initial View of Package Manager" width="300" height="240" /><p class="wp-caption-text">Initial View of Package Manager</p></div>
<p>Give it some time to update it&#8217;s catalog. Then select the category Web and find Glassfish. Click on the selection and then press the &#8220;Install&#8221;-Button.</p>
<div id="attachment_71" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-71" title="Glassfish-Select" src="http://know-and-share.de/spacefan/wp-content/uploads/2009/11/Glassfish-Select-300x240.png" alt="Select Glassfish Package" width="300" height="240" /><p class="wp-caption-text">Select Glassfish Package</p></div>
<p>The Package-Manager checks the dependencies and downloads Glassfish plus potentially additional packages which Glassfish depends upon. All required packages will be installed and Package Manager keeps you informed about the steps taken:</p>
<div id="attachment_73" class="wp-caption alignnone" style="width: 310px"><img class="size-medium wp-image-73" title="PKG-Install" src="http://know-and-share.de/spacefan/wp-content/uploads/2009/11/PKG-Install-300x240.png" alt="Package Manager keeps you informed" width="300" height="240" /><p class="wp-caption-text">Package Manager keeps you informed</p></div>
<p>Then you can do the configuration and there is a great entry on this blog: <a href="http://blogs.sun.com/observatory/en_US/entry/glassfish"> http://blogs.sun.com/observatory/en_US/entry/glassfish</a> which describes creating domain1 (in a self-defined directory) and also setting up Glassfish as a Service in OpenSolaris.<br />
NOTE: in order to change the default path for the domain and go along with the blog&#8217;s author, I needed to use <em>pfexec vi /usr/appserver/config/asenv.config</em> as the file is writable for root only.</p>
<p>I also recommend to save the output of the create-domain command as it includes the list of the network ports to which Glassfish will listen.Using the SMF Service for Glassfish makes it easy to administer the service and this is another great feature of OpenSolaris.</p>
<p><strong>Second: Installation of MySQL</strong></p>
<p>The installation of MySQL can be done as a single package, but there is a pre-configured package which makes it a lot easier. So I recommend to install the AMP Package. And a good description of how to install the AMP package, set the initial passwords and enable SMF Service for it, can be found at this blog-entry: <a href="http://blogs.sun.com/trawick/entry/setting_up_amp_with_glassfish">http://blogs.sun.com/trawick/entry/setting_up_amp_with_glassfish</a></p>
<p>That&#8217;s it for now, next post will talk about configuring VirtualBox so that from the Macbook and specifically from NetBeans running on the MacBook we are able to connect to Glassfish and MySQL running on OpenSolaris in the VirtualBox.</p>
]]></content:encoded>
			<wfw:commentRss>http://know-and-share.de/spacefan/software-development/test-and-deploy-in-virtual-times-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
