Websphere 8.5.5 with enabled Java 1.7.0 and Struts facet (RSA 9.0) - java-7

If someone has the same problem:
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R java.lang.NumberFormatException: null [11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at java.lang.Integer.parseInt(Integer.java:466)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at java.lang.Integer.(Integer.java:689)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.struts.action.ModuleConfigXmlParser.startElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.struts.action.ModuleConfigXmlParser.parse(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.struts.action.ActionServlet.initModuleConfig(Unknown Source)
[11.02.16. 15:19:22:427 CET] 00000057 SystemErr R at org.apache.struts.action.ActionServlet.init(Unknown Source)
Java 7 was enabled on existing profile.
Deployed application and IDE behaved strangely.
I tried many various options (changing class loading policy, changing build path JREs, removing struts support, deleting wstemp folder, putting xerces and xalan jars inside WEB-INF/lib folder) but nothing seems to work.
I was able to resolve this by enabling Java 7 again and AFTER that by creation of new WAS profile.

I was able to resolve this by enabling Java 7 again and AFTER that by creation of new WAS profile.

Related

Spring boot - Unable to build hibernate SessionFactory; nested exception is java.lang.UnsupportedOperationException

I am getting this runtime exception when I deploy my war file on IBM Websphere 8.5.5.14/ SDK 1.8 on a local machine. However, no such exception is encountered when I deploy the same app on Tomcat.
pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.abc.xyz</groupId>
<artifactId>xyz</artifactId>
<version>0.0.5</version>
<packaging>war</packaging>
<name>xyz</name>
<description>Web App</description>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.5.15.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<log4j2.version>2.8.2</log4j2.version>
<hibernate.version>5.2.13.Final</hibernate.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
<dependency>
<groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-jdbc</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.8</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
<dependency>
<groupId>com.jcraft</groupId>
<artifactId>jsch</artifactId>
<version>0.1.54</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
</project>
application.properties
spring.jpa.generate-ddl=true
spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
spring.jpa.properties.hibernate.show_sql=true
spring.jpa.properties.hibernate.use_sql_comments=true
spring.jpa.properties.hibernate.format_sql=true
spring.jpa.properties.hibernate.type=trace
spring.jpa.properties.hibernate.temp.use_jdbc_metadata_defaults=false
spring.session.store-type=jdbc
spring.session.jdbc.initializer.enabled=true
server.session.timeout=600
spring.session.jdbc.schema=classpath:org/springframework/session/jdbc/schema-mysql.sql
Stack Trace
[12/10/18 11:30:37:536 IST] 0000009d SystemErr R com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: Error creating bean with name &#39;entityManagerFactory&#39; defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed&#59; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory&#59; nested exception is java.lang.UnsupportedOperationException
[12/10/18 11:30:37:536 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:433)
[12/10/18 11:30:37:536 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:719)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1211)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1450)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:1032)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:795)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1413)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2273)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
[12/10/18 11:30:37:537 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:654)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5572)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5698)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:668)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:612)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1303)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at java.lang.reflect.Method.invoke(Method.java:508)
[12/10/18 11:30:37:538 IST] 0000009d SystemErr R at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:83)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at java.lang.reflect.Method.invoke(Method.java:508)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:287)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1263)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at java.security.AccessController.doPrivileged(AccessController.java:666)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:91)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1257)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1096)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:831)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:813)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1350)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
[12/10/18 11:30:37:539 IST] 0000009d SystemErr R at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1243)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:246)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:628)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at org.apache.struts.action.RequestProcessor.process(Unknown Source)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at org.apache.struts.action.ActionServlet.process(Unknown Source)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
[12/10/18 11:30:37:540 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1404)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:196)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown Source)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at org.apache.struts.action.RequestProcessor.process(Unknown Source)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at org.apache.struts.action.ActionServlet.process(Unknown Source)
[12/10/18 11:30:37:541 IST] 0000009d SystemErr R at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:968)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:515)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:336)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[12/10/18 11:30:37:542 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:949)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:213)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1833)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[12/10/18 11:30:37:543 IST] 0000009d SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[12/10/18 11:30:37:544 IST] 0000009d SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[12/10/18 11:30:37:544 IST] 0000009d SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[12/10/18 11:30:37:544 IST] 0000009d SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[12/10/18 11:30:37:544 IST] 0000009d SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[12/10/18 11:30:37:544 IST] 0000009d SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
[12/10/18 11:30:37:544 IST] 0000009d SystemErr R Caused by: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: Error creating bean with name &#39;entityManagerFactory&#39; defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed&#59; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory&#59; nested exception is java.lang.UnsupportedOperationException
[12/10/18 11:30:37:544 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:914)
[12/10/18 11:30:37:545 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:789)
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:427)
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R ... 96 more
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R Caused by: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is java.lang.UnsupportedOperationException
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:186)
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:901)
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R ... 98 more
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is java.lang.UnsupportedOperationException
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1634)
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555)
[12/10/18 11:30:37:546 IST] 0000009d SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1080)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:857)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.boot.SpringApplication.run(SpringApplication.java:303)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:156)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:136)
[12/10/18 11:30:37:547 IST] 0000009d SystemErr R at org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppImpl.initializeServletContainerInitializers(WebAppImpl.java:620)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:410)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:171)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R ... 99 more
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R Caused by: javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is java.lang.UnsupportedOperationException
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:396)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:371)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.afterPropertiesSet(LocalContainerEntityManagerFactoryBean.java:336)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1692)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1630)
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R ... 120 more
[12/10/18 11:30:37:548 IST] 0000009d SystemErr R Caused by: java.lang.UnsupportedOperationException
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.engine.transaction.jta.platform.internal.WebSphereExtendedJtaPlatform$TransactionManagerAdapter.suspend(WebSphereExtendedJtaPlatform.java:131)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.resource.transaction.backend.jta.internal.DdlTransactionIsolatorJtaImpl.<init>(DdlTransactionIsolatorJtaImpl.java:51)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.resource.transaction.backend.jta.internal.JtaTransactionCoordinatorBuilderImpl.buildDdlTransactionIsolator(JtaTransactionCoordinatorBuilderImpl.java:46)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.tool.schema.internal.HibernateSchemaManagementTool.getDdlTransactionIsolator(HibernateSchemaManagementTool.java:178)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.tool.schema.internal.AbstractSchemaMigrator.doMigration(AbstractSchemaMigrator.java:94)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.performDatabaseAction(SchemaManagementToolCoordinator.java:183)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.process(SchemaManagementToolCoordinator.java:72)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:312)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:460)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:892)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.springframework.orm.jpa.vendor.SpringHibernateJpaPersistenceProvider.createContainerEntityManagerFactory(SpringHibernateJpaPersistenceProvider.java:60)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:360)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.buildNativeEntityManagerFactory(AbstractEntityManagerFactoryBean.java:384)
[12/10/18 11:30:37:549 IST] 0000009d SystemErr R ... 124 more
Note : I have made the class loading policy to PARENT_LAST.
Spring Boot version 1.5.15.RELEASE has dependency of Hibernate is <hibernate.version>5.0.12.Final</hibernate.version>.
So removing <hibernate.version>5.2.13.Final</hibernate.version> from your pom and let Spring boot download compatible version with it should solve the problem.
after this clean install dependencies and generate war.
and also remove version of mysql connector(<version>5.1.8</version>):
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>

javax.transaction.NotSupportedException: Subtransactions not supported, UserTransaction JTA

I'm getting a javax.transaction.NotSupportedException: Subtransactions not supported exception when invoking UsertTransaction.begin ().
I have a Java web service deployed on WAS 8. I have an operation that updates a table in Oracle then sends a message via MQ. My transaction boundary (begin/commit) is defined around the operations update and send. The operation will work fine a few times (same request payload) then eventually I get the exception above.
I use Spring 3 to do a JNDI lookup for a WAS UserTransaction, a WAS config'd ConnectionFactory and my one and only datasource which is XA enabled.
<jee:jndi-lookup id="DatasourceXA" jndi-name="${jdbc.datasource.xa.oracle.jndi.name}" proxy-interface="javax.sql.DataSource" />
<jee:jndi-lookup id="UserTransaction" jndi-name="java:comp/UserTransaction" proxy-interface="javax.transaction.UserTransaction" />
<jee:jndi-lookup id="ConnectionFactory" jndi-name="${jms.connectionfactory.jndi.name}" proxy-interface="javax.jms.ConnectionFactory"/>
The UserTransaction is #Autowired into my app doing the begin, commit, and rollback. The datasource is #Autowired into a DAO factory. The injected datasource is then passed to the DAO on creation. The ConnectionFactory is injected along with the queue name to a bean that handles all the MQ stuff. Here's how I'm sending a message:
Connection conn = connectionFactory.createConnection();
Session session = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
Destination destination = session.createQueue(queueName);
MessageProducer prod = session.createProducer(destination);
msg = session.createTextMessage(xml);
prod.send(msg);
I'm not calling commit, setCommit, or rollback on the datasource connection anywhere. Would anyone know what's causing these "Subtransactions" or why I would be getting that exception?
UPDATE:
[10/10/16 10:06:07:557 PDT] 00000087 SystemErr R javax.transaction.NotSupportedException: Subtransactions not supported
[10/10/16 10:06:07:558 PDT] 00000087 SystemErr R at com.ibm.ws.tx.jta.UserTransactionImpl.begin(UserTransactionImpl.java:163)
[10/10/16 10:06:07:559 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/10/16 10:06:07:559 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[10/10/16 10:06:07:559 PDT] 00000087 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[10/10/16 10:06:07:559 PDT] 00000087 SystemErr R at java.lang.reflect.Method.invoke(Method.java:613)
[10/10/16 10:06:07:559 PDT] 00000087 SystemErr R at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
[10/10/16 10:06:07:560 PDT] 00000087 SystemErr R at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)
[10/10/16 10:06:07:560 PDT] 00000087 SystemErr R at com.sun.proxy.$Proxy56.begin(Unknown Source)
[10/10/16 10:06:07:560 PDT] 00000087 SystemErr R at com.costco.sc.creditrebatepayment.CreditRebatePaymentComponentImpl.authorize(CreditRebatePaymentComponentImpl.java:86)
[10/10/16 10:06:07:560 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/10/16 10:06:07:561 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[10/10/16 10:06:07:561 PDT] 00000087 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[10/10/16 10:06:07:561 PDT] 00000087 SystemErr R at java.lang.reflect.Method.invoke(Method.java:613)
[10/10/16 10:06:07:561 PDT] 00000087 SystemErr R at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
[10/10/16 10:06:07:561 PDT] 00000087 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
[10/10/16 10:06:07:562 PDT] 00000087 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
[10/10/16 10:06:07:562 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
[10/10/16 10:06:07:562 PDT] 00000087 SystemErr R at com.costco.sc.aop.intercepter.RetryIntercepter.aspectJInvoke(RetryIntercepter.java:117)
[10/10/16 10:06:07:562 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/10/16 10:06:07:563 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[10/10/16 10:06:07:563 PDT] 00000087 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[10/10/16 10:06:07:563 PDT] 00000087 SystemErr R at java.lang.reflect.Method.invoke(Method.java:613)
[10/10/16 10:06:07:563 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
[10/10/16 10:06:07:563 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
[10/10/16 10:06:07:564 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
[10/10/16 10:06:07:564 PDT] 00000087 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
[10/10/16 10:06:07:564 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
[10/10/16 10:06:07:564 PDT] 00000087 SystemErr R at com.costco.sc.aop.intercepter.ExceptionTranslatingIntercepter.aspectJInvoke(ExceptionTranslatingIntercepter.java:192)
[10/10/16 10:06:07:564 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/10/16 10:06:07:565 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[10/10/16 10:06:07:565 PDT] 00000087 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[10/10/16 10:06:07:565 PDT] 00000087 SystemErr R at java.lang.reflect.Method.invoke(Method.java:613)
[10/10/16 10:06:07:565 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
[10/10/16 10:06:07:565 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
[10/10/16 10:06:07:566 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
[10/10/16 10:06:07:566 PDT] 00000087 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
[10/10/16 10:06:07:566 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
[10/10/16 10:06:07:566 PDT] 00000087 SystemErr R at com.costco.sc.aop.intercepter.ServiceOperationContextIntercepter.aspectJInvoke(ServiceOperationContextIntercepter.java:148)
[10/10/16 10:06:07:567 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/10/16 10:06:07:567 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[10/10/16 10:06:07:567 PDT] 00000087 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[10/10/16 10:06:07:567 PDT] 00000087 SystemErr R at java.lang.reflect.Method.invoke(Method.java:613)
[10/10/16 10:06:07:567 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
[10/10/16 10:06:07:568 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
[10/10/16 10:06:07:568 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
[10/10/16 10:06:07:568 PDT] 00000087 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
[10/10/16 10:06:07:568 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
[10/10/16 10:06:07:568 PDT] 00000087 SystemErr R at com.costco.sc.aop.intercepter.OperationLoggingIntercepter.aspectJInvoke(OperationLoggingIntercepter.java:234)
[10/10/16 10:06:07:569 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/10/16 10:06:07:569 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[10/10/16 10:06:07:569 PDT] 00000087 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[10/10/16 10:06:07:569 PDT] 00000087 SystemErr R at java.lang.reflect.Method.invoke(Method.java:613)
[10/10/16 10:06:07:570 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
[10/10/16 10:06:07:570 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
[10/10/16 10:06:07:570 PDT] 00000087 SystemErr R at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
[10/10/16 10:06:07:570 PDT] 00000087 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
[10/10/16 10:06:07:570 PDT] 00000087 SystemErr R at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90)
[10/10/16 10:06:07:571 PDT] 00000087 SystemErr R at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
[10/10/16 10:06:07:571 PDT] 00000087 SystemErr R at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
[10/10/16 10:06:07:571 PDT] 00000087 SystemErr R at com.sun.proxy.$Proxy67.authorize(Unknown Source)
[10/10/16 10:06:07:571 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/10/16 10:06:07:572 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[10/10/16 10:06:07:572 PDT] 00000087 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[10/10/16 10:06:07:572 PDT] 00000087 SystemErr R at java.lang.reflect.Method.invoke(Method.java:613)
[10/10/16 10:06:07:572 PDT] 00000087 SystemErr R at com.costco.util.spring.LazyInitProxy$LazyInitInvocationHandler.invoke(LazyInitProxy.java:440)
[10/10/16 10:06:07:573 PDT] 00000087 SystemErr R at com.sun.proxy.$Proxy68.authorize(Unknown Source)
[10/10/16 10:06:07:573 PDT] 00000087 SystemErr R at com.costco.sc.creditrebatepayment.endpoint.ws.JaxWsCreditRebatePaymentEndpoint.authorize(JaxWsCreditRebatePaymentEndpoint.java:53)
[10/10/16 10:06:07:573 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10/10/16 10:06:07:573 PDT] 00000087 SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
[10/10/16 10:06:07:573 PDT] 00000087 SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
[10/10/16 10:06:07:574 PDT] 00000087 SystemErr R at java.lang.reflect.Method.invoke(Method.java:613)
[10/10/16 10:06:07:574 PDT] 00000087 SystemErr R at org.apache.axis2.jaxws.server.dispatcher.JavaDispatcher.invokeTargetOperation(JavaDispatcher.java:120)
[10/10/16 10:06:07:574 PDT] 00000087 SystemErr R at org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:118)
[10/10/16 10:06:07:575 PDT] 00000087 SystemErr R at org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:111)
[10/10/16 10:06:07:575 PDT] 00000087 SystemErr R at org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:161)
[10/10/16 10:06:07:575 PDT] 00000087 SystemErr R at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:212)
[10/10/16 10:06:07:575 PDT] 00000087 SystemErr R at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:172)
[10/10/16 10:06:07:575 PDT] 00000087 SystemErr R at com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost(WASAxis2Servlet.java:1632)
[10/10/16 10:06:07:576 PDT] 00000087 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[10/10/16 10:06:07:576 PDT] 00000087 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[10/10/16 10:06:07:576 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1232)
[10/10/16 10:06:07:576 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:781)
[10/10/16 10:06:07:577 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:480)
[10/10/16 10:06:07:577 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[10/10/16 10:06:07:577 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
[10/10/16 10:06:07:577 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
[10/10/16 10:06:07:577 PDT] 00000087 SystemErr R at com.costco.sc.ServiceContextFilter.doFilter(ServiceContextFilter.java:102)
[10/10/16 10:06:07:578 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[10/10/16 10:06:07:578 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[10/10/16 10:06:07:578 PDT] 00000087 SystemErr R at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:206)
[10/10/16 10:06:07:578 PDT] 00000087 SystemErr R at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:179)
[10/10/16 10:06:07:579 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[10/10/16 10:06:07:579 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[10/10/16 10:06:07:579 PDT] 00000087 SystemErr R at com.costco.sc.util.OutputFilter.doFilter(OutputFilter.java:42)
[10/10/16 10:06:07:579 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[10/10/16 10:06:07:579 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[10/10/16 10:06:07:580 PDT] 00000087 SystemErr R at com.costco.sc.util.javamelody.SystemActionsFilter.doFilter(SystemActionsFilter.java:58)
[10/10/16 10:06:07:580 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[10/10/16 10:06:07:580 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[10/10/16 10:06:07:580 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
[10/10/16 10:06:07:580 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
[10/10/16 10:06:07:581 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3928)
[10/10/16 10:06:07:581 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
[10/10/16 10:06:07:581 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1007)
[10/10/16 10:06:07:581 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
[10/10/16 10:06:07:581 PDT] 00000087 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:287)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[10/10/16 10:06:07:582 PDT] 00000087 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[10/10/16 10:06:07:583 PDT] 00000087 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[10/10/16 10:06:07:583 PDT] 00000087 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[10/10/16 10:06:07:583 PDT] 00000087 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[10/10/16 10:06:07:583 PDT] 00000087 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1881)
I discovered there was "maintenance" needed on the DB. After the DB patch my issue disappeared. I'm not sure what happened. I can't recreate the error anymore.
Here's my suspicion: I know there's a mechanism to retry a request buried in our code generated projects for webservices. On the original request I get a exception on the DB layer. I would expect Websphere's Transaction would rollback anything and clean up. But that didn't happen. So when the automatic "retry" kicked in the original transaction still active was seen as the Subtransaction.
Just in case, I refactored to catch a RuntimeException around my transaction and explicitly rolled back.

MessageDriven app doesnot start due to JMS resources on IBM WAS

I built a simple MDB application which listens a jms.Queue, had deployed it on IBM WAS 8.5.5 (with IBM MQ as a JMS broker) and when trying to start it I received the following error (sorry for cyrillic symbols, tried to translate closely):
[11.10.16 16:01:43:207 MSK] 00000068 AdminHelper A ADMN1009I: /**An attempt to start application earMdb*/Предпринята попытка запустить приложение earMdb.
[11.10.16 16:01:43:228 MSK] 00000068 CompositionUn A WSVR0190I:/**Module started*/Запуск составного модуля WebSphere:cuname=earMdb в BLA WebSphere:blaname=earMdb.
[11.10.16 16:01:43:263 MSK] 00000068 ApplicationMg A WSVR0200I: /**Application is starting*/Запуск приложения: earMdb
[11.10.16 16:01:43:263 MSK] 00000068 ApplicationMg A WSVR0204I: Приложение: earMdb Уровень компоновки: Неизвестен
[11.10.16 16:01:43:302 MSK] 00000068 SharedEJBRunt I WSVR0037I: Запуск файла JAR EJB: ejb-mdb.jar
[11.10.16 16:01:43:327 MSK] 00000068 AbstractEJBRu I CNTR0180I: /**Message driven object EJB MdbListener in ejb-mdb.jar module associated with activation specification jms/mdbtest/queue/activespec*/Управляемый сообщениями объект EJB MdbListener в модуле ejb-mdb.jar приложения earMdb связан с спецификацией активации jms/mdbtest/queue/activespec.
[11.10.16 16:01:43:338 MSK] 00000068 RAWrapperImpl E J2CA0089E: /**method activateEndpoint in JavaBean ResourceAdapter cells/AParfenovNode02Cell/nodes/AParfenovNode02/resources.xml#J2CResourceAdapter_1476114690841 was not executed; exception is javax.resource.ResourceException: endpointActivation failed*/Метод activateEndpoint в JavaBean ResourceAdapter cells/AParfenovNode02Cell/nodes/AParfenovNode02/resources.xml#J2CResourceAdapter_1476114690841 не выполнен; получена исключительная ситуация javax.resource.ResourceException: endpointActivation failed
at com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateEndpoint(ActivationSpecWrapperImpl.java:372)
at com.ibm.ejs.j2c.RAWrapperImpl.activateEndpoint(RAWrapperImpl.java:1105)
at com.ibm.ejs.j2c.RALifeCycleManagerImpl.activateEndpoint(RALifeCycleManagerImpl.java:1754)
at com.ibm.ejs.container.MessageEndpointFactoryImpl.activateEndpoint(MessageEndpointFactoryImpl.java:168)
at com.ibm.ws.runtime.component.EJBContainerImpl.startMDBs(EJBContainerImpl.java:4714)
at com.ibm.ws.runtime.component.WASEJBRuntimeImpl.startMDBs(WASEJBRuntimeImpl.java:683)
at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:716)
at com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.startModule(SharedEJBRuntimeImpl.java:336)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3576)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1175)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:774)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1374)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2179)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)
at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:116)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:663)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5384)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5600)
at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:677)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:621)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:256)
at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1148)
at java.security.AccessController.doPrivileged(AccessController.java:252)
at com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30)
at sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:41)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1142)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:995)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:774)
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228)
at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:241)
at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:578)
at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1385)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:194)
at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown Source)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:955)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:504)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:325)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
Caused by: java.lang.ClassCastException: com.ibm.ws.naming.jndicos.CNContextImpl incompatible with javax.jms.Destination
at com.ibm.mq.connector.DestinationBuilder.createDestination(DestinationBuilder.java:152)
at com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDelivery(MessageEndpointDeployment.java:317)
at com.ibm.mq.connector.inbound.MessageEndpointDeployment.<init>(MessageEndpointDeployment.java:224)
at com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:397)
at com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateUnderRAClassLoaderContext(ActivationSpecWrapperImpl.java:646)
at com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateEndpoint(ActivationSpecWrapperImpl.java:362)
... 105 more
[11.10.16 16:01:43:349 MSK] 00000068 SharedEJBRunt E WSVR0040E: Метод addEjbModule не выполнен для ejb-mdb.jar
com.ibm.ws.exception.RuntimeWarning: javax.resource.ResourceException: endpointActivation failed /**Method addEjbModule for ejb-mdb.jar was not executed com.ibm.ws.exception.RuntimeWarning: javax.resource.ResourceException: endpointActivation failed*/
at com.ibm.ws.runtime.component.EJBContainerImpl.startMDBs(EJBContainerImpl.java:4718)
at com.ibm.ws.runtime.component.WASEJBRuntimeImpl.startMDBs(WASEJBRuntimeImpl.java:683)
at com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:716)
at com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.startModule(SharedEJBRuntimeImpl.java:336)
at com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3576)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1175)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:774)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1374)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2179)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)
at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:116)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:663)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5384)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5600)
at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:677)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:621)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:256)
at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1148)
at java.security.AccessController.doPrivileged(AccessController.java:252)
at com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30)
at sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:41)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1142)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:995)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:774)
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228)
at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:241)
at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:578)
at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1385)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:194)
at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown Source)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:955)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:504)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:325)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3761)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:976)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
Caused by: javax.resource.ResourceException: endpointActivation failed
at com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateEndpoint(ActivationSpecWrapperImpl.java:372)
at com.ibm.ejs.j2c.RAWrapperImpl.activateEndpoint(RAWrapperImpl.java:1105)
at com.ibm.ejs.j2c.RALifeCycleManagerImpl.activateEndpoint(RALifeCycleManagerImpl.java:1754)
at com.ibm.ejs.container.MessageEndpointFactoryImpl.activateEndpoint(MessageEndpointFactoryImpl.java:168)
at com.ibm.ws.runtime.component.EJBContainerImpl.startMDBs(EJBContainerImpl.java:4714)
... 101 more
Caused by: java.lang.ClassCastException: com.ibm.ws.naming.jndicos.CNContextImpl incompatible with javax.jms.Destination
at com.ibm.mq.connector.DestinationBuilder.createDestination(DestinationBuilder.java:152)
at com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDelivery(MessageEndpointDeployment.java:317)
at com.ibm.mq.connector.inbound.MessageEndpointDeployment.<init>(MessageEndpointDeployment.java:224)
at com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:397)
at com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateUnderRAClassLoaderContext(ActivationSpecWrapperImpl.java:646)
at com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateEndpoint(ActivationSpecWrapperImpl.java:362)
... 105 more
My message driven
ejb-mdb module MdbListener.java:
#MessageDriven(activationConfig = {
#ActivationConfigProperty(propertyName = "destinationType",
propertyValue = "javax.jms.Queue")},
name = "MdbListener")
public class MdbListener implements MessageListener {
public void onMessage(Message message) {
System.out.println("MdbListener called...");
}
}
ejb-mdb module ejb-jar.xml:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar xmlns="http:/java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd" version="3.0" metadata-complete="false">
<display-name>My MDB</display-name>
<enterprise-beans>
<message-driven>
<display-name>MdbListener</display-name>
<ejb-name>MdbListener</ejb-name>
<ejb-class>ru.aparfenov.mdb.MdbListener</ejb-class>
<message-destination-ref>
<message-destination-ref-name>jms/mdbtest/queue</message-destination-ref-name>
<message-destination-type>javax.jms.Queue</message-destination-type>
<message-destination-usage>Consumes</message-destination-usage>
<message-destination-link>jms/mdbtest/queue</message-destination-link>
</message-destination-ref>
</message-driven>
</enterprise-beans>
</ejb-jar>
ejb-mdb module ibm-ejb-jar-bnd.xml:
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar-bnd xmlns="http://websphere.ibm.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://websphere.ibm.com/xml/ns/javaee http://websphere.ibm.com/xml/ns/javaee/ibm-ejb-jar-bnd_1_0.xsd" version="1.0">
<message-driven name="MdbListener">
<message-destination-ref name="jms/mdbtest/queue" binding-name="jms/mdbtest/queue" />
</message-driven>
</ejb-jar-bnd>
When deploing my ear I was always asked to point out the JNDI name for target resource.
All my JMS resources: queue connection factory, queue, activation specification and WebSphere MQ messaging provider are all in the same Cell=AParfenovNode02Cell scope. And resource adapter sees my active spec in J2C activation specifications with corresponding scope.
My messaging provider native library path is set to C:\Program Files (x86)\IBM\WebSphere MQ\java\lib64.
Also I have a web application which successfully uses the same JMS resources and writes messages into jms/mdbtest/queue.
Can someone help me?
Looks like you're trying to use this for your JNDI locations:
jms/mdbtest/queue # Queue
jms/mdbtest/queue/activespec #ActivationSpec
but jms/mdbtest/queue is a Context since it has children.
Instead try something like:
jms/mdbtest/queue/queue
jms/mdbtest/queue/activespec

