| Bad Major Version [message #911205] |
Tue, 11 September 2012 03:26  |
Bob NIcholson Messages: 62 Registered: December 2011 Location: Seattle |
Member |
|
|
I'm getting the following error when trying to call an RPG service on my iSeries:
java.lang.UnsupportedClassVersionError:JVMCFRE003 bad major version; class=server/CallRpgService, offset=6 (unable to load class server.CallRpgService)
The call works from the workbench and when running on an external browser with local host. However, when I deploy the war file to my iSeries running Tomcat 6.03, I get the error.
I've set the work bench property for Java compiler to 1.7, 1.6 and 1.5 and re built everything without any affect. I'm running and external version of Apache Tomcat 6.03 on my iSeries. But, I'm assuming this is not the problem at this point.
on the iseries I have:
5761JV1 *COMPATIBLE IBM Developer Kit for Java
5761JV1 *COMPATIBLE J2SE 5.0 32 bit
5761JV1 *COMPATIBLE J2SE 5.0 64 bit
5761JV1 *COMPATIBLE Java SE 6 32 bit
5761JV1 *COMPATIBLE Java SE 6 64 bit
I'm not sure if I'm looking at the proper settings.
Thanks for any help.
Bob
|
|
|
|
|
| Re: Bad Major Version [message #911548 is a reply to message #911476] |
Tue, 11 September 2012 16:50   |
Bob NIcholson Messages: 62 Registered: December 2011 Location: Seattle |
Member |
|
|
Okay, I've now got this working on my iSeries thanks to everyone's help. Only I still have problem. the response time is about twenty seconds. On the workbench and using a local server my response time is immediate. What may be causing the slow response on my iSeries?
[Updated on: Tue, 11 September 2012 17:21] Report message to a moderator
|
|
|
| Re: Bad Major Version [message #911583 is a reply to message #911548] |
Tue, 11 September 2012 18:52  |
Bob NIcholson Messages: 62 Registered: December 2011 Location: Seattle |
Member |
|
|
I'd forgotten about the DNS issue impacting response time that I ran into before. I appears that this has caught me again. I changed the resource binding for the call to use "localhost" rather than the www.domainname and that seemed to resolve the issue on the iSeries. I appears that I may need to have multiple deployment descriptors for the various platforms. Hopefully I'm off and running again.
Thanks to all that gave me some help here.
|
|
|
Powered by
FUDForum. Page generated in 0.03845 seconds