Eclipse GlassFish Server Configuration

Source: Internet
Author: User
Tags glassfish

First, download GlassFish Server
Download the appropriate version from the following address:
Http://glassfish.java.net/public/downloadsindex.html
Http://www.oracle.com/technetwork/java/javaee/downloads/ogs-3-1-1-downloads-439803.html

Second, Eclipse install GlassFish Server plugin
On the main menu bar of Eclipse--window--prefrences--server--runtime environments, open the Servers control window.

Right-clicking on the Servers Control window, add--dowload additionl Server adapters The application server list will be loaded, wait a moment, select Oracle GlassFish Server Tools to double-click to install.

iii. Eclipse GlassFish Server configuration
Right-click on the first step into the servers, add-glassfish--GlassFish Server Open Source Edition 3 (Java EE 6), and next, for example.





Note: Application Server directory for you to download GlassFish, unzip the directory

Iv. deployment of the project
Right-click on the project name-"Run as-" run on Server Select GlassFish Server Click Finish

v. GlassFish Server startup
In fact, the fourth to fifth step is the same as other application servers, when the GlassFish server starts successfully, the following information is printed on the console, stating that GlassFish server started successfully

Java code
    1. Wait for the DAS to start ....... ....... ............
    2. Domain started: domain1
    3. Domain Location: E:\work\glassfish-3.0. 1-ml\glassfishv3\glassfish\domains\domain1
    4. Log file: E:\work\glassfish-3.0. 1-ml\glassfishv3\glassfish\domains\domain1\logs\server.log
    5. Management port for domain: 4848
    6. Command Start-domain has been executed successfully.



Project default port is 8080, you can access your project by http://localhost:8080/project name
Access: http://localhost:4848 to GlassFish Server Management configuration

Eclipse GlassFish Server Configuration

Related Article

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.