Description
I'm able to connect to local instances of weblogic 12.2.1.3 that I run with ./startweblogic.sh, but when I try using a 12.2.1.3 docker image, I get the error
"Caused by: javax.naming.NamingException: Couldn't resolve initial reference: NameService; no valid urls found in [EndPointSelector{ iiop://localhost:7001/NameService}]"
When trying to establish an initialcontext. I'm able to log in to the docker image and configure via the console just fine.
Also mentioning that my use case is with JMS resources. But in either case, it seems the connection fails from the start. What could the difference be/what causes this? I realize this may not be an issue specific to docker images, but I haven't been able to find answers elsewhere so I'm just opening this as a request for help.
domain.properties
ADMIN_NAME=admin-server
ADMIN_HOST=wlsadmin
MANAGED_SERVER_NAME_BASE=managed-server
CONFIGURED_MANAGED_SERVER_COUNT=1
CLUSTER_NAME=weblogic-1
DEBUG_FLAG=true
PRODUCTION_MODE_ENABLED=false
CLUSTER_TYPE=DYNAMIC
username=connectuser
password=connectweblogicjms0
running with command
docker run -d -e ADMINISTRATION_PORT_ENABLED=false -e DOMAIN_NAME='base_domain' -p 7001:7001 -p 9002:9002 \
-v $PWD:/u01/oracle/properties store/oracle/weblogic:12.2.1.3-dev-200127