Urgent: Bug in Document Source when trying to submit a large CDA_R2 XML document [message #582081] |
Mon, 15 October 2007 20:53 |
umesh shaw Messages: 8 Registered: July 2009 |
Junior Member |
|
|
I am trying to submit a large CDA_R2(xml)Document using Document source
OHF API.
It seems there is a problem in axis2-saaj-1.1.1.jar, A method in
SAAJDataSource.flushToDisk() try to create a temporary file (temp) when
the size of document is beyond some limit and it fails.
"java.lang.IllegalArgumentException: Illegal Argument"
[2007-10-15 16:02:58,930][INFO ][Source.java:339] Submitting Provide and
Register Document Set transaction to Repository:
http://lswin10.dfw.ibm.com:9080/IHIIRepository/SubmissionSet Receiver
[2007-10-15 16:34:42,076][ERROR][Source.java:343] Error sending SOAP
message to the repository. Error was Illegal Argument
java.lang.IllegalArgumentException: Illegal Argument
at
org.apache.axis2.saaj.AttachmentPartImpl.setContent(Attachme ntPartImpl.java:218)
at javax.xml.soap.SOAPMessage.createAttachmentPart(SOAPMessage. java:257)
at
org.eclipse.ohf.ihe.xds.soap.XDSSoapClientAXIS2.send(XDSSoap ClientAXIS2.java:243)
at org.eclipse.ohf.ihe.xds.source.Source.submit(Source.java:340 )
at
com.sage.ohfservice.handler.DocumentSourceService.submitDocu ment(DocumentSourceService.java:65)
at
com.sage.ohfservice.impl.IHETransactionImpl.submitDocument(I HETransactionImpl.java:89)
at
com.sage.controller.DocumentSourceController.submitDocument( DocumentSourceController.java:155)
at
com.sage.controller.DocumentSourceController.actionPerformed (DocumentSourceController.java:105)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unk nown
Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknow n Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
During debug i found an error message throws (java.io.IOException: The
system cannot find the path specified) from the method
SAAJDataSource.flushToDisk()
Do we have an urgent fix for this.
Thanks,
Umesh Shaw
|
|
|
Powered by
FUDForum. Page generated in 0.03547 seconds