Tool Setup Instructions

GlassFish Application Server, Version 3.0.1

If the course you are setting up requires GlassFish 3.0.1, follow these instructions to set it up on the student and instructor machines. If you have questions, please contact your courseware vendor.

First, note that the GlassFish server requires JDK 6. If you have not done so already, start by setting up the JDK as per these instructions:


GlassFish is a free download:


Unzip this file to your c:\ root. (Other locations are workable; however please note that the Eclipse workspace for this course has a server definition that assumes that you've unzipped to the root. If GlassFish is installed elsewhere, students will have a little bit of instructor-led work to reconfigure this server connector.)

Test the environment as follows, from a new command console:

cd \glassfishv3\glassfish\bin

asadmin start-domain domain1

Waiting for DAS to start ........

(There may be a pause of as much as a minute or two.)

Started domain: domain1

Domain location: C:\glassfishv3\glassfish\domains\domain1

Log file: C:\glassfishv3\glassfish\domains\domain1\logs\server.log

Admin port for the domain: 4848

Command start-domain executed successfully.

asadmin stop-domain domain1

Waiting for the domain to stop ....

Command stop-domain executed successfully.