Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: Run Pentaho BI-Server 6 on Port 80

  1. #1
    Join Date
    Nov 2015
    Posts
    4

    Default Run Pentaho BI-Server 6 on Port 80

    Hi all,
    I'm using biserver-ce-6.0.0.0-353
    I've already done quite some Googling, but didn't find any working solution so I hope somebody here can help me. I've found a Solution for version 5.4 of the Server but that's not working with 6 anymore.
    I'd like to run the Server on Port 80 without having an additional Apache Server redirecting requests from Port 80 to 8080. In Pentaho 5.4 there was some line in the tomcat/webapps/pentaho/WEB-INF/web.xml called "fully-qualified-url" where you could change the Port (+ Changing it in some other locations), however in version 6 it seems the configuration was moved to a different fine. Unfortunately, grepping for "8080" in all subfolders returns way too many results.
    Thanks for any help,
    Nils

  2. #2
    Join Date
    Aug 2006
    Posts
    287

    Default

    In 6.0 this is now been moved to the /biserver-ee/pentaho-solutions/system/server.properties

  3. #3
    Join Date
    Nov 2015
    Posts
    4

    Default

    EDIT: Sorry, submitted multiple posts as they were not published

    Thanks for the hint. However, I changed the Port to 80 in that file though the Server is still running on Port 8080, which also shows up in the logs:
    04-Nov-2015 11:33:50.232 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
    Would it be safe to use the sed command like stated here (http://wiki.pentaho.com/display/COM/...rt+and+address) and just replace all appearances of 8080 by 80?
    Last edited by NoelzeN; 11-10-2015 at 04:21 AM.

  4. #4
    Join Date
    Nov 2015
    Posts
    4

    Default

    Thanks for the hint.
    Now I changed the port in line
    Code:
        <Connector URIEncoding="UTF-8" port="8080" protocol="HTTP/1.1"
    in the file tomcat/conf/server.xml
    As well as changing the port in line
    Code:
    fully-qualified-server-url=http://localhost:8080/pentaho/
    in the file
    pentaho-solutions/system/server.properties

    However, now the server doesn't seem to respond anymore. In the catalina.out logfile, it says the Server was successfully started
    Code:
    Pentaho BI Platform server is ready. (Pentaho Open Source BA Server 6.0.0.0-353) Fully Qualified Server Url = http://localhost:80/pentaho/, Solution Path = /home/pentaho/biserver-ce/pentaho-solutions
    And also shows port 80 is used (Just found the log entry when I stopped the server, but I guess the meaning stays the same, it really uses Port 80)
    Code:
    04-Nov-2015 11:42:31.627 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-80"]
    However I can't reach the server and also don't get any messages in the logfile when trying to access it. Is there anything else I need to change?

    Thanks a lot for your help so far
    Last edited by NoelzeN; 11-10-2015 at 04:22 AM.

  5. #5
    Join Date
    Nov 2015
    Posts
    4

    Default

    EDIT: Sorry, submitted multiple posts as they were not published

    Thanks for your reply (For some reasons, my replies so far were not posted here).
    Is there anything else I need to change? I adjusted the port in server.properties as you suggested as well as in tomcat/conf/server.xml
    however I can't access the server on Port 80.
    Thanks a lot,
    Nils
    Last edited by NoelzeN; 11-10-2015 at 04:21 AM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.