Results 1 to 2 of 2

Thread: Deploying JAX WS that uses Spring and Hibernate

  1. #1
    Join Date
    Jul 2009
    Location
    Dallas, TX
    Posts
    17

    Default 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. #2
    Join Date
    Jul 2009
    Location
    Dallas, TX
    Posts
    17

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •