2011년 4월 15일 금요일

Jboss 및 실행

jboss는 설치라고 할것 없이 압축을 풀면 끝!

기본실행
  1. 실행 : jbosshome\bin\에서 run.bat  
  2. jbosshome\server\default\delpoy 에있는 war파일들이 서버에 올러가게 된다.
  3. 기본포트 : 8080 포트로 시작된다.
  4. 확인 : http://localhost:8080 으로 제대로 작동하는지 확인 가능하다.


default 가아닌 임의의 폴더를 만들어서 실행시키려면
  1. default폴더를 복사해서 이름을 바꾼다.(꼭 default폴더일 필요는 없음) testservice
  2. testservice\deploy\에  war파일을 넣는다.
  • 실행 : jbosshome\bin>run.bat -c testservice 로 할수 있다.
  • 아이피도 부여하여 실행가능 : jbosshome\bin>run.bat -c testservice -b xxx.xxx.xxx.xxx
  • 실행되는 포트가 8080인데 변경할려면
 jbosshome\server\testservice\delpoy\jbossweb.sar\server.xml 에서 변경 가능하다.

댓글 없음:

댓글 쓰기