0 Replies Latest reply on Nov 8, 2013 7:34 AM by Michał Kotra

    Migrating from Jboss 7.1.1 to Jboss 7.2.0 - cxf ehcache problem

    Michał Kotra Newbie

      Hello,

       

      Im migrating from Jboss AS 7.1.1 to 6.1Alpha. Everything works fine, but when I try to connect to my web services and fire method I am getting:

       

      13:13:24,629 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/loycon-soap].[IncentiveBean]] (http-/127.0.0.1:8080-1) JBWEB000236: Servlet.service() for servlet IncentiveBean threw exception: java.lang.ClassNotFoundException: net.sf.ehcache.Ehcache from [Module "org.apache.cxf.impl:main" from local module loader @91219a9 (finder: local module finder @352aae6 (roots: G:\msx7\jboss-eap-6.1\modules,G:\msx7\jboss-eap-6.1\modules\system\layers\base))]

          at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.2.0.CR1]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.2.0.CR1]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.2.0.CR1]

          at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.2.0.CR1]

          at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.2.0.CR1]

          at org.apache.cxf.ws.security.cache.EHCacheReplayCacheFactory.newReplayCache(EHCacheReplayCacheFactory.java:34) [cxf-rt-ws-security-2.6.6.jar:2.6.6]

          at org.apache.cxf.ws.security.wss4j.WSS4JUtils.getReplayCache(WSS4JUtils.java:79) [cxf-rt-ws-security-2.6.6.jar:2.6.6]

          at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.getReplayCache(WSS4JInInterceptor.java:747) [cxf-rt-ws-security-2.6.6.jar:2.6.6]

          at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:250) [cxf-rt-ws-security-2.6.6.jar:2.6.6]

          at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessage(WSS4JInInterceptor.java:96) [cxf-rt-ws-security-2.6.6.jar:2.6.6]

          at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262) [cxf-api-2.6.6.jar:2.6.6]

          at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) [cxf-api-2.6.6.jar:2.6.6]

          at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237) [cxf-rt-transports-http-2.6.6.jar:2.6.6]

          at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:95)

          at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(ServletHelper.java:156)

          at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(CXFServletExt.java:87)

          at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:225) [cxf-rt-transports-http-2.6.6.jar:2.6.6]

          at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:145) [cxf-rt-transports-http-2.6.6.jar:2.6.6]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]

          at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:135)

          at org.jboss.wsf.spi.deployment.WSFServlet.service(WSFServlet.java:140) [jbossws-spi-2.1.1.Final.jar:2.1.1.Final]

          at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.2.Final.jar:1.0.2.Final]

          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)

          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)

          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)

          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)

          at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:389)

          at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)

          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)

          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)

          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)

          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)

          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)

          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)

          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)

          at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]

       

      I don't know what is wrong. I found similar issue, but I don't have access to it

      https://access.redhat.com/site/solutions/421903gs,

       

      Greetings,

      Michał