| | gf server
Ports and functionality
Deploying a war file
- Login to the admin console
- Click "Web Applications" in the left-hand navigation frame
- Click the "Deploy..." button
- Make sure the "Type" dropdown says "Web Application (.war)"
- Immediately below that, in the "Location" area, make sure the radio button next to "Packaged file to be uploaded to the server" is selected.
- Click the Browse... button and navigate to your WAR file
- Assuming you don't change anything under Application Name or Context Root, your web application will be available as http://glassfish.students.franklin.edu:4301/name-of-your-war/your-url-mapping, for example http://glassfish.students.franklin.edu:4301/joeblow/hw655
- You can also go directly to the deployment page at http://glassfish.students.franklin.edu:4309/applications/upload.jsf?cancelPage=applications/webApplications.jsf&appType=webApp (you will still have to login, but this can save a click or two)
Viewing server log file
- You can view the server's log file on
glassfish.students.franklin.edu in one of two ways:
- login to the admin console (port 4309 - see
above), then click Application Server in the left-side navigation bar,
the click the View Log Files button under General Information
- login to cs.franklin.edu, then do ssh
glassfish.students.franklin.edu (your
regular Franklin password should work). If that doesn't work, try ssh
qwprlx62.students.qw.franklin.edu When you are logged in to
glassfish.students.franklin.edu, go to /opt/glassfish/21/domains/domain1/logs
and view server.log
|