[jbossws-dev] [Design of JBoss Web Services] - Re: WSContractConsumer API in a seam app

maeste do-not-reply at jboss.com
Tue Feb 27 16:00:20 EST 2007


some more infos hoping it help you to understand the problem. If I put also in loading Service class the try/finally block replacing the context class loader and restoring I get the previous problem: it works perfectly at first deploy, but after a redeployment I get this stack trace:

  |  java.lang.reflect.InvocationTargetException
  | 21:55:09,218 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 21:55:09,218 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 21:55:09,218 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 21:55:09,218 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 21:55:09,218 ERROR [STDERR]     at it.javalinux.wise.jaxCore.WSDynamicClient.selectEndPoint(WSDynamicClient.java:189)
  | 21:55:09,218 ERROR [STDERR]     at it.javalinux.wise.seam.actions.WSDLManagerBean.readOperations(WSDLManagerBean.java:147)
  | 21:55:09,218 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 21:55:09,218 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 21:55:09,218 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 21:55:09,218 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 21:55:09,218 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | 21:55:09,218 ERROR [STDERR]     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | 21:55:09,218 ERROR [STDERR]     at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
  | 21:55:09,218 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | 21:55:09,218 ERROR [STDERR]     at org.jboss.seam.interceptors.BijectionInterceptor.bijectNonreentrantComponent(BijectionInterceptor.java:79)
  | 21:55:09,218 ERROR [STDERR]     at org.jboss.seam.interceptors.BijectionInterceptor.bijectComponent(BijectionInterceptor.java:58)
  | 21:55:09,219 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 21:55:09,219 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 21:55:09,219 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 21:55:09,219 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 21:55:09,219 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 21:55:09,219 ERROR [STDERR]     at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 21:55:09,219 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 21:55:09,219 ERROR [STDERR]     at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:36)
  | 21:55:09,219 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 21:55:09,219 ERROR [STDERR] Caused by: java.lang.NoClassDefFoundError: org/jboss/ws/core/soap/attachment/AttachmentPartImpl
  | 21:55:09,219 ERROR [STDERR]     at org.jboss.ws.core.jaxws.binding.BindingProviderImpl.initBinding(BindingProviderImpl.java:77)
  | 21:55:09,219 ERROR [STDERR]     at org.jboss.ws.core.CommonBindingProvider.<init>(CommonBindingProvider.java:55)
  | 21:55:09,219 ERROR [STDERR]     at org.jboss.ws.core.jaxws.binding.BindingProviderImpl.<init>(BindingProviderImpl.java:56)
  | 21:55:09,219 ERROR [STDERR]     at org.jboss.ws.core.jaxws.client.ClientImpl.getCommonBindingProvider(ClientImpl.java:293)
  | 21:55:09,220 ERROR [STDERR]     at org.jboss.ws.core.jaxws.client.ClientImpl.getBindingProvider(ClientImpl.java:315)
  | 21:55:09,220 ERROR [STDERR]     at org.jboss.ws.core.jaxws.client.ClientImpl.getRequestContext(ClientImpl.java:300)
  | 21:55:09,220 ERROR [STDERR]     at org.jboss.ws.core.jaxws.client.ClientImpl.setTargetEndpointAddress(ClientImpl.java:279)
  | 21:55:09,220 ERROR [STDERR]     at org.jboss.ws.core.jaxws.client.ClientImpl.<init>(ClientImpl.java:82)
  | 21:55:09,220 ERROR [STDERR]     at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.createProxy(ServiceDelegateImpl.java:328)
  | 21:55:09,220 ERROR [STDERR]     at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:210)
  | 21:55:09,220 ERROR [STDERR]     at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:148)
  | 21:55:09,220 ERROR [STDERR]     at javax.xml.ws.Service.getPort(Service.java:116)
  | 21:55:09,220 ERROR [STDERR]     at it.javalinux.ws.MatchingService.getMatchingPort(MatchingService.java:56)
  | 21:55:09,220 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 21:55:09,220 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 21:55:09,220 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 21:55:09,220 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 21:55:09,220 ERROR [STDERR]     at it.javalinux.wise.jaxCore.WSDynamicClient.selectEndPoint(WSDynamicClient.java:189)
  | 21:55:09,220 ERROR [STDERR]     at it.javalinux.wise.seam.actions.WSDLManagerBean.readOperations(WSDLManagerBean.java:147)
  | 21:55:09,220 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 21:55:09,220 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 21:55:09,221 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 21:55:09,221 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 21:55:09,221 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | 21:55:09,221 ERROR [STDERR]     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | 21:55:09,221 ERROR [STDERR]     at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
  | 21:55:09,221 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | 21:55:09,222 ERROR [STDERR] java.lang.NullPointerException: 
  | 21:55:09,222 ERROR [STDERR]     at it.javalinux.wise.jaxCore.WSDynamicClient.getWebMethod(WSDynamicClient.java:200)
  | 21:55:09,222 ERROR [STDERR]     at it.javalinux.wise.seam.actions.WSDLManagerBean.readOperations(WSDLManagerBean.java:152)
  | 21:55:09,222 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 21:55:09,222 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 21:55:09,222 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 21:55:09,222 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.interceptors.BijectionInterceptor.bijectNonreentrantComponent(BijectionInterceptor.java:79)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.interceptors.BijectionInterceptor.bijectComponent(BijectionInterceptor.java:58)
  | 21:55:09,222 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 21:55:09,222 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 21:55:09,222 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 21:55:09,222 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:36)
  | 21:55:09,222 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 21:55:09,222 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 21:55:09,222 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 21:55:09,222 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:585)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
  | 21:55:09,222 ERROR [STDERR]     at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
  | 
thanks for your time

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023279#4023279

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023279



More information about the jbossws-dev mailing list