Download and install glassfish2.1.1

Source: Internet
Author: User
Tags glassfish

1. Download The glassfish installation package

This time we use:Glassfish server open source edition 2.1.1

(Instead of Oracle glassfish server 2.1.1, this version requires license)

: Http://download.java.net/javaee5/v2.1.1_branch/promoted/WINNT/glassfish-installer-v2.1.1-b31g-windows-ml.jar

 

2. run Windows CMD and switch to the downloaded glassfish package directory.

Run the following command to unmount the installation package (ensure that JDK has been installed)

> JAVA-xmx256m-jar glassfish-installer-v2.1.1-b31g-windows-ml.jar

The following figure is displayed:

Drag the slider to the bottom and click accept ].

All files will be decompressed to the glassfish folder in the current directory.

 

3. Switch cmd to the glassfish directory.

> Cd glassfish

 

4. Run the following command to start Installation

> Lib/ANT/bin/ant-F setup. xml

 

5. Start glassfish

> Bin/asadmin start-Domain

 

6. Verify the installation result

Enter the address in the browser:

Http: // localhsot: 4848

The following figure is displayed, indicating that glassfish has been installed successfully.

Enter the user name/password to log on.

Default Value:

Username: Admin

Password: adminadmin

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.