Hello Experts,
We are migrating ADF web application which was in 11.1.6 to 12.1.3. We could able to migrate the whole application successfully, and launch page - but facing a weird issue with context root.
Problem:
Landing page once application runs
https://demo.xyz.com/DashboardWeb/faces/regions/sample.jspx
This landing page has Menu items and when I click on Admin menu item (All menu items has same issue ) - Ideally it should navigate to,
https://demo.xyz.com/AdminWeb/faces/regions/menu.jspx - Which ideally works fine in 11.1.6,
but in 12.1.3 after migration it navigates to below URL which indeed shows 404 error.
https://demo.xyz.com/DashboardWeb/AdminWeb/faces/regions/menu.jspx
( AdminWeb gets appends to DashboardWeb)
When I remove DashboardWeb from URL, it works fine.
Question is- Why is the last context root stays and new one appends to it in first place? Do I need to set anything specific in 12c?
My weblogic-application.xml looks like below
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
</weblogic-application>
Any help on this would be greatly appreciated.
Thanks,
Vinay