[jboss-user] [JBoss Web Services] - Re: Which versions for eclipse + JBoss AS + JDK + JBossWS

Giuliano Aparecido do-not-reply at jboss.com
Mon Sep 3 07:42:08 EDT 2012


Giuliano Aparecido [https://community.jboss.org/people/giuliano.rap] created the discussion

"Re: Which versions for eclipse + JBoss AS + JDK  + JBossWS"

To view the discussion, visit: https://community.jboss.org/message/757567#757567

--------------------------------------------------------------
Thanks Peter! Your book is very good.

But now I am using Axis2, I think it is working properly.
My problem now is not related to the versions I guess.

In the service implementation, I need to call a seam component, like Component.getInstance(), but when I try it, it throws an error:

13:37:20,074 INFO  [PhaseInterceptorChain] Interceptor has thrown exception, unwinding now
java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jboss/seam/Component
          at org.jboss.wsf.stack.cxf.AbstractInvoker.handleException(AbstractInvoker.java:147)
          at org.jboss.wsf.stack.cxf.AbstractInvoker.invoke(AbstractInvoker.java:116)
          at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:56)
          at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
          at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:92)
          at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
          at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:78)
          at org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:92)
          at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:214)
          at org.jboss.wsf.stack.cxf.ServletControllerExt.invoke(ServletControllerExt.java:157)
          at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:61)
          at org.jboss.wsf.stack.cxf.CXFServletExt.service(CXFServletExt.java:152)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
          at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
          at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
          at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
          at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
          at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
          at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
          at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
          at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
          at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
          at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
          at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
          at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
          at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
          at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
          at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.NoClassDefFoundError: org/jboss/seam/Component
          at at.prosigma.fujitsu.service.FujitsuIntegrationServiceImpl.getFujitsuIntegrationAction(FujitsuIntegrationServiceImpl.java:120)
          at at.prosigma.fujitsu.service.FujitsuIntegrationServiceImpl.createUsers(FujitsuIntegrationServiceImpl.java:65)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:106)
          at org.jboss.wsf.stack.cxf.AbstractInvoker.invoke(AbstractInvoker.java:111)
          ... 29 more
Caused by: java.lang.ClassNotFoundException: org.jboss.seam.Component
          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
          at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
          at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
          ... 37 more

The component is in the same project as the web service implementation.
So, we have a seam project and now I am implementing another project as a web service. The second project (web service) will handle the login stuffs for the first project. The web service will be a .war in the first project.

Any idea?

Thanks!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/757567#757567]

Start a new discussion in JBoss Web Services at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120903/ed091783/attachment.html 


More information about the jboss-user mailing list