0 Replies Latest reply on Dec 18, 2009 5:06 AM by ssssd sdsdsd

    Web services within an ejb-jar

    ssssd sdsdsd Newbie

      Hi,

       

      I am deploying an ejb.jar on JBoss 5.1 which also contains some web services. The web services are deployed as expected and are available. No problem so far.

      Some of the services use Hibernate and fail to pick up the Hibernate configuration which should be provided by jndi. When I deploy web services within a web application I use jboss-web.xml to configure the jndi resources via <resource-ref> but this won't work with ejb.jar.

      How can I configure the jndi resources for a ejb.jar so the web services will work with it?

       

      Any hints are highly appreciated.

      Best regards,

      Michael