Thomas and all-, I am trying to use JAXB/JAXRPC 2.0 EA within the latest JBoss 4.0.2 under J2SE 5.0 Update_2. I get a weird exception, when a client tries to access my endpoint (see below). I did provide a jboss-web.xml file according to the wiki, to make sure I fully isolated myself from the old JBossWS/Axis stuff. Yet, I still get the same exception. Which makes me believe that JBoss 4 overrides the J2SE 5.0 built-in JAXP classes with incompatible ones somehow!!! Is this a correct assumption and how do I solve it (bundle jaxp jar)?
Note that someone else posted the same problem in the JAXRPC/JAXB 2.0 forum at http://community.java.net/java-ws-xml/ The problem DOES NOT EXIST IN TOMCAT 5.5.x, when used stand-alone. Find enlosed my jboss-web.xml and exception trace below, Thanks ------------------------------jboss-web.xml------------------------------------ <?xml version="1.0" ?> <jboss-web> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> com.blabla:loader=efe_web_services_loader <loader-repository-config> java2ParentDelegation=false </loader-repository-config> </loader-repository> </class-loading> </jboss-web> ----------------------------- Exception ------------------------------------------ JAXRPCContextListener contextInitialized INFO: JAXRPCSERVLET12: JAX-RPC context listener initializing 15:09:42,094 INFO [STDOUT] May 10, 2005 3:09:42 PM com.sun.xml.rpc.server.http. JAXRPCServletDelegate init INFO: JAXRPCSERVLET14: JAX-RPC servlet initializing 15:09:48,141 INFO [STDOUT] May 10, 2005 3:09:48 PM com.sun.xml.rpc.server.http. JAXRPCServletDelegate doPost SEVERE: caught throwable java.lang.NoSuchMethodError: javax.xml.parsers.SAXParserFactory.getSchema()Ljava x/xml/validation/Schema; at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.(SAXParse rImpl.java:124) at com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXPa rser(SAXParserFactoryImpl.java:98) at com.sun.xml.messaging.saaj.util.ParserPool.get(ParserPool.java:42) at com.sun.xml.messaging.saaj.soap.EnvelopeFactory.createEnvelope(Envelo peFactory.java:59) at com.sun.xml.messaging.saaj.soap.ver1_1.SOAPPart1_1Impl.createEnvelope FromSource(SOAPPart1_1Impl.java:47) at com.sun.xml.messaging.saaj.soap.SOAPPartImpl.getEnvelope(SOAPPartImpl .java:86) at com.sun.xml.messaging.saaj.soap.MessageImpl.getSOAPHeader(MessageImpl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877263#3877263 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877263 ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user