UCMDB and UD Practitioners Forum (Previously CMS)
Showing results for 
Search instead for 
Do you mean 

integration between UCMDB 10.01 and Atrium 7.6.04 - Import Atrium SDK

Occasional Contributor

integration between UCMDB 10.01 and Atrium 7.6.04 - Import Atrium SDK

Hello Experts,

 

we are trying to implement the Out of the box integration between UCMDB 10.01 and Atrium 7.6.04. 

 

The documentation refers that we need to use the Atrium SDK instead of the default JAR/DLL files for the Atrium 7.6.04 version. Our problem is that we don't know how to import/use the SDK. 

 

We tried to copy the SDK file structure to the integration classpath, but the adapter is always returning the following error:

 

"BMC Remedy/Atrium JARs were not found on the probe classpath. Refer to integration documentation for JAR/DLL files required for this integration." 

 

Can you help us with the SDK utilization in the UCMDB?

 

Regards,

 

Miguel Martins

2 REPLIES
Trusted Contributor

Re: integration between UCMDB 10.01 and Atrium 7.6.04 - Import Atrium SDK

Hi,

 

Below is the answer which was posted for same query as you:

 

In general, you should put SDK from Atrium 7.6.0x to the

<DataFlowProbe>\runtime\probeManager\discoveryResources\AtriumPushAdapter

 

Here is set of files, which was used to make 7.6.04 adapter work:

07/17/2012  03:34 PM         1,478,656 arapi7604_build002.dll

07/17/2012  03:34 PM           241,664 arcatalog_eng.dll

07/17/2012  03:34 PM           856,064 arjni7604_build002.dll

07/17/2012  03:34 PM         7,894,175 arpluginsvr7604_build002.jar

07/17/2012  03:34 PM            81,920 arrpc7604_build002.dll

07/17/2012  03:34 PM             6,372 arsys_sample.xml

07/17/2012  03:34 PM             4,566 arutil7604_build002.jar

07/17/2012  03:34 PM           188,416 arutiljni7604_build002.dll

07/17/2012  03:34 PM           167,936 arutl7604_build002.dll

07/17/2012  03:34 PM         2,056,192 cmdbapi7604.dll

07/17/2012  03:34 PM           629,555 cmdbapi7604.jar

07/17/2012  03:34 PM             1,333 cmdbapi_sample.properties

07/17/2012  03:34 PM           109,762 cmdbbol7604.jar

07/17/2012  03:34 PM           200,704 cmdbdiag.exe

07/17/2012  03:34 PM           122,880 cmdbdriver.exe

07/17/2012  03:34 PM               195 cmdbdriver.sh

07/17/2012  03:34 PM           188,671 commons-beanutils.jar

07/17/2012  03:34 PM           571,259 commons-collections-3.2.jar

07/17/2012  03:34 PM           232,915 commons-configuration-1.3.jar

07/17/2012  03:34 PM           139,966 commons-digester-1.7.jar

07/17/2012  03:34 PM            54,244 eventapi7604.jar

07/17/2012  03:34 PM            54,246 eventplugin7604.jar

07/17/2012  03:34 PM         9,830,400 icudt32.dll

07/17/2012  03:34 PM           696,320 icuinbmc32.dll

07/17/2012  03:34 PM           606,208 icuucbmc32.dll

07/17/2012  03:34 PM            89,967 jaxb-api.jar

07/17/2012  03:34 PM           849,481 jaxb-impl.jar

07/17/2012  03:34 PM            46,047 jsr173_1.0_api.jar

07/17/2012  03:34 PM             2,407 log4j.xml

07/17/2012  03:34 PM             3,041 log4j_cmdbapi.xml

07/17/2012  03:34 PM         1,060,864 mfc71.dll

07/17/2012  03:34 PM           499,712 msvcp71.dll

07/17/2012  03:34 PM           348,160 msvcr71.dll

07/17/2012  03:34 PM            67,916 oncrpc.jar

07/17/2012  03:34 PM             3,612 postinstallcheck.jar

07/17/2012  03:34 PM               340 run_postinstallcheck.bat

07/17/2012  03:34 PM               435 run_postinstallcheck.sh

07/17/2012  03:34 PM         2,545,110 spring.jar

 

Make sure you read this KB as well, it contains a lot of troubleshooting tips for Atrium 7.6.x: KM00433339

 

Regards,

Puneet

Regards
Puneet

If you find this reply helpful, Click the KUDOS button on the bottom to say 'Thanks'
Occasional Contributor

Re: integration between UCMDB 10.01 and Atrium 7.6.04 - Import Atrium SDK

Hello,

 

We implemented the solution, and double-checked the files. It seems that we’ve taken a step back. This is what we have/had:

Before implementation

There is an XML file created on the Atrium/Inter folder with information of the CI’s from Atrium and the log specifies:
  File "atrium_map", line 39, in DiscoveryMain

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.processMap(IntegrationAPI.java:787)

 

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.mapIntermediateFileResults(IntegrationAPI.java:649)

 

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.processTql(IntegrationAPI.java:384)

 

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.processDir(IntegrationAPI.java:331)

 

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

 

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

 

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

 

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

 

 

java.lang.NullPointerException: java.lang.NullPointerException

 

After the Implementation

The XML file is no longer created and we get the error
java.lang.VerifyError: java.lang.VerifyError: (class: org/jdom/UncheckedJDOMFactory, method: document signature: (Lorg/jdom/Element;Lorg/jdom/DocType;Ljava/lang/String;)Lorg/jdom/Document;) Incompatible argument to function

 

Rollback of the implementation

The XML file with info from Atrium is not created and we have the error
<2013-06-14 16:46:15,896> [ERROR] [JobExecuterWorker-0:DS_AtriumImport_Import data from Atrium] (ModuleDeployer.java:107) - The ucmdb_wrapper.jar module, which is not valid, caused null

java.lang.ExceptionInInitializerError

                at org.apache.axis2.deployment.util.Utils.createTempFile(Utils.java:224)

                at org.apache.axis2.deployment.util.Utils.getURLsForAllJars(Utils.java:165)

                at org.apache.axis2.deployment.util.Utils.createClassLoader(Utils.java:899)

                at org.apache.axis2.deployment.repository.util.DeploymentFileData.setClassLoader(DeploymentFileData.java:115)

                at org.apache.axis2.deployment.ModuleDeployer.deploy(ModuleDeployer.java:65)

                at org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)

                at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:659)

                at org.apache.axis2.deployment.RepositoryListener.loadClassPathModules(RepositoryListener.java:209)

                at org.apache.axis2.deployment.RepositoryListener.init2(RepositoryListener.java:70)

                at org.apache.axis2.deployment.RepositoryListener.<init>(RepositoryListener.java:63)

                at org.apache.axis2.deployment.DeploymentEngine.loadFromClassPath(DeploymentEngine.java:164)

                at org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:135)

                at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64)

                at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:206)

                at org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:150)

                at org.apache.axis2.client.ServiceClient.<init>(ServiceClient.java:143)

                at com.hp.ucmdb.generated.services.UcmdbServiceStub.<init>(UcmdbServiceStub.java:463)

                at com.hp.ucmdb.generated.services.UcmdbServiceStub.<init>(UcmdbServiceStub.java:449)

                at com.hp.ucmdb.generated.services.UcmdbServiceStub.<init>(UcmdbServiceStub.java:498)

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.createUcmdbService(IntegrationAPI.java:404)

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.processDir(IntegrationAPI.java:308)

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

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

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

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

                at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)

                at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)

                at org.python.core.PyObject.__call__(PyObject.java:404)

                at org.python.core.PyObject.__call__(PyObject.java:408)

                at org.python.core.PyMethod.__call__(PyMethod.java:124)

                at org.python.pycode._pyx24.DiscoveryMain$1(atrium_map:42)

                at org.python.pycode._pyx24.call_function(atrium_map)

                at org.python.core.PyTableCode.call(PyTableCode.java:165)

                at org.python.core.PyBaseCode.call(PyBaseCode.java:134)

                at org.python.core.PyFunction.__call__(PyFunction.java:317)

                at org.python.pycode._pyx25.f$0(<string>:2)

                at org.python.pycode._pyx25.call_function(<string>)

                at org.python.core.PyTableCode.call(PyTableCode.java:165)

                at org.python.core.PyCode.call(PyCode.java:18)

                at org.python.core.Py.runCode(Py.java:1275)

                at org.python.core.Py.exec(Py.java:1319)

                at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206)

                at com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl.executeScript(ExecutionEngineImpl.java:236)

                at com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl.executeScript(ExecutionEngineImpl.java:211)

                at com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl.executeScript(ExecutionEngineImpl.java:207)

                at com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl.executeScripts(ExecutionEngineImpl.java:125)

                at com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl.execute(ExecutionEngineImpl.java:88)

                at com.hp.ucmdb.discovery.probe.services.dynamic.core.TablesProcessorUtil.processDestinationTables(TablesProcessorUtil.java:136)

                at com.hp.ucmdb.discovery.probe.services.dynamic.core.DynamicService.discover(DynamicService.java:73)

                at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter.launchTask(JobExecuter.java:1592)

                at com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.remote.RemoteJobExecutor.main(RemoteJobExecutor.java:131)

Caused by: java.lang.NullPointerException

                at org.apache.axis2.deployment.util.TempFileManager.<clinit>(TempFileManager.java:191)

                ... 51 more

Using directory - d:\hp\UCMDB\DataFlowProbe\bin\..\runtime\probeManager\discoveryResources\TQLExport\Atrium\

Working on: Atrium_To_UCMDB_SampleMappingFile

dataStore = [Element: <info/>]

number of ci nodes = 1

Number of CIs of type BMC_DataBase is 201

<2013-06-14 16:46:16,037> [ERROR] [JobExecuterWorker-0:DS_AtriumImport_Import data from Atrium] (ExecutionEngineImpl.java:334) - Discovery Error: Traceback (most recent call last):

  File "<string>", line 2, in <module>

  File "atrium_map", line 40, in DiscoveryMain

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.processMap(IntegrationAPI.java:787)

 

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.mapIntermediateFileResults(IntegrationAPI.java:649)

 

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.processTql(IntegrationAPI.java:384)

 

                at com.hp.ucmdb.adapters.push9.IntegrationAPI.processDir(IntegrationAPI.java:331)

 

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

 

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

 

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

 

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

 

 

java.lang.NullPointerException: java.lang.NullPointerException

//Add this to "OnDomLoad" event