ProvisionException: Unable to Connect to Admin Server When Redeploying NonJ2EEManagement.ear (Doc ID 2019264.1)

Last updated on JULY 29, 2017

Applies to:

Oracle Fusion Middleware - Version 11.1.1.7.0 to 11.1.2.2.0 [Release Oracle11g]
Information in this document applies to any platform.

Symptoms

While attempting to perform post patching steps after applying a Patch Set or when attempting to redeploy NonJ2EEManagement.ear using the command:

$ORACLE_HOME/opmn/bin/opmnctl redeploy -adminHost -adminPort  $ORACLE_HOME/opmn/applications/NonJ2EEManagement.ear

An error occurs:

"oracle.as.config.ProvisionException: Unable to connect to the admin server. Verify it has been started and is accessible".

Full error stack below:

SEVERE: Command failed:
oracle.as.config.ProvisionException: Unable to connect to the admin server. Verify it has been started and is accessible.
at oracle.as.config.impl.RuntimeServiceConnectionWLS.connect(RuntimeServiceConnectionWLS.java:138)
at oracle.as.config.provisioner.commands.RedeployCommand.execute(RedeployCommand.java:25)
at oracle.as.config.provisioner.InstallerCmdLine.run(InstallerCmdLine.java:146)
at oracle.as.config.provisioner.InstallerCmdLine.main(InstallerCmdLine.java:46)
Caused by: java.io.IOException: Unable to connect to the server. Verify it has been started and is accessible.
at oracle.as.management.mbeans.util.MBeanClient.connect(MBeanClient.java:122)
at oracle.as.config.impl.RuntimeServiceConnectionWLS.connect(RuntimeServiceConnectionWLS.java:121)
... 3 more
Caused by: java.io.IOException: Couldn't connect to the specified host : write not supported
at weblogic.management.remote.common.ClientProviderBase.makeConnection(ClientProviderBase.java:196)
at weblogic.management.remote.common.ClientProviderBase.newJMXConnector(ClientProviderBase.java:84)
at javax.management.remote.JMXConnectorFactory.newJMXConnector(JMXConnectorFactory.java:338)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:247)
at oracle.as.management.mbeans.util.MBeanClient.connect(MBeanClient.java:118)

Changes

In config.xml the 'listen-port-enabled' was set as "false"

 <listen-port-enabled>false</listen-port-enabled>

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms