Remote access
For security purposes, Pentaho is not accessible over the network by default. It is bound to the local machine (localhost), but you can opt to bind it to a network address to have it available externally. Assume you have Pentaho installed on a system with address "myhost.example.com" and you want remote hosts to be able to access it (you can use an IP address instead).web.xml
Firstly, you need to edit your web.xml file, normally found in ${pentaho}/jboss/server/default/deploy/pentaho.war/WEB-INF/ Find the section that looks like this:<context-param> <param-name>base-url</param-name> <param-value>http://localhost:8080/pentaho/</param-value> </context-param>
<context-param> <param-name>base-url</param-name> <param-value>http://myhost.example.com:8080/pentaho/</param-value> </context-param>
start-pentaho.sh
{pentaho}/start-pentaho.sh should be modified to bind JBoss on the desired address. Find this part:if [ "$?" = 0 ]; then
cd jboss/bin
sh run.sh
fiif [ "$?" = 0 ]; then
cd jboss/bin
sh run.sh -b 0.0.0.0
fistop-pentaho.sh
A similar change must be made to the Pentaho stop script. It is located at ${pentaho}/stop-pentaho.sh Find this part:cd jboss/bin ./shutdown.sh -S
cd jboss/bin ./shutdown.sh -S -s myhost.example.com
Resources
on 18/05/2009 at 12:10