Welcome to the Jazz Community Forum
Error creating CSM 6.0.2 JMX Connection: java.lang.UnsupportedClassVersionError

Hello,
I’m getting this error while creating JMX connection in CSM:
java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=
WAS 8.5.5.9 on Windows Server 2012 R2), CLM 6.0.2 ifix001a is installed on server B (WAS 8.5.5.9 on Windows Server 2012 R2) and JRS/DCC 6.0.2 ifix001a are deployed on server C (also WAS 8.5.5.9 on Windows Server 2012 R2. All of WAS servers have JVM 1.6 x64.
The installation of CLM CSM went fine, until I reached the JMX Connection step (all necessary configuration steps, where taken on WAS and CSM setup went without any problems, friends relations between servers are set, etc). Regardless the protocol (RMI/SOAP/IPC) the JMX connection from CSM always ends with error: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=
JRS/DCC goes with no problems and I can see team.server Mbean components in JConsole. There are also no problems with connection between servers from CLI using: wsadmin.bat -conntype SOAP -host xxxxxxxxxxxxxxxxxxxxx -port 8880 command.
Below content of: csm-server_exception.log:
Index Count Time of first Occurrence Time of last Occurrence Exception SourceId ProbeId
------+------+---------------------------+---------------------------+---------------------------
0 1 06.09.16 22:29:21:968 CEST 06.09.16 22:29:21:968 CEST javax.management.InstanceAlreadyExistsException com.ibm.ws.management.PlatformMBeanServer.registerMBean 523 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_b4906886_16.09.06_22.29.22.1424917154911456016377.txt
1 39 06.09.16 22:33:25:188 CEST 08.09.16 14:29:21:786 CEST java.lang.UnsupportedClassVersionError com.ibm.websphere.security.auth.WSSubject.doAs 198 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_c58ba5b1_16.09.06_22.33.25.1889170755110259196805.txt
2 20 07.09.16 18:03:07:587 CEST 08.09.16 14:31:37:566 CEST com.ibm.websphere.security.auth.TokenExpiredException com.ibm.ws.security.ltpa.LTPAServerObject.validate 1258 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_d0833f5a_16.09.07_18.03.07.603297284193285842438.txt
3 20 07.09.16 18:03:07:603 CEST 08.09.16 14:31:37:566 CEST com.ibm.websphere.security.auth.TokenExpiredException com.ibm.ws.security.ltpa.LTPAServerObject.validate 1321 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_8c885a10_16.09.07_18.03.07.6038421638982455335617.txt
4 20 07.09.16 18:03:07:603 CEST 08.09.16 14:31:37:566 CEST com.ibm.websphere.security.auth.WSLoginFailedException com.ibm.ws.security.ltpa.LTPAServerObject.validateToken 1145 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_432d1e40_16.09.07_18.03.07.6035170603818580806480.txt
5 5 07.09.16 18:03:07:603 CEST 07.09.16 18:03:07:634 CEST com.ibm.websphere.security.auth.TokenExpiredException com.ibm.websphere.security.auth.WSLoginFailedException 250 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_432d1e40_16.09.07_18.03.07.6038354579258122985526.txt
6 20 07.09.16 18:03:07:618 CEST 08.09.16 14:31:37:566 CEST com.ibm.websphere.security.auth.WSLoginFailedException com.ibm.ws.security.token.WSCredentialTokenMapper.createPropagationTokenBeforeAuthenticatedCallerSet 1716 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_432d1e40_16.09.07_18.03.07.6187737129427677147340.txt
7 19 07.09.16 18:03:07:618 CEST 08.09.16 14:31:37:566 CEST com.ibm.websphere.security.auth.WSLoginFailedException com.ibm.ws.security.auth.ContextManagerImpl.getSubjectFromDynaCacheOrOriginatingServer 1928 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_8c885a10_16.09.07_18.03.07.6186106111108683077972.txt
8 19 07.09.16 18:03:07:618 CEST 08.09.16 14:31:37:566 CEST com.ibm.websphere.security.auth.WSLoginFailedException com.ibm.ws.security.auth.ContextManagerImpl.login 3692 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_d0833f5a_16.09.07_18.03.07.6341131983271958823846.txt
9 19 07.09.16 18:03:07:618 CEST 08.09.16 14:31:37:566 CEST com.ibm.websphere.security.auth.WSLoginFailedException com.ibm.ws.security.web.WebAuthenticator.validate 2952 C:\IBM\WebSphere\AppServer\profiles\CSMSrv\logs\ffdc\csm-server_432d1e40_16.09.07_18.03.07.6187792946964424421433.txt
------+------+---------------------------+---------------------------+---------------------------
Content of: csm-server_c58ba5b1_16.09.06_22.33.25.1889170755110259196805.txt
[06.09.16 22:33:25:188 CEST] FFDC Exception:java.lang.UnsupportedClassVersionError SourceId:com.ibm.websphere.security.auth.WSSubject.doAs ProbeId:198 Reporter:java.lang.Class@b9225130
java.lang.UnsupportedClassVersionError: JVMCFRE003 błędna wersja główna; klasa=com/ibm/CORBA/iiop/ORB, pozycja=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:273)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(DefaultClassLoader.java:188)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(ClasspathManager.java:580)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(ClasspathManager.java:550)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(ClasspathManager.java:481)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassName(ClasspathManager.java:460)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:447)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:663)
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:94)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:169)
at java.lang.Class.forNameImpl(Native Method)
at java.lang.Class.forName(Class.java:250)
at com.ibm.ws.util.PlatformHelperFactory.getBackupHelper(PlatformHelperFactory.java:127)
at com.ibm.ws.util.PlatformHelperFactory.getPlatformHelper(PlatformHelperFactory.java:93)
at com.ibm.ISecurityLocalObjectBaseL13Impl.VaultImpl.getInstance(VaultImpl.java:225)
at com.ibm.team.server.monitoring.agent.jmx.service.internal.was.WebsphereMBeanServerProvider$WASProvider$1.run(WebsphereMBeanServerProvider.java:314)
at java.security.AccessController.doPrivileged(AccessController.java:488)
at javax.security.auth.Subject.doAs(Subject.java:573)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:196)
at com.ibm.websphere.security.auth.WSSubject.doAs(WSSubject.java:153)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at com.ibm.team.server.monitoring.agent.jmx.service.internal.was.WebsphereMBeanServerProvider$WASProvider.createJMXConnection(WebsphereMBeanServerProvider.java:308)
at com.ibm.team.server.monitoring.agent.jmx.service.CompositeMBeanServerProvider.createJMXConnection(CompositeMBeanServerProvider.java:70)
at com.ibm.team.server.monitoring.agent.jmx.service.internal.JMXConnectionService.connect(JMXConnectionService.java:507)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy657.connect(Unknown Source)
at com.ibm.team.server.monitoring.agent.jmx.service.internal.diagnostics.JMXConnectionRetryDiagnostic.executeTest(JMXConnectionRetryDiagnostic.java:71)
at com.ibm.team.repository.service.diagnostic.AbstractDiagnostic.execute(AbstractDiagnostic.java:151)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
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.$Proxy660.execute(Unknown Source)
at com.ibm.team.repository.service.internal.diagnostic.DiagnosticExecutionService$1.run(DiagnosticExecutionService.java:249)
at java.lang.Thread.run(Thread.java:790)
One curios thing is that the Installation Manager shows CLM CSM version as 6.0.2, but the CSM server details page shows:
CLM Server Monitoring - Core Libraries - 6.0.0 (v20160317_1759)
Jazz Foundation - Core Libraries - 6.0.2 (RJF-SERVER-I20160322-2253)
JTS Patch is active. Contact your system administrator for details on fixes included in this patch in readme.txt - 6.0.2 (iFix001)
iFix001a has been installed to match the CSM Core Libraries to CLM Core Libraries version, but sadly has no influence on JMX Connection status.
Looking forward for any clues and advice that could help solve this problem.
Regards
Tomasz Goraziński
One answer

Hello,
While searching for solution of my problem, I found this thread:
https://developer.ibm.com/answers/questions/255193/javalangunsupportedclassversionerror-when-running.html
After changing the runtimes from WAS fixpack 9 (aka 8.5.5.9) to those from WAS fixpack 6 (aka 8.5.5.6), JMX Connection are created without any errors.
I hope that, this solution will help someone with similar problem.
Regards
Tomasz Goraziński