1 Reply Latest reply on Feb 27, 2006 9:59 AM by fss

    Context-root for EJB service-endpoint

    Kristof Taveirne Newbie


      I'm using an EJB2.1 session bean as a web service endpoint. When I deploy the context-root is equal to the name of the jar file the SB is in.

      Is there a way to change this? Maybe in a jboss-webservices.xml deployment descriptor? But I can't find any documentation on that.

      Can somebody help me out?


        • 1. Re: Context-root for EJB service-endpoint
          fss Newbie

          Hi Kristof,

          you can set the context-root in the jboss.xml.

          <?xml version="1.0" encoding="UTF-8"?>
          <!DOCTYPE jboss PUBLIC
           "-//JBoss//DTD JBOSS 4.0//EN"