XML Input document parsing failed. Reason: Xalan fatal error

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
prfgonzales
Participant
Posts: 1
Joined: Thu Feb 03, 2011 4:32 am

XML Input document parsing failed. Reason: Xalan fatal error

Post by prfgonzales »

Hi there!

I am stuck here and needs your help.

We have a job that passes the processed data to the web service for upload to an external system.

We're getting a warning:
[code]XI_responsemsg,0: Warning: OS_vanavailability_005_xfm_TMS.WS_SoapXMLs: com.ascentialsoftware.wsclient.ServiceInvocationException: Service invocation exception: <Fault xmlns="http://schemas.xmlsoap.org/soap/envelope/"><faultcode xmlns="">soap:Client</faultcode><faultstring xmlns="">System.Web.Services.Protocols.SoapException: <SoapException /><ExceptionDetails ILOS04002E="The process cannot access the file &apos;C:\Inetpub\wwwroot\TMSService\logs\SDCAIPATH.txt&apos; because it is being used by another process." />
at TMSService.core.VANService.AddDeleteVans(String date, String dayOfWeek, String storeNumber, String shiftNumber, String storeType, String numberOfVans, String scheduleKey, String companyName, String userName, String password, String routeTemplateKey)</faultstring><detail xmlns=""><SoapException/><ExceptionDetails ILOS04002E="The process cannot access the file &apos;C:\Inetpub\wwwroot\TMSService\logs\SDCAIPATH.txt&apos; because it is being used by another process."/></detail></Fault>
at com.ascentialsoftware.wsclient.OperationCall.handleRemoteException(OperationCall.java:388)
at com.ascentialsoftware.wsclient.OperationCall.invoke(OperationCall.java:293)
at com.ascentialsoftware.wsclient.WebService.callServiceInternal(WebService.java:1685)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1591)
at com.ascentialsoftware.wsclient.WebService.callService(WebService.java:1544)
at com.ascentialsoftware.wspack.Transformer.process(Transformer.java:105)
at com.ascentialsoftware.jds.StageFactory.runStage(StageFactory.java:544)
at com.ascentialsoftware.jds.StageFactory.runTransformer(StageFactory.java:361)[/code]

And then a fatal error right after the warning:
[code]XI_responsemsg,0: Failure during execution of operator logic.[/code]

[code]APT_CombinedOperatorController(1),0: Fatal Error: Fatal: XML input document parsing failed. Reason: Xalan fatal error (publicId: , systemId: , line: 1, column: 1): Invalid document structure
Xalan fatal error (publicId: , systemId: , line: 1, column: 1): Invalid document structure[/code]

[code]node_node2: Player 11 terminated unexpectedly.[/code]
[code]xfm_logresponses,0: Fatal Error: waitForWriteSignal(): Premature EOF on node phetlpra Socket operation on non-socket[/code]

[code]buffer(1),0: Fatal Error: waitForWriteSignal(): Premature EOF on node phetlpra No such file or directory[/code]

Did the warning cause this job to fail?
Need your help on what to check next. Just taken over support for this job and I only have read-only access.
UCDI
Premium Member
Premium Member
Posts: 383
Joined: Mon Mar 21, 2016 2:00 pm

Post by UCDI »

figure out this:

The process cannot access the file &apos;C:\Inetpub\wwwroot\TMSService\logs\SDCAIPATH.txt&apos; because it is being used by another process."/>

The file is being locked by something else. Is that real? (Files can be left locked by a crashed program and you may have to manually fix this). If it is real, what is the other process, can you schedule around each other? If not, do you need 2 copies of the file or for one of the hits to be read-only? Or can you do a sleep & check (can I open file? No? If not, naptime ... repeat).
Post Reply