Hi All,

I have the xfire-xmlbeans-1.2.4.jar in the /WEB-INF/lib directory of the
deployed war.
Can you help me understand why org.codehaus.xfire.spring.ServiceBean can
not be created properly ?

Thanks, much appreciated.



On Wed, 2007-16-05 at 23:14 -0400, Dragos Pavel wrote: 
> I re-coded my project using XMLBeans bindings (instead of JAXB2 like
> first time).
> 
> Environment:
> XFire - 1.2.4
> XMLBeans bindings
> JBoss
> org.codehaus.xfire.transport.http.XFireConfigurableServlet
> 
> I deployed and I run into the following error:
> 
> 23:04:50,038 ERROR [XFireServlet] Error initializing XFireServlet.
> org.springframework.beans.factory.BeanCreationException: Error creating
> bean with name 'org.codehaus.xfire.spring.ServiceBean' defined in class
> path resource [META-INF/xfire/services.xml]: Initialization of bean
> failed; nested exception is java.lang.ExceptionInInitializerError: null
> java.lang.ExceptionInInitializerError
>       at sun.misc.Unsafe.ensureClassInitialized(Native Method)
>       at sun.reflect.UnsafeFieldAccessorFactory.newFieldAccessor
> (UnsafeFieldAccessorFactory.java:25)
>       at sun.reflect.ReflectionFactory.newFieldAccessor
> (ReflectionFactory.java:122)
>       at java.lang.reflect.Field.acquireFieldAccessor(Field.java:917)
>       at java.lang.reflect.Field.getFieldAccessor(Field.java:898)
>       at java.lang.reflect.Field.get(Field.java:357)
>       at org.apache.xmlbeans.XmlBeans.typeForClass(XmlBeans.java:844)
>       at
> org.codehaus.xfire.xmlbeans.XmlBeansType.<init>(XmlBeansType.java:73)
>       at org.codehaus.xfire.xmlbeans.XmlBeansTypeCreator.createXmlBeanType
> (XmlBeansTypeCreator.java:59)
>       at org.codehaus.xfire.xmlbeans.XmlBeansTypeCreator.createType
> (XmlBeansTypeCreator.java:49)
>       at org.codehaus.xfire.aegis.AegisBindingProvider.getSuggestedName
> (AegisBindingProvider.java:248)
>       at
> org.codehaus.xfire.service.binding.DefaultServiceConfiguration.getInParameterName(DefaultServiceConfiguration.java:160)
>       at
> org.codehaus.xfire.service.binding.ObjectServiceFactory.getInParameterName(ObjectServiceFactory.java:1044)
>       at org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation
> (ObjectServiceFactory.java:798)
>       at
> org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOperations(ObjectServiceFactory.java:742)
>       at org.codehaus.xfire.service.binding.ObjectServiceFactory.create
> (ObjectServiceFactory.java:426)
>       at org.codehaus.xfire.spring.ServiceBean.afterPropertiesSet
> (ServiceBean.java:176)
> 
> 
> Any suggestions please ? is urgent, thanks in advance.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 


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

    http://xircles.codehaus.org/manage_email

Reply via email to