Hitachi Vantara Pentaho Community Wiki
Child pages
  • 04. Changing Server Port
Skip to end of metadata
Go to start of metadata


To Do

Change port 8080.

Change port RMI 1098 and 1099 for Windows. 

  • To change the 8080 port :
    1. Open the file /pentaho-preconfiguredinstall/server/default/deploy/jbossweb-tomcat55.sar/server.xml
    2. Modify in following line the port number (the standard port 80 for example) :
<Connector port="8080" address="${jboss.bind.address}"
     maxThreads="250" strategy="ms" maxHttpHeaderSize="8192"
     emptySessionPath="true"
     enableLookups="false" redirectPort="8443" acceptCount="100"
     connectionTimeout="20000" disableUploadTimeout="true"/>

On linux

If you change the port to 80 on Linux on may be oblige to start your server as root

Warning

Dont forget to edit the web.xml in /pentaho-preconfiguredinstall/server/default/deploy/pentaho.war


  • No labels

6 Comments

  1. Anonymous

    I installed the BI suite with port = 9999 on XP but it defaults to 8080. Also, when I try to access the page, http://localhost:8080/pentaho/Home

    I get :

    exception org.apache.jasper.JasperException: Exception in JSP: /jsp/Home.jsp:100

    97: parameters.setParameter( "image-height", "320"); //$NON-NLS-1$ //$NON-NLS-2$
    98: StringBuffer content = new StringBuffer();
    99: ArrayList messages = new ArrayList();
    100: ChartHelper.doPieChart( "samples", "steel-wheels/homeDashboard", "territory.widget.xml", parameters, content, userSession, messages, null );
    101:
    102: pie1 = content.toString();
    103:

    Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    org.pentaho.core.system.SystemStatusFilter.doFilter(SystemStatusFilter.java:53)
     

    org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

  2. user-03227

    Path to server.xml in release pentaho_demo_hsqldb-1.6.0.GA.863 is:   

    pentaho-demo\jboss\server\default\deploy\jboss-web.deployer\server.xml

  3. user-03227

    path to web.xml can be found at: pentaho-demo\jboss\server\default\deploy\pentaho.war\WEB-INF\web.xml

  4. Anonymous

    There really should be a single configuration file for such things.

  5. Anonymous

    It looks like maybe Xinclude exists, but I don't know if it is enabled in JBoss or whatever is reading the *.xml files.  If Xinclude is available, that might be usable for reading stuff from a higher level configuration file, perhaps recursively (until the top level configuration file is reached) from
    <xi:include href="../local-configuration.xml"> 

  6. Anonymous

    in addition to the port, Pentaho starts bound to localhost only so remote web access doesn't work. The way to fix this is to change start-pentaho.sh to use "sh run.sh -b 0.0.0.0", which tells JBoss to bind to all IPs on the host.