Thursday, April 22, 2010

How to change WebLogic Portal Administration Console URL?

WebLogic Portal Server provides an admin tool for each portal application. WebLogic Portal Administration Console is deployed a shared library so that each application can reference them to use it. To access the WebLogic Portal Administration Console you have to suffix "Admin" to the display name of the portal web application module. For eg. if you have a portal web application module named "CustomerService" then the WebLogic Portal Administration Console is access through http://server:port/CustomerServiceAdmin.

One of the common question is "How to change the URL to access the WebLogic Portal Administration Console for my application?" The main motive could be to customize the URL or to hide it from the users. The WebLogic Portal Administration Console shared library is registered in the weblogic-application.xml file of the Portal EAR. With in that weblogic specific descriptor there is an option to override the context-root value for the library using library-context-root-override tag. You can modify that value by directly editing the weblogic specific application deployment deployment descriptor or you can use deployment plan to override that value. The following is an example:




...


tools
CustomerServiceConsole





The above descriptor is located inside the META-INF folder of the portal enterprise application (EAR).