Announcement Announcement Module
Collapse
No announcement yet.
Deploying JAX WS that uses Spring and Hibernate Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #2
    I figured this out from this post - http://forums.sun.com/thread.jspa?threadID=5410412

    Comment

    Working...
    X