March 17, 2010

How to change the port no of BI Publisher URL

Well, this was a long time pending post. I was asked to install BI Publisher in a machine and by default BI Publisher used 9704 as the port no in its GUI URL(http://localhost:9704/xmlpserver). Now if by some of your good/bad luck , you get a system where this port is already being in use. You are dead right? Nope..solution is there. :)

Solution: Simply change the port no. Now the question is where to change it. Simply there is a file named default-web-site.xml at {ORA_BIP_HOME}\oc4j_bi\j2ee\home\config directory. Open it and edit port=9704 by port=9703 attribute of tag.
Restart the BI Publisher server once and then you will be able to access BI Publisher UI using http://localhost:9703 instead of default one http://localhost:9704. 

Feel free to ask for questions. 
An exercise for readers ;) - Just check if it is possible to eliminate this port dependency thing for accessing any kind of urls. I meant to say if there can be a file where we just map post no and ip and set it as a domain name and then the software simply use that domain name(or machine name) to access the urls. How cool it will be. :)

Stay tuned..Till then bye !