1 Reply Latest reply on Mar 20, 2013 4:26 AM by r035198x

    Change default context of EAR file

      I'm deploying an EAR file on weblogic 10.3.4. The EAR file contains a war file and a jar file that implements web services using EJBs.

      The application deploys and is functioning correctly. The application is available from the following URLs:
      web application: http://hostname:8001/http/webServlet/index.jsp
      web services: http://hostname:8001/wsapi/Service1 and http://hostname:8001/wsapi/Service2

      However, I would like configure the deployment to insert the "app1" string into the URL so the application is available like this:
      web application: http://hostname:8001/app1/http/webServlet/index.jsp
      web services: http://hostname:8001/app1/wsapi/Service1 and http://hostname:8001/app1/wsapi/Service2

      Does anyone know if this is possible? I've been looking at some of the configuration options in deployment plans, but can't seem to get anything working.


      Edited by: user2695214 on Mar 19, 2013 10:36 AM
        • 1. Re: Change default context of EAR file
          Did you you try configuring it in the application.xml file with something like
          <module id="yourWebModule">
          1 person found this helpful