I am getting this exception while a JSON call is made from ui
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.NoSuchMethodError: com/fasterxml/jackson/databind/ObjectMapper.canSerialize(Ljava/lang/Class;Ljava/util/concurrent/atomic/AtomicReference;)Z (loaded from file:/C:/lib/lib/commonutils.jar by
com.ibm.ws.classloader.ExtJarClassLoader#7a68e094[server:0]
Local ClassPath: C:\lib;C:\lib\asm-3.2.jar;C:\lib\cfusion.jar;C:\lib\CfusionPostalone.jar;C:\lib\cglib-nodep-2.1_3.jar;C:\lib\CIMConfig.jar;C:\lib\classmate-0.8.0.jar;C:\lib\commons-codec-1.3.jar;C:\lib\commons-httpclient-3.1.jar;C:\lib\commons-io-1.4.jar;C:\lib\commons-lang-2.5.jar;C:\lib\commons-logging-1.1.1.jar;C:\lib\commonutils.jar;C:\lib\ConcurrenceCommon.jar;C:\lib\gson-2.2.4.jar;C:\lib\guava-11.0.2.jar;C:\lib\httpcache4j-api-3.2.jar;C:\lib\httpcache4j-core-3.2.jar;C:\lib\httpcache4j-storage-api-3.2.jar;C:\lib\httpclient-4.2.3.jar;C:\lib\httpclient-cache-4.2.3.jar;C:\lib\httpcore-4.2.2.jar;C:\lib\itext-1.4.6.jar;C:\lib\jackson-all-1.9.11.jar;C:\lib\jackson-core-2.7.5.jar;C:\lib\jersey-apache-client-1.17.jar;C:\lib\jersey-apache-client4-1.17.1.jar;C:\lib\jersey-bundle-1.17.jar;C:\lib\jersey-cache-client-0.2.2.jar;C:\lib\joda-time-2.2-javadoc.jar;C:\lib\joda-time-2.2-sources.jar;C:\lib\joda-time-2.2.jar;C:\lib\log4j-1.2.15.jar;C:\lib\oauth-client-1.9-ea04.jar;C:\lib\oauth-signature-1.9-ea04.jar;C:\lib\ojdbc6.jar;C:\lib\p1-common-util.jar;C:\lib\poi-2.5.1-final-20040804.jar;C:\lib\POWS-Client.jar;C:\lib\POWS-Domain.jar;C:\lib\SecureWeb.jar;C:\lib\SharedSession.jar;C:\lib\ujac.jar;C:\lib\usps4cb.jar;C:\lib\lib\j2ee.jar;C:\lib\lib\commonutils.jar
Parent: com.ibm.ws.classloader.ProtectionClassLoader#4e8810bb
Delegation Mode: PARENT_FIRST) called from class org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter (loaded from file:/C:/project/R45.3.0_EAR/lib/spring-web-4.3.6.RELEASE.jar by
com.ibm.ws.classloader.CompoundClassLoader#8881b946[app:R45.3.0_EAR]
Local ClassPath: C:\project\R45.3.0_EAR\lib\activation.jar;C:\project\R45.3.0_EAR\lib\admin-ws_proxy.jar;C:\project\R45.3.0_EAR\lib\com.springsource.org.aopalliance-1.0.0.jar;C:\project\R45.3.0_EAR\lib\commons-beanutils.jar;C:\project\R45.3.0_EAR\lib\commons-codec-1.3.jar;C:\project\R45.3.0_EAR\lib\commons-collections-3.2.jar;C:\project\R45.3.0_EAR\lib\commons-httpclient-3.1.jar;C:\project\R45.3.0_EAR\lib\commons-io-1.4.jar;C:\project\R45.3.0_EAR\lib\commons-lang-2.5.jar;C:\project\R45.3.0_EAR\lib\commons-logging-1.1.jar;C:\project\R45.3.0_EAR\lib\commons-validator-1.3.1.jar;C:\project\R45.3.0_EAR\lib\commonutils.jar;C:\project\R45.3.0_EAR\lib\cxf-2.2.10.jar;C:\project\R45.3.0_EAR\lib\displaytag-1.2.jar;C:\project\R45.3.0_EAR\lib\displaytag-export-poi-1.2.jar;C:\project\R45.3.0_EAR\lib\displaytag-portlet-1.2.jar;C:\project\R45.3.0_EAR\lib\gson-2.2.4.jar;C:\project\R45.3.0_EAR\lib\itext-1.4.8.jar;C:\project\R45.3.0_EAR\lib\j2ee.jar;C:\project\R45.3.0_EAR\lib\jackson-core-2.8.7.jar;C:\project\R45.3.0_EAR\lib\jackson-core-asl-1.9.2.jar;C:\project\R45.3.0_EAR\lib\jackson-mapper-asl-1.9.2.jar;C:\project\R45.3.0_EAR\lib\jaxb-api-2.1.jar;C:\project\R45.3.0_EAR\lib\jaxb-impl-2.1.13.jar;C:\project\R45.3.0_EAR\lib\jsr173_1.0_api.jar;C:\project\R45.3.0_EAR\lib\jaxb-xjc-2.1.13.jar;C:\project\R45.3.0_EAR\lib\jettison-1.0.jar;C:\project\R45.3.0_EAR\lib\jsr311-api-1.0.jar;C:\project\R45.3.0_EAR\lib\jstl-1.2.1.jar;C:\project\R45.3.0_EAR\lib\junit-4.8.2.jar;C:\project\R45.3.0_EAR\lib\log4j-1.2.15.jar;C:\project\R45.3.0_EAR\lib\mybatis-3.2.2.jar;C:\project\R45.3.0_EAR\lib\mybatis-spring-1.2.0.jar;C:\project\R45.3.0_EAR\lib\pager-taglib.jar;C:\project\R45.3.0_EAR\lib\PostalOneScaleReader.jar;C:\project\R45.3.0_EAR\lib\POWS-Client.jar;C:\project\R45.3.0_EAR\lib\POWS-Domain.jar;C:\project\R45.3.0_EAR\lib\quartz-all-1.6.5.jar;C:\project\R45.3.0_EAR\lib\spring-aop-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-aspects-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-batch-core-3.0.7.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-batch-infrastructure-3.0.7.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-beans-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-context-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-context-support-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-core-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-expression-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-instrument-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-instrument-tomcat-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-jdbc-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-jms-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-orm-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-oxm-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-security-config-4.2.1.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-security-core-4.2.1.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-security-taglibs-4.2.1.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-security-web-4.2.1.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-test-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-tx-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-web-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-webmvc-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\spring-webmvc-portlet-4.3.6.RELEASE.jar;C:\project\R45.3.0_EAR\lib\xbean-2.4.0.jar;C:\project\R45.3.0_EAR\lib\xmlbeans-qname.jar;C:\project\R45.3.0_EAR\lib\xstream-1.3.jar
Parent: com.ibm.ws.classloader.ExtJarClassLoader#7a68e094[PF][server:0]
Delegation Mode: PARENT_FIRST).
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:978)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1235)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:143)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:96)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:197)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:90)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at org.springframework.security.web.authentication.preauth.AbstractPreAuthenticatedProcessingFilter.doFilter(AbstractPreAuthenticatedProcessingFilter.java:121)
[5/24/17 14:38:41:131 EDT] 00000257 SystemErr R at com.usps.postalone.mei.web.support.PbvfsSecurityFilter.doFilter(PbvfsSecurityFilter.java:97)
[5/24/17 14:38:41:133 EDT] 00000257 SystemErr R at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
[5/24/17 14:38:41:133 EDT] 00000257 SystemErr R at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
[5/24/17 14:38:41:133 EDT] 00000257 SystemErr R at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
[5/24/17 14:38:41:133 EDT] 00000257 SystemErr R at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
[5/24/17 14:38:41:133 EDT] 00000257 SystemErr R at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
these are my jars
<attribute name="Class-Path" value="lib/activation.jar
lib/adminws-client.jar
lib/com.springsource.org.aopalliance-1.0.0.jar
lib/commons-beanutils.jar
lib/commons-codec-1.3.jar
lib/commons-collections-3.2.jar
lib/commons-httpclient-3.1.jar
lib/commons-io-1.4.jar
lib/commons-lang-2.5.jar
lib/commons-logging-1.1.jar
lib/commons-validator-1.3.1.jar
lib/commonutils.jar
lib/cxf-2.2.10.jar
lib/displaytag-1.2.jar
lib/displaytag-export-poi-1.2.jar
lib/displaytag-portlet-1.2.jar
lib/itext-1.4.8.jar
lib/j2ee.jar
lib/jackson-core-2.8.7
lib/jackson-core-asl-1.9.2
lib/jackson-mapper-asl-1.9.2
lib/jaxb-api-2.1.jar
lib/jaxb-impl-2.1.13.jar
lib/jaxb-xjc-2.1.13.jar
lib/jettison-1.0.jar
lib/jsr173_1.0_api.jar
lib/jsr311-api-1.0.jar
lib/jstl-1.2.1.jar
lib/junit-4.8.2.jar
lib/log4j-1.2.15.jar
lib/mybatis-3.2.2.jar
lib/mybatis-spring-1.2.0.jar
lib/pager-taglib.jar
lib/quartz-all-1.6.5.jar
lib/spring-aop-4.3.6.RELEASE
lib/spring-aspects-4.3.6.RELEASE
lib/spring-batch-core-3.0.7.RELEASE
lib/spring-batch-infrastructure-3.0.7.RELEASE
lib/spring-beans-4.3.6.RELEASE
lib/spring-context-4.3.6.RELEASE
lib/spring-context-support-4.3.6.RELEASE
lib/spring-core-4.3.6.RELEASE
lib/spring-expression-4.3.6.RELEASE
lib/spring-instrument-4.3.6.RELEASE
lib/spring-instrument-tomcat-4.3.6.RELEASE
lib/spring-jdbc-4.3.6.RELEASE
lib/spring-jms-4.3.6.RELEASE
lib/spring-orm-4.3.6.RELEASE
lib/spring-oxm-4.3.6.RELEASE
lib/spring-security-config-4.2.1.RELEASE
lib/spring-security-core-4.2.1.RELEASE
lib/spring-security-taglibs-4.2.1.RELEASE
lib/spring-security-web-4.2.1.RELEASE
lib/spring-test-4.3.6.RELEASE
lib/spring-tx-4.3.6.RELEASE
lib/spring-web-4.3.6.RELEASE
lib/spring-webmvc-4.3.6.RELEASE
lib/spring-webmvc-portlet-4.3.6.RELEASE
lib/xbean-2.4.0.jar
lib/xmlbeans-qname.jar
lib/xstream-1.3.jar
lib/gson-2.2.4.jar
"/>
any suggestions pls. server level parent first is disabled. I am looking to fix locally not server level.
The version of Spring in your application is not compatible with the version of Jackson in your shared library. The shared library is associated with a server-level shared library class loader, and as such, the shared library's copy of Jackson is loaded in preference to the copy in your application. Assuming the Jackson in your EAR/lib is the version you actually want, you should be able to simply remove it from the shared library and resolve the problem.
I am facing the below issue while deploying my war in IBM WAS 8.5.5.3 server. Please have a look and give your suggestion of this error. I building the application I did'nt find any issue.
Facing this issue from sometime but still unable to resolve it.
[7/24/16 10:10:25:501 IST] 00000063 WASWSDLGenera E WSWS7054E: The Web Services Description Language (WSDL) file could not be generated for the com.hex.rbm.erds.ws.endpoint.impl.EntitySearchServiceEndpoint Web service implementation class because of the following error: java.lang.ArrayStoreException
[7/24/16 10:10:25:507 IST] 00000063 WSModuleDescr E WSWS7027E: JAX-WS Service Descriptions could not be correctly built because of the following error: javax.xml.ws.WebServiceException: WSWS7054E: The Web Services Description Language (WSDL) file could not be generated for the com.hex.rbm.erds.ws.endpoint.impl.EntitySearchServiceEndpoint Web service implementation class because of the following error: java.lang.ArrayStoreException
at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.generateWsdl(WASWSDLGenerator.java:268)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.generateWSDL(EndpointDescriptionImpl.java:2084)
at org.apache.axis2.jaxws.description.impl.EndpointDescriptionImpl.<init>(EndpointDescriptionImpl.java:449)
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:401)
at org.apache.axis2.jaxws.description.impl.ServiceDescriptionImpl.<init>(ServiceDescriptionImpl.java:297)
at org.apache.axis2.jaxws.description.impl.DescriptionFactoryImpl.createServiceDescriptionFromDBCMap(DescriptionFactoryImpl.java:277)
at org.apache.axis2.jaxws.description.DescriptionFactory.createServiceDescriptionFromDBCMap(DescriptionFactory.java:524)
at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.buildJAXWSServices(WSModuleDescriptorImpl.java:1345)
at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl._containsJAXWSWebServices(WSModuleDescriptorImpl.java:519)
at com.ibm.ws.websvcs.desc.WSModuleDescriptorImpl.containsJAXWSWebServices(WSModuleDescriptorImpl.java:494)
at com.ibm.ws.websvcs.deploy.WSCacheWriter.writeModuleCache(WSCacheWriter.java:571)
at com.ibm.ws.websvcs.deploy.WSCacheWriter.writeApplicationCache(WSCacheWriter.java:242)
at com.ibm.ws.websvcs.deploy.WSCacheWriter.writeApplicationCache(WSCacheWriter.java:167)
at com.ibm.ws.websvcs.deploy.PersistentStorageInstallSaveTask.performTask(PersistentStorageInstallSaveTask.java:196)
at com.ibm.ws.management.application.sync.AppBinaryProcessor$ExpandApp.expand(AppBinaryProcessor.java:1711)
at com.ibm.ws.management.application.sync.AppBinaryProcessor.postProcessSynchronousExt(AppBinaryProcessor.java:751)
at com.ibm.ws.management.bla.sync.BLABinaryProcessor.postProcess(BLABinaryProcessor.java:599)
at com.ibm.ws.management.bla.sync.BLABinaryProcessor.onChangeCompletion(BLABinaryProcessor.java:476)
at com.ibm.ws.management.bla.sync.BinaryProcessorWrapper.onChangeCompletion(BinaryProcessorWrapper.java:109)
at com.ibm.ws.management.repository.FileRepository.postNotify(FileRepository.java:1938)
at com.ibm.ws.management.repository.FileRepository.update(FileRepository.java:1442)
at com.ibm.ws.management.repository.client.LocalConfigRepositoryClient.update(LocalConfigRepositoryClient.java:189)
at com.ibm.ws.sm.workspace.impl.WorkSpaceMasterRepositoryAdapter.update(WorkSpaceMasterRepositoryAdapter.java:665)
at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.update(RepositoryContextImpl.java:1998)
at com.ibm.ws.sm.workspace.impl.RepositoryContextImpl.synch(RepositoryContextImpl.java:1946)
at com.ibm.ws.sm.workspace.impl.WorkSpaceImpl.synch(WorkSpaceImpl.java:549)
at com.ibm.ws.console.core.action.SyncWorkSpaceAction.execute(SyncWorkSpaceAction.java:271)
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.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:779)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)
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:960)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1064)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3878)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:981)
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:461)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:528)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:314)
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:1864)
Caused by: java.lang.ArrayStoreException
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:665)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:472)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:298)
at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:234)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:81)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:64)
at com.ibm.oti.reflect.AnnotationParser.parseAnnotations(AnnotationParser.java:63)
at java.lang.Class.getDeclaredAnnotations(Class.java:1879)
at java.lang.Class.getAnnotations(Class.java:1836)
at java.lang.Class.getAnnotation(Class.java:1816)
at com.ibm.jtc.jax.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getClassAnnotation(RuntimeInlineAnnotationReader.java:106)
at com.ibm.jtc.jax.xml.bind.v2.model.annotation.RuntimeInlineAnnotationReader.getClassAnnotation(RuntimeInlineAnnotationReader.java:57)
at com.ibm.jtc.jax.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:329)
at com.ibm.jtc.jax.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:483)
at com.ibm.jtc.jax.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:319)
at com.ibm.jtc.jax.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1178)
at com.ibm.jtc.jax.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:194)
at com.ibm.jtc.jax.xml.bind.api.JAXBRIContext.newInstance(JAXBRIContext.java:111)
at com.ibm.jtc.jax.xml.ws.developer.JAXBContextFactory$1.createJAXBContext(JAXBContextFactory.java:109)
at com.ibm.jtc.jax.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:161)
at com.ibm.jtc.jax.xml.ws.model.AbstractSEIModelImpl$1.run(AbstractSEIModelImpl.java:154)
at java.security.AccessController.doPrivileged(AccessController.java:327)
at com.ibm.jtc.jax.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIModelImpl.java:153)
at com.ibm.jtc.jax.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelImpl.java:94)
at com.ibm.jtc.jax.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:258)
at com.ibm.jtc.jax.tools.ws.wscompile.WsgenTool.buildModel(WsgenTool.java:248)
at com.ibm.jtc.jax.tools.ws.wscompile.WsgenTool.run(WsgenTool.java:123)
at com.ibm.jtc.jax.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:61)
at com.ibm.jtc.jax.tools.ws.spi.WSToolsObjectFactory.wsgen(WSToolsObjectFactory.java:107)
at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.wsgen(WASWSDLGenerator.java:610)
at com.ibm.ws.websvcs.wsdl.WASWSDLGenerator.generateWsdl(WASWSDLGenerator.java:245)
... 62 more
When trying to save an entity to the database (sql server) I'm getting the exception:
javax.persistence.TransactionRequiredException: No transactional
EntityManager available
persistence.xml
<persistence-unit name="OrchardUnit" transaction-type="JTA">
<provider> org.apache.openjpa.persistence.PersistenceProviderImpl </provider>
<jta-data-source>jdbc/mydatasource</jta-data-source>
<class>com.bbb.entity.BaseEntity</class>
<class>com.bbb.entity.Audit</class>
<validation-mode>NONE</validation-mode>
<properties>
<property name="openjpa.TransactionMode" value="managed" />
<property name="openjpa.ConnectionFactoryMode" value="managed" />
<property name="openjpa.jdbc.DBDictionary" value="sqlserver" />
</properties>
</persistence-unit>
application-config.xml
<context:annotation-config />
<<view resolver here. removed for space>>
<jee:jndi-lookup id=" wasDataSource "
jndi-name="jdbc/mydatasource"
cache="true"
resource-ref="true"
lookup-on-startup="false"
proxy-interface="javax.sql.DataSource"/>
<tx:annotation-driven/>
<bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalEntityManagerFactoryBean">
<property name="persistenceUnitName" value="OrchardUnit"/>
</bean>
<bean id="transactionManager" class="org.springframework.transaction.jta.WebSphereUowTransactionManager"/>
I have a simple entity and a service class. I mark the service with #Transactional but when I try to save I get the exception above. I am able to read the database but not write.
When I take the same setup and put it in a simple web application and deploy to WebSphere 8 I am able to save when I hit the simple servlet.
I'm doing this on WebSphere Portal 8 running on WebSphere 8 with Spring 4.1.6 and the OpenJPA provider built into WebSphere (I also tried with Hibernate and had the same problem).
Anyone have any thoughts? I don't want to go to UserTransactions as container managed is easier.
Top of exception:
[5/13/15 11:22:47:235 EDT] 0000004c SystemErr R javax.persistence.TransactionRequiredException: No transactional EntityManager available
[5/13/15 11:22:47:236 EDT] 0000004c SystemErr R at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:275)
[5/13/15 11:22:47:236 EDT] 0000004c SystemErr R at com.sun.proxy.$Proxy279.persist(Unknown Source)
[5/13/15 11:22:47:237 EDT] 0000004c SystemErr R at com.???.service.AbstractService.create(AbstractService.java:31)
[5/13/15 11:22:47:237 EDT] 0000004c SystemErr R at com.???.service.AuditService.create(AuditService.java:19)
[5/13/15 11:22:47:237 EDT] 0000004c SystemErr R at com.???.portlet.controller.ViewController.SpringJSP(ViewController.java:31)
[5/13/15 11:22:47:237 EDT] 0000004c SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[5/13/15 11:22:47:237 EDT] 0000004c SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
[5/13/15 11:22:47:238 EDT] 0000004c SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
[5/13/15 11:22:47:238 EDT] 0000004c SystemErr R at java.lang.reflect.Method.invoke(Method.java:611)
[5/13/15 11:22:47:238 EDT] 0000004c SystemErr R at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:177)
[5/13/15 11:22:47:238 EDT] 0000004c SystemErr R at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:369)
[5/13/15 11:22:47:242 EDT] 0000004c SystemErr R at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.doHandle(AnnotationMethodHandlerAdapter.java:356)
[5/13/15 11:22:47:242 EDT] 0000004c SystemErr R at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.handleRender(AnnotationMethodHandlerAdapter.java:296)
[5/13/15 11:22:47:242 EDT] 0000004c SystemErr R at org.springframework.web.portlet.DispatcherPortlet.doRenderService(DispatcherPortlet.java:764)
[5/13/15 11:22:47:242 EDT] 0000004c SystemErr R at org.springframework.web.portlet.FrameworkPortlet.processRequest(FrameworkPortlet.java:536)
[5/13/15 11:22:47:242 EDT] 0000004c SystemErr R at org.springframework.web.portlet.FrameworkPortlet.doDispatch(FrameworkPortlet.java:483)
[5/13/15 11:22:47:243 EDT] 0000004c SystemErr R at javax.portlet.GenericPortlet.render(GenericPortlet.java:222)
I am trying to deploy a web service on WAS 8.5 and i am getting the following exception in the server log while starting the application. This service was running on WAS 7 previously.
Does anyone have any idea about this ?
Thanks in advance.
[3/4/14 5:27:39:741 CST] 00000191 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.appmanagement.appedition/appCollectionTableLayout.jsp]: Initialization successful.
**[3/4/14 5:27:39:788 CST] 00000191 servlet E com.ibm.ws.webcontainer.servlet.ServletWrapper service SRVE0014E: Uncaught service() exception root cause /secure/layouts/pagingLayout.jsp: com.ibm.websphere.servlet.error.ServletErrorReport: javax.servlet.jsp.JspException: Cannot find bean com.ibm.ws.console.appmanagement.appedition.AppEditionApplicationCollectionForm in any scope
at** org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:695)
at _ibmjsp.secure.layouts._pagingLayout._jspService(_pagingLayout.java:641)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:216)
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:1384)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:548)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1045)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:527)
at org.apache.struts.tiles.TilesUtilImpl.doInclude(Unknown Source)
at org.apache.struts.tiles.TilesUtil.doInclude(Unknown Source)
at org.apache.struts.taglib.tiles.InsertTag.doInclude(Unknown Source)
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(Unknown Source)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(Unknown Source)
at _ibmjsp.secure.layouts._vboxLayout._jspService(_vboxLayout.java:191)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:216)
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:1384)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:548)
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1045)
at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:527)
at org.apache.struts.tiles.TilesUtilImpl.doInclude(Unknown Source)
at org.apache.struts.tiles.TilesUtil.doInclude(Unknown Source)
at org.apache.struts.taglib.tiles.InsertTag.doInclude(Unknown Source)
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(Unknown Source)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(Unknown Source)
at _ibmjsp.secure.layouts._contentLayout._jspService(_contentLayout.java:838)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:216)
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:1384)
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:193)
at org.apache.struts.action.RequestProcessor.doForward(Unknown Source)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(Unknown Source)
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(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.doGet(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1230)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:775)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:457)
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:950)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:499)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:320)
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:908)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1662)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:195)
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.ssl.channel.impl.SSLConnectionLink.determineNextChannel(SSLConnectionLink.java:1048)
at com.ibm.ws.ssl.channel.impl.SSLConnectionLink.readyInboundPostHandshake(SSLConnectionLink.java:716)
at com.ibm.ws.ssl.channel.impl.SSLConnectionLink$MyHandshakeCompletedCallback.complete(SSLConnectionLink.java:412)
at com.ibm.ws.ssl.channel.impl.SSLUtils.handleHandshake(SSLUtils.java:1066)
at com.ibm.ws.ssl.channel.impl.SSLHandshakeIOCallback.complete(SSLHandshakeIOCallback.java:87)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
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:1815)
Caused by: javax.servlet.jsp.JspException: Cannot find bean com.ibm.ws.console.appmanagement.appedition.AppEditionApplicationCollectionForm in any scope
at org.apache.struts.util.RequestUtils.lookup(Unknown Source)
at org.apache.struts.taglib.bean.DefineTag.doEndTag(Unknown Source)
at _ibmjsp.secure.layouts._pagingLayout._jspService(_pagingLayout.java:343)
... 101 more
[3/4/14 5:27:39:834 CST] 00000191 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\websphere\appserver\profiles\dmgr\logs\ffdc\dmgr_8300bef7_14.03.04_05.27.39.7888063670773023820718.txt com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter 82
[3/4/14 5:27:39:975 CST] 00000191 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on C:\websphere\appserver\profiles\dmgr\logs\ffdc\dmgr_8300bef7_14.03.04_05.27.39.834901919649726887194.txt com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters -SER 1047
[3/4/14 5:27:59:834 CST] 00000191 MBeanHelper E Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=Direct_eaodr01,platform=proxy,node=eaodr01,version=8.5.0.2,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=eaodr01cell01,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: JVMVRFY013 class loading constraint violated; class=com/sun/jersey/server/impl/container/servlet/JerseyServletContainerInitializer, method=onStartup(Ljava/util/Set;Ljavax/servlet/ServletContext;)V, pc=0
[3/4/14 5:28:12:282 CST] 00000191 MBeanHelper E Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=Direct_eaodr01_1,platform=proxy,node=eaodr01,version=8.5.0.2,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=eaodr01cell01,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: JVMVRFY013 class loading constraint violated; class=com/sun/jersey/server/impl/container/servlet/JerseyServletContainerInitializer, method=onStartup(Ljava/util/Set;Ljavax/servlet/ServletContext;)V, pc=0
[3/4/14 5:35:05:090 CST] 000001b4 MBeanHelper E Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=Direct_eaodr01,platform=proxy,node=eaodr01,version=8.5.0.2,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=eaodr01cell01,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: JVMVRFY013 class loading constraint violated; class=com/sun/jersey/server/impl/container/servlet/JerseyServletContainerInitializer, method=onStartup(Ljava/util/Set;Ljavax/servlet/ServletContext;)V, pc=0
[3/4/14 5:35:18:974 CST] 000001b4 MBeanHelper E Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=Direct_eaodr01_1,platform=proxy,node=eaodr01,version=8.5.0.2,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=eaodr01cell01,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: JVMVRFY013 class loading constraint violated; class=com/sun/jersey/server/impl/container/servlet/JerseyServletContainerInitializer, method=onStartup(Ljava/util/Set;Ljavax/servlet/ServletContext;)V, pc=0
[3/4/14 5:45:36:314 CST] 0000675d servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [/com.ibm.ws.console.environment/nodeCollection.jsp]: Initialization successful.
I got the same error in Websphere 8.5.5.2 when trying to Update an EAR. During the update process in the WAS console, I went thru the steps too quickly and received an error telling me that the object is already loaded. I then did an uninstall/re-install of the EAR in question and after the install process was finished, I pressed start to activate the application, which resulted in an error message stating "XXXX failed to start. Check the logs for server server1 on node SVRXXXXNode01 for details. An error occurred while starting XXXX. Check the logs for server server1 on node SVRGIAS1VMTNode01 for more information."
To fix this issue in the WAS console, go into the Websphere Applications/Websphere enterprise applications and press enter on the named application in question. Under references, select Shared library references. press enter in the check box to the left, where the module states "web" and your application is in the URI column. In the "available" box, select the "SHRLIB_vxxx" and press the arrow to the right of it to add the shared lib to the "Selected" box. Press OK, then OK again. Press Save to the Master configuration. You are now back in the Enterprise applications page. Select the app in question and press start.
This should fix the issue if you have a Websphere-based system, version 8.5.5.2. Websphere version 7 did not have this issue, as it kept the shared library intact when installing an ear.
I am facing an issue while installing EAR in web sphere 8.0 from admin console.
My EAR have two EJB jars and two Web wars.
The the EJB jar-1 & web war-1 are compiling with java 1.4 version and the EJB jar-2 & web war-2 are compiling with java 1.6 version.
But while installing EAR in the server i am getting an exception java.lang.IllegalArgumentException.
I am working with RAD tool, if i add EAR to the server in RAD tool itself and starting the server there is no issue.
I am bit confusing why the server is throwing this exception while installing EAR from Admin console. I am attaching the Stack trace of the Exception.
Please help me on this. Thanks in Advance.
12/10/13 17:43:00:857 IST] 00000022 servlet I com.ibm.ws.webcontainer.servlet.ServletWrapper init SRVE0242I: [isclite] [/ibm/console] [AppInstallStatusServlet]: Initialization successful.
[12/10/13 17:43:11:868 IST] 0000002f annotations E CWWAM0001E: An exception occurred during annotation processing: java.lang.IllegalArgumentException: The feature 'unknown-ejb-refs' is not a valid feature
[12/10/13 17:43:11:884 IST] 0000002f annotations E CWWAM0001E: An exception occurred during annotation processing: java.lang.IllegalArgumentException: The feature 'annotated-classes' is not a valid feature
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R java.lang.NullPointerException
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.common.CommonPlugin$Implementation.loadClass(CommonPlugin.java:198)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.common.CommonPlugin.loadClass(CommonPlugin.java:98)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.xmi.util.DefaultEcoreBuilder.<clinit>(DefaultEcoreBuilder.java:54)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at java.lang.J9VMInternals.initializeImpl(Native Method)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.xmi.impl.XMLHandler.createEcoreBuilder(XMLHandler.java:2822)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.xmi.impl.XMLHandler.<init>(XMLHandler.java:397)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.xmi.impl.SAXXMLHandler.<init>(SAXXMLHandler.java:44)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.makeDefaultHandler(XMLLoadImpl.java:310)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:141)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:179)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1094)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:900)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoad(ResourceSetImpl.java:249)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:264)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:390)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.IBMDataModelImpl.forceMETADataResource(IBMDataModelImpl.java:591)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.IBMDataModelImpl.forceMETAData(IBMDataModelImpl.java:521)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.strategy.IBMDataModelImpl.forceEJBMETAData(IBMDataModelImpl.java:513)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.persistAMMData(AnnotativeMetadataManagerImpl.java:377)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.amm.AnnotativeMetadataManagerImpl.merge(AnnotativeMetadataManagerImpl.java:284)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.amm.commonarchive.AnnotationsProcessorImpl.merge(AnnotationsProcessorImpl.java:132)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.amm.commonarchive.AnnotationsProcessorImpl.merge(AnnotationsProcessorImpl.java:64)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl.processManagedBeansAnnotations(EJBJarFileImpl.java:1351)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl.getManagedBeansDeploymentDescriptor(EJBJarFileImpl.java:1167)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl.getManagedBeansDeploymentDescriptor(EJBJarFileImpl.java:1042)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at org.eclipse.jst.j2ee.commonarchivecore.internal.impl.EJBJarFileImpl.getManagedBeansDeploymentDescriptor(EJBJarFileImpl.java:1035)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.client.ManagedBeansHelper.getAllManagedBeansID(ManagedBeansHelper.java:127)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.getManagedBeansID(ArchiveDeploymentInfo.java:1582)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.client.ResourceGroupHelper.skipBndForManagedBeans(ResourceGroupHelper.java:493)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.dfltbndngs.utils.GetAllResourceRefs.addResRefs(GetAllResourceRefs.java:321)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.dfltbndngs.utils.GetAllResourceRefs.addResRefs(GetAllResourceRefs.java:270)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.dfltbndngs.utils.GetAllResourceRefs.addResRefs(GetAllResourceRefs.java:250)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.dfltbndngs.utils.GetAllResourceRefs.execute(GetAllResourceRefs.java:168)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.dfltbndngs.BindEarCmd.bindResourceRefs(BindEarCmd.java:1026)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.dfltbndngs.BindEarCmd.bind(BindEarCmd.java:285)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.websphere.management.application.client.ArchiveDeploymentInfo.createDefaultBindings(ArchiveDeploymentInfo.java:776)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.websphere.management.application.client.AppDeploymentController.handlePreferences(AppDeploymentController.java:503)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.websphere.management.application.client.AppDeploymentController.<init>(AppDeploymentController.java:352)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.websphere.management.application.client.AppDeploymentController.<init>(AppDeploymentController.java:281)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:137)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.websphere.management.application.AppManagementFactory.readArchive(AppManagementFactory.java:91)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.websphere.management.application.client.ResourceValidationHelper.<init>(ResourceValidationHelper.java:214)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.task.ValidateResourceTask.performTask(ValidateResourceTask.java:124)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at com.ibm.ws.management.application.SchedulerImpl.run(SchedulerImpl.java:312)
[12/10/13 17:43:11:681 IST] 0000002f SystemErr R at java.lang.Thread.run(Thread.java:737)
[12/10/13 17:43:53:819 IST] 0000002f webcontainer I com.ibm.ws.webcontainer.internal.WebContainer addExtensionFactory SRVE0239I: Extension Factory [class com.ibm.ws.soa.sca.web.extension.SCAWebExtensionFactory] was registered successfully.
[12/10/13 17:43:53:819 IST] 0000002f webcontainer I com.ibm.ws.webcontainer.internal.WebContainer addExtensionFactory SRVE0240I: Extension Factory [class com.ibm.ws.soa.sca.web.extension.SCAWebExtensionFactory] has been associated with patterns [""].
[12/10/13 17:43:54:022 IST] 0000002f WebSphereSCAS I Added Servlet mapping: /dojo
[12/10/13 17:43:54:022 IST] 0000002f WebSphereSCAS I Added Servlet mapping: /dojo
[12/10/13 17:43:54:022 IST] 0000002f WebSphereSCAS I Added Servlet mapping: /tuscany
[12/10/13 17:43:54:022 IST] 0000002f WebSphereSCAS I Added Servlet mapping: /tuscany
[12/10/13 17:43:58:645 IST] 0000002f annotations E CWWAM0001E: An exception occurred during annotation processing: java.lang.IllegalArgumentException: The feature 'annotated-classes' is not a valid feature
[12/10/13 17:43:58:692 IST] 0000002f annotations E CWWAM0001E: An exception occurred during annotation processing: java.lang.IllegalArgumentException: The feature 'unknown-ejb-refs' is not a valid feature
I believe this seem to be addressed in latest fixpacks so you may want to apply latest fixpack 9 on your runtime WAS and see if that helps.
Link to fixpack : http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg27004980#ver80
VT
Note : opinions are my own and not those of my employer