I have similar error while trying to deploy a basic grails application to Glassfish (v3 build 74.2):
"Exception while loading the app : java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager': Cannot resolve reference to bean 'sessionFactory' while setting bean property..."
[Message sent by forum member 'bilgehan']
http://forums.java.net/jive/thread.jspa?messageID=400948