Hello rishi,

I installed Axis 2 on JBoss a couple of month ago, but I'm not sure if it
was JBoss 5.x, might have been 4.x. I ran into a couple of problems too, I
don't know if I had the same exception you got though.
However, we fixed our problems by deleting JBoss' own webservice
implementation which is an exploded war in the deploy folder (name depends
on jboss version, might have been something like jboss-ws or so).

Cheers,
Dennis


2009/6/16 rishi <kapur....@gmail.com>

> Hi All,
>
> I am having trouble installing Axis2 1.4.1 or 1.5 they both are giving same
> error as below. All I did was to put axis2.war in jboss-5.1.0.GA
> \server\default.
> This is in both Jboss 5.1and 5.01
>
> Caused by: java.lang.ClassCastException:
> org.apache.xerces.parsers.XML11Configuration cannot be cast to
> org.apache.xerces.xni.parser.XMLParserConfiguration
>     at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
>     at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)
>     at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Unknown
> Source)
>     at org.apache.xerces.jaxp.SAXParserImpl.<init>(Unknown Source)
>     at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown
> Source)
>     at
> org.jboss.xb.binding.parser.sax.SaxJBossXBParser.<init>(SaxJBossXBParser.java:92)
>     ... 75 more
> 2009-06-16 15:17:28,039 ERROR
> [org.jboss.web.tomcat.service.deployers.JBossContextConfig] (main) XML error
> parsing: jboss.web/localhost/context.xml.default
> org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX
> parser
>     at
> org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100)
>     at
> org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549)
>     at
> org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:537)
>     at
> org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279)
>     at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:
>
> Please let me know if you have it working in Jboss. Thanks a lot
> -rishi
>

Reply via email to