Deploying on GlassFish
|
We will assume that GlassFish V2 is installed in GLASSFISH_HOME and that a "domain1" domain is configured and running on your local machine on the standard port 8080.
Before you start you should choose the context name, i.e., the relative URL of your application. E.g., if the context name you choose is "myapp" then the application will be accessible at http://localhost:8080/myapp/ Using the admin consoleOpen a browser and connect to http://localhost:4848/. Provide the login/password of the GlassFish admin user. The default ones are admin/adminadmin. The admin console will open. From the menu on the left, open the "Applications" folder and select "Web Applications".
Click "Deploy...". A "Deploy Enterprise Applications/Modules" page will appear. Set the application type to "Web Application (.war)". In the section "Packaged file to be uploaded to the server" click on "Browse..." and select the portofino-war-3.1.war
file on your machine. Change the value of "Application Name" and
"Context Root" to myapp.
Click "Ok". Verify from the "Web Applications" page that your application appears in the list.
The application is now ready and available at the specified URL.
Using the
|


