OOpss..don't know if it is going to work because testing of xfire doesn't
work anymore:

ant refresh throws:

javax\xml\stream\XMLStreamReader.class not found


I removed all test files for Xfire services and ant refresh works again..

Cheers,

Eric



Eric Taieb wrote:
> 
> Hi,
> 
> Just to let you know I fixed it.
> Seems that xbeans-spring and xfire jars in Apfuse 1.9.4 o not work
> together...Am I the only one coming across this ?
> Thanks for your help, insted of rolling back spring to 2.0 rc2 I upgraded
> xbean-spring to version 2.8 and xfire to 1.2.3 and it solved the issue.
> 
> Thanks for your help !!!
> 
> Cheers,
> 
> Eric
> 
> 
> 
> Michael Horwitz wrote:
>> 
>> Looks like there is some kind of error in XFire or XBean. The class
>> ReaderContext is housed in the package
>> org.springframework.beans.factory.parsing, not
>> org.springframework.beans.factory.support as listed below. Perhaps
>> XFire/XBean is based on a candidate release of Spring 2.0? Looking
>> through
>> the SVN repo of XBean, it looks as if XBean may rely on Spring v2.0 cr2
>> or
>> earlier. Perhaps you could give those a try?
>> 
>> Mike.
>> 
>> 
>> On 1/5/07, Eric Taieb <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>> Hi,
>>>
>>> First thanks for creating Appfuse. It has been a major help on
>>> developing
>>> with Spring/JSF/Hibernate (very useful to learn how these interact)
>>>
>>> Everything works perfectly except for XFire.
>>> I have followed all tutorials (checked that the automatic procedure with
>>> ant
>>> in extras/xfire produced the right result )
>>>
>>> I am using Appfuse 1.9.4 with Xfire 1.2.2 and Spring 2.0
>>> I don't even have setup any services for the moment. Just plain empty
>>> config
>>> with the minimal lines setup by ant.
>>>
>>>
>>> I still have this everytime I start Tomcat:
>>>
>>>
>>> [appfuse] ERROR [http-8080-Processor24] XFireServlet.init(51) | Error
>>> initializing XFireServlet.
>>> org.springframework.beans.factory.BeanDefinitionStoreException:
>>> Unexpected
>>> exception parsing XML document from class path resource
>>> [org/codehaus/xfire
>>> /spring/customEditors.xml]; nested exception is
>>> java.lang.NoClassDefFoundError:
>>> org/springframework/beans/factory/support/ReaderContext
>>> Caused by:
>>> java.lang.NoClassDefFoundError:
>>> org/springframework/beans/factory/support/ReaderContext
>>>        at
>>>
>>> org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.createHelper
>>> (XBeanBeanDefinitionDocumentReader.java:28)
>>>        at
>>>
>>> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions
>>> (DefaultBeanDefinitionDocumentReader.java:
>>> 86)
>>>        at
>>>
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions
>>> (XmlBeanDefinitionReader.java:499)
>>>        at
>>>
>>> org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBeanDefinitions
>>> (XBeanXmlBeanDefinitionReader.java:77)
>>>        at
>>>
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions
>>> (XmlBeanDefinitionReader.java:407)
>>>        at
>>>
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
>>> (XmlBeanDefinitionReader.java:357)
>>>        at
>>>
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions
>>> (XmlBeanDefinitionReader.java:334)
>>>        at
>>> org.codehaus.xfire.spring.XFireConfigLoader.getXFireApplicationContext
>>> (XFireConfigLoader.java:84)
>>>        at
>>> org.codehaus.xfire.spring.XFireConfigLoader.loadContext(
>>> XFireConfigLoader.java:41)
>>>        at
>>> org.codehaus.xfire.transport.http.XFireConfigurableServlet.loadConfig(
>>> XFireConfigurableServlet.java
>>> :86)
>>>        at
>>> org.codehaus.xfire.transport.http.XFireConfigurableServlet.createXFire(
>>> XFireConfigurableServlet.java:54)
>>>        at
>>> org.codehaus.xfire.transport.http.XFireServlet.init(XFireServlet.java:45)
>>>        at javax.servlet.GenericServlet.init(GenericServlet.java:211)
>>>        at
>>> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java
>>> :1029)
>>>        at
>>> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:687)
>>>        at
>>> org.apache.catalina.core.StandardWrapperValve.invoke(
>>> StandardWrapperValve.java:144)
>>>        at
>>> org.apache.catalina.core.StandardValveContext.invokeNext(
>>> StandardValveContext.java:104)
>>>        at org.apache.catalina.core.StandardPipeline.invoke
>>> (StandardPipeline.java:520)
>>>        at
>>> org.apache.catalina.core.StandardContextValve.invokeInternal(
>>> StandardContextValve.java:198)
>>>        at
>>> org.apache.catalina.core.StandardContextValve.invoke(
>>> StandardContextValve.java
>>> :152)
>>>        at
>>> org.apache.catalina.core.StandardValveContext.invokeNext(
>>> StandardValveContext.java:104)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
>>> :520)
>>>        at org.apache.catalina.core.StandardHostValve.invoke
>>> (StandardHostValve.java:137)
>>>        at
>>> org.apache.catalina.core.StandardValveContext.invokeNext(
>>> StandardValveContext.java:104)
>>>        at
>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
>>> :118)
>>>        at
>>> org.apache.catalina.core.StandardValveContext.invokeNext(
>>> StandardValveContext.java:102)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
>>> :520)
>>>        at org.apache.catalina.core.StandardEngineValve.invoke
>>> (StandardEngineValve.java:109)
>>>        at
>>> org.apache.catalina.core.StandardValveContext.invokeNext(
>>> StandardValveContext.java:104)
>>>        at
>>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java
>>> :520)
>>>        at
>>> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
>>>        at
>>> org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
>>>        at org.apache.coyote.http11.Http11Processor.process
>>> (Http11Processor.java:799)
>>>        at
>>>
>>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection
>>> (Http11Protocol.java:705)
>>>        at
>>> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>>>        at
>>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
>>> ThreadPool.java:683)
>>>        at java.lang.Thread.run(Thread.java:619)
>>>
>>> Could anyone help me out please ?
>>> I have already been all arounf xfire's website and appfuse mailing list
>>> and
>>> tutorials...
>>>
>>> Thanks in advance,
>>>
>>> -Eric
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Problem-with-XFireServlet-startup---NoClassDefFoundError%3A-org-springframework-beans-factory-support-ReaderContext-tf2923336s2369.html#a8171468
>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-XFireServlet-startup---NoClassDefFoundError%3A-org-springframework-beans-factory-support-ReaderContext-tf2923336s2369.html#a8190410
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to