CONN#58534 Vreemde timeouts op mld_opdr_save

svn path=/Website/branches/v2019.1/; revision=43390
This commit is contained in:
Jos Groot Lipman
2019-07-17 11:06:19 +00:00
parent 64fedb0c6f
commit 849e252400

View File

@@ -92,10 +92,20 @@ function initialize(params)
{
S = params.S;
settings = params.settings; // voor overrule
Oracle = params.Oracle;
customerId = params.customerId;
custabspath = params.custabspath;
PUO_LOGPATH = params.PUO_LOGPATH;
// incidenteel timeouts bij make_xml2, toch maar eigen connection:
//Oracle = params.Oracle;
// gebruikt eigen __Log die niet werkt vanuit ASP
// Oracle = Connect2Oracle('puo_Putorders.wsc', params.custabspath + "/Oracle.udl");
Oracle = new ActiveXObject("ADODB.Connection");
Oracle.Open('File Name=' + params.custabspath + "/Oracle.udl");
var sql = "BEGIN fac.initsession(NULL); END;"
Oracle.Execute(sql);
Log2File(1, "====== Immediate Oracle connection created");
}
// Als ref_key meegeven dan alleen notificaties met die referentie (en module zoals afgeleid uit pcode)