Giter VIP home page Giter VIP logo

docker-glassfish's Introduction

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.

docker-glassfish's People

Contributors

kinghuang avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.