Release Automation

  • 1.  Put file in remote agent error /Unsupported major.minor version 51.0

    Posted Jan 15, 2019 03:12 PM

    I'm in the need to send a file from phpx0090 to another agent but I get the following error:

     

    Agent:phpx0090.telecom.com.ar
    Description:

    Run Command Line action has finished successfully.
    Return value: 0
    Std out: HP-UX phpx0090 B.11.31 U ia64 2719983236 

     

     

     

    2019-01-15 16:56:34,050 [New I/O client worker #1-2] DEBUG (com.nolio.platform.shared.communication.CommunicationNetworkServiceManager:212) - Message submitted for processing. Message: [ID:2315b20df2903800_105ddd@plrelautoapp4, from:plrelautoapp4, to:executionLog__696806_plrelautoapp4@es_plrelautoapp4- StepExecutionEventDto [result=Step Result: false - (#1) Unexpected error during remote execution request handling on agent [phpx0090.telecom.com.ar]:<br/>com/nolio/platform/shared/executables/actions/files/PutFileInRemoteAgent : Unsupported major.minor version 51.0, hostIp=plrelautoapp4, jobId=696806, envServerId=703914, timestamp=Tue Jan 15 16:56:34 ART 2019, state=RUNNING, stepId=P14731646000.F17781761000.E17781872000.E17781840000.E17781812000.E17781765000, stepTitle=Envio log a RA, startDate=Tue Jan 15 16:50:11 ART 2019, stopDate=Tue Jan 15 16:50:12 ART 2019, eventCounter=2776831]], Service: com.nolio.platform.server.communication.services.CommunicationDispatcherService

     

     

    Any Ideas?

     

    Thanks.



  • 2.  Re: Put file in remote agent error /Unsupported major.minor version 51.0
    Best Answer

    Broadcom Employee
    Posted Jan 15, 2019 05:15 PM

    Hello,

     

    That message (unsupported major.minor) reminds me of problems relating to the version of JRE used. You might want to check its version (NolioAgentInstallFolder/jre/bin/java --version). If you need to point it to something newer you can see if this techdoc helps: 

    How to define alternative JRE when instaling CA Re - CA Knowledge 

     

    Kind regards,

    Gregg



  • 3.  Re: Put file in remote agent error /Unsupported major.minor version 51.0

    Broadcom Employee
    Posted Jan 23, 2019 08:57 PM

    Hi,

     

    Did Gregg's answer help you?

    If so, please click "Mark Correct" on Gregg's comment.

    If you need additional help, please feedback to us.

     

    Thanks

    Yas



  • 4.  Re: Put file in remote agent error /Unsupported major.minor version 51.0

    Broadcom Employee
    Posted Jan 29, 2019 01:08 AM

    I assumed Gregg's answer as correct because of no responses.

    If additional help is needed, please open new thread.

     

    Thanks

    Yas



  • 5.  RE: Put file in remote agent error /Unsupported major.minor version 51.0

    Posted Jun 01, 2021 05:22 AM
    Unsupported major.minor version error is because of Java version mismatch. It happens when you compile your projects on higher version of java(e.g. jdk 1.8) and then run it on a lower version (e.g. jdk 1.7). Depending on your situation, you have two ways to resolve this error: compile your code for an earlier version of Java, or run your code on a newer Java version. Sometimes you may have more than one version of Java SDK installed in your machine. Make sure the application you are running is pointing to the right or highest version available . It is better you need to install both JRE/JDK with the same version.