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.