jBoss7은 설치 되어 있어야 하고, Web Application 기준으로 설명 한다.
아래 그림은 일반적인 Web Application의 폴더 구조 이다. /WEB-INF/ 안에 해당 파일을 만들어 보자.
<?xml version="1.0" encoding="UTF-8"?>
<!-- JBoss, Home of Professional Open Source Copyright 2012, Red Hat, Inc.
and/or its affiliates, and individual contributors by the @authors tag. See
the copyright.txt in the distribution for a full listing of individual contributors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy
of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
by applicable law or agreed to in writing, software distributed under the
License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied. See the License for the specific
language governing permissions and limitations under the License. -->
<!-- Configure usage of the security domain "other" -->
<jboss-web>
<context-root>/</context-root>
</jboss-web>
jBoss가 Start 될 때, Path를 설정 하는 부분이다.
- / -> http://localhost:8080/
- /test -> http://localhost:8080/test
'Server,Was' 카테고리의 다른 글
Tomcat7 Web Application Deploy 하기 (0) | 2013.02.01 |
---|---|
Apache Friends XAMPP 설치 하기 (0) | 2013.01.30 |
jBoss7 Log4j 연동 시 log4j:WARN The content of element type "appender" must match 경고 제거 하기 (0) | 2013.01.29 |
jBoss7 Log4j 연동 하기 (0) | 2013.01.29 |
jBoss7 Web Application Deploy 하기 (0) | 2013.01.28 |