Freitag, 17. Juni 2016

Start your ADF Essentials Application on Glassfish within 5 min with docker

Thanks to the official glassfish docker images on docker hub ( you can run your ADF Essentials enabled glassfish server within 5 minutes. As a first step you have to download the ADF essentials runtime and configure your machine to run docker images. After that, you can easily create your glassfish server with the next few lines of cone:

Start your docker image and add the ADF Essentials libs

  1. docker run --name=glassfishadf -ti -p 4949:4848 -p 8001:8080 glassfish/nightly
  2. docker cp ~/Downloads/ glassfishadf:/
  3. docker exec glassfishadf unzip /
  4. docker exec glassfishadf find /modules -name '*.jar' -exec cp {} /glassfish4/glassfish/domains/domain1/lib/ \;

Configure the glassfish server

After we installed the ADF Essentials libraries in our glassfish docker images, we have to configure and restart the server. You can start the admin console with
https://localhost:4949 (admin/glassfish).

Then you go to "Configuration -> server-config -> JVM Settings -> JVM Options"
Add the parameter "-Doracle.mds.cache=simple" and change the MaxPermSize to "-XX:MaxPermSize=512m".

Restart the server with "server -> restart"

Deploy and run your application

Now you can deploy your ADF Essentials application via the admin console. Maybe you have to enable the application after deployment.

Your ADF Essentials application should be up and running. Have fun!

Kommentare :

  1. Hi,
    Could you please provide the jdeveloper version you used for development of the adf application and also version of Glassfish server

    1. I used ADF version 12.2.1 and the glassfish docker nightly build. That is currently version 5.0 (

  2. Der Kommentar wurde von einem Blog-Administrator entfernt.