Error starting pentaho BI Server in websphere 8.5 server: javax.ws.rs.Produces Class Not Found

I'm trying to install the Pentaho BI Server 5.0.1 on a WebSphere 8.5 web application server. But I cannot start the application after deploy it.
It seems that the server can find the class javax.ws.rs.Produces when it is loading the PluginAdapter.
I checked the application lib folder and the jsr311-api-1.1.1.jar is present and the .class is in the JAR. I have no idea what the problem is.
Has anyone faced with a similar problem with this version or some other version of the software? Does anyone know what the problem can be?
Here is the entire exception trace:
[5/12/13 14:13:59:896 CET] 000000b7 SystemOut O 14:13:59,893 ERROR
[Logger] misc-org.pentaho.platform.engine.core.system.PentahoSystem:
org.pentaho.platform.api.engine.PentahoSystemException:
PentahoSystem.ERROR_0014 - Error mientras se intentaba ejecutar la
secuencia de arranque por
org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter
org.pentaho.platform.api.engine.PentahoSystemException:
org.pentaho.platform.api.engine.PentahoSystemException:
PentahoSystem.ERROR_0014 - Error mientras se intentaba ejecutar la
secuencia de arranque por
org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter
at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:306)
at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:269)
at org.pentaho.platform.engine.core.system.PentahoSystem.init(PentahoSystem.java:182)
at org.pentaho.platform.web.http.context.SolutionContextListener.contextInitialized(SolutionContextListener.java:136)
at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1678)
at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:414)
at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:746)
at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)
at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)
at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1175)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)
at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:774)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplicationDynamically(ApplicationMgrImpl.java:1374)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2179)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)
at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:116)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$1.run(CompositionUnitMgrImpl.java:663)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5384)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5600)
at com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:677)
at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.startCompositionUnit(CompositionUnitMgrImpl.java:621)
at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:1266)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:49)
at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:611)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:256)
at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1148)
at java.security.AccessController.doPrivileged(AccessController.java:252)
at com.ibm.oti.security.CheckedAccessControlContext.securityCheck(CheckedAccessControlContext.java:30)
at sun.misc.JavaSecurityAccessWrapper.doIntersectionPrivilege(JavaSecurityAccessWrapper.java:41)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1142)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:995)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:774)
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1335)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1228)
at com.ibm.ws.management.commands.AdminServiceCommands$InvokeCmd.execute(AdminServiceCommands.java:251)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:241)
at com.ibm.ws.console.appdeployment.ApplicationDeploymentCollectionAction.execute(ApplicationDeploymentCollectionAction.java:578)
at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown
Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:79)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:1385)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:194)
at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
at org.apache.struts.action.RequestProcessor.processForwardConfig(Unknown
Source)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(Unknown
Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1227)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:776)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:458)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:955)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:504)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:325)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:909)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:283)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862) Caused by: org.pentaho.platform.api.engine.PentahoSystemException:
PentahoSystem.ERROR_0014 - Error mientras se intentaba ejecutar la
secuencia de arranque por
org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter
at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:372)
at org.pentaho.platform.engine.core.system.PentahoSystem.access$000(PentahoSystem.java:58)
at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:301)
at org.pentaho.platform.engine.core.system.PentahoSystem$1.call(PentahoSystem.java:298)
at org.pentaho.platform.engine.core.system.PentahoSystem.runAsSystem(PentahoSystem.java:340)
at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:298)
... 108 more Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/Produces
at org.apache.axis2.JAXRS.JAXRSUtils.getMethodModel(JAXRSUtils.java:86)
at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.processMethods(DefaultSchemaGenerator.java:320)
at org.apache.axis2.description.java2wsdl.DefaultSchemaGenerator.generateSchema(DefaultSchemaGenerator.java:258)
at org.apache.axis2.description.AxisService.createService(AxisService.java:2495)
at org.apache.axis2.description.AxisService.createService(AxisService.java:2452)
at org.pentaho.platform.plugin.services.webservices.AxisUtil.createService(AxisUtil.java:129)
at org.pentaho.platform.plugin.services.webservices.AxisUtil.createService(AxisUtil.java:107)
at org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator.loadService(AbstractAxisConfigurator.java:182)
at org.pentaho.platform.plugin.services.webservices.AbstractAxisConfigurator.loadServices(AbstractAxisConfigurator.java:163)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:95)
at org.pentaho.platform.plugin.services.pluginmgr.servicemgr.AxisWebServiceManager.initServices(AxisWebServiceManager.java:71)
at org.pentaho.platform.plugin.services.pluginmgr.servicemgr.DefaultServiceManager.initServices(DefaultServiceManager.java:92)
at org.pentaho.platform.plugin.services.pluginmgr.DefaultPluginManager.reload(DefaultPluginManager.java:225)
at org.pentaho.platform.plugin.services.pluginmgr.PluginAdapter.startup(PluginAdapter.java:42)
at org.pentaho.platform.engine.core.system.PentahoSystem.notifySystemListenersOfStartup(PentahoSystem.java:364)
... 113 more [5/12/13 14:13:59:897 CET] 000000b7 SystemOut O 14:13:59,897 ERROR [Logger] Error end:
WebSphere 8.5 provides its own JAX-WS classes, so there is likely a classloader conflict between its copy and your application's being loaded at the same time.
If you can just use WebSphere's by removing your copy, that might resolve things. Otherwise, search for information about changing WebSphere's classloader policy to "parent last".

