2011-03-30 4 views
1

내가 보스 (6)에 간단한 "Hello World」의 심 응용 프로그램을 배포하기 위해 노력하고있어, 나는 로그에 이러한 오류를 받고 있어요 :문제 배포 심 응용 프로그램 (6)

Deployment "jboss.ejb3:application=helloworld,component=TimerServiceDispatcher,module=jboss-seam,service=EjbEncFactory" is in error due to the following reason(s): Described 
Deployment "org.jboss.ejb.bean.instantiator/helloworld/jboss-seam/TimerServiceDispatcher" is in error due to the following reason(s): ** NOT FOUND Depends on 'org.jboss.ejb.bean.instantiator/helloworld/jboss-seam/TimerServiceDispatcher' ** 
Deployment "jboss.naming:application=helloworld,component=TimerServiceDispatcher,module=jboss-seam" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.naming:application=helloworld,component=TimerServiceDispatcher,module=jboss-seam' ** 
Deployment "org.jboss.ejb.bean.instantiator/helloworld/jboss-seam/EjbSynchronizations" is in error due to the following reason(s): ** NOT FOUND Depends on 'org.jboss.ejb.bean.instantiator/helloworld/jboss-seam/EjbSynchronizations' ** 
Deployment "jboss.ejb3:application=helloworld,component=EjbSynchronizations,module=jboss-seam,service=EjbEncFactory" is in error due to the following reason(s): Described 
Deployment "jboss.naming:application=helloworld,component=EjbSynchronizations,module=jboss-seam" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.naming:application=helloworld,component=EjbSynchronizations,module=jboss-seam' ** 

분명 배포 프로세스 TimerServiceDispatcherEjbSynchronizations을 발견하지만 난 web.xml에서 그들을 등록 할 수 없습니다

<ejb-local-ref> 
    <ejb-ref-name>helloworld/EjbSynchronizations/local</ejb-ref-name> 
    <ejb-ref-type>Session</ejb-ref-type> 
    <local>org.jboss.seam.transaction.LocalEjbSynchronizations</local> 
    <ejb-link>EjbSynchronizations</ejb-link> 
    </ejb-local-ref> 

    <ejb-local-ref> 
    <ejb-ref-name>helloworld/TimerServiceDispatcher/local</ejb-ref-name> 
    <ejb-ref-type>Session</ejb-ref-type> 
    <local>org.jboss.seam.async.LocalTimerServiceDispatcher</local> 
    <ejb-link>TimerServiceDispatcher</ejb-link> 
    </ejb-local-ref> 

을 내가 잘못 뭐하는 거지, 또는 내가 뭘 놓친 거지? 배포자가 /helloworld/jboss-seam/TimerServiceDispatcher에있는 구성 요소를 찾고 있으며 이 아님 (EjbSynchronizations과 동일)

+0

실행중인 seam 버전은 무엇입니까? –

+0

그것은 Seam 2.2.1입니다. 최종. 책의 [웹 사이트] (http://solutionsfit.com/blog/books)에서 다운로드 한 "Seam Framework : Java EE의 발전 경험, 제 2 판"에서 helloworld 예제를 실행하려고합니다. –

답변

0

해결 방법을 찾았습니다. 해결 방법을 찾았는데 패키지에 문제가있었습니다. jboss-seam.jar 라이브러리는 프로젝트의 .ear 파일 안의 lib 디렉토리에 있습니다. 이 파일은 이제 .ear 내부의 루트 수준에 있어야하므로 JBoss 6에서 더 이상 작동하지 않습니다. 또한 에 jboss-seam.jar의 위치를 ​​적절하게 조정해야합니다.