[Servingxml-help] Problem executing process
Brought to you by:
danielaparker
|
From: Edgar De la C. S. <edg...@na...> - 2006-01-16 20:38:46
|
Hi
I have a problem executing servingxml in embed mode. If my application runs
in standalone mode all works fine, but adding this functionality to another
application the program blocks itself in the line:
service.execute(serviceContext, parameters, flow);
and never finish. I have debugged the application with the source code and
found that the problem is in this method from Pipeline class:
public void execute(ContentHandler contentHandler)
throws ServingXmlException {
try {
xmlReader.setContentHandler(contentHandler);
xmlReader.parse(systemId);
} catch (SAXException se) {
Throwable cause = se;
if (se.getException() != null) {
cause = se.getException();
}
if (cause instanceof ServingXmlException) {
throw (ServingXmlException)cause;
} else {
throw new ServingXmlException(cause.getMessage(),cause);
}
} catch (java.io.IOException e) {
throw new ServingXmlException(e.getMessage(),e);
}
}
}
The application is blocked in the line: xmlReader.parse(systemId);
I don't know why if the same code runs fine outside.
Thanks
Edgar De la Cruz Salgado
Desarrollador Sr.
North American Software S.A. de C.V.
<http://www.nasoft.com/> www.nasoft.com
Bosques de Alisos # 47-B P.B.
Bosques de las Lomas
Mexico D.F. 05120
Cel. 04455 1320 8616
|