All Projects → ucalgary → docker-glassfish

ucalgary / docker-glassfish

Licence: other
Dockerfile for Oracle GlassFish 3.1.2.2.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to docker-glassfish

development
An Enterprise-ready Cloud Services Management Software
Stars: ✭ 38 (+137.5%)
Mutual labels:  glassfish
jakartaee8-starter-boilerplate
A boilerplate project for starting a Jakarta EE 8 application in seconds
Stars: ✭ 55 (+243.75%)
Mutual labels:  glassfish
Javaee7 Samples
Java EE 7 Samples
Stars: ✭ 2,470 (+15337.5%)
Mutual labels:  glassfish
jakartaee-mvc-sample
Jakarta EE 8 MVC sample
Stars: ✭ 13 (-18.75%)
Mutual labels:  glassfish

GlassFish 3

GlassFish is an open-source application server project started by Sun Microsystems for the Java EE platform and now sponsored by Oracle Corporation. The supported version is called Oracle GlassFish Server. GlassFish is free software, dual-licensed under two free software licences: the Common Development and Distribution License (CDDL) and the GNU General Public License (GPL) with the classpath exception.

This repository provides Docker images for GlassFish 3.1.2.2 only. For GlassFish 4 images, see the official glassfish image (deprecated), glassfish/server, or oracle/glassfish.

Starting GlassFish Server

$ docker run -d ucalgary/glassfish

This image calls asadmin start-domain --verbose to start the default GlassFish domain as its command. By specifying --verbose, the domain is started as a foreground process, with logs outputted to stdout and stderr. Stopping a running container will stop the Domain Adminisration Server (DAS).

Setting the admin User Password and Enabling Secure Admin

The admin user has a default password that is empty. To change the password when the container starts, set a value for the AS_ADMIN_PASSWORD environment variable. The container's entrypoint script will call asadmin change-admin-password to set the admin user's password.

$ docker run --env AS_ADMIN_PASSWORD=abcd1234 -d ucalgary/glassfish

Once an admin password is set, secure admin can be enabled to enable remote administration and encrypt all admin traffic. If AS_ADMIN_ENABLE_SECURE environment variable should be set to a non-empty value, the entrypoint script will call asadmin enable-secure-admin after setting the admin password. The image includes EXPOSE 4848 for access to the remote admin port.

$ docker run --env AS_ADMIN_PASSWORD=abcd1234 --env AS_ADMIN_ENABLE_SECURE=1 \
-p 4848:4848 -d ucalgary/glassfish

Maintenance

This image is currently maintained by the Research Management Systems project at the University of Calgary. It is used to support specific applications requiring GlassFish 3.1.2.2 and will not be upgraded to GlassFish 4 or beyond.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].