Details

    • Notice:
      When an issue is open, the "Fix Version/s" field conveys a target, not necessarily a commitment. When an issue is closed, the "Fix Version/s" field conveys the version that the issue was fixed in.

      Description

      Code patch for discovering the base URL for Pentaho from an environment variable. This allows "auto-discovery" of the host machine when paired with a simple shell script to set the environment variable when the container app starts up (tomcat or jboss or whatever).

        Issue Links

          Activity

          Hide
          Andreas Kollegger added a comment -

          Simple patch for retrieving the baseURL from an environment variable.

          Use the following bash shell snippet in a startup script to set the environment variable...

          IP_ADDR=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk '

          { print $1}

          '`
          export PENTAHO_BASE_URL=http://$IP_ADDR/pentaho/

          Show
          Andreas Kollegger added a comment - Simple patch for retrieving the baseURL from an environment variable. Use the following bash shell snippet in a startup script to set the environment variable... IP_ADDR=`ifconfig | grep 'inet addr:'| grep -v '127.0.0.1' | cut -d: -f2 | awk ' { print $1} '` export PENTAHO_BASE_URL= http://$IP_ADDR/pentaho/
          Hide
          Kurtis Cruzada added a comment -

          Please review.

          Show
          Kurtis Cruzada added a comment - Please review.
          Hide
          Kurtis Cruzada added a comment -

          This changed in 3.8 where the base-url is no longer used.

          Show
          Kurtis Cruzada added a comment - This changed in 3.8 where the base-url is no longer used.

            People

            • Assignee:
              Kurtis Cruzada
              Reporter:
              Andreas Kollegger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: