Integration

Get Involved. Join the Conversation.

Topic

    Frank Brink
    OIC Connectivity Agent Install Issue on Windows
    Topic posted October 16, 2019 by Frank BrinkRed Ribbon: 250+ Points, tagged Agent 
    99 Views, 7 Comments
    Title:
    OIC Connectivity Agent Install Issue on Windows
    Summary:
    OIC agent install result in "Agent install/startup failed. Please ensure the agent install/startup command is attempted from agent install location"
    Content:

    After downloading and unzipping oic_connectivity_agent.zip into a stage directory

    Populating the InstallerProfile.cfg file with oic_url and agent_group

    Starting the install with "C:\Program Files\Java\jdk1.8.0_212\bin\java.exe" -jar connectivityagent.jar

    I receive the following message

    Agent install/startup failed. Please ensure the agent install/startup command is attempted from agent install location.

    The Windows output:

    e:\stage\oicagent>"C:\Program Files\Java\jdk1.8.0_212\bin\java.exe" -jar connectivityagent.jar
    Agent install/startup failed. Please ensure the agent install/startup command is attempted from agent install location.

    e:\stage\oicagent>

    How to proceed from here?

    Version:
    OIC Version 19.3.3.0.0 (190924.1600.31521)
    Code Snippet:

    Comment

     

    • Hemanth Lakkaraju

      Is the e:\stage\oicagent the unzipped location of oic_connectivity_agent.zip? Does this location contain connectivityagent.jar?

      • Frank Brink

        Absolutely:

        e:\stage\oicagent>dir
         Volume in drive E is Software
         Volume Serial Number is C072-4C05

         Directory of e:\stage\oicagent

        10/16/2019  07:07 AM    <DIR>          .
        10/16/2019  07:07 AM    <DIR>          ..
        10/16/2019  07:07 AM    <DIR>          agenthome
        09/24/2019  09:59 AM            19,335 connectivityagent.jar
        10/16/2019  07:05 AM               339 InstallerProfile.cfg
                       2 File(s)         19,674 bytes
                       3 Dir(s)  60,940,017,664 bytes free

        e:\stage\oicagent>

    • Nagireddy Tadi

      Can you set JAVA_HOME and PATH  and try to start the agent with out absolute path to the java.exe as follows.

      e:\stage\oicagent>java -jar connectivityagent.jar

    • Ankur Jain

      Hi,

      Please see the log file under logs directory and see what is the error. Also, please see the blog https://www.techsupper.com/2018/08/download-and-run-connectivity-agent-oracle-integration-cloud-oic.html to install OIC agent step by step.

      Regards,

      Ankur Jain

       

    • Frank Brink

      Thanks for all instruction - unfortunately no progress yet:

      the set command on Windows:

      JAVA_HOME=c:\Program Files\Java\jdk1.8.0_212

      Path=c:\Program Files\Java\jdk1.8.0_212\bin;C:\app\frank.brink\product\18.0.0\dbhomeXE\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files\Git\cmd;C:\Program Files\TortoiseGit\bin;C:\HashiCorp\Vagrant\bin;C:\ProgramData\chocolatey\bin;C:\Program Files\PuTTY\;C:\Program Files\Amazon\AWSCLI\bin\;C:\Users\frank.brink\bin;C:\Users\frank.brink\AppData\Local\Microsoft\WindowsApps;C:\Users\frank.brink\AppData\Local\Programs\Microsoft VS Code\bin

      e:\stage\oicagent>java -version
      java version "1.8.0_212"
      Java(TM) SE Runtime Environment (build 1.8.0_212-b10)
      Java HotSpot(TM) 64-Bit Server VM (build 25.212-b10, mixed mode)

      e:\stage\oicagent>java -jar connectivityagent.jar
      Agent install/startup failed. Please ensure the agent install/startup command is attempted from agent install location.

       Directory of e:\stage\oicagent\agenthome\logs

      10/16/2019  07:07 AM    <DIR>          .
      10/16/2019  07:07 AM    <DIR>          ..
                     0 File(s)              0 bytes
                     2 Dir(s)  60,940,017,664 bytes free

      e:\stage\oicagent\agenthome\logs>

      Thus no log files

      Any other ideas/suggestions

    • Atheek Rahuman Abdul Razack

      try setting the CLASSPATH env varible to the directory containing the connectivityagent.jar

    • Frank Brink

      Logged a service request for this issue and solved by

      1. Receiving another version of the connectivityagent.jar through Oracle Development

      2. Started with java -jar -DdisablePathValidation=true connectivityagent.jar  

      Not sure if you need both steps/solutions - but it worked for me