thorstadt/grails-cxf — Issue #6: Creating a CXF service throws an exception in Grails 2.0.0
Author: sbglasius
Created: 2012-02-27 09:45:50+00:00
State: open

Hi,

Get this, when I try to expose a service via 'cxf':

2012-02-27 10:33:52,718	ERROR	org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/taxa].[CXFServlet]:	(): Servlet.service() for servlet [CXFServlet] in context with path [/taxa] threw exception
java.lang.IllegalStateException: No value for key [org.hibernate.impl.SessionFactoryImpl@2e559e7f] bound to thread ["http-bio-8080"-exec-2]
at org.springframework.transaction.support.TransactionSynchronizationManager.unbindResource(TransactionSynchronizationManager.java:209)
at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:206)

It looks as if the solution is to be found here:

http://jira.grails.org/browse/GPCXF-3?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel