Joe_R

"Synchronization failure" on Spectrum data source

Discussion created by Joe_R Employee on Mar 20, 2013
Latest reply on Mar 25, 2013 by dorol01

Issue: After installing Infrastructure Manager 2.1.2 and integrating with a Spectrum 9.2.2 data source and then upgrading Spectrum to 9.2.3 a "synchronization error" is seen in CA Performance Center for the Spectrum data source

From the /opt/CA/PerformanceCenter/DM/logs/DMService.log on the Performance Center box the following is seen ….

Data source Spectrum Infrastructure Manager@radjo03-VM32023 encountered an
error while processing a sync request. The problem is in the data source,
not CAPC. Check the logs for the data source to determine the cause of the
problem. The following stack trace shows the context of the sync request:
javax.xml.ws.soap.SOAPFaultException:
java.lang.IncompatibleClassChangeError: Class
com.aprisma.util.log.OneClickLogger does not implement the requested
interface org.apache.commons.logging.Log
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:146)
at $Proxy95.pullRequest(Unknown Source)
at
com.ca.im.portal.api.services.datasource.ProductSync2WSProxyImpl.pullRequest
(ProductSync2WSProxyImpl.java:88)
at
com.ca.im.portal.dm.productsync.DataSourcePull.pullSync(DataSourcePull.java:
119)
at
com.ca.im.portal.dm.productsync.DataSourcePullPhase.executeInternal(DataSour
cePullPhase.java:55)
at
com.ca.im.portal.dm.productsync.DataSourceSyncPhase.execute(DataSourceSyncPh
ase.java:95)
at
com.ca.im.portal.dm.productsync.PullSyncPhaseTask.pullDataSource(PullSyncPha
seTask.java:122)
at
com.ca.im.portal.dm.productsync.PullSyncPhaseTask.execute(PullSyncPhaseTask.
java:89)
at
com.ca.im.portal.dm.productsync.SyncPhaseExecutor$MakeDSSyncPhaseCallable$1.
call(SyncPhaseExecutor.java:120)
at
com.ca.im.portal.dm.productsync.SyncPhaseExecutor$MakeDSSyncPhaseCallable$1.
call(SyncPhaseExecutor.java:113)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown
Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.apache.cxf.binding.soap.SoapFault:
java.lang.IncompatibleClassChangeError: Class
com.aprisma.util.log.OneClickLogger does not implement the requested
interface org.apache.commons.logging.Log
at
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFa
ult(Soap11FaultInInterceptor.java:75)
at
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessa
ge(Soap11FaultInInterceptor.java:46)
at
org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessa
ge(Soap11FaultInInterceptor.java:35)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain
.java:255)
at
org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(Abs
tractFaultChainInitiatorObserver.java:99)
at
org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(
CheckFaultInterceptor.java:69)
at
org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(
CheckFaultInterceptor.java:34)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain
.java:255)
at
org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:755)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse
Internal(HTTPConduit.java:2335)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse
(HTTPConduit.java:2193)
at
org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPCond
uit.java:2037)
at
org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at
org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:697)
at
org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInter
ceptor.handleMessage(MessageSenderInterceptor.java:62)
at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain
.java:255)
at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:516)
at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:313)
at
org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:265)
at
org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
at
org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124)
... 14 more


On Spectrum OneClick the following is seen in OneClick's stdout (or catalina.out if Solaris / Linux)

Feb 08, 2013 10:42:10 AM (http-bio-8080-exec-8)
(org.apache.axis2.transport.http.AxisServlet) - (ERROR) - Class
com.aprisma.util.log.OneClickLogger does not implement the requested
interface org.apache.commons.logging.Log
java.lang.IncompatibleClassChangeError: Class
com.aprisma.util.log.OneClickLogger does not implement the requested
interface org.apache.commons.logging.Log
at
com.netqos.productsync2.webservice.SpectrumPullRequestHandler.processPullReq
uest(SpectrumPullRequestHandler.java:505)
at
com.netqos.productsync2.webservice.SpectrumProductSync2Handler.pullRequest(S
pectrumProductSync2Handler.java:346)
at
com.netqos.productsync2.webservice.ProductSync2WSDelegate.pullRequest(Produc
tSync2WSDelegate.java:160)
at
com.netqos.productsync2.webservice.ProductSync2WSMessageReceiverInOut.invoke
BusinessLogic(ProductSync2WSMessageReceiverInOut.java:169)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(
AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageRe
ceiver.java:114)
at
org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:173)
at
org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HT
TPTransportUtils.java:173)
at
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:144)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:225)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168
)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Proce
ssor.java:999)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(Abstrac
tProtocol.java:565)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:
309)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.ja
va:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:9
08)
at java.lang.Thread.run(Thread.java:662)

Cause: This issue is generally seen when you install/upgrade Spectrum and don't
restart the machine.

The issue was because of deployment of jars from spectrum to axis2 webapp.


Solution: A Tomcat restart on Spectrum OneClick would solve this problem. As an additional note, this is a known issue with Spectrum and will be resolved in Spectrum 9.3 which will be out available later this year

Outcomes