Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Context path '/adf.oracle.domain.webapp' is already in use by the module

Perevertkin M ANov 20 2017 — edited Dec 14 2017

WebLogic Server Version: 12.2.1.2.0

When i deploy first application on adf server i  get 2 context roots:

The following URL context root(s) were defined and can be used as a starting point to test your application:

[10:17:34 AM] http://<host>:<port>/<application name>

[10:17:34 AM] http://<host>:<port>/adf.oracle.domain.webapp

And if  try to deploy  second application on adf server, i get next error:

[ERROR] weblogic.application.ModuleException: Context path '/adf.oracle.domain.webapp' is already in use by the module: adf.oracle.domain.webapp application: <application name>

weblogic.xml

<?xml version = '1.0' encoding = 'windows-1251'?>

<weblogic-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

                  xsi:schemaLocation="http://xmlns.oracle.com/weblogic/weblogic-web-app http://xmlns.oracle.com/weblogic/weblogic-web-app/1.5/weblogic-web-app.xsd"

                  xmlns="http://xmlns.oracle.com/weblogic/weblogic-web-app">

    <context-root><application name></context-root>

    <library-ref>

        <library-name>adf.oracle.domain.webapp</library-name>

    </library-ref>

    <security-role-assignment>

        <role-name>valid-users</role-name>

        <principal-name>users</principal-name>

    </security-role-assignment>

</weblogic-web-app>

When i  add context-root tag for  adf.oracle.domain.webapp library ref, context root don't changed.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 25 2017
Added on Nov 20 2017
4 comments
607 views