We use Java 1.6. It occurs on both 1.5 and 1.6
 


From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of David Sinclair
Sent: Friday, May 29, 2009 2:09 PM
To: Rules Users List
Subject: Re: [rules-users] DRools 5.0 and XFire

What version of java are you using, 1.6?

2009/5/29 Bhamidi, Krishna <Krishna.Bhamidi@qwest.com>
Thank you for the mail. The stack follows -
 

org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.wsdl11.WSDLManagerImpl]: Constructor threw exception; nested exception is java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)

at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)

Truncated. see log file for complete stacktrace

java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl

at javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:98)

at java.util.XMLUtils.getLoadingDoc(XMLUtils.java:75)

at java.util.XMLUtils.load(XMLUtils.java:57)

at java.util.Properties.loadFromXML(Properties.java:701)

at org.apache.cxf.common.util.PropertiesLoaderUtils.loadAllProperties(PropertiesLoaderUtils.java:71)



From: rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org] On Behalf Of David Sinclair
Sent: Thursday, May 28, 2009 8:35 PM
To: Rules Users List
Subject: Re: [rules-users] DRools 5.0 and XFire

What exactly is the issue?

2009/5/28 Bhamidi, Krishna <Krishna.Bhamidi@qwest.com>
Hi folks,
 
we have exposed rules services using a web-service - we use XFire/CXF for our web-services. Server is Weblogic 10.0. The web-services worked in 5.0CR1, after we upgraded to 5.0, we run into classpath issues between XFire/CXF, Antlr and Weblogic.
 
Tried quite a few solutions on google, but have had no luck.
 
Has anyone had similar issues? Is anyone using a similar framework?
 
Krishna

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



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