System Plaform issue with PSN027045u


Doc ID    SOLN304189
Version:    3.0
Status:    Published
Published date:    21 Feb 2017
Created Date:    05 Feb 2017
Author:   
Ying Sun
 

Details

SystemPlatform issue with PSN027045u
ALso then run "swversion" from cdom, java error reported "UnsupportedClassVersionError".The issue is still occurring.Previously, sometimes can't login to web console issue happened, but after the script applied, completed can't login to the web. Login via CLI is OK.After running the script in the PSN.

Problem Clarification

Provided the getlogs and other log information for further check.

Cause

Checked the logs.

Customer implemented the patch asgProps-installer-1.0.bsx at Jan24 15:32:58 with success,
 
<134>Jan 24 15:32:58 CDOM-1ST -bash: +09:00 2017 924 1 com.avaya.vsp | 0 HISTORY: PPID=29792 PID=29793 UID=0 md5sum asgProps-installer-1.0.bsx
<134>Jan 24 15:33:16 CDOM-1ST -bash: +09:00 2017 723 1 com.avaya.vsp | 0 HISTORY: PPID=29792 PID=29793 UID=0 sh ./asgProps-installer-1.0.bsx
 
the exit code of asgProps_install.log showns as below:
2017-01-24 15:33:16 INFO: Begin install of asgProps rpms
2017-01-24 15:33:17 INFO: Completed asgProps install return code 0
 
And the tomcat’s logs showed the service restart was successful.
2017-01-24 15:33:23,140|Jan 24, 2017 3:33:23 PM org.apache.catalina.startup.HostConfig deployD. escriptor
2017-01-24 15:33:23,140|INFO: Deploying configuration descriptor webconsole.xml
2017-01-24 15:33:26,272|log4j: reset attribute= "false".
 
 
Then he did the second patch webconsole-asg-fix-1.0.bsx
<134>Jan 24 15:34:11 CDOM-1ST -bash: +09:00 2017 474 1 com.avaya.vsp | 0 HISTORY: PPID=29792 PID=29793 UID=0 md5sum webconsole-asg-fix-1.0.bsx
<134>Jan 24 15:34:22 CDOM-1ST -bash: +09:00 2017 541 1 com.avaya.vsp | 0 HISTORY: PPID=29792 PID=29793 UID=0 sh ./webconsole-asg-fix-1.0.bsx
 
And the tomcat’s logs showed the service restart was failed.
2017-01-24 15:34:30,783|Jan 24, 2017 3:34:30 PM org.apache.catalina.startup.HostConfig deployDescriptor
2017-01-24 15:34:30,783|SEVERE: Error deploying configuration descriptor webconsole.xml
2017-01-24 15:34:30,783|java.lang.UnsupportedClassVersionError: com/avaya/vsp/webconsole/system/WebContextListener : Unsupported major.minor version 52.0 (unable to load class com.avaya.vsp.webconsole.system.WebContextListener)
 
In this case, the issue might be caused by the secondary patch. And the kay jar file is named webconsole.jar

Solution

 

It’s related to PSN027045u. Customer applied the patch webconsole-asg-fix-1.0.bsx. After the patching, they cannot browse the webconsole of Cdom. Displayed: “HTTP Status 503 - This application is not currently available”
When running swversion from cdom, java error displayed. “UnsupportedClassVersionError”
 
I can replicate the issue in lab environment on VSP 6.3.7. And I found the issue is due to the new webconsole.jar cannot be compatible after the patching.
 
The temporary fix per I test is to do the copy: cp /root/webconsole.jar.orig /opt/avaya/vsp/tomcat/webapps/webconsole/WEB-INF/lib/webconsole.jar
 
Change the owner of the file as tomcat and give it execution right. The permission should look like
-rwxr--r-- 1 tomcat tomcat 3370989 Jan 30 10:22 /opt/avaya/vsp/tomcat/webapps/webconsole/WEB-INF/lib/webconsole.jar
 
Then restart the tomcat services by “ service tomcat restart”
After restart the tomcat, the web should be able to access. But swversion will still got Java Exception error. The fix is to follow below instructions:
Modify /opt/avaya/vsp/bin/swversion.impl
change
appendClassPath `find $WEBCONSOLE_LIB -name *.jar`
to
appendClassPath `find $WEBCONSOLE_LIB -name '*.jar'`
 
and change
appendClassPath `find $TOMCAT_LIB -name *.jar`
to
appendClassPath `find $TOMCAT_LIB -name '*.jar'`
 
After the change, everything looks good then.
 
And I also tested the patch on VSP6.4, after the patching, everything looks fine without any issue. The PSN might be applicable to VSP 6.4 only. But the PSN mentioned Avaya Aura® System Platform, Releases 6.3.x, 6.4
 
Got confirmation from VSP tier4, the PSN is applicable to VSP 6.4 only.

Avaya -- Proprietary. Use pursuant to the terms of your signed agreement or Avaya policy