
The following is a quick cheatsheet from scratch to get GlassFish V2 up and running
(1) Install JDK6 from http://java.sun.com/javase/downloads/index.jsp
- JAVA_HOME=<java install dir>
- PATH=%PATH%;%JAVA_HOME%/bin
(2) Install Glassfish v2b39 from https://glassfish.dev.java.net/downloads/v2-b39.html
- java -Xmx256m -jar glassfish-installer-v2-b39.jar
- PATH=%PATH%;
(3) Setup Ant 1.7.0 from the Glassfish distribution
- ANT_HOME=<glassfish install dir>/lib/ant
- PATH=%PATH%;%ANT_HOME%/bin
- cd <glassfish install dir>
- ant -f setup.xml
- asadmin start-domain domain1
* and we're done! *
(5) Test Glassfish Setup
http://localhost:8080/
(6) Test Helloworld
copy hello.war from http://glassfish.dev.java.net/downloads/quickstart/hello.war
to
then go to http://localhost:8080/hello
(7) Test Glassfish Admin Screen
go to http://localhost:4848/
uid: admin
passwd: adminadmin
Posted by Alexis MP on March 16, 2007 at 01:34 AM EST #
Posted by AngeloJ on March 16, 2007 at 01:37 AM EST #
Well, I have to tell you that is a much clearer set of instructions than what glassfish ships with.
Total time six minutes
headaches: 1 - had to readjust that path from what I thought it was to what it actually was.
Thanks
Posted by Bob on October 27, 2007 at 08:34 AM EST #