Sign inSign up

opavlova/weblogic

By opavlova

•Updated about 10 years ago

Weblogic Servers for deploying applications in IntelliJ IDEA

Image
6

3.6K

opavlova/weblogic repository overview

⁠WebLogic

Base docker images to run a WebLogic application server in developer mode: versions 12.1.3 and 12.2.1

⁠Image tags

opavlova/weblogic:12.1.3
opavlova/weblogic:12.2.1

⁠Info

WebLogic Server
Admin Username: weblogic
Admin Password: admin_password
Oracle Linux Username: oracle
Oracle Linux Password: welcome1
WebLogic Domain Name: base_domain
Admin Server on port: 8001
NodeManager on port: 5556
Managed Server on port: 7001
JAVA_HOME =	/usr/java/default
ORACLE_HOME =	/u01/oracle
DOMAIN_HOME =	/u01/oracle/user_projects/domains/base_domain
Working directory: DOMAIN_HOME
⁠Deploy an application in Intellij IDEA with a Dockerfile:
  1. Create HelloDocker.war file and place it to the same directory where will be the corresponding Dockerfile

  2. Create this Dockerfile:

FROM opavlova/weblogic:12.2.1
ADD HelloDocker.war $DOMAIN_HOME/autodeploy/
  1. Create and run a New Run Configuration

    click on the "Run on Docker' gutter (near "FROM" in the Editor)  -> choose "New Run Configuration"
    enter "-p 18001:8001"   into the  "Run options" field 
    enter an image/container name if needed
    Run  ( results are in the Services View )
    
  2. Go to the corresponding url with the deployed artifact http://localhost:18001/HelloDocker/⁠

For server administration, use the WebLogic Server console at http://localhost:18001/console⁠)

⁠Deploy an application in Intellij IDEA with an image:
  1. Go to the Services View

  2. Connect to Docker

  3. Pull the image Select "Images" item Enter "opavlova/weblogic:12.2.1"
    Press ctrl+click to pull the image

  4. Run a container Select the pulled image in the list of images->Call context menu->Create Container Enter into the "Run options" field in the opened Docker Run Configuration -p 18001:8001 -v "/c/Users/opavlova/IdeaProjects/HelloDocker/out/":/u01/oracle/user_projects/domains/base_domain/autodeploy/
    where port binding: "-p :" and volume binding: "-v :" Run

  5. Go to the deployed application, in our case http://localhost:18001/HelloDocker/⁠

For server administration, use the WebLogic Server console at http://localhost:18001/console⁠)

Tag summary

Content type

Image

Digest

Size

786.4 MB

Last updated

about 10 years ago

docker pull opavlova/weblogic:12.1.3