How to PD derby database for STAF / STAX ?
LATEST: QM user reports that automation now is functional.
Some QM users in a repository cannot execute their STAX automations. From my limited knowledge, it appears that the full list of parameters is not being provided from QM to the STAF / STAX run time. For example, the first few lines of a log file might look like this: Info Mon Nov 25 08:46:40 EST 2013 JobID: 13, File: /CLM/STAF/services/stax/UpgradeSuiteTask_win.xml, Machine: tdsp7l4, Function: UpgradeSuiteForWinTask, Args: ['','nc051227','default1'], JobName: Error Mon Nov 25 08:46:41 EST 2013 STAXProcessStartError signal raised. Continuing job. And the stax xml typically contains this: <function-list-args> <function-required-arg name="target">The target machine</function-required-arg> <function-required-arg name="STAXJobXMLMachine">STAXJobXMLMachine</function-required-arg> <function-optional-arg name="arg1" default="'default1'">The first arg description</function-optional-arg> </function-list-args> So it appears that "target" argument is not being provided. Additionally, trying to add the lab asset to a provider fails with: An internal error has occurred within provider server, please see server log for more details : Invalid asset id Suggestions welcome UPDATE: Going through Inventory History and following the machine link I was able to add the asset to staf/stax provider. I've updated my customer with this in hopes that the automation will magically be restored. |
2 answers
Hi Kevin,
Is this issue resolved? If not, please post your RQM logs. |
Stack:
2013-11-25 08:53:20,033 [http-bio-9.42.60.79-9444-exec-36677 @@ 08:53 ramerk /jazz/service/com.ibm.rational.test.lm.common.IProviderRestService/addAssetToProvider] ERROR com.ibm.rational.test.lm.spi.stax.STAXInventorySPI - Error invoking SPI method handler /local:0/asset/ com.ibm.rational.test.lm.spi.common.SPIException: Invalid asset id at com.ibm.rational.test.lm.spi.stax.assets.STAXAssetManager.updateAsset(STAXAssetManager.java:276) at com.ibm.rational.test.lm.spi.stax.assets.STAXAssetManager.addAsset(STAXAssetManager.java:117) at com.ibm.rational.test.lm.spi.stax.STAXInventorySPI.postAsset(STAXInventorySPI.java:188) at com.ibm.rational.test.lm.spi.stax.util.RestSPI.post(RestSPI.java:154) at com.ibm.rational.test.lm.service.spi.integration.IntegrationService.addAsset(IntegrationService.java:1554) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at com.sun.proxy.$Proxy648.addAsset(Unknown Source) at com.ibm.rational.test.lm.service.spi.ProviderRestService.postAddAssetToProvider(ProviderRestService.java:2009) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347) at org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56) at com.sun.proxy.$Proxy656.postAddAssetToProvider(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:600) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:555) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2355) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2155) at com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1983) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120) at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:68) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:139) at com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:172) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:336) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:936) 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(AbstractHttp11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) at java.lang.Thread.run(Thread.java:738) |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Hi Kevin,
It could be useful for us if you provided entire stack trace of the error in qm.log file when you are performing the operation. This will help us to narrow the issue.