2012-09-17 2 views
0

오픈 소스 glassfish v3.1에서 오픈 소스 glassfish 3.1.2로 업그레이드하기 위해 dev 환경을 구성하는 과정이 현재 진행 중입니다. asadmin 명령을 사용하여 버전 간 차이점을 확인했습니다.GlassFish ASADMIN 배포 명령 --name으로 컨텍스트 루트를 지정 하시겠습니까?

v3.1 베타 1.0 "C : \ TMP \ 내 - 긴 테스트 앱 전쟁 name.war"

이 HTTP를 통해 액세스 : \\ 로컬 호스트 : 8080 테스트 \

--name 테스트를 배포

v3.1.2

http : \\ localhost : 8080 \ my-long을 통해서만 액세스 할 수 있습니다.

--contextroot 
     Valid only if the archive is a web module. It is 
     ignored for other archive types; defaults to filename 
     without extension. 

그리고 --name로 : 그래서

--name 
     Name of the deployable component. 

     The name can include an optional version identifier, 
     which follows the name and is separated from the name 
     by a colon (:). The version identifier must begin with 
     a letter or number. It can contain alphanumeric charac- 
     ters plus underscore (_), dash (-), and period (.) 
     characters. For more information about module and 
     application versions, see "Module and Application Ver- 
     sions" in Oracle GlassFish Server Application Deploy- 
     ment Guide. 

- 테스트 - 앱 전쟁 이름

나는대로 설명되어있는 최신 버전의 --contextroot을 발견했습니다 최신 버전 (또는 3.1 이상으로 변경 될 때마다) shou LD 배포 명령이 될 :

이 --name 테스트 배포 : 베타 1.0 --contextroot 테스트 "C : \ TMP \ 내 - 긴 테스트 앱 전쟁 name.war"

건배, 크레이그는

PS는 현재 해당을 테스트 v3.1.2.2을 쓰러 뜨리려고하지만 회사 방화벽은

답변

1

내가 --contextroot과 --name 모두 당신이에서 관리자 패널을 사용하는 경우에 해당된다 생각 잔인 브라우저. 그들은 서로 독립적입니다. 기본 컨텍스트 루트를 다른 컨텍스트 루트로 변경하려는 경우에만 --contextroot를 사용하십시오.

관련 문제