WebSphere Application Server traditional in Containers
Recipe
- Review the Java in Containers recipes
- Execute
/work/configure.sh
as the last step in your Containerfile - Review the WAS traditional recipes
- Review the Java recipe
- Review the Operating System Recipes
Container Images
- IBM Container Registry:
- WebSphere Application Server traditional:
FROM icr.io/appcafe/websphere-traditional
- See all tags with:
curl -s https://icr.io/v2/appcafe/websphere-traditional/tags/list | jq .tags
- WebSphere Application Server traditional:
- DockerHub
- WebSphere
Application Server traditional:
FROM docker.io/ibmcom/websphere-traditional
- See all WebSphere Application Server traditional tags with:
curl -L -s "https://registry.hub.docker.com/v2/repositories/ibmcom/websphere-traditional/tags?page=1&page_size=100" | jq '.results[].name'
- WebSphere
Application Server traditional:
Resources
- https://github.com/WASdev/ci.docker.tutorials
- https://github.com/IBM/openshift-workshop-was
- https://github.com/WASdev/ci.docker.websphere-traditional/blob/master/docker-build/9.0.5.x/Dockerfile
- https://github.com/WASdev/ci.docker.ibm-http-server/blob/master/production/Dockerfile.install
Migrating from tWAS
- Download the Migration Toolkit for Application Binaries
- Install:
java -jar binaryAppScannerInstaller.jar
- Run
java -jar binaryAppScanner.jar $WAS/config/cells/$CELL/applications/$APP.ear --targetAppServer=$SERVER --generateConfig
and use the resulting wsadmin script in place of the install_app.py script
Log Analysis Dashboards
WAS traditional provides a Kibana dashboard example.
Docker
Examples
WAS traditional on Docker
Create a file in the current directory named PASSWORD with an administrative password as its contents. For example:
wsadmin
Then run:
docker run -p 9043:9043 -p 9443:9443 -v $(pwd)/PASSWORD:/tmp/PASSWORD -e ENABLE_BASIC_LOGGING=true ibmcom/websphere-traditional:latest
After you see "open for e-business", access the administrative console with the user name wsadmin and the password from the PASSWORD file at https://localhost:9043/ibm/console/login.do?action=secure
Access the WebContainer port at 9443: https://localhost:9443/snoop