How can I fix an CSP Application error

234 views
Skip to first unread message

OMEGA_OPP

unread,
Feb 4, 2010, 5:38:53 PM2/4/10
to InterSystems: Ensemble in Healthcare
Hi All,
I was loading an XLM file and got the following error.

Error Condition
CSP application did not respond within the timeout period

I have been trying to figure out what is causing the load to fail.

Dale du Preez

unread,
Feb 5, 2010, 7:24:19 AM2/5/10
to ensemble-in...@googlegroups.com
Hi,

This sounds like your XML file is taking longer to process than the
default CSP Gateway timeout. What this means is that the server is
taking longer than the default timeout (which is 60 seconds) to process
the contents of your file, so the CSP Gateway (which is the component
that sits between Ensemble and a web server) issues this error.

You can try to load the XML file from a terminal using syntax like the
following:
Set status = $system.OBJ.Load("c:\yourpath\yourfile.xml", "ck")
The on screen text should then let you know if there are any problems.
Note that "ck" are the compilation flags for "compile" and "keep source"
- to see other available flags you can check the documentation or issue
the following command:
Do $system.OBJ.ShowQualifiers("Compiler")
There are a large number, but "ck" should be sufficient unless you are
doing something complicated.

Alternatively, you can increase the Server Response timeout for the CSP
gateway. If you are using the System Management Portal, you can go to
the Configuration section, and then the link for CSP Gateway management.
You may be presented with a login screen - you should use CSPSystem as
the user and supply the password you gave as your main password during
installation. In the Default Parameters section of these pages, you can
then change the "Server Response Timeout" to be something larger than 60
seconds.

In the longer term, you may want to keep the response timeout at 60 -
the server shouldn't be taking that long to respond to HTTP requests in
general.

I hope this helps,
Dale

Reply all
Reply to author
Forward
0 new messages