Install glassfish2.0 and integrate myeclipse

Source: Internet
Author: User
Tags glassfish
1. From the http://glassfish.dev.java.net to download the glassfish Installation File, note that the download is Windows platform under the glassfish-installer-v2ur1-b09d-windows-ml.jar, size 81 m (multilingual), you need to first configure java_home, ant_home, PATH environment variables 2. Add my download and put it in D: \ glassfish-installer-v2ur1-b09d-windows-ml.jar to enter the command prompt: 1) D: \> JAVA-xmx256m-jar glassfish-installer-v2ur1-b09d-windows-ml.jar2) after decompression, it will be decompressed to D: \ glassfish, continue to install: D: \ glassfish> ant-F setup. XML: D: \ glassfish> ant-F setup-cluster.xml to support clusters 3. After glassfish is installed, a domain1 domain is created by default. Start the default domain D: \ glassfish \ bin> asadmin start-domain domain1 to output the following content: the domain domain1 is being started. Please wait. Redirect logs to D: \ glassfish \ Domains \ domain1 \ logs \ Server. log. Redirecting output to D:/glassfish/domains/domain1/logs/server. Log Domain domain1 is ready to receive client requests. Other services will be started in the background. The configuration and log for the domain [domain1] That is running [Sun Java System Application Server 9.1 _ 01 (build b09d-fcs)] is located in [D: \ glassfish \ domains]. You can access the console from [http: // localhost: 4848. Use the same port [4848] used by the "asadmin" command. You can obtain your web application in the following URL: Program : [Http: // localhost: 8080 https: // localhost: 8181]. You can obtain the following web context: [/web1/_ wstx-services]. Standard JMX clients (such as jconsole) can be connected to jmxserviceurl [Service: JMX: RMI: // JNDI/RMI: // 2313521ea09a412: 8686/jmxrmi] for domain management purposes. The domain will listen on at least the following port for connection: [8080 8181 4848 3700 3820 3920 8686]. The domain does not support Application Server clusters and other independent instances. 4. Enter http: // localhost: 4848/in the browser to access the glassfish console. The default user name and password are: admin/adminadmin (originally intended to be pasted with one, but the network speed is too slow, cannot upload) 5. close the domain D: \ glassfish \ bin> asadmin stop-appserv6. integrated with myeclipse window --> preferences --> myeclipse --> servers --> glassfish2.x (Note: Enable), mainly fill in the home directory, for example, select D: \ After glassfish, you can start and close the domain in myeclipse. 7. you can create a web project such as glassfishdemo in myeclipse and deploy it on glassfish through http: // localhost: 8080/glassfishdemo/index. test JSP access

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.