First things first. Lets get the downloads out the way.
Go grab java 7 from http://www.oracle.com/technetwork/java/javase/downloads/index.html
Then go and grab Glassfish 3 from http://glassfish.java.net/public/downloadsindex.html#top (I went with the open source edition)
Install Java 7 (you only need to do this if you don’t have a JRE 6 or higher). Then you need to install Glassfish. Follow the prompts. I left the installation location the same (c:glassfish3).
Next thing you need to do is navigate to c:glassfish3bin. I had to open the asadmin.bat file and edit it. I had to change all virtual references to physical references (perhaps because the environment variables hadn’t been set yet)
Next thing, open a command prompt and navigate to c:glassfish3bin. We are going to create a domain now, you can do this by entering the command asadmin create-domain. This will walk you through the domain creation process. Once that is done you can run the command asadmin start-domain. To verify that the domain has started navigate http://localhost:4848 (or change the port to the admin port you stipulated). If you see the admin console everything is running 100%
Next post I am going to explore deploying Jenkins http://jenkins-ci.org/
References:
http://glassfish.java.net/public/downloadsindex.html#top
http://blogs.eteration.com/blog/?p=494
http://www.oracle.com/technetwork/java/javase/downloads/index.html
No comments:
Post a Comment