How to change Pentaho default start port 8080 (Tomcat)


By default Pentaho Business Analytics contains a packaged “mini” tomcat which starts Pentaho on port 8080, this maybe an issue ( BIND ) if we have another web applications running over this port. To change this port we need to modify the following files.

  1. biserver-ce\tomcat\webapps\pentaho\WEB-INF\web.xml
     <!-- FullyQualifiedServerUrl is used only in the case of offline content generation and whenever something need to talk back to the server -->
     <context-param>
     <param-name>fully-qualified-server-url</param-name>
     <param-value>http://localhost:8787/pentaho/</param-value>
     </context-param>
    
  2.  \biserver-ce-4.5.0-stable\biserver-ce\tomcat\conf\server.xml
     <Connector URIEncoding="UTF-8" port="8787" protocol="HTTP/1.1" connectionTimeout="20000"
     redirectPort="8443" /,>
    

Remember to restart BI Server and it is always a good idea to clear logs, temp and catalina localhost temp files.