WebSphere 8 shared library white screen bug

In WebSphere 8 after I've added a shared library to my installed Java EE application and clicked "Ok",
I'm always getting a white screen instead of the normal WebSphere workflow (WebSphere 8 should connect the shared library with the application and ask me if I want to save changes).
Server's SystemErr.log:
[4/4/13 18:15:20:356 MSK] 00000051 SystemErr R java.lang.NullPointerException
[4/4/13 18:15:20:357 MSK] 00000051 SystemErr R at com.ibm.ws.console.appmanagement.AppManagementHelper.validateAndUpdate(AppManagementHelper.java:329)
[4/4/13 18:15:20:357 MSK] 00000051 SystemErr R at com.ibm.ws.console.appmanagement.action.MapSharedLibForModAction.execute(MapSharedLibForModAction.java:378)
[4/4/13 18:15:20:357 MSK] 00000051 SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
[4/4/13 18:15:20:357 MSK] 00000051 SystemErr R at org.apache.struts.action.RequestProcessor.process(Unknown Source)
[4/4/13 18:15:20:357 MSK] 00000051 SystemErr R at org.apache.struts.action.ActionServlet.process(Unknown Source)
[4/4/13 18:15:20:358 MSK] 00000051 SystemErr R at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
[4/4/13 18:15:20:358 MSK] 00000051 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[4/4/13 18:15:20:358 MSK] 00000051 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[4/4/13 18:15:20:358 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1224)
[4/4/13 18:15:20:358 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
[4/4/13 18:15:20:358 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
[4/4/13 18:15:20:358 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[4/4/13 18:15:20:358 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
[4/4/13 18:15:20:359 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
[4/4/13 18:15:20:359 MSK] 00000051 SystemErr R at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:950)
[4/4/13 18:15:20:359 MSK] 00000051 SystemErr R at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:499)
[4/4/13 18:15:20:359 MSK] 00000051 SystemErr R at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:320)
[4/4/13 18:15:20:359 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[4/4/13 18:15:20:359 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[4/4/13 18:15:20:359 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
[4/4/13 18:15:20:359 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
[4/4/13 18:15:20:360 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
[4/4/13 18:15:20:360 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:895)
[4/4/13 18:15:20:360 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
[4/4/13 18:15:20:360 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
[4/4/13 18:15:20:360 MSK] 00000051 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
[4/4/13 18:15:20:360 MSK] 00000051 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
[4/4/13 18:15:20:360 MSK] 00000051 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
[4/4/13 18:15:20:360 MSK] 00000051 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
[4/4/13 18:15:20:361 MSK] 00000051 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[4/4/13 18:15:20:361 MSK] 00000051 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[4/4/13 18:15:20:361 MSK] 00000051 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[4/4/13 18:15:20:361 MSK] 00000051 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[4/4/13 18:15:20:361 MSK] 00000051 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[4/4/13 18:15:20:361 MSK] 00000051 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[4/4/13 18:15:20:361 MSK] 00000051 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[4/4/13 18:15:20:361 MSK] 00000051 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1814)
[4/4/13 18:15:20:364 MSK] 00000051 SystemErr R javax.servlet.ServletException: java.lang.NullPointerException
[4/4/13 18:15:20:364 MSK] 00000051 SystemErr R at org.apache.struts.action.RequestProcessor.processException(Unknown Source)
[4/4/13 18:15:20:364 MSK] 00000051 SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
[4/4/13 18:15:20:364 MSK] 00000051 SystemErr R at org.apache.struts.action.RequestProcessor.process(Unknown Source)
[4/4/13 18:15:20:365 MSK] 00000051 SystemErr R at org.apache.struts.action.ActionServlet.process(Unknown Source)
[4/4/13 18:15:20:365 MSK] 00000051 SystemErr R at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
[4/4/13 18:15:20:365 MSK] 00000051 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
[4/4/13 18:15:20:365 MSK] 00000051 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
[4/4/13 18:15:20:365 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1224)
[4/4/13 18:15:20:365 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:774)
[4/4/13 18:15:20:365 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:456)
[4/4/13 18:15:20:365 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[4/4/13 18:15:20:366 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
[4/4/13 18:15:20:366 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
[4/4/13 18:15:20:366 MSK] 00000051 SystemErr R at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:950)
[4/4/13 18:15:20:366 MSK] 00000051 SystemErr R at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:499)
[4/4/13 18:15:20:366 MSK] 00000051 SystemErr R at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:320)
[4/4/13 18:15:20:366 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
[4/4/13 18:15:20:366 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
[4/4/13 18:15:20:366 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:928)
[4/4/13 18:15:20:367 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1025)
[4/4/13 18:15:20:367 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:87)
[4/4/13 18:15:20:367 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:895)
[4/4/13 18:15:20:367 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
[4/4/13 18:15:20:367 MSK] 00000051 SystemErr R at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
[4/4/13 18:15:20:367 MSK] 00000051 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:459)
[4/4/13 18:15:20:367 MSK] 00000051 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:526)
[4/4/13 18:15:20:367 MSK] 00000051 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:312)
[4/4/13 18:15:20:368 MSK] 00000051 SystemErr R at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:87)
[4/4/13 18:15:20:368 MSK] 00000051 SystemErr R at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
[4/4/13 18:15:20:368 MSK] 00000051 SystemErr R at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
[4/4/13 18:15:20:368 MSK] 00000051 SystemErr R at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
[4/4/13 18:15:20:368 MSK] 00000051 SystemErr R at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
[4/4/13 18:15:20:368 MSK] 00000051 SystemErr R at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
[4/4/13 18:15:20:368 MSK] 00000051 SystemErr R at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
[4/4/13 18:15:20:368 MSK] 00000051 SystemErr R at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
[4/4/13 18:15:20:368 MSK] 00000051 SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1814)
[4/4/13 18:15:20:369 MSK] 00000051 SystemErr R Caused by: java.lang.NullPointerException
[4/4/13 18:15:20:369 MSK] 00000051 SystemErr R at com.ibm.ws.console.appmanagement.AppManagementHelper.getNextStep(AppManagementHelper.java:147)
[4/4/13 18:15:20:369 MSK] 00000051 SystemErr R at com.ibm.ws.console.appmanagement.action.MapSharedLibForModAction.execute(MapSharedLibForModAction.java:391)
[4/4/13 18:15:20:369 MSK] 00000051 SystemErr R ... 35 more
But:
Adding a shared library as part of the installation process (stage 4 of "Java EE application installation" process) finishes with success.
In WebSphere 7 both ways of adding a shared library work fine.
Any suggestions?
Well, I decided to install was 8.5.x, in this up-to-date version my problem vanished.

Resources