Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66158

Unable to connect to 'http://host:port': host. Ensure the url represents a compatible running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • weblogic deployer plugin-4.1
      weblogic 14
       java 11
      oracle 19c

      ------------------------------------ ARTIFACT UNDEPLOYMENT ------------------------------------------------
      weblogic.Deployer invoked with options: -debug -remote -verbose -noexit -name UKDRD -targets drdecdw2_cluster -adminurl http://<host>:<port>-user weblogic -undeploy
      [WebLogicDeploymentManagerImpl.<init>():112] : Constructing DeploymentManager for Java EE version V1_4 deployments
      [WebLogicDeploymentManagerImpl.getNewConnection():155] : Connecting to admin server at <host>:<port>, as user weblogic
      [ServerConnectionImpl.getEnvironment():317] : setting environment
      [ServerConnectionImpl.getEnvironment():320] : getting context using http://<host>:<port>
      [ServerConnectionImpl.close():368] : Closing DM connection
      [ServerConnectionImpl.close():386] : Unregistered all listeners
      weblogic.deploy.api.tools.deployer.DeployerException: Unable to connect to 'http://<host>:<port>: <host>. Ensure the url represents a compatible running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.
      at weblogic.deploy.api.tools.deployer.Jsr88Operation.connect(Jsr88Operation.java:349)
      at weblogic.deploy.api.tools.deployer.Deployer.perform(Deployer.java:137)
      at weblogic.deploy.api.tools.deployer.Deployer.runBody(Deployer.java:88)
      at weblogic.utils.compiler.Tool.run(Tool.java:159)
      at weblogic.utils.compiler.Tool.run(Tool.java:116)
      at weblogic.Deployer.run(Deployer.java:74)
      at weblogic.Deployer.main(Deployer.java:55)
      Caused by: javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException: Failed to initialize JNDI context, tried 2 time or times totally, the interval of each time is 0ms.

          [JENKINS-66158] Unable to connect to 'http://host:port': host. Ensure the url represents a compatible running admin server and that the credentials are correct. If using http protocol, tunneling must be enabled on the admin server.

          jina added a comment -

          I have checked everything is fine. All credentials are correct.Tunneling also enabled. In another server I have used weblogic 12c ,there war file is undeployed and deployed.But in this server my weblogic is 14c and java 11.Can you please help?

          In the weblogic deployer plugin document information is provided for weblogic version <=12.

          jina added a comment - I have checked everything is fine. All credentials are correct.Tunneling also enabled. In another server I have used weblogic 12c ,there war file is undeployed and deployed.But in this server my weblogic is 14c and java 11.Can you please help? In the weblogic deployer plugin document information is provided for weblogic version <=12.

            raphc Raphael CHAUMIER
            jina_ghosh jina
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: