[jboss-jira] [JBoss JIRA] (AS7-2639) Improve deployment descriptor parsing error message

srikanth nair (Commented) (JIRA) jira-events at lists.jboss.org
Tue Nov 15 10:40:41 EST 2011


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

srikanth nair commented on AS7-2639:
------------------------------------

Guys from many days you people are lagging JBoss AS7.1.0 Beta1 release  .... Can you atleast provide the SNAPSHOT location of the same where we can download and use.
                
> Improve deployment descriptor parsing error message
> ---------------------------------------------------
>
>                 Key: AS7-2639
>                 URL: https://issues.jboss.org/browse/AS7-2639
>             Project: Application Server 7
>          Issue Type: Enhancement
>          Components: MSC
>    Affects Versions: 7.0.0.Alpha1
>            Reporter: Brad Maxwell
>            Assignee: David Lloyd
>             Fix For: Open To Community
>
>
> MSC throws exception "Empty name segment is not allowed" but does not give any hints about what element in the deployment descriptors has a problem.  This error message should be improved.
> If you have <security-domain/> in a war/WEB-INF/jboss-web.xml, you get this error below:
> 08:37:34,784 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "bug.war"
> 08:37:34,847 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC00001: Failed to start service jboss.deployment.unit."bug.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."bug.war".INSTALL: Failed to process phase INSTALL of deployment "bug.war"
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_27]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_27]
> 	at java.lang.Thread.run(Thread.java:662) [:1.6.0_27]
> Caused by: java.lang.IllegalArgumentException: Empty name segment is not allowed
> 	at org.jboss.msc.service.ServiceName.of(ServiceName.java:85) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> 	at org.jboss.msc.service.ServiceName.append(ServiceName.java:112) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> 	at org.jboss.as.web.deployment.WarDeploymentProcessor.processDeployment(WarDeploymentProcessor.java:215)
> 	at org.jboss.as.web.deployment.WarDeploymentProcessor.deploy(WarDeploymentProcessor.java:112)
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> 	... 5 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list