AutoSys Workload Automation

  • 1.  Agent Linux 32-bit SAP plugin instantiation failed

    Posted 05-11-2016 09:04 AM

    Hi, i have a problem with the sap plugin.

    I installed the agent for linux:

    CA Workload Automation Agent

       for LINUX (Intel) 32-bit

       Version R11.3, Service Pack 4, Maintenance Level 0, Build 717

    and after that i installed the SAP plugin.

    If i try to start the agent without the plugin it's OK, but when i try with the plugin the service return this error:

     

    05/11/2016 12:07:11.505 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:208] - CA Workload Automation Agent, Build 717, Service Pack 4, Maintenance Level 0 starting
    05/11/2016 12:07:12.379 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:233] - Security manager is about to be initialized
    05/11/2016 12:07:12.381 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:248] - Main queues are about to be created
    05/11/2016 12:07:12.388 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:257] - Connectivity framework is about to be initialized
    05/11/2016 12:07:12.807 CEST+0200 2 main.MainThread.CybTcpipControllerPlugin.initialize[:301] - Receiver starting on port 7520
    05/11/2016 12:07:12.834 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:272] - CybControlSetPropertyHandler is about to be initialized
    05/11/2016 12:07:12.836 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:275] - CybControlRefresh is about to be initialized
    05/11/2016 12:07:12.837 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:282] - InitiatorManager is about to be initialized
    05/11/2016 12:07:12.842 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:289] - NOP handler is about to be initialized
    05/11/2016 12:07:12.843 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:292] - Clear log files handler is about to be initialized
    05/11/2016 12:07:12.844 CEST+0200 2 main.MainThread.CybAgentDriver.runApplication[:296] - Heart beat handler is about to be initialized
    05/11/2016 12:07:12.856 CEST+0200 1 main.MainThread.CybPluginManager.readPluginManifest[:371] - CA WA Agent for SAP R11.3.3, Build 6 starting
    05/11/2016 12:07:12.886 CEST+0200 1 main.MainThread.CybAgentDriver.runApplication[:373] - cybermation.library.plugins.CybPluginException: Plugin instantiation failed
    at cybermation.agent.plugins.manager.CybPluginManager.invokePluginMethod(CybPluginManager.java:323)
    at cybermation.agent.plugins.manager.CybPluginManager.loadPlugins(CybPluginManager.java:448)
    at cybermation.agent.CybAgentDriver.runApplication(CybAgentDriver.java:303)
    at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:406)
    Caused by: java.lang.reflect.InvocationTargetException: null
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cybermation.agent.plugins.manager.CybPluginManager.invokePluginMethod(CybPluginManager.java:312)
    at cybermation.agent.plugins.manager.CybPluginManager.loadPlugins(CybPluginManager.java:448)
    at cybermation.agent.CybAgentDriver.runApplication(CybAgentDriver.java:303)
    at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:406)
    Caused by: java.lang.NoClassDefFoundError: com/sap/conn/jco/ext/SessionReferenceProvider
    at cybermation.plugins.sap.CybSapPluginDriver.runApplication(CybSapPluginDriver.java:94)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cybermation.agent.plugins.manager.CybPluginManager.invokePluginMethod(CybPluginManager.java:312)
    at cybermation.agent.plugins.manager.CybPluginManager.loadPlugins(CybPluginManager.java:448)
    at cybermation.agent.CybAgentDriver.runApplication(CybAgentDriver.java:303)
    at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:406)
    Caused by: java.lang.ClassNotFoundException: com.sap.conn.jco.ext.SessionReferenceProvider
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Unknown Source)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at cybermation.plugins.sap.CybSapPluginDriver.runApplication(CybSapPluginDriver.java:94)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at cybermation.agent.plugins.manager.CybPluginManager.invokePluginMethod(CybPluginManager.java:312)
    at cybermation.agent.plugins.manager.CybPluginManager.loadPlugins(CybPluginManager.java:448)
    at cybermation.agent.CybAgentDriver.runApplication(CybAgentDriver.java:303)
    at cybermation.agent.CybAgentDriver.main(CybAgentDriver.java:406)

     

    what can i try?

    Thank you.

     

    Bye.



  • 2.  Re: Agent Linux 32-bit SAP plugin instantiation failed
    Best Answer

    Broadcom Employee
    Posted 05-12-2016 02:50 AM

    Hi Daniele

     

    Usually this is due to missing SAP Java Connector (SAP JCo) on the System Agent

     

    This SAP connector is not installed by the plugin installer.

     

    These steps are documented In the System Agent Implementation guide  (CA Workload Automation Agents - 11.3.4

    See page 335

    Install the SAP Java Connector (SAP JCo)

    For the agent to communicate with an SAP system, you must install the SAP Java Connector (SAP JCo)

    package.

    ../..

    Notes:

    The required minimum version is SAP JCo 3.0.x

    Whether you use the 32-bit or 64-bit JCo version depends on the JVM provided with the agent.

     

    For Windows systems, you require the msvsr71.dll and msvcp71.dll files. You must add these

    files to the agent installation directory.

     

     

    If these steps have been done and you are still getting the same problem, I would suggest to open a CA support ticket

     

    Regards

    Jean Paul



  • 3.  Re: Agent Linux 32-bit SAP plugin instantiation failed

    Posted 05-12-2016 02:56 AM

    Maybe the manual will be corrected some time . The files needed for windows are msvcr71.dll and msvcp71.dll.



  • 4.  Re: Agent Linux 32-bit SAP plugin instantiation failed

    Posted 05-13-2016 06:08 AM

    Hi Jean, i installed the JCo under "/installagentpath/jre/SAPJCo/". I add that path into LD_LIBRARY_PATH in the cybAgent startup scritp, i also add the path of "sapjco3.jar" in the CLASSPATH enviroment variable. When i try to start the service seems like the JCo is not installed, the error is the same.

    Any advice?

     

    Thanks for your time and sorry for these noob questions



  • 5.  Re: Agent Linux 32-bit SAP plugin instantiation failed

    Posted 05-13-2016 06:27 AM

    Sorry for intruding in your discussion Jean-Paul! Apologize for that!

    Have you tried placing the sapjco3-jarfile in the default-directory .../jars/ext ? Or is that not an option at your site?



  • 6.  Re: Agent Linux 32-bit SAP plugin instantiation failed

    Posted 05-13-2016 09:14 AM

    Thank you so much! The agent now is up&running.