Do you have the spring-1.2.6.jar? Daniel King, R2D2, C3P0 Application Engineer Web Team Nemours Office: (904) 288-5643 Fax: (904) 288-5758 *** Call me Daniel ***
NOTICE...This electronic transmission is intended only for the person(s) named. It may contain information that is (i) proprietary to the sender, and/or (ii) privileged, confidential and/or otherwise exempt from disclosure under applicable State and Federal law, including, but not limited to, privacy standards imposed pursuant to the federal Health Insurance Portability and Accountability Act of 1996 (HIPAA). Receipt by anyone other than the named recipient(s) is not a waiver of any applicable privilege. If you received this confidential communication in error, please notify the sender immediately by reply e-mail message and permanently delete the original message from your system. -----Original Message----- From: Dragos Pavel [mailto:[EMAIL PROTECTED] Sent: Thursday, May 17, 2007 9:17 AM To: [email protected] Subject: Re: [xfire-user] XMLBeans bindings 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.getInPara meterName(DefaultServiceConfiguration.java:160) > at > org.codehaus.xfire.service.binding.ObjectServiceFactory.getInParameterNa me(ObjectServiceFactory.java:1044) > at org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation > (ObjectServiceFactory.java:798) > at > org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOperat ions(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 --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
