Integration

Get Involved. Join the Conversation.

Topic

    Tarun
    [SRC Class: oracle.cloud.cpi.agent.install.AgentInstaller;...
    Topic posted March 31, 2018 by Tarun Red Ribbon: 250+ Points, last edited April 3, 2018 by Arijit ChakrabortyBronze Trophy: 5,000+ Points, tagged Agent, E-Business Suite, Integration 
    106 Views, 3 Comments
    Title:
    [SRC Class: oracle.cloud.cpi.agent.install.AgentInstaller; Method: checkAgentGroup] Agent Installation Failed !!! Error Occurred while checking Agent group availability
    Summary:
    [SRC Class: oracle.cloud.cpi.agent.install.AgentInstaller; Method: checkAgentGroup] Agent Installation Failed !!! Error Occurred while checking Agent group availability
    Content:

    Hi Experts,

     

    We have installed the agent on EBS on-prem server and when we are trying to run the agent with the command we get the below error.

    Any pointers on this will help us

     

    -bash-4.1$ java -jar connectivityagent.jar

    Proceeding to install a new agent ...

    Enter your OIC username : ****

    Enter password for *****

    No Proxy Configuration Detected

    Checking for trusted certificates ...

    Making call to check OIC Version ...

    Making call to check Agent group availability ...

    Agent Group Already Contains Agent. Exiting Agent Installation.

    Agent Installation Failed !!! Error Occurred while checking Agent group availability.

    Agent Installation Failed !!! See Logs for more details.

     

    And in the log file I am seeing the below error.

     

    [2018-03-31T22:14:44.149Z] [SEVERE] [ThreadID: 1] [Logger: oracle.cloud.cpi.agent.install.AgentInstaller] [SRC Class: oracle.cloud.cpi.agent.install.AgentInstaller; Method: checkAgentGroup] Agent Installation Failed !!! Error Occurred while checking Agent group availability. java.lang.Exception: {"type":"agentDefinitionResourceBean","id":"EBS_AGENT","name":"EBS-Agent","status":"AVAILABLE","transporterServiceType":"AQ","message":"Agent definition is available","agentInstanceCount":1,"retrieveStatus":"SUCCESS","links":{"link":[]},"agentInstances":[{"id":"CA-*****.COM-1521907491792","name":"******.COM-1521907491792","agentDefinition":"EBS_AGENT","version":"18.1.3.0.0"}]}

            at oracle.cloud.cpi.agent.install.AgentInstaller.checkAgentGroup(AgentInstaller.java:280)

            at oracle.cloud.cpi.agent.install.AbstractAgentInstaller.createAgentEnvironment(AbstractAgentInstaller.java:45)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:498)

            at oracle.cloud.cpi.agent.CpiAgentLoader.configureAgent(CpiAgentLoader.java:63)

            at oracle.cloud.cpi.agent.CpiAgentLoader.runAgent(CpiAgentLoader.java:38)

            at oracle.cloud.cpi.agent.CpiAgentLoader.startAgent(CpiAgentLoader.java:25)

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

            at java.lang.reflect.Method.invoke(Method.java:498)

            at oracle.cloud.cpi.agent.CpiBootstrapLoader.startAgent(CpiBootstrapLoader.java:89)

            at oracle.cloud.cpi.agent.CpiBootstrapLoader.main(CpiBootstrapLoader.java:49)

     

    Thanks

    Tarun

    Comment

     

    • Hemanth Lakkaraju
      
      

      Making call to check Agent group availability ...

      Agent Group Already Contains Agent. Exiting Agent Installation.

      Agent Installation Failed !!! Error Occurred while checking Agent group availability.

      This is the actual error. It seems there is already an agent associated with the agent group with Id - EBS_AGENT.

      You can create a new agent group and use it in installation of you agent or delete the agent (if not required) under the above agent group and re-install.

    • Tarun

      Thanks Hemanth it worked after creating a new agent now the agent is up and running but we are getting error when we are trying to test the connectivity from OIC and below is the error

      [SRC Class: oracle.cloud.cpi.agent.transport.AQConsumer; Method: run] Error

      occurred while polling new messages. Sleeping for 30 seconds

      com.sun.jersey.api.client.ClientHandlerException:

      javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No

      name matching oicdev-xxxx.aucom-east-1.oraclecloud.com found at

      com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnect

      ionClientHandler.java:155) at

      com.sun.jersey.api.client.Client.handle(Client.java:652) at

      com.sun.jersey.api.client.WebResource.handle(WebResource.java:682) at

      com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) at

      com.sun.jersey.api.client.WebResource$Builder.get(WebResource.java:509) at

      oracle.cloud.cpi.agent.transport.AQConsumer.run(AQConsumer.java:87) at

      java.lang.Thread.run(Thread.java:748) Caused by:

      javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No

      name matching oicdev-te4b.aucom-east-1.oraclecloud.com found at

      sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at

      sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1964) at

      sun.security.ssl.Handshaker.fatalSE(Handshaker.java:328) at

      sun.security.ssl.Handshaker.fatalSE(Handshaker.java:322) at

      sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1614)

      at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)

      at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1052) at

      sun.security.ssl.Handshaker.process_record(Handshaker.java:987) at

      sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1072) at

      sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)

      at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413) at

      sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397) at

      sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559) at

      sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDe

      legateHttpsURLConnection.java:185) at

      sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.ja

      va:1564) at

      sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.jav

      a:1492) at

      java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480) at

      sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnec

      tionImpl.java:347) at

      com.sun.jersey.client.urlconnection.URLConnectionClientHandler._invoke(URLConnec

      tionClientHandler.java:253) at

      com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnect

      ionClientHandler.java:153)

      Let me know if you have any inputs on this,

    • Robin Chatterjee

       oicdev-xxxx.aucom-east-1.oraclecloud.com looks like this name is not resolved ?

       

      javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No

      name matching oicdev-xxxx.aucom-east-1.oraclecloud.com found at

      com.sun.jersey.client.urlconnection.URLConnectionClientHandler.handle(URLConnect

       

      avax.net.ssl.SSLHandshakeException: java.security.cert.CertificateException: No

      name matching oicdev-te4b.aucom-east-1.oraclecloud.com found at

      sun.security.ssl.Alerts.getSSLException(Alerts.java:192) at