Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » Urgent: Bug in Document Source when trying to submit a large CDA_R2 XML document
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 is currently offline 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
Previous Topic:STEM - GIS Plugin(s) for Eclipse
Next Topic:STEM - editing included scenarios, etc?
Goto Forum:
  


Current Time: Mon Sep 22 12:17:53 GMT 2014

Powered by FUDForum. Page generated in 0.01518 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software