Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
3 replies Latest Post - ‏2011-09-01T18:12:04Z by SystemAdmin
SystemAdmin
SystemAdmin
9224 Posts
ACCEPTED ANSWER

Pinned topic bad major version at offset=6

‏2011-08-31T17:36:47Z |
I did a zero start of my smash application, it seemed to start successfully:
  1. ./zero start
Application started and servicing requests at http://localhost:8031/
CWPZT0600I: Command start was successful
But when I invoke the client to perform a rest request, I am getting the following error.

I build my application on EClipse on the windows platform and I use the IBM 60 jre.

error-0.0.log:

2011-08-31 12:55:22 zero.core.cfadapter.ZeroServer::run Thread-10
INFO CWPZC0149I: /opt/IBM/mi running on port 8031
2011-08-31 12:55:22 zero.core.handlers.DefaultRequestHandler::onRequest Thread-11
SEVERE CWPZC1001E: Request processing terminated for URI: /maintenance/fixpack/catalog/list; error during request: (com/ibm/isas/smash/miupdate) bad major version at offset=6
2011-08-31 12:56:23 zero.core.cfadapter.ZeroServer::stop Thread-12
INFO CWPZC0151I: /opt/IBM/mi no longer listening on port 8031
Updated on 2011-09-01T18:12:04Z at 2011-09-01T18:12:04Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    9224 Posts
    ACCEPTED ANSWER

    Re: bad major version at offset=6

    ‏2011-08-31T18:04:50Z  in response to SystemAdmin
    additional info: the trace file shows.

    java.lang.UnsupportedClassVersionError: (com/ibm/isas/smash/miupdate) bad major version at offset=6
    at java.lang.ClassLoader.defineClassImpl(Native Method)
  • SystemAdmin
    SystemAdmin
    9224 Posts
    ACCEPTED ANSWER

    Re: bad major version at offset=6 or java.lang.UnsatisfiedLinkError:

    ‏2011-08-31T18:12:16Z  in response to SystemAdmin
    after I set the JAVA_HOME to the proper path. I cannot even perform zero start.
    1. ./zero start
    JAVA_HOME is: /usr/java6_64
    CWPZC0011E: An unhandled error was caught; message: java.lang.UnsatisfiedLinkError: ZeroProcessManagement (A file or directory in the path name does not exist.)
  • SystemAdmin
    SystemAdmin
    9224 Posts
    ACCEPTED ANSWER

    Re: bad major version at offset=6

    ‏2011-09-01T18:12:04Z  in response to SystemAdmin
    Please ensure that you have the full JDK installed, not just the JRE.

    It might be helpful if you could post the results of 'zero version', executed at command line from somewhere in your app_home directory (/opt/IBM/mi maybe?).