Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RQMUtilityCopy.jar (unsupported major.minor version 5.0 )

Hi All,

I am trying to copy project Area from one server to another server by suing RQMUtilityCopy.jar utility.

The command is as follows

C:\IBM_DST\RQM\RQM-Extras-RQMCopyUtil-2.0.1>"C:\Program Files\Rational\common\ja
va\jre\bin\java.exe" -jar RQMCopyUtil.jar https://rqmserver1:9450/ja
zz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/
projectA -us=ADMIN -pws=ADMIN -d=https://rqmserver2:9491/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationS
ervice/resources/ProjectB -l=c:\importlogGaIN1.txt
The java class could not be loaded. java.lang.UnsupportedClassVersionError: com/
ibm/rqm/ct/CopyUtil (Unsupported major.minor version 50.0)


I have java version as below

java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)

RQM version is for destination 2.0.0.1 (I20091024_1657) and source RQM server version 2.0.0.1 (I20100126_0933)

Can any one has any clue on it?

Thanks for help in advance.

Thanks,
Om.

0 votes



2 answers

Permanent link
Hello,
That error definitely indicates that the JRE that you are using is not 1.6. Possibly you have more than one JRE an use one that is on the path and one with a full path?
Based on your post of the command you are using "C:\Program Files\Rational\common\java\jre\bin\java.exe" to run the copy tool. Can you run:
C:\Program Files\Rational\common\java\jre\bin\java.exe -version
to ensure that JRE is 1.6?
Regards,
John Nason

Hi All,

I am trying to copy project Area from one server to another server by suing RQMUtilityCopy.jar utility.

The command is as follows

C:\IBM_DST\RQM\RQM-Extras-RQMCopyUtil-2.0.1>"C:\Program Files\Rational\common\ja
va\jre\bin\java.exe" -jar RQMCopyUtil.jar https://rqmserver1:9450/ja
zz/secure/service/com.ibm.rqm.integration.service.IIntegrationService/resources/
projectA -us=ADMIN -pws=ADMIN -d=https://rqmserver2:9491/jazz/secure/service/com.ibm.rqm.integration.service.IIntegrationS
ervice/resources/ProjectB -l=c:\importlogGaIN1.txt
The java class could not be loaded. java.lang.UnsupportedClassVersionError: com/
ibm/rqm/ct/CopyUtil (Unsupported major.minor version 50.0)


I have java version as below

java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)

RQM version is for destination 2.0.0.1 (I20091024_1657) and source RQM server version 2.0.0.1 (I20100126_0933)

Can any one has any clue on it?

Thanks for help in advance.

Thanks,
Om.

0 votes


Permanent link
Hi John,

Thanks for the reply. Yes. you are correct I have 2 paths for java and ran the copy tool with 1.6 jre path and it got failed as below

INFO: Finishing: requirement urn:com.ibm.rqm:requirement:118
Apr 27, 2010 11:03:30 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Starting: requirement urn:com.ibm.rqm:requirement:55
Apr 27, 2010 11:03:30 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 500, retry #: 0
Apr 27, 2010 11:03:34 PM com.ibm.rqm.ct.util.Logger logInfo
INFO: Error received: 500, retry #: 1
Apr 27, 2010 11:03:37 PM com.ibm.rqm.ct.util.Logger logError
SEVERE: RestException executing: PUT, RC: 500, message: {"errorTraceMarshall":[{"errorTraceLineNumber":77,"errorTraceClassName":"com.ibm.rqm.process.service.integration.jaxb.ProcessRequirementPutEnhancer","errorTraceMethodName":"augmentWithApprovals","errorTraceFileName":"ProcessRequirementPutEnhancer.java"},{"errorTraceLineNumber":43,"errorTraceClassName":"com.ibm.rqm.process.service.integration.jaxb.ProcessRequirementPutEnhancer","errorTraceMethodName":"enhance","errorTraceFileName":"ProcessRequirementPutEnhancer.java"},{"errorTraceLineNumber":1,"errorTraceClassName":"com.ibm.rqm.process.service.integration.jaxb.ProcessRequirementPutEnhancer","errorTraceMethodName":"enhance","errorTraceFileName":"ProcessRequirementPutEnhancer.java"},{"errorTraceLineNumber":-1,"errorTraceClassName":"sun.reflect.GeneratedMethodAccessor288","errorTraceMethodName":"invoke","errorTraceFileName":null},{"errorTraceLineNumber":43,"errorTraceClassName":"sun.reflect.DelegatingMethodAccessorImpl","errorTraceMethodName":"invoke","errorTraceFileName":"DelegatingMethodAccessorImpl.java"},{"errorTraceLineNumber":618,"errorTraceClassName":"java.lang.reflect.Method","errorTraceMethodName":"invoke","errorTraceFileName":"Method.java"},{"errorTraceLineNumber":370,"errorTraceClassName":"org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord","errorTraceMethodName":"invoke","errorTraceFileName":"ExportProxyServiceRecord.java"},{"errorTraceLineNumber":356,"errorTraceClassName":"org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord","errorTraceMethodName":"access$0","errorTraceFileName":"ExportProxyServiceRecord.java"},{"errorTraceLineNumber":56,"errorTraceClassName":"org.eclipse.soda.sat.core.internal.record.ExportProxyServiceRecord$ExportedServiceInvocationHandler","errorTraceMethodName":"invoke","errorTraceFileName":"ExportProxyServiceRecord.java"},{"errorTraceLineNumber":-1,"errorTraceClassName":"$Proxy3757","errorTraceMethodName":"enhance","errorTraceFileName":null},{"errorTraceLineNumber":211,"errorTraceClassName":"com.ibm.rqm.integration.handler.AbstractPutHandler","errorTraceMethodName":"handle","errorTraceFileName":"AbstractPutHandler.java"},{"errorTraceLineNumber":48,"errorTraceClassName":"com.ibm.rqm.integration.handler.AbstractPostHandler","errorTraceMethodName":"handle","errorTraceFileName":"AbstractPostHandler.java"},{"errorTraceLineNumber":219,"errorTraceClassName":"com.ibm.rqm.requirement.service.integration.RequirementPutHandler","errorTraceMethodName":"handle","errorTraceFileName":"RequirementPutHandler.java"},{"errorTraceLineNumber":-1,"errorTraceClassName":"sun.reflect.GeneratedMethodAccessor284","errorTraceMethodName":"invoke","errorTraceFileName":null},{"errorTraceLineNumber":43,"errorTraceClassName":"sun.reflect.DelegatingMethodAccessorImpl","errorTraceMethodName":"invoke","errorTraceFileName":"DelegatingMethodAccessorImpl.java"},{"errorTraceLineNumber":618,"errorTraceClassName":"java.lang.reflect.Method","errorTraceMethodName":"invoke","errorTraceFileName":"Method.java"},


Any clue whats wrong with my copy?

Thanks,
Om.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 27 '10, 12:52 p.m.

Question was seen: 6,432 times

Last updated: Apr 27 '10, 12:52 p.m.

Confirmation Cancel Confirm