"eHealth configuration error while testing element service" message appearing when trying to configure the eHealth - Spectrum integration in eHealth Configuration tab in the Spectrum Administration Web GUI.

Document ID : KB000022807
Last Modified Date : 14/02/2018
Show Technical Document Details


Below is the error logged in the stdout.log file in $SPECROOT/tomcat/logs folder on the Spectrum server related to the integration:

Jun 10, 2010 8:39:16 AM (http-80-Processor25) (EhealthInfo) - Verifying service access.
Jun 10, 2010 8:39:16 AM - Exception caught when testing ElementIf service.AxisFault
 faultCode: {http://xml.apache.org/axis/}HTTP
 faultString: (404)Not Found
{}:return code:  404 <html><head><title>Apache Tomcat/5.5.27 - Error
 report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-
color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-
color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}P 
A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 404 - /eHealthServices/services/ElementIf</h1><HR size="1" noshade="noshade">
<p><b>type</b> Status report</p><p><b>message</b> <u>/eHealthServices/services/ElementIf</u></p>
<p><b>description</b><u>The requested resource(/eHealthServices/services/ElementIf)is not available.</u></p>
<HR size="1" noshade="noshade"><h3>Apache Tomcat/5.5.27</h3></body></html>{http://xml.apache.org/axis/}HttpErrorCode:404


This issue occurs when %NH_HOME%\web\tomcat\webapps\eHealthServices directory is not extracted properly during the patch upgrade on the eHealth machine. During the patch upgrade process a backup of the existing eHealthServices directory is created and a new set of files would be extracted from the eHealthServices.war to the eHealthServices directory.

In case the above process fails for some reason the required files may not get extracted properly and when you try to integrate eHealth and Spectrum the below error is displayed in the eHealth Configuration page in the Spectrum Administration Web GUI.

"eHealth configuration error while testing element service"

To fix this issue please try the below steps.

  1. Stop eHealth Tomcat service.
  2. Rename the %NH_HOME%\web\tomcat\webapps\eHealthServices directory to eHealthServices_OLD.
  3. Start the eHealth Tomcat service.

By renaming the ehealthService directory, the Tomcat service will automatically re-extract the eHealthServices.war with the correct files.

The error should not be appearing again after this.