Sunday, May 19, 2013

Connecting to a secure port with WLST

9002 is the SSL port of the admin.

on WLST side:

connect(userConfigFile='/opt/oracle/domains/mydomain/serveruserconfigfile.secure',userKeyFile='/opt/oracle/domains/mydomain/serveruserkeyfile.secure',url='t3://acme.com:9002')

java.net.SocketException: Connection reset; No available router to destination

on the server side:

####<May 17, 2013 6:25:13 PM CEST> <Warning> <Security> <hqchnesoa104> <osbpl1as> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <9455361429c2e897:-bf0d58f:13eb3468b62:-8000-000000000000001a> <1368807913292> <BEA-090475> <Plaintext data for protocol T3 was received from peer acme.com - 10.11.5.190 instead of an SSL handshake.>

You should use t3s protocol

connect(userConfigFile='/opt/oracle/domains/mydomain/serveruserconfigfile.secure',userKeyFile='/opt/oracle/domains/mydomain/serveruserkeyfile.secure',url='t3s://acme.com:9002')

Watch this great video on using Administration Port in WebLogic:





No comments: