[jboss-jira] [JBoss JIRA] (AS7-6935) Deploying dynamic VDB with invalid XML will cause incomprehensible error

Brian Stansberry (JIRA) jira-events at lists.jboss.org
Wed Apr 17 16:50:53 EDT 2013


    [ https://issues.jboss.org/browse/AS7-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12768267#comment-12768267 ] 

Brian Stansberry commented on AS7-6935:
---------------------------------------

The scanner tries to guard against deploying partially copied files by doing a trivial parse to confirm well-formed xml [1]. It's unlikely there would be any Teiid related logs, as the deployment scanner doesn't even try to execute a management operation to deploy the file if it doesn't pass this check.

If you enable DEBUG logging of log category org.jboss.as.server.deployment.scanner you may get some more details.

[1] https://github.com/jbossas/jboss-as/blob/master/deployment-scanner/src/main/java/org/jboss/as/server/deployment/scanner/XmlCompletionScanner.java#L44
                
> Deploying dynamic VDB with invalid XML will cause incomprehensible error
> ------------------------------------------------------------------------
>
>                 Key: AS7-6935
>                 URL: https://issues.jboss.org/browse/AS7-6935
>             Project: Application Server 7
>          Issue Type: Bug
>    Affects Versions: 7.1.1.Final
>            Reporter: Filip Nguyen
>            Priority: Trivial
>         Attachments: loop-vdb.xml
>
>
> Deploying VDB with invalid XML (closed translator tag). Causes following error:
> [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1)  JBAS015009: Scan found incompletely copied file content for deployment standalone/deployments/loop-vdb.xml. Deployment changes will not be processed until all content is complete.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list