2009-11-22 2 views
1
내가 일하고 있어요

에 응용 프로그램을 스트럿, 여기 내가 사용하는 사람 중 하나입니다 : http://www.vaannila.com/struts/struts-example/struts-login-page-example-1.html배포 일부 스트럿 자습서를 통해 JBoss의

내가 해당 페이지의 하단에있는 "소스 + LIB"링크를 다운로드, zip에서 Example2 폴더를 tomcat 아래의 webapps 폴더에 복사했고 모든 것이 광고 된대로 작동합니다.

그러나이 동일한 Example2 폴더를 가져 와서 내 jboss 4.2.3 default \ deploy 폴더에 복사하려고하면 작동하지 않습니다. 그런 초보자 질문에 대해 유감스럽게 생각하지만, 누군가가 조언을했는지 궁금해했습니다.

여기에 콘솔에서 오류 흔적의 시작이다 :

 
9:37:57,968 ERROR [URLDeploymentScanner] Incomplete Deployment listing: 

--- Packages waiting for a deployer --- 
[email protected] { url=file:/C:/jboss-4.2.3.GA/server/default/deploy/Example2/ApacheLicense.txt } 
    deployer: null 
    status: null 
    state: INIT_WAITING_DEPLOYER 
    watch: file:/C:/jboss-4.2.3.GA/server/default/deploy/Example2/ApacheLicense.txt 
    altDD: null 
    lastDeployed: 1258850277875 
    lastModified: 1258850277875 
    mbeans: 

[email protected] { url=file:/C:/jboss-4.2.3.GA/server/default/deploy/Example2/WEB-INF/classes/com/vaannila/ApplicationResource.properties } 
    deployer: null 
    status: null 
    state: INIT_WAITING_DEPLOYER 
    watch: file:/C:/jboss-4.2.3.GA/server/default/deploy/Example2/WEB-INF/classes/com/vaannila/ApplicationResource.properties 
    altDD: null 
    lastDeployed: 1258850277875 
    lastModified: 1258850277875 
    mbeans: 
. 
. 
. 

을 그래서 어쩌면 내가 제이 보스에서 스트럿 응용 프로그램을 배포하기위한 몇 가지 다른 구성이 필요?

감사합니다.

답변

2

"폭발성"배치를 수행 할 때도 응용 프로그램에 .war 확장이 필요합니다. Example2 디렉토리의 이름을 Example2.war (즉, C:/jboss-4.2.3.GA/server/default/deploy/Example2.war)으로 변경하십시오.

+0

우수 감사합니다. 파스칼. – dcp