My Oracle Support Banner

Application_fatal_error XMLHttp request failed: Servlet error: Error in DCAPI Module (Doc ID 1369814.1)

Last updated on JANUARY 12, 2024

Applies to:

Oracle Clinical Remote Data Capture Option - Version 4.5.3 and later
Information in this document applies to any platform.

Symptoms


While attempting to edit or close a single CRF (SCR Fails) you receive the following:

ERROR MESSAGES:

This application has encountered a fatal error and will shut down. XMLHttp request failed: <XMLHttp ID> (Servlet error: Error in DCAPI Module.).




In debug log files:




Tue Oct 18 16:03:39.901 2011 : Function := UpdateResponses
Tue Oct 18 16:03:39.901 2011 : arg(0) := 1
Tue Oct 18 16:03:39.901 2011 : arg(1) := SCR
Tue Oct 18 16:03:39.901 2011 : arg(2) := RSNNCT1N
Tue Oct 18 16:03:39.901 2011 : arg(3) := 1
Tue Oct 18 16:03:39.901 2011 : arg(4) := 0
Tue Oct 18 16:03:39.901 2011 : arg(5) := DATA
Tue Oct 18 16:03:39.901 2011 : arg(6) := 1
Tue Oct 18 16:03:39.901 2011 : arg(7) := null
Tue Oct 18 16:03:39.901 2011 : arg(8) := null
Tue Oct 18 16:03:39.901 2011 : arg(9) := null
Tue Oct 18 16:03:39.901 2011 : Before Calling UpdateResponses
Tue Oct 18 16:03:39.901 2011 : Inside CallDcapiMethod, Function name is: UpdateResponses
Tue Oct 18 16:03:39.901 2011 : Reset closed flag to 0
Tue Oct 18 16:03:39.901 2011 : Function UpdateResponses returns 0null
Tue Oct 18 16:03:39.901 2011 : function send(dcapiService->dcapi.jar) returns 14
Tue Oct 18 16:03:39.917 2011 : Waiting for new function calls...
Tue Oct 18 16:03:53.897 2011 : ------------------
Tue Oct 18 16:03:53.897 2011 : Function := UpdateResponses
Tue Oct 18 16:03:53.897 2011 : arg(0) := 1
Tue Oct 18 16:03:53.897 2011 : arg(1) := SCR
Tue Oct 18 16:03:53.897 2011 : arg(2) := RSNNCT1A
Tue Oct 18 16:03:53.897 2011 : arg(3) := 1
Tue Oct 18 16:03:53.897 2011 : arg(4) := 0
Tue Oct 18 16:03:53.897 2011 : arg(5) := DATA
Tue Oct 18 16:03:53.897 2011 : arg(6) := CANT SAVE ANY DATA TEST
Tue Oct 18 16:03:53.897 2011 : arg(7) := null
Tue Oct 18 16:03:53.897 2011 : arg(8) := null
Tue Oct 18 16:03:53.897 2011 : arg(9) := null
Tue Oct 18 16:03:53.897 2011 : Before Calling UpdateResponses
Tue Oct 18 16:03:53.897 2011 : Inside CallDcapiMethod, Function name is: UpdateResponses
Tue Oct 18 16:03:53.897 2011 : Reset closed flag to 0
Tue Oct 18 16:03:53.897 2011 : Function UpdateResponses returns 0nulll
Tue Oct 18 16:03:53.897 2011 : function send(dcapiService->dcapi.jar) returns 14
Tue Oct 18 16:03:53.897 2011 : Waiting for new function calls...
Tue Oct 18 16:03:54.163 2011 : ------------------
Tue Oct 18 16:03:54.163 2011 : Function := SaveChanges
Tue Oct 18 16:03:54.163 2011 : arg(0) := SAVE
Tue Oct 18 16:03:54.163 2011 : arg(1) := 1
Tue Oct 18 16:03:54.163 2011 : Before Calling SaveChanges
Tue Oct 18 16:03:54.163 2011 : Inside CallDcapiMethod, Function name is: SaveChanges
Tue Oct 18 16:03:54.163 2011 : Reset closed flag to 0

Tue Oct 18 16:03:54.178 2011 : Function SaveChanges returns 8
WriteRdciRdcm - -1:Failure returned by database package. WriteRdciRdcm - -1
from WriteRdciRdcm. WriteRdciRdcm - -1
from WriteRdciRdcm. PostToDB - -1
from PostToDB. RdcmTrg_OnInsert - -1
from RdcmTrg_OnInsert. InsertRdcmRecordInDB - -1
ORA-00001: unique constraint (RXC.RECEIVED_DCM_UK2_IDX) violated.

Tue Oct 18 16:03:54.178 2011 : function send(dcapiService->dcapi.jar) returns 313
Tue Oct 18 16:03:54.178 2011 : Waiting for new function calls...
Tue Oct 18 16:03:54.178 2011 : ------------------
Tue Oct 18 16:03:54.178 2011 : Function := SaveChanges
Tue Oct 18 16:03:54.178 2011 : arg(0) := CLOSE
Tue Oct 18 16:03:54.178 2011 : arg(1) := 0
Tue Oct 18 16:03:54.178 2011 : Before Calling SaveChanges
Tue Oct 18 16:03:54.178 2011 : Inside CallDcapiMethod, Function name is: SaveChanges
Tue Oct 18 16:03:54.178 2011 : Reset closed flag to 0
Tue Oct 18 16:03:54.194 2011 : After Close
Tue Oct 18 16:03:54.194 2011 : Function SaveChanges returns 4CheckSequence - 285000:Function called out of sequence..
Tue Oct 18 16:03:54.194 2011 : function send(dcapiService->dcapi.jar) returns 68
Tue Oct 18 16:03:54.194 2011 : Waiting for new function calls...
Tue Oct 18 16:03:54.194 2011 : ------------------
Tue Oct 18 16:03:54.194 2011 : Function := Disconnect
Tue Oct 18 16:03:54.194 2011 : Before Calling Disconnect
Tue Oct 18 16:03:54.194 2011 : Inside CallDcapiMethod, Function name is: Disconnect
Tue Oct 18 16:03:54.194 2011 : Reset closed flag to 0
Tue Oct 18 16:03:54.194 2011 : Function Disconnect returns 4DisconnectOCL - 286000:Cannot disconnect while changes are pending for RDCI/RDCM work..
Tue Oct 18 16:03:54.194 2011 : function send(dcapiService->dcapi.jar) returns 99
Tue Oct 18 16:03:54.194 2011 : Waiting for new function calls...
Tue Oct 18 16:03:54.194 2011 : ------------------
Tue Oct 18 16:03:54.194 2011 : Function := exit
Tue Oct 18 16:03:54.194 2011 : Shutting down sockets
Tue Oct 18 16:03:54.194 2011 : Failed to send disconnect to listen socket:
Tue Oct 18 16:03:54.194 2011 : The socket is not connected.
Tue Oct 18 16:03:54.194 2011 : Closing sockets



Also the following messages from delog0.log:


<record>
<date>2011-10-18T16:03:54</date>
<millis>1318971834178</millis>
<sequence>5142</sequence>
<logger>oracle.pharma.rdc.de.servlet.RuntimeController</logger>
<level>SEVERE</level>
<class>oracle.pharma.rdc.de.servlet.RuntimeController</class>
<method>doPost</method>
<thread>23</thread>
<message>[MESSAGE ID] Exception thrown from service while processing command cmdSaveDoc with parameters {"id":"cmdSaveDoc_0"}</message>
</record>
<record>
<date>2011-10-18T16:03:54</date>
<millis>1318971834178</millis>
<sequence>5143</sequence>
<logger>oracle.pharma.rdc.de.servlet.RuntimeController</logger>
<level>SEVERE</level>
<class>oracle.pharma.rdc.de.servlet.RuntimeController</class>
<method>doPost</method>
<thread>23</thread>
<message>[<ID>] [<MESSASGE ID>] Exception in RuntimeController
oracle.pharma.rdc.de.exception.FailedOperationException: Error in DCAPI Module.
at oracle.pharma.rdc.de.service.dcs.DciFormData.doDocSave(DciFormData.java:3248)
at oracle.pharma.rdc.de.service.dcs.DciFormData.processDocCommands(DciFormData.java:7624)
at oracle.pharma.rdc.de.service.dcs.DciFormData.processCommand(DciFormData.java:7843)
at oracle.pharma.rdc.de.service.dcs.DataCaptureService.performAction(DataCaptureService.java:248)
at oracle.pharma.rdc.de.service.dcs.DataCaptureService.processCommand(DataCaptureService.java:106)
at oracle.pharma.rdc.de.servlet.RuntimeController.doPost(RuntimeController.java:574)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:834)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
</message>
</record>



OCCURRENCE PATTERNS: occurs only with the specific Site/Study/Patient/Document

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.