It's all about the answers!

Ask a question

Error in JTS after upgrading jts from 4.0.0.1 to 4.0.5


igor lyubin (131518) | asked Feb 04 '14, 3:20 a.m.
retagged Feb 04 '14, 9:40 a.m. by Laura W. Hinson (16126)
 Hi all! I had jts 4.0.0.1 with MS SQL database which i upgraded according to instruction. And now i see problems in QM and in some parts of CCM, in particular when i try to load test cases (or test case executions, though test scripts and test suites are loaded fine) i get:
JVMCFRE113 unexpected EOF; class=com/ibm/team/repository/service/internal/RepositoryItemService$17, shift=0

In QM log there are a lot of messages caused by
CRJAZ0537I time-out while waiting available RdbRepositoryDataMediator

In CCM:
Error while getting the data of project area:
/com/ibm/team/repository/service/internal/QueryService$3

Any suggestion what could be a reason? During upgrade i had problems with free space and i've just copied keystore file from previous installation.


Comments
Krzysztof Kaźmierczyk commented Feb 04 '14, 3:30 a.m.

Hi Igor,
It is really difficult to troubleshoot that if we have only one line of error message. Could you please provide entire stack traces (with caused by sections)?


igor lyubin commented Feb 04 '14, 3:35 a.m. | edited Mar 13 '14, 12:52 p.m.

@Krzysztof Kaźmierczyk

Why not? :)
When i try to load test cases i get in QM (on web-page) this one

JVMCFRE113 непредвиденный (unexpected) EOF; класс (class)=com/ibm/team/repository/service/internal/RepositoryItemService$...
JVMCFRE113 непредвиденный EOF; класс=com/ibm/team/repository/service/internal/RepositoryItemService$17, смещение=0
JVMCFRE113 непредвиденный EOF; класс=com/ibm/team/repository/service/internal/RepositoryItemService$17, смещение(shift)=0
java.lang.ClassFormatError
java.lang.ClassLoader.defineClassImpl(Native Method)
java.lang.ClassLoader.defineClass(ClassLoader.java:287)
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassName(ClasspathManager.java:460)
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:447)
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
java.lang.ClassLoader.loadClass(ClassLoader.java:638)
com.ibm.team.repository.service.internal.RepositoryItemService.itemsModifiedInTxn(RepositoryItemService.java:1205)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
com.sun.proxy.$Proxy402.itemsModifiedInTxn(Unknown Source)
com.ibm.team.repository.service.internal.ComponentRepositoryItemService.itemsModifiedInTxn(ComponentRepositoryItemService.java:683)
com.ibm.rqm.planning.service.internal.TestArtifactCommon.findLinks(TestArtifactCommon.java:632)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
com.sun.proxy.$Proxy1831.findLinks(Unknown Source)
com.ibm.rqm.planning.service.internal.rest.TestCaseRestService.getTestedByTestCaseLinkTypeDTO(TestCaseRestService.java:1943)
com.ibm.rqm.planning.service.internal.rest.TestCaseRestService.testCaseToSummaryDTO(TestCaseRestService.java:1926)
com.ibm.rqm.planning.service.internal.rest.TestCaseRestService.toSummaryDTO(TestCaseRestService.java:1297)
com.ibm.rqm.planning.service.internal.rest.TestCaseRestService.toSearchResultsDTO(TestCaseRestService.java:413)
com.ibm.rqm.common.service.rest.BasePagedSearchRestService.getSearchResultsDTO(BasePagedSearchRestService.java:382)
com.ibm.rqm.common.service.rest.BasePagedSearchRestService.getPagedSearchResult(BasePagedSearchRestService.java:351)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.invoke(ExportProxyServiceRecord.java:361)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord.access$0(ExportProxyServiceRecord.java:347)
org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler.invoke(ExportProxyServiceRecord.java:56)
com.sun.proxy.$Proxy1911.getPagedSearchResult(Unknown Source)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
java.lang.reflect.Method.invoke(Method.java:611)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.doModelledRestService(AbstractTeamServerServlet.java:530)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest2(AbstractTeamServerServlet.java:2353)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.handleRequest(AbstractTeamServerServlet.java:2153)
com.ibm.team.repository.servlet.AbstractTeamServerServlet.service(AbstractTeamServerServlet.java:1963)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.eclipse.equinox.http.registry.internal.ServletManager$ServletWrapper.service(ServletManager.java:180)
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:126)
org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:76)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:120)
com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:74)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
com.ibm.team.repository.server.servletbridge.BridgeFilter.processDelegate(BridgeFilter.java:165)
com.ibm.team.repository.server.servletbridge.BridgeFilter.doFilter(BridgeFilter.java:198)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:336)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:906)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:929)
java.lang.Thread.run(Thread.java:738) 


igor lyubin commented Feb 04 '14, 3:37 a.m.

Krzysztof Kaźmierczyk Thank you for response! i added stack trace in the answer below.

Accepted answer


permanent link
Krzysztof Kaźmierczyk (7.5k480103) | answered Feb 04 '14, 3:43 a.m.
Hi Igor,
It seems that there is something wrong with your war files.
Here are the steps you can perform:
If you use embedded Tomcat:
1. Stop your new CLM server
2. Remove following directories on your new server:
<CLM-installation-dir>/server/tomcat/webbaps/qm
<CLM-installation-dir>/server/tomcat/temp
<CLM-installation-dir>/server/tomcat/work/Catalina/locahost/qm
4. Restart the server and navigate to https://your-server:9443/qm/web to verify whether the issue is fixed.

If you use WAS:
check your Java version if it is supported and redeploy war file for qm again.

Let us know if that helps.
igor lyubin selected this answer as the correct answer

Comments
igor lyubin commented Feb 04 '14, 4:18 a.m.

Thx a lot! It really solved the problem. Can i repeat the same procedure for jts\ccm\rm folders just to be exactly sure this problem will no repeat?

 
/server/tomcat/work/Catalina/locahost/qm - there were some broken files with too long names which i couldnt' rename or delete. It's because soon after installation the free space vanished and server had 0bytes of free space on disk C.


Krzysztof Kaźmierczyk commented Feb 04 '14, 4:21 a.m.

Yep,
Go on and try the procedure for ccm. And monitor your free space regularly to make sure you won't have big issues in the future :-)


Brian Lahaie commented May 21 '14, 1:56 a.m.
I wasn't able to save any RQM test plans and I was getting this error:
Unable to save Test Plan
Unable to load /qm/secure/service/com.ibm.rqm.common.service.IDocumentRawService status: 405

Also, I was getting this error in the ccm.log:
java.lang.ClassFormatError: JVMCFRE113 unexpected EOF; class=com/hp/hpl/jena/mem/HashCommon$NotifyEmpty$1, offset=0
*****
After renaming these files and directory to the following, via the instructions in step #2, the problem of not being able to save Test Plans was resolved.
<INSTALL_DIR>/server/tomcat/webapps
ccm.orig
qm.orig
<INSTALL_DIR>/server/tomcat
temp.old
<INSTALL_DIR>/server/tomcat/work/Catalina/localhost
ccm.orig
qm.orig

Your answer


Register or to post 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.