After upgrade 6.3.2.09 LiveException won't launch

book

Article ID: 38278

calendar_today

Updated On:

Products

EHEALTH CA eHealth

Issue/Introduction

Issue: 

After upgrade to 6.3.2.09, LE won't launch with JSP error

Open the eHealth webpage, choose live health tab, bottom left, run live exceptions.

HTTP status 500 - unable to compile class for JSP: 
Unable to compile class for jsp.

An error occurred at line: [1] in the generated java file: [E:\eHealth\web\tomcat\work\Catalina\localhost\liveExceptions\org\apache\jsp\liveExceptions_jsp.java]

The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files

 An error occurred at line: 220 in the jsp file: /liveExceptions.jsp

The type java.lang.CharSequence cannot be resolved. It is indirectly referenced from required .class files

217: String line = null;
218: BufferedReader reader = new BufferedReader(new InputStreamReader(p.getInputStream()));
219: if ((line = reader.readLine()) != null) {
220: if (line.contains("true")) {
221: smartCardEnabledArg="SmartCardEnabled=true";
222: }
223: }

Error is seen on the webpage and in $NH_HOME/web/tomcat/logs/Catalina.out

 

Environment:  

Applies to CA eHealth 6.3.2.09 and .10

Cause: 

The problem is that previous version of tomcat has eclipse compiler v3.7.2, which is not suitable for java 8. Tomcat 7.0.55 has eclipse compiler v4.4 and it is ok for java 8. The problem is that installer overwrites tomcat files during the update. As a result, after update tomcat has 2 version of eclipse compiler. Removing ecj-3.7.2.jar from tomcat/lib directory fix the issue permanently.

Resolution:

1.       Look at %NH_HOME%\web\tomcat\lib
There should be ecj-4.4.jar file and no other ecj*.jar files.

2.       cd %NH_HOME%\web\tomcat\bin
version.bat

Tomcat should be 7.0.55.0
JVM version should be 1.8.0_45-b14

3.       If there are other ecj*jar files delete them.
Re-cycle eHealth tomcat service:

Linux:          nhHttpd stop  , start

Windows:     use services.msc 

Additional Information:

RTC 369425
Fix Planed for 6.3.2.11

Environment

Release:
Component: EHLH