CAPS 5.1 - 'Unable to connect to admin-server' error when deploying from eDesigner: Illegal operation for a disconnected DeploymentManager (Doc ID 1029524.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Java CAPS - Version 5.1.0 and later
Information in this document applies to any platform.

Symptoms

When I try to build a deploy a project from eDesigner I get an error like the one below.

java.lang.IllegalStateException: Illegal operation for a disconnected DeploymentManager: java.io.IOException: Unable to connect to admin-server. Please check if the server is up and running and that the host and port provided are correct.
     at com.sun.enterprise.deployapi.SunDeploymentManager.getTargets(SunDeploymentManager.java:145)
     at com.stc.deployment.framework.impl.DefaultApplicationServerManager.getAvailableModules(DefaultApplicationServerManager.java:242)
     at com.stc.deployment.framework.impl.DefaultApplicationServerManager.getAvailableModulesForDistribute(DefaultApplicationServerManager.java:276)
     at com.stc.codegen.driver.module.DeploymentDeployAction$DeploymentProgressListener.run(DeploymentDeployAction.java:1657)
     at java.lang.Thread.run(Thread.java:534)

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