Highlighted
Honored Contributor.
Honored Contributor.
81 views

UCMDB -Servicenow integration

Hi experts,

 

I need urgent help for the UCMDB - Service now Integration , We are trying to do the integration between HP UCMDB & Service now using OOB adapter , we are able to create the connection succesffuly , but after configuring the job , we are getting the following error:

 

java.lang.Exception: Traceback (most recent call last):

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

  File "pushToServiceNow", line 736, in DiscoveryMain

                at sun.reflect.GeneratedConstructorAccessor126.newInstance(Unknown Source)

                at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)

                at java.lang.reflect.Constructor.newInstance(Constructor.java:525)

                at org.python.core.PyReflectedConstructor.constructProxy(PyReflectedConstructor.java:210)

 

java.lang.Exception: java.lang.Exception: [DiscoveryMain] [processCIs] [processCIs:add] Error connecting to Service-Now while processing CIT <cmdb_ci_ip_address>

 

                at org.python.core.PyException.doRaise(PyException.java:219)

                at org.python.core.Py.makeException(Py.java:1239)

                at org.python.core.Py.makeException(Py.java:1243)

                at org.python.core.Py.makeException(Py.java:1247)

                at org.python.pycode._pyx5439.DiscoveryMain$15(pushToServiceNow:736)

                at org.python.pycode._pyx5439.call_function(pushToServiceNow)

                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._pyx5440.f$0(<string>:2)

                at org.python.pycode._pyx5440.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:251)

                at com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl.executeAdHocScript(ExecutionEngineImpl.java:374)

                at com.hp.ucmdb.discovery.probe.services.dynamic.core.TablesProcessorUtil.executeAdHocScript(TablesProcessorUtil.java:147)

                at com.hp.ucmdb.discovery.probe.util.ScriptExecuterUtil.executeScript(ScriptExecuterUtil.java:32)

                at com.hp.ucmdb.adapters.push.PushAdapter.invokeJythonScript(PushAdapter.java:226)

                ... 34 more

--- End of probe-side exception ---

 

                at com.hp.ucmdb.discovery.probe.agents.probemgr.adhoctasks.AdHocProbeRequestOperation.convertThrowableToStringSafeException(AdHocProbeRequestOperation.java:82)

                at com.hp.ucmdb.discovery.probe.agents.probemgr.adhoctasks.AdHocProbeRequestOperation.performAction(AdHocProbeRequestOperation.java:73)

                at com.hp.ucmdb.discovery.probe.agents.probemgr.taskdispatcher.AdHocTaskDispatcher.dispatchTask(AdHocTaskDispatcher.java:70)

                at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source)

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

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

                at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)

                at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)

                at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)

                at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)

                at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252)

                at javax.management.StandardMBean.invoke(StandardMBean.java:405)

                at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)

                at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:792)

                at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:305)

                at org.springframework.jmx.access.MBeanClientInterceptor.doInvoke(MBeanClientInterceptor.java:405)

                at org.springframework.jmx.access.MBeanClientInterceptor.invoke(MBeanClientInterceptor.java:353)

                at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

                at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

                at com.sun

 

 

We are just trying to send the IP address in the query which we are using for the integration , has anybody seen this issue till date , version is 10.10

 

Regards,

Ashish

0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: UCMDB -Servicenow integration

Hello Ashish,


I have found something similar reported.
May I ask you what your network topology is? Do you use any proxy server settings to the Integration point, adapter properties?
Probe may have issues to push data from uCDMB to ServiceNow com if a complex proxy is used.
Please also check the rest configuration settings, especial if the remoteJVMClasspath is correct.
Please give it a try with service now domain – servicenow com instead of service-now com

 

Best Regards,
Nikola

------------------------
Nikola Todorov
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: UCMDB -Servicenow integration

Hi Nikola,

 

Thanks for your reply , We were facing the error  for OOB query as well as the customized query we have created , although my customized query only contains only IP address as we are trying to push few Test CI before sending all the CI.

 

We also noticed that , there  is proxy  between UCMDB and service now server and we are working with Network time to get it sorted it.

 

But one Strange thing is , test connection goes fine without error...

 

 

Regards,

Ashish

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.