WebSphere 8.5.5和JMS注释使服务器应用程序崩溃
我正在将一个应用程序部署到WebSphere8.5.5和Oracle12上,该应用程序使用Spring4.2.5、Hibernate4.2.8和JMS 1.1 数据库连接管理器和JMS连接工厂等资源在服务器中设置,并使用JNDI连接到Spring应用程序中 当应用程序启动时,我在日志中看到:WebSphere 8.5.5和JMS注释使服务器应用程序崩溃,jms,websphere,Jms,Websphere,我正在将一个应用程序部署到WebSphere8.5.5和Oracle12上,该应用程序使用Spring4.2.5、Hibernate4.2.8和JMS 1.1 数据库连接管理器和JMS连接工厂等资源在服务器中设置,并使用JNDI连接到Spring应用程序中 当应用程序启动时,我在日志中看到: [3/18/16 15:18:32:717 EST] 0000008b SystemOut O [B@631dd237/Set; at org.springframework.jms.a
[3/18/16 15:18:32:717 EST] 0000008b SystemOut O [B@631dd237/Set;
at org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor$1.inspect(JmsListenerAnnotationBeanPostProcessor.java:202)
at org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor$1.inspect(JmsListenerAnnotationBeanPostProcessor.java:198)
at org.springframework.core.MethodIntrospector$1.doWith(MethodIntrospector.java:72)
at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:495)
at org.springframework.core.MethodIntrospector.selectMethods(MethodIntrospector.java:68)
at org.springframework.jms.annotation.JmsListenerAnnotationBeanPostProcessor.postProcessAfterInitialization(JmsListenerAnnotationBeanPostProcessor.java:197)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:421)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1559)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
... 58 more
[3/18/16 15:18:32:718 EST] 0000008b SystemOut O [FIAT-CSP-NA] [WebContainer : 0] 2016-03-18 15:18:32,718 [INFO ] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Closing JPA EntityManagerFactory for persistence unit default
如您所见,jmsListenerNotationBeanPostProcessor
中似乎出现了某种错误,随后出现一条消息,指示JPA实体管理器正在关闭
我由此推测,有一个JMS问题正在关闭应用程序
有人见过这个吗?你知道可能是什么问题吗
我真的被困在这个问题上了。答案原来是类路径问题。(并非一切都在Websphere上!) 我需要从war文件中删除几个JAR,这些JAR与web sphere提供的JAR冲突