Web servers
For this course, each group will receive access to a web server with a GlassFish
installation running. This way, the web applications developped during
the tutorial (starting from tutorial 4)
can be accessed under a fixed domain, which then can be accessed with a unique
URL from the mobile phones.
The web servers for the different groups have the domain names:
Update (Oct. 10): Each group has another GlassFish server available now
on which a database is running already:
The web server administration will be accessible via the HTTPS protocol at port 4848, the
web applications will be accessible via the HTTP protocol at port 8080 and via the HTTP protocol at port 8181.
For group A, these links would look like:
- https://se-se2-e14-glassfish-a.compute.dtu.dk:4848
- http://se-se2-e14-glassfish-b.compute.dtu.dk:8080
(extended by the web applications name and the respective
fragments as defined in the web application)
- https://se-se2-e14-glassfish-b.compute.dtu.dk:8181
The group leaders will be handed over the password for the admin account on Friday, September 26.
Update (Oct. 10): Each group will has another GlassFish server available now
on which a database is running already. These servers have the same passwords as the servers made available to
your group earlier:
Unfortunately, the Eclipse WTP is not able to deploy a web application directly to a remote web server.
In order to deploy a web application project to the GlassFish server, you need to follow the following
steps:
- Export your Web Application project as a Web application Archive file (WAR file) somewhere to
your file system. You can do this via Eclipse's export mechnism: select the respective project;
then select Export->Web->WAR file.
- Login as administrator to your group's web server. On the "GlassFish Console" ("Adminsitator home page"),
select "Deploy an Application" (later you can also use "Applications" in the "Common Tasks" menu on
the left).
Then, the "Deploy Applications or Modules" view will open. Using the "Browse" button under
"Packaged File to Be Uploaded to the Server" select the WAR file in your file system that
you had exported from you Eclipse WTP before; then press "OK".
Then, the web services should be available at the server by appending the projects "Context Root"
(which you can change via the administration interface if you want). You can test that by typing
in some request via URLs.
- It would be a good idea to increase the maximum number of threads in the HTTP pool right away, since the
default number of 5 will not be enough for our project and the tutorials. You can do this
in the "Common Tasks" menu of the Administration interface in category "Configurations/server-config/Thread Pools".
Select "http-thread-pool", and set "Max Thread Pool Size" to an appropriate number (50 should be
enough for the tutorials and the experiments).
Project Management System
In addition to the web sever, each group will be given access to a Redmine
Project Management System.
The servers for the different groups are available at:
The group leaders will receive the password to the admin account on Friday, September 26.
Note that the server is not configured at all. So, it is up to the group (or a group member)
to set it up, create accounts for the group and configure it appropriately. The use of
that server is left to the group, and the use is not mandatory.