You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Jeff Davis (JIRA)" <ji...@apache.org> on 2008/08/11 18:50:44 UTC

[jira] Created: (SYNAPSE-423) Error when using VFS to process large XML file

Error when using VFS to process large XML file
----------------------------------------------

                 Key: SYNAPSE-423
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-423
             Project: Synapse
          Issue Type: Bug
          Components: Endpoints
    Affects Versions: 1.2
         Environment: Linux (Ubuntu)
            Reporter: Jeff Davis


I created a test similar the one in sample 254 (attached is the configuration and sample test data), but when I submit a large XML file to be processed, it fails. From the console log messages, it appears to cut off the document about mid-way through processing. My memory settings are very high ($JAVA_HOME/bin/java -server -Xms512M -Xmx1024M -Xss20M), so I don't think that is it.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-423) Error when using VFS to process large XML file

Posted by "Jeff Davis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Davis updated SYNAPSE-423:
-------------------------------

    Attachment: synapse_sample_opensoa_ph1_11.xml

Large XML file I was attempting to process

> Error when using VFS to process large XML file
> ----------------------------------------------
>
>                 Key: SYNAPSE-423
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-423
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.2
>         Environment: Linux (Ubuntu)
>            Reporter: Jeff Davis
>         Attachments: synapse_sample_opensoa_ph1_11.xml
>
>
> I created a test similar the one in sample 254 (attached is the configuration and sample test data), but when I submit a large XML file to be processed, it fails. From the console log messages, it appears to cut off the document about mid-way through processing. My memory settings are very high ($JAVA_HOME/bin/java -server -Xms512M -Xmx1024M -Xss20M), so I don't think that is it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-423) Error when using VFS to process large XML file

Posted by "Dinuka Roshan Arseculeratne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625995#action_12625995 ] 

Dinuka Roshan Arseculeratne commented on SYNAPSE-423:
-----------------------------------------------------

Hi Jeff,

         I tested the same payload using http rather than vfs and it worked fine without any error. I believe it is an issue with VFS Transport. Will be looking into this and will keep you updated.

> Error when using VFS to process large XML file
> ----------------------------------------------
>
>                 Key: SYNAPSE-423
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-423
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.2
>         Environment: Linux (Ubuntu)
>            Reporter: Jeff Davis
>         Attachments: exampleUBL.xml, synapse_sample_opensoa_ph1_11.xml
>
>
> I created a test similar the one in sample 254 (attached is the configuration and sample test data), but when I submit a large XML file to be processed, it fails. From the console log messages, it appears to cut off the document about mid-way through processing. My memory settings are very high ($JAVA_HOME/bin/java -server -Xms512M -Xmx1024M -Xss20M), so I don't think that is it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-423) Error when using VFS to process large XML file

Posted by "Dinuka Roshan Arseculeratne (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623951#action_12623951 ] 

Dinuka Roshan Arseculeratne commented on SYNAPSE-423:
-----------------------------------------------------

Hi Jeff,
      Would you able to add the stack trace when you get this error ?

> Error when using VFS to process large XML file
> ----------------------------------------------
>
>                 Key: SYNAPSE-423
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-423
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.2
>         Environment: Linux (Ubuntu)
>            Reporter: Jeff Davis
>         Attachments: exampleUBL.xml, synapse_sample_opensoa_ph1_11.xml
>
>
> I created a test similar the one in sample 254 (attached is the configuration and sample test data), but when I submit a large XML file to be processed, it fails. From the console log messages, it appears to cut off the document about mid-way through processing. My memory settings are very high ($JAVA_HOME/bin/java -server -Xms512M -Xmx1024M -Xss20M), so I don't think that is it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Resolved: (SYNAPSE-423) Error when using VFS to process large XML file

Posted by "Andreas Veithen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved SYNAPSE-423.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3
         Assignee: Andreas Veithen

This is due to a bug in VFSTransportListener: the VFS input stream is closed before handleIncomingMessage is called. Note that this bug only affects XML payloads (not text/plain and application/octet-stream). Corrected in trunk.

> Error when using VFS to process large XML file
> ----------------------------------------------
>
>                 Key: SYNAPSE-423
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-423
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.2
>         Environment: Linux (Ubuntu)
>            Reporter: Jeff Davis
>            Assignee: Andreas Veithen
>             Fix For: 1.3
>
>         Attachments: exampleUBL.xml, synapse_sample_opensoa_ph1_11.xml
>
>
> I created a test similar the one in sample 254 (attached is the configuration and sample test data), but when I submit a large XML file to be processed, it fails. From the console log messages, it appears to cut off the document about mid-way through processing. My memory settings are very high ($JAVA_HOME/bin/java -server -Xms512M -Xmx1024M -Xss20M), so I don't think that is it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-423) Error when using VFS to process large XML file

Posted by "Jeff Davis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-423?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff Davis updated SYNAPSE-423:
-------------------------------

    Attachment: exampleUBL.xml

> Error when using VFS to process large XML file
> ----------------------------------------------
>
>                 Key: SYNAPSE-423
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-423
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>    Affects Versions: 1.2
>         Environment: Linux (Ubuntu)
>            Reporter: Jeff Davis
>         Attachments: exampleUBL.xml, synapse_sample_opensoa_ph1_11.xml
>
>
> I created a test similar the one in sample 254 (attached is the configuration and sample test data), but when I submit a large XML file to be processed, it fails. From the console log messages, it appears to cut off the document about mid-way through processing. My memory settings are very high ($JAVA_HOME/bin/java -server -Xms512M -Xmx1024M -Xss20M), so I don't think that is it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org