facebook

How to install Glassfish V2.X

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #303232 Reply

    johnSteele
    Member

    Hello,

    I’m trying to add Glassfish V2.X, but I’m having trouble.

    Whenever I go to server -> configure -> glassfishV2.X ->

    It then asks for “home directory” && “configuration directory” && “etc..”.

    I haven’t downloaded Glassfish, so how does this work?

    Can you tell me, and provide the links that I need to get glassfish up and running?

    Thank you.

    #303242 Reply

    support-joy
    Member

    johnSteele,

    I would recommend you to follow the below steps to install & Configure Glassfish V2.x server in MyEclipse.

    Steps to install and configure GlassFish Server v2.1

    1) Download GlassFish server(glassfish-installer-v2ur2-b04-windows.jar) from the following link.

    2) Set JAVA_HOME to the JDK you have installed on your system.

    3) From command prompt, Run the following command

      >java -Xmx256m -jar glassfish-installer-v2.1-b60e-darwin.jar

    This command will unbundle GlassFish and create a new directory structure rooted under a directory named ‘glassfish’.

    4) Go to GlassFish home directory.

    5) Set path= GlassFish- Home -Directory/bin; as an Environment variable(if not exists).

    6) Set the execute permission for the Ant binaries that are included with the GlassFish bundle.

      GlassFish- Home -Directory/lib/ant/bin/ant -f setup.xml

    7) Add a new environment variable AS_ADMIN_USER=admin.

    Optional Steps:

    a) Go to GlassFish home directory/bin folder in windows Explorer and double click the “asadmin.bat” file then one new command prompt will be opened.
    b) To start the server, enter “start-domain”(It will starts the default domain “domain1”).

      Admin username:admin
      Admin Password:adminadmin
      Master Password:changeit
      Note: These are all default values

    c) Open browser and enter the following address to enter into admin console.

    d) To stop the server, enter “stop-domain” from admin prompt.

    Steps to Configure Glassfish from MyEclipse

    1) Open MyEclipse IDE.
    2) Open Preferences Page. You can get it from window>preferences
    3) Select Glassfish 2.x in preferences page. You can get it from MyEclipse Enterprise Workbench>Servers>Glassfish.
    4) Select Enable
    5) Click browse to Glassfish home directory. Accept all the remaining default values.
    6) Click Apply>OK.
    7) Run Glassfish server from “Servers” view.

    Let me know how this works for you.

    #303244 Reply

    johnSteele
    Member

    Wow! Now that’s a good response.

    This worked perfect, and It’s now up and running.

    Thank you very much. Very nice of you.

    #303246 Reply

    support-joy
    Member

    johnSteele,

    You’re welcome. Good to hear you are all set. 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: How to install Glassfish V2.X

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in