How to make application deployed in weblogic as default web application?

The default Web Application is presented to clients who do not specify a URI (or specify "/" as the URI). To deploy a Web Application as a default Web Application, set the value of the context-root element to "/" in its deployment descriptor.You can specify the context-root element in the weblogic.xml deployment descriptor for Web Applications that are packaged as a .war archive or exploded .war directory.
If you package the Web Application as part of an Enterprise Application (.ear archive or exploded .ear), specify the context-root in application.xml. Note that the application.xml context-root takes precedent over the weblogic.xml value.
To test this:
Enter the URL in the browser after successfully configured as explianed above:
http://{server_name}:{port_no}/
P.S: No need to mention the application name after /.

5 comments:

  1. how to trouble shoot weblogic server after applying patches if server is not started

    ReplyDelete
  2. Hello, I'm wondering where is the file application.xml located? There is such file inside ear archive, but should I then extract ear, change xml and pack it again?
    I cannot find it anywhere else

    ReplyDelete
  3. I need to to thank you for this great read!! I certainly loved every
    bit of it. I have you bookmarked to look at new things you post…

    my web site :: ranking kredytów

    ReplyDelete