2017-05-03 18 views
0

Payara 4.1.1.171에 응용 프로그램을 배포하는 데 문제가 있습니다.Payara에 대한 배포 예외

배포는 예외가 발생하여 실패하는 지점까지 진행됩니다. 아래

스택 추적 :

Exception while loading the app : CDI deployment failure:Exception List with 2 exceptions: 
Exception 0 : 
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type IterableProvider<ComponentInvocationHandler> with qualifiers @Default 
    at injection point [BackedAnnotatedParameter] Parameter 1 of [BackedAnnotatedConstructor] @Inject private org.glassfish.api.invocation.InvocationManagerImpl(@Optional IterableProvider<ComponentInvocationHandler>) 
    at org.glassfish.api.invocation.InvocationManagerImpl.<init>(InvocationManagerImpl.java:91) 

그리고 추적에서 아래로 내립니다.

Exception 1 : 
org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied dependencies for type Logger with qualifiers @Default 
    at injection point [BackedAnnotatedField] @Inject org.glassfish.api.admin.AdminCommandLock.logger 
    at org.glassfish.api.admin.AdminCommandLock.logger(AdminCommandLock.java:0) 

CDI 및 가능한 문제에 대한 해결책을 읽었으나 현재이 문제를 해결하지 못했습니다.

응용 프로그램이 현재 실행중인 다른 서버에 배포되었지만 이상한 이유로이 서버에 배포되지 않습니다. 또한 서버를 업그레이드하고 서버를 다운 그레이드했지만 모두 똑같은 문제가 있습니다.

답변

0

문제를 해결할 수있었습니다. 전에 패키징 한 사용자 정의 스레드 풀 Executor 서비스 때문에 발생했습니다. 이 패키지에는 클래스로드 중 충돌을 일으키는 glassfish-api 라이브러리가 포함되어있어이 문제가 해결되었습니다.