CONN#58534 Vreemde timeouts op mld_opdr_save
svn path=/Website/branches/v2019.1/; revision=43390
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user