Resolve JBOSS7 when deploying an app not installing optional component Org.springframework.web.context.request.async.StandardServletAsyncWebRequest's error

Source: Internet
Author: User
Tags jboss

Recently deployed Web applications with JBoss a warning error was given

15:50:06,865 WARN [org.jboss.as.ee] (MSC service thread 1-13) Jbas011006:not Installing optional Component Org.springfram Ework.web.context.request.async.StandardServletAsyncWebRequest due to exception: Org.jboss.as.server.deployment.DeploymentUnitProcessingException:JBAS011054:Could not find default constructor for Class Org.springframework.web.context.request.async.StandardServletAsyncWebRequest
At Org.jboss.as.ee.component.componentdescription$defaultcomponentconfigurator.configure ( componentdescription.java:606)
At Org.jboss.as.ee.component.deployers.EEModuleConfigurationProcessor.deploy ( EEMODULECONFIGURATIONPROCESSOR.JAVA:81)
At Org.jboss.as.server.deployment.DeploymentUnitPhaseService.start (deploymentunitphaseservice.java:113) [ Jboss-as-server-7.1.1.final.jar:7.1.1.final]
At Org.jboss.msc.service.servicecontrollerimpl$starttask.startservice (servicecontrollerimpl.java:1811) [ JBOSS-MSC-1.0.2.GA.JAR:1.0.2.GA]
At Org.jboss.msc.service.servicecontrollerimpl$starttask.run (servicecontrollerimpl.java:1746) [ JBOSS-MSC-1.0.2.GA.JAR:1.0.2.GA]
At Java.util.concurrent.ThreadPoolExecutor.runWorker (threadpoolexecutor.java:1110) [rt.jar:1.7.0_05]
At Java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:603) [rt.jar:1.7.0_05]
At Java.lang.Thread.run (thread.java:722) [rt.jar:1.7.0_05]

Scare me, but the test application function is all right, deployed in resin3.x, TOMCAT6 and JBoss4 no problem, it is estimated that the JBOSS7 itself problem, the solution found on the StackOverflow, record for later check

Modify the JBoss configuration file, if the Standalone.xml is modified in standalone mode, add code with line number 5-9

1 < Profile>2         <Subsystemxmlns= "urn:jboss:domain:logging:1.1">3             <Console-handlername= "CONSOLE">4                 < Levelname= "INFO"/>5                 <Filter>6                     < not>7                         <Matchpattern= "JBAS011006"/>8                     </ not>9                 </Filter>Ten.........

Original problem Address: http://stackoverflow.com/questions/13922221/ Jbas011006-not-installing-optional-component-standardservletasyncwebrequest-due

This address: http://www.cnblogs.com/wangjiajun/p/4203373.html

Resolve JBOSS7 when deploying an app not installing optional component Org.springframework.web.context.request.async.StandardServletAsyncWebRequest's error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.