Changing:

<beans xmlns="http://xfire.codehaus.org/config/1.0";>
  <service>

to:


<beans>
  <service xmlns="http://xfire.codehaus.org/config/1.0";>


Did the trick. Thanks!

Stan

Original Message:
-----------------
From: Tomek Sztelak [EMAIL PROTECTED]
Date: Mon, 30 Oct 2006 21:38:52 +0100
To: [email protected]
Subject: Re: [xfire-dev] Spring 2.0 Progress


Can you post your services.xml? In Spring 2.x you must move
xmlns="http://xfire.codehaus.org/config/1.0"; namespace to <service>
level as i rember :)

On 10/30/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote:
> This error is caused by a small incompatibility in xbean / spring.
> The top level beans element need to be in a known spring namespace
> (or in the empty namespace).
> Previsouly, the beans element could be in any namespace.
>
> On 10/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > W.r.t. Spring 2.0 progress, is the 1.2.3 release going to work with
Spring
> > 2.0? I have upgraded the xbean-spring of my 1.2.2 XFire release to 2.7,
and
> > this changed the error I get when I run with Spring 2.0, but I still
get an
> > error (trace follows). I'm not sure if it's a simple classpath issue at
> > this point, or are there changes to the XFire core required to get it
all
> > working.
> >
> >
> > 10156 [main] DEBUG
> > org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler  - Could not
find
> > resource:
> >
META-INF/services/org/apache/xbean/spring/http/xfire.codehaus.org/config/1.0
> > /beans
> >
> > org.springframework.beans.factory.BeanDefinitionStoreException: Failed
to
> > load type: beans. Reason: java.lang.ClassNotFoundException: beans;
nested
> > exception is java.lang.ClassNotFoundException: beans
> > Caused by: java.lang.ClassNotFoundException: beans
> >         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> >         at java.security.AccessController.doPrivileged(Native Method)
> >         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> >         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> >         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> >         at
> >
org.apache.xbean.spring.context.v2c.XBeanQNameHelper.loadClass(XBeanQNameHel
> > per.java:107)
> >         at
> >
org.apache.xbean.spring.context.v2c.XBeanQNameHelper.getBeanInfo(XBeanQNameH
> > elper.java:72)
> >         at
> >
org.apache.xbean.spring.context.v2c.XBeanQNameHelper.coerceNamespaceAwarePro
> > pertyValues(XBeanQNameHelper.java:54)
> >         at
> >
org.apache.xbean.spring.context.v2c.XBeanBeanDefinitionParserDelegate.parseB
> > eanDefinitionElement(XBeanBeanDefinitionParserDelegate.java:63)
> >         at
> >
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseBean
> > DefinitionElement(BeanDefinitionParserDelegate.java:421)
> >         at
> >
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExten
> > sionElement(XBeanNamespaceHandler.java:208)
> >         at
> >
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parseBeanFromExten
> > sionElement(XBeanNamespaceHandler.java:256)
> >         at
> >
org.apache.xbean.spring.context.v2c.XBeanNamespaceHandler.parse(XBeanNamespa
> > ceHandler.java:152)
> >         at
> >
org.apache.xbean.spring.context.v2.XBeanNamespaceHandler.parse(XBeanNamespac
> > eHandler.java:49)
> >         at
> >
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCust
> > omElement(BeanDefinitionParserDelegate.java:1147)
> >         at
> >
org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCust
> > omElement(BeanDefinitionParserDelegate.java:1137)
> >         at
> >
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.pa
> > rseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:150)
> >         at
> >
org.apache.xbean.spring.context.v2.XBeanBeanDefinitionDocumentReader.parseBe
> > anDefinitions(XBeanBeanDefinitionDocumentReader.java:63)
> >         at
> >
org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.re
> > gisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:89)
> >         at
> >
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDe
> > finitions(XmlBeanDefinitionReader.java:499)
> >         at
> >
org.apache.xbean.spring.context.v2.XBeanXmlBeanDefinitionReader.registerBean
> > Definitions(XBeanXmlBeanDefinitionReader.java:79)
> >         at
> >
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefi
> > nitions(XmlBeanDefinitionReader.java:407)
> >         at
> >
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefini
> > tions(XmlBeanDefinitionReader.java:357)
> >         at
> >
org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefini
> > tions(XmlBeanDefinitionReader.java:334)
> >         at
> >
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadB
> > eanDefinitions(AbstractBeanDefinitionReader.java:126)
> >         at
> >
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadB
> > eanDefinitions(AbstractBeanDefinitionReader.java:142)
> >         at
> >
org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadB
> > eanDefinitions(AbstractBeanDefinitionReader.java:168)
> >         at
> >
org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDe
> > finitions(AbstractXmlApplicationContext.java:113)
> >         at
> >
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.loadBeanDefin
> > itions(ClassPathXmlApplicationContext.java:180)
> >         at
> >
org.springframework.context.support.AbstractRefreshableApplicationContext.re
> > freshBeanFactory(AbstractRefreshableApplicationContext.java:94)
> >         at
> >
org.springframework.context.support.AbstractApplicationContext.refresh(Abstr
> > actApplicationContext.java:294)
> >         at
> >
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassP
> > athXmlApplicationContext.java:161)
> >         at
> >
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassP
> > athXmlApplicationContext.java:61)
> >         at
org.codehaus.xfire.jaxb.WeatherTest.createContext(WeatherTest.java:51)
> >         at
> >
org.codehaus.xfire.spring.AbstractXFireSpringTest.setUp(AbstractXFireSpringT
> > est.java:22)
> >         at
com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:40)
> >
> >
> > Is tehre
> > Original Message:
> > -----------------
> > From: Dan Diephouse (JIRA) [EMAIL PROTECTED]
> > Date: Mon, 30 Oct 2006 13:43:46 -0600 (CST)
> > To: [email protected]
> > Subject: [xfire-dev] [jira] Updated: (XFIRE-729) RandomGUID Not Thread
Safe
> >
> >
> >      [ http://jira.codehaus.org/browse/XFIRE-729?page=all ]
> >
> > Dan Diephouse updated XFIRE-729:
> > --------------------------------
> >
> >     Fix Version/s: 1.2.3
> >
> > Thanks, we'll fix this soon.
> >
> > > RandomGUID Not Thread Safe
> > > --------------------------
> > >
> > >                 Key: XFIRE-729
> > >                 URL: http://jira.codehaus.org/browse/XFIRE-729
> > >             Project: XFire
> > >          Issue Type: Bug
> > >          Components: Core
> > >    Affects Versions: 1.2.2
> > >         Environment: Windows XP SP2
> > >            Reporter: Frank Tyler
> > >         Assigned To: Dan Diephouse
> > >             Fix For: 1.2.3
> > >
> > >
> > > When the AddressingOutHandler is enabled, the random GUID generated
isn't
> > thread safe.  Seems the AddressingOutHandler is calling the toString()
> > method on the RandomGUID class, which happens to be declared static
inside
> > the AddressingOutHandler class.
> >
> > --
> > This message is automatically generated by JIRA.
> > -
> > If you think it was sent incorrectly contact one of the administrators:
> > http://jira.codehaus.org/secure/Administrators.jspa
> > -
> > For more information on JIRA, see:
http://www.atlassian.com/software/jira
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> > --------------------------------------------------------------------
> > mail2web - Check your email from the web at
> > http://mail2web.com/ .
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list please visit:
> >
> >     http://xircles.codehaus.org/manage_email
> >
> >
>
>
> --
> Cheers,
> Guillaume Nodet
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


-- 
-----
When one of our products stops working, we'll blame another vendor
within 24 hours.

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .



---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to