[jboss-jira] [JBoss JIRA] (AS7-1929) Invalid webapp deploys without error in management API

Jean-Frederic Clere (Commented) (JIRA) jira-events at lists.jboss.org
Wed Oct 12 04:56:16 EDT 2011


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

Jean-Frederic Clere commented on AS7-1929:
------------------------------------------

https://github.com/jbossas/jboss-as/pull/432
                
> Invalid webapp deploys without error in management API
> ------------------------------------------------------
>
>                 Key: AS7-1929
>                 URL: https://issues.jboss.org/browse/AS7-1929
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Web
>            Reporter: Thomas Diesler
>            Assignee: Remy Maucherat
>             Fix For: 7.1.0.Beta1
>
>
> $ mvn -Dtest=EnterpriseDeploymentTestCase test
> Running org.jboss.as.test.embedded.deployment.EnterpriseDeploymentTestCase
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.29 sec <<< FAILURE!
> Results :
> Failed tests:   testDistributeBadWar(org.jboss.as.test.embedded.deployment.EnterpriseDeploymentTestCase): expected:<Failed> but was:<Completed>
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0
> {code}
> 09:20:52,309 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) Starting deployment of "file:/tmp/deployment-bad-web.war"
> 09:20:52,381 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Context [/custom-context] startup failed due to previous errors: java.lang.IllegalArgumentException: Invalid <url-pattern> /myapp
> /* in servlet mapping
> 	at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2235) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.apache.catalina.core.StandardContext.addServletMapping(StandardContext.java:2210) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.jboss.as.web.deployment.JBossContextConfig.processWebMetaData(JBossContextConfig.java:482) [jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.jboss.as.web.deployment.JBossContextConfig.applicationWebConfig(JBossContextConfig.java:167) [jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:417) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:182) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.jboss.as.web.deployment.JBossContextConfig.lifecycleEvent(JBossContextConfig.java:160) [jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.apache.catalina.core.StandardContext.start(StandardContext.java:3766) [jbossweb-7.0.1.Final.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:70) [jboss-as-web-7.1.0.Alpha2-SNAPSHOT.jar:7.1.0.Alpha2-SNAPSHOT]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824)
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_26]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_26]
> 	at java.lang.Thread.run(Thread.java:662) [:1.6.0_26]
> 09:20:52,387 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-3) Context [/custom-context] startup failed due to previous errors
> 09:20:52,387 INFO  [org.jboss.web] (MSC service thread 1-3) registering web context: /custom-context
> 09:20:52,421 INFO  [org.jboss.as.server.controller] (pool-1-thread-1) Deployed "file:/tmp/deployment-bad-web.war"
> {code}

--
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