Hi,

Can I have a look at your configuration for the cxf endpoint ?
It looks like something wrong with the configuration of CXF ServletTransportFactory.

Willem
On 1/12/11 9:11 PM, mschipperheyn wrote:

Hi,

I have a problem with cxf eating relevant errors on spring, which has just
cost me hours on a production machine.

The issue occurs whenever there is a problem in creating the Hibernate
sessionFactory. In those cases I always get something like this, in stead of
the REAL error which remains unreported unless you completely disable cxf:


DEBUG [main] DefaultListableBeanFactory.destroyBean(477) | Retrieved
dependent beans for bean '(inner bean)': [managerTx]
DEBUG [main] DisposableBeanAdapter.invokeCustomDestroyMethod(248) | Invoking
destroy method 'shutdown' on bean with name 'cxf'
WARN [main] DisposableBeanAdapter.invokeCustomDestroyMethod(280) |
Invocation of destroy method 'shutdown' failed on bean with name 'cxf'
org.springframework.beans.factory.BeanCreationNotAllowedException: Error
creating bean with name
'org.springframework.scheduling.quartz.SchedulerFactoryBean#0': Singleton
bean creation not$
         at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)
         at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
         at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)

[...]
.BeanCreationException: Error creating bean with name
'org.apache.cxf.transport.servlet.ServletTransportFactory' defined in class
path resource [META-INF/c$
PropertyAccessException 1:
org.springframework.beans.MethodInvocationException: Property 'bus' threw
exception; nested exception is
org.springframework.beans.factory.BeanCreationException:$
PropertyAccessException 2:
org.springframework.beans.MethodInvocationException: Property 'transportIds'
threw exception; nested exception is
org.springframework.beans.factory.BeanCreationE$
         at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1361)
         at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
         at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
         at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

[/code]

I am using Spring 3.05 and CXF 2.3.1

Is there a solution to this? It also seems like cxf is not properly shutdown
which is also worrying.

Marc


--
Willem
----------------------------------
FuseSource
Web: http://www.fusesource.com
Blog:    http://willemjiang.blogspot.com (English)
         http://jnn.javaeye.com (Chinese)
Twitter: willemjiang

Reply via email to