-
Sep 21st, 2010, 10:52 PM
#1
Deploying JAX WS that uses Spring and Hibernate
I have a JAX-WS webservice that uses Spring and Hibernate. I am trying to deploy this in Glassfish v3, but get the following deployment error:
wss:binding#6f8015a1' defined in class path resource [applicationContext.xml]: Cannot create inner bean '(inner bean)' of type [org.jvnet.jax_ws_commons.spring.SpringService] while setting bean property 'service'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name '(inner bean)': FactoryBean threw exception on object creation; nested exception is javax.xml.ws.WebServiceException: Unable to create JAXBContext
at com.sun.enterprise.web.WebApplication.start(WebApp lication.java:117)
at org.glassfish.internal.data.EngineRef.start(Engine Ref.java:126)
at org.glassfish.internal.data.ModuleInfo.start(Modul eInfo.java:241)
It appears that Hibernate is the issue, because I am able to deploy a dummy web service without the Hibernate dependency.
Any help is greatly appreciated.
-
Sep 23rd, 2010, 11:10 AM
#2
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules