在Weblogic 12.1.3上部署应用程序时,在启动时出现以下错误
Feb 6, 2019 9:05:51,896 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener org.springframework.web.context.ContextLoaderListener failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationEventMulticaster' defined in class path resource [META-INF/common.xml]: Cannot resolve reference to bean 'pool' while setting bean property 'taskExecutor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pool': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.init.PolicyManager com.eqtechnologic.eqube.security.service.ThreadPoolExecutor.g; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler com.eqtechnologic.eqube.security.service.init.PolicyManager.jF; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.eqtechnologic.eqube.security.service.SecurityConfigurationObject com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler.z; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfigurationObject': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'applicationEventMulticaster' defined in class path resource [META-INF/common.xml]: Cannot resolve reference to bean 'pool' while setting bean property 'taskExecutor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pool': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.init.PolicyManager com.eqtechnologic.eqube.security.service.ThreadPoolExecutor.g; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler com.eqtechnologic.eqube.security.service.init.PolicyManager.jF; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.eqtechnologic.eqube.security.service.SecurityConfigurationObject com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler.z; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfigurationObject': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1475)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1220)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pool': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.init.PolicyManager com.eqtechnologic.eqube.security.service.ThreadPoolExecutor.g; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler com.eqtechnologic.eqube.security.service.init.PolicyManager.jF; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.eqtechnologic.eqube.security.service.SecurityConfigurationObject com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler.z; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfigurationObject': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.init.PolicyManager com.eqtechnologic.eqube.security.service.ThreadPoolExecutor.g; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler com.eqtechnologic.eqube.security.service.init.PolicyManager.jF; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.eqtechnologic.eqube.security.service.SecurityConfigurationObject com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler.z; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfigurationObject': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyManager': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler com.eqtechnologic.eqube.security.service.init.PolicyManager.jF; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.eqtechnologic.eqube.security.service.SecurityConfigurationObject com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler.z; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfigurationObject': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler com.eqtechnologic.eqube.security.service.init.PolicyManager.jF; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.eqtechnologic.eqube.security.service.SecurityConfigurationObject com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler.z; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfigurationObject': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.eqtechnologic.eqube.security.service.SecurityConfigurationObject com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler.z; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfigurationObject': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Could not autowire field: protected com.eqtechnologic.eqube.security.service.SecurityConfigurationObject com.eqtechnologic.eqube.security.service.central.services.schedulers.Scheduler.z; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfigurationObject': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfigurationObject': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.eqtechnologic.eqube.security.service.central.CentralAuthenticationService com.eqtechnologic.eqube.security.service.SecurityConfigurationObject.Q; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:561)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1208)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
Truncated. see log file for complete stacktrace
Caused By: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in class path resource [META-INF/authentication.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1099)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1044)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ExceptionInInitializerError
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
Truncated. see log file for complete stacktrace
Caused By: java.lang.IllegalStateException: Error initializing OpenSAML library.
at com.eqtechnologic.eqube.security.service.central.AbstractCentralAuthenticationService.<clinit>(AbstractCentralAuthenticationService.java:106)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
Truncated. see log file for complete stacktrace
Caused By: org.opensaml.xml.ConfigurationException: Can not create instance of org.opensaml.soap.soap11.impl.BodyBuilder
at org.opensaml.xml.XMLConfigurator.createClassInstance(XMLConfigurator.java:359)
at org.opensaml.xml.XMLConfigurator.initializeObjectProviders(XMLConfigurator.java:235)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:181)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:165)
at org.opensaml.xml.XMLConfigurator.load(XMLConfigurator.java:142)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.opensaml.soap.soap11.impl.BodyBuilder
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:104)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
Truncated. see log file for complete stacktrace
已为应用程序部署了经过验证的spring批处理:
aopalliance-1.0.jar
commons-logging-1.1.1.jar
jettison-1.3.7.jar
spring-aop-4.1.9.RELEASE.jar
spring-beans-4.1.9.RELEASE.jar
spring-context-4.1.9.RELEASE.jar
spring-core-4.1.9.RELEASE.jar
spring-expression-4.1.9.RELEASE.jar
spring-tx-4.1.9.RELEASE.jar
spring-web-4.1.9.RELEASE.jar
spring-webmvc-4.1.9.RELEASE.jar
xpp3_min-1.1.4c.jar
xstream-1.4.8.jar
对于应用程序,Weblogic显示以下错误:
**** Error occurred while destroying Security Service *****
<Feb 6, 2019 9:05:51,945 PM PST> <Warning> <HTTP> <BEA-101162> <User defined listener com.eqtechnologic.eqube.eQInitListener failed: java.lang.NullPointerException.
java.lang.NullPointerException
at com.eqtechnologic.eqube.ServerStartupInitialization.destroySecurityService(ServerStartupInitialization.java:259)
at com.eqtechnologic.eqube.eQInitListener.b(eQInitListener.java:70)
at com.eqtechnologic.eqube.eQInitListener.contextDestroyed(eQInitListener.java:27)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:706)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:326)
Truncated. see log file for complete stacktrace
>
<Feb 6, 2019 9:05:51,992 PM PST> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application "eQubeMI".
weblogic.application.ModuleException: java.lang.ClassNotFoundException: org.opensaml.soap.soap11.impl.BodyBuilder
at weblogic.application.internal.ExtensibleModuleWrapper.start(ExtensibleModuleWrapper.java:140)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:124)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:233)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:228)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:45)
Truncated. see log file for complete stacktrace
Caused By: java.lang.ClassNotFoundException: org.opensaml.soap.soap11.impl.BodyBuilder
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:104)
at weblogic.utils.classloaders.GenericClassLoader.doFindClass(GenericClassLoader.java:611)
at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:543)
Truncated. see log file for complete stacktrace
>
如果在另一台服务器上部署了相同的战争,则该战争正在运行,但仅在该服务器上失败。
答案 0 :(得分:0)
原因:java.lang.ClassNotFoundException: org.opensaml.soap.soap11.impl.BodyBuilder 在weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:1029) 在weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:990) 在weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:104)
似乎Weblogic的类加载器从其内部模块加载OpenSAML
jar,而不是从WAR加载。显然,Weblogic附带的OpenSAML
jar与您的应用所需的jar不兼容。
您可以搜索如何使Weblogic从已部署的WAR中获得比其内部模块更高的负载JAR优先级。另一方面,trick之一就是删除/重命名Weblogic附带的OpenSAML jar。
答案 1 :(得分:0)
WebLogic Filtering Classloader Fails After Upgrade (Doc ID 2269375.1)
使用应用程序的weblogic-application.xml文件中的部分来过滤所有需要从应用程序而不是从系统加载的配置文件。例如,添加以下条目可解决OpenSAML问题:
<prefer-application-resources>
...
<resource-name>soap11-config.xml</resource-name>
<resource-name>schema/xmltooling-config.xsd</resource-name>
</prefer-application-resources>