내 응용 프로그램을 GlassFish 3.0.1에서 GlassFish 3.1.1로 마이그레이션하려고합니다. 다음 오류 메시지와 함께 배포가 실패합니다.스택 추적없이 "응용 프로그램을로드하는 중 예외"
SEVERE: Exception while loading the app
SEVERE: Exception while shutting down application container
SEVERE: Exception while shutting down application container : java.lang.NullPointerException
SEVERE: java.lang.RuntimeException: Error occurred during deployment: Exception while shutting down application container : java.lang.NullPointerException. Please see server.log for more details.
스택 추적이 없습니다. 나는 FINEST에 루트 로깅 수준을 설정하고, 첫 번째 SEVERE 메시지는 용접 메시지 이후에 발생 :
FINE: PWC4451: File cannot be read /opt/sun/glassfish-3.1.1/glassfish/domains/domain1/applications/QmsWeb/WEB-INF/classes/org/jboss/seam/transaction/SeamTransaction.class
FINE: PWC4451: File cannot be read /opt/sun/glassfish-3.1.1/glassfish/domains/domain1/applications/QmsWeb/WEB-INF/classes/org/jboss/seam/transaction/SeamTransaction.class
FINE: PWC4451: File cannot be read /opt/sun/glassfish-3.1.1/glassfish/domains/domain1/applications/QmsWeb/WEB-INF/classes/net/sf/ehcache/config/TerracottaConfiguration$ValueMode.class
//...
무엇 수 :
//...
FINE: WELD-000105 Enabled interceptor types for Manager
Enabled alternatives: [] []
Registered contexts: [interface javax.enterprise.context.SessionScoped, interface javax.enterprise.context.RequestScoped, interface javax.inject.Singleton, interface javax.enterprise.context.Dependent, interface javax.enterprise.context.ApplicationScoped, interface javax.enterprise.context.ConversationScoped]
Registered beans: 0
Specialized beans: 0
: []
그리고 (여러 클래스) 이와 같은 여러 메시지 전에
이 오류가 발생 했습니까? 이 PWC4451 메시지가 일부 라이브러리가로드되지 않음을 나타낼 수 있습니까?
아무데도 보이지 않는 것 같습니다. 개발 도구 프로그래머가 이것을 보게되면 좋은 오류 메시지가 특징이라는 것을 기억하십시오! – Nick
이것은 실제로 Glassfish 문제로 플래그가 지정되며 문제에 따라 Glassfish 4.0에서 수정해야합니다. http://java.net/jira/browse/GLASSFISH-18599를 참조하십시오. 불행히도 이것은 여러분이나 나에게 도움이되지 않습니다. –