Getting "500 No JSON Formated Retrofit Error" on Portal after recent devtest software install (v10.7.2.sp2.hf21) on RHEL Linux
search cancel

Getting "500 No JSON Formated Retrofit Error" on Portal after recent devtest software install (v10.7.2.sp2.hf21) on RHEL Linux

book

Article ID: 367685

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

Installed DevTest 10.7.2.sp2.hf.21 on a new RHEL Linux 8.9 server.  All the services comes up  fine,  but  when we login to the portal , we are getting the below error message : 

Error while retrieving list of Projects. (500 No JSON Formated Retrofit Error <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 503 Service Unavailable</title> </head> <body><h2>HTTP ERROR 503 Service Unavailable</h2> <table> <tr><th>URI:</th><td>/res-hub/v1/projects</td></tr> <tr><th>STATUS:</th><td>503</td></tr> <tr><th>MESSAGE:</th><td>Service Unavailable</td></tr> <tr><th>SERVLET:</th><td>-</td></tr> </table> </body> </html> 

Environment

Devtest 10.7.2 with any ServicePack 

Cause

A corrupted JAR file com.ibm.mq.allclient.jar in LISA_HOME/lib/shared folder prevented res-hub web application from starting.

You may test the jar file using the following command: 

$ jar -tvf com.ibm.mq.allclient.jar

java.util.zip.ZipException: error in opening zip file

        at java.util.zip.ZipFile.open(Native Method)

        at java.util.zip.ZipFile.<init>(ZipFile.java:231)

        at java.util.zip.ZipFile.<init>(ZipFile.java:156)

        at java.util.zip.ZipFile.<init>(ZipFile.java:127)

        at sun.tools.jar.Main.list(Main.java:1115)

        at sun.tools.jar.Main.run(Main.java:293)

        at sun.tools.jar.Main.main(Main.java:1288)

Resolution

Copy the file com.ibm.mq.allclient.jar from a working environment with same version and place it in LISA_HOME/lib/shared folder.