6월, 2015의 게시물 표시

jboss EAP6 Root-context 오류

이미지
standalone.xml에서 welcome-root를 false로 수정한다. <virtual-server name="default-host" enable-welcome-root="false">   <alias name="localhost"/>   <alias name="example.com"/> </virtual-server> 17:48:55,855 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-14) MSC000001: Failed to start service jboss.web.deployment.default-host./: org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1767) [jboss-msc-1.0.4.GA-redhat-1.jar:1.0.4.GA-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_72] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_72] at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_72] Caused by: java.lang.IllegalArgumentException: JBWEB000250: Child container with nam...

jboss AS 7.1에서 404에러 페이지 설정하기

이미지
폴더 설정 ROOT.war - META-INF - WEB-INF - web.xml - jboss-web.xml - error - 404.xml web.xml <?xml version="1.0" encoding="UTF-8"?> <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5"> <display-name>yourcompanyname</display-name> <error-page> <error-code>404</error-code> <location>/error/404.html</location> </error-page> </web-app> 무료다운로드:  https://apzw3.app.goo.gl/sheet