Hello everyone,

I have a JBoss 4.2.3 with jdk6v14. I have installed Metro on it. I can publish 
webservices (ejb 3 style) and webpages (jsf+facelets+richfaces) correctly, but 
when I call a webservice in the page I get the following exception:

[2009/08/03 17:05:30] -- ERROR -- org.ajax4jsf.webapp.BaseXMLFilter -- 
Exception in the filter chain 
javax.servlet.ServletException: La ejecución del Servlet lanzó una excepción
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
        at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
        at 
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
        at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        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:182)
        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.ExceptionInInitializerError
        at 
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:107)
        at 
com.sun.xml.internal.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:78)
        at com.sun.xml.internal.ws.client.sei.SEIStub.invoke(SEIStub.java:107)
        at $Proxy158.obtenerVademecum(Unknown Source)
at 
es.indra.peissmu.presentacion.casos.version.delegate.ServicioVersionVademecumDelegate.getObtenerVademecum(ServicioVersionVademecumDelegate.java:49)
        at 
es.indra.peismu.presentacion.casos.cargaNomenclator.view.CargaNomenclatorManagedBean.ObtenerVersion(CargaNomenclatorManagedBean.java:178)
        at 
es.indra.peismu.presentacion.casos.cargaNomenclator.view.CargaNomenclatorManagedBean.(CargaNomenclatorManagedBean.java:120
        at sun.reflect.NativeCons
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
ewInstance(NativeConstructorAccessorImpl.java:39)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at java.beans.Beans.instantiate(Beans.java:204)
        at java.beans.Beans.instantiate(Beans.java:48)
        at 
com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:269)
        at 
com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:510)
        at 
com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
        at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
        at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
        at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:45)
        at org.apache.el.parser.AstValue.getValue(AstValue.java:86)
        at 
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
        at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
        at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
        at 
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100)
        at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:290)
        at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:216)
        at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:847)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:893)
        at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
        at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:827)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
        at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
        at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
        at 
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
        at 
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:196)
        at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108)
        at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:243)
        at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        ... 23 more
Caused by: java.lang.ClassCastException: 
com.sun.xml.bind.v2.runtime.JAXBContextImpl cannot be cast to 
com.sun.xml.internal.bind.api.JAXBRIContext
        at 
com.sun.xml.internal.ws.fault.SOAPFaultBuilder.(SOAPFaultBuilder.java:533)
        ... 65 more


I suppose it is a library mix failure, but I can not find the solution . Any 
ideas?

Thanks in advance.

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

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

_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to