tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Louis MONTEIRO <jean-louis.monte...@atosorigin.com>
Subject Re: Webservices problem
Date Thu, 21 May 2009 15:38:15 GMT

No idea about what is happening.
Could you give us more details ?
Did you deploy JaxB jars in your application (WEB-INF/lib) ? It can be a
classloader issue because OpenEJB already embedded a set of jars.

Jean-Louis


Maaku wrote:
> 
> Hi all,
> 
> I'm experiencing another problem and can't find more info about it.  Maybe
> someone had encountered this before and can point me in the right
> direction. Thanks
> 
> 
> May 21, 2009 2:35:19 PM
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromClass
> INFO: Creating Service {http://xxx.com/wsdl}TestWebService from class
> com.xxx.TestWebService
> ERROR - Error deploying CXF webservice for ejb TestServiceBean
> java.lang.ClassCastException:
> com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl$5 cannot be cast
> to com.sun.xml.bind.v2.model.impl.ClassInfoImpl
> 	at
> com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getBaseClass(ClassInfoImpl.java:171)
> 	at
> com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getBaseClass(RuntimeClassInfoImpl.java:61)
> 	at
> com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getBaseClass(RuntimeClassInfoImpl.java:41)
> 	at
> com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:149)
> 	at
> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:55)
> 	at
> com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:41)
> 	at
> com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:196)
> 	at
> com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:211)
> 	at
> com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:383)
> 	at
> com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:236)
> 	at
> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:76)
> 	at
> com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:55)
> 	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 javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:202)
> 	at javax.xml.bind.ContextFinder.find(ContextFinder.java:363)
> 	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
> 	at
> org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContext(JAXBDataBinding.java:427)
> 	at
> org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:221)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:313)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:362)
> 	at
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:156)
> 	at
> org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:89)
> 	at
> org.apache.openejb.server.cxf.ejb.EjbEndpoint.<init>(EjbEndpoint.java:59)
> 	at
> org.apache.openejb.server.cxf.ejb.EjbWsContainer.createEndpoint(EjbWsContainer.java:35)
> 	at
> org.apache.openejb.server.cxf.ejb.EjbWsContainer.createEndpoint(EjbWsContainer.java:25)
> 	at
> org.apache.openejb.server.cxf.CxfWsContainer.start(CxfWsContainer.java:63)
> 	at
> org.apache.openejb.server.cxf.CxfService.createEjbWsContainer(CxfService.java:51)
> 	at
> org.apache.openejb.server.webservices.WsService.afterApplicationCreated(WsService.java:233)
> 	at
> org.apache.openejb.server.webservices.WsService.start(WsService.java:170)
> 	at
> org.apache.openejb.tomcat.catalina.TomcatLoader.init(TomcatLoader.java:148)
> 	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.apache.openejb.loader.Embedder.init(Embedder.java:75)
> 	at org.apache.openejb.tomcat.loader.TomcatHook.hook(TomcatHook.java:98)
> 	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.apache.openejb.tomcat.loader.TomcatEmbedder.embed(TomcatEmbedder.java:74)
> 	at
> org.apache.openejb.tomcat.loader.OpenEJBListener.lifecycleEvent(OpenEJBListener.java:50)
> 	at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
> 	at
> org.apache.catalina.core.StandardServer.initialize(StandardServer.java:770)
> 	at org.apache.catalina.startup.Catalina.load(Catalina.java:530)
> 	at org.apache.catalina.startup.Catalina.load(Catalina.java:550)
> 	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.apache.catalina.startup.Bootstrap.load(Bootstrap.java:260)
> 	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:412)
> 

-- 
View this message in context: http://www.nabble.com/Webservices-problem-tp23649377p23655370.html
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message