JBoss Related error and solutions

Source: Internet
Author: User
Tags addchild

Question 1

Error message:

MSC00001:Failed to start service JBoss. Web. Deployment. Default-host./: Caused By:java. Lang. IllegalArgumentException: Child container with name already exists at org. Apache. Catalina. Core. Containerbase. Addchildinternal(Containerbase. Java:804) at Org. Apache. Catalina. Core. Containerbase. AddChild(Containerbase. Java:792) at Org. Apache. Catalina. Core. Standardhost. AddChild(Standardhost. Java:356) at Org. JBoss. as. Web. Deployment. Webcontextinjector. Inject(Webcontextinjector. Java: +) at Org. JBoss. as. Web. Deployment. Webcontextinjector. Inject(Webcontextinjector. Java: -) at Org. JBoss. MSC. Inject. Castinginjector. Inject(Castinginjector. Java: -)

Solution:
Find%jboss_home%/configuration/standalone.xml, modify enable-welcome-root= "false" to prevent JBOSS default context and your application conflict.

Question 2:

Error message:

 -: on: -,555WARN [org. JBoss. as. EE] (MSC service Thread1- -) Jbas011006:not Installing optional component org. Springframework. Web. Context. Request. Async. StandardservletasyncwebrequestDue to exception:org. JBoss. as. Server. Deployment. Deploymentunitprocessingexception: Jbas011054:could not find default constructor for class org. Springframework. Web. Context. Request. Async. Standardservletasyncwebrequestat org. JBoss. as. EE. Component. Componentdescription$DefaultComponentConfigurator. Configure(componentdescription. Java:606) at Org. JBoss. as. EE. Component. Deployers. Eemoduleconfigurationprocessor. Deploy(Eemoduleconfigurationprocessor. Java:Bayi) 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:1145) [RT. Jar:1.7. 0_65] at Java. Util. Concurrent. Threadpoolexecutor$Worker. Run(Threadpoolexecutor. Java:615) [RT. Jar:1.7. 0_65] at Java. Lang. Thread. Run(Thread. Java:745) [RT. Jar:1.7. 0_65]

Solution:
Find%jboss_home%/configuration/standalone.xml, add the following in the Console-handler name= "CONSOLE" >

  <filter>     <not>            <match pattern="JBAS011006"/>     </not>  </filter>
Question 3:

error message:
The company's website system used in the middle is jboss7.1.1 Final, because some data and service testing environment does not have, it is unavoidable to debug some JSP pages in the test environment, found the JBoss application downloaded from the JBoss community has a problem, the new JSP page will be deployed in real-time, The modified JSP page will not be deployed properly.
Solution:

    • Found in the Jboss7\standalone\configuration\standalone.xml file
<subsystem xmlns="urn:jboss:domain:web:1.0" default-virtual-server= "Default-host">                 <configuration>                     <jsp-configuration Development="true"/>                 </configuration>                 <connector name="http" protocol= "http/1.1" socket-binding ="http" scheme="http"/>                 <virtual-server name="Default-host" enable-welcome-root= "true">                     <alias name="localhost"/>                     <alias name="example.com"/>                 </virtual-server>             </Subsystem>   
    • To the Jboss-as-7.1.1.final/modules/org/jboss/as/web/main directory, paste the Jboss-as-web-7.1.1.final-recompile.jar in. Http://www.datafilehost.com/download-2cb9ff04.html

      Open Module.xml (Jboss-as-7.1.1.final/modules/org/jboss/as/web/main) to comment out the following code:

<!--resource-root path="jboss-as-web-7.1.1.Final.jar"/-->

Add the following line below the comment above

<resource-root path="jboss-as-web-7.1.1.Final-RECOMPILE.jar"/>

Reference documents
https://community.jboss.org/message/723945#723945#723945
Continue to update in ..., welcome colleagues to provide relevant issues have been solved

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

JBoss Related error and solutions

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.