Guida al deploy del Pentaho.war
  • Scompatta JBoss -> \pentaho\jboss
  • Scompatta pentaho_solutions -> \pentaho\pentaho_solutions
  • Scompatta pentaho_j2ee_deployments -> \pentaho\pentaho_j2ee_deployments
  • Modifica \pentaho\pentaho_j2ee_deployments\pentaho-webapp\WEB-INF\web.xml e setta solution-path campo in \pentaho\pentaho_solutions
  • Nella cartella \pentaho\pentaho_j2ee_deployments , lancia "ant war-pentaho-jboss-mysql"
  • Copia build\pentaho.war in \pentaho\jboss\server\default\deploy
  • Copia il file \pentaho\pentaho_j2ee_deployments\pentaho-third-party/dom4j-1.6.1.jar in \pentaho\jboss\lib\ sovrascrivendo il file \pentaho\jboss\lib\dom4j.jar
  • Copia il file \pentaho/pentaho_j2ee_deployments/pentaho-third-party/jaxen.jar in \pentaho\jboss/lib
  • Copia sotto \server\default\deploy pentaho-style.war, e sw-style.war, e pentaho-portal-layout.war da \build\
  • Aggiungi i file datasource *-ds.xml nella cartella server\default\deploy
Nella versione demo ci sono in partenza datasource1-ds.xml (fino a datasource5-ds.xml), PentahoHibernate-ds.xml, quartz-ds.xml , shark-ds.xml , sampledata-ds.xml , sample data_admin-ds.xml , solution1-ds.xml (fino a solution5-ds.xml).
  • Copia il driver del DB
  • Vai <jboss_home>\bin
  • A seconda del tuo SO, apri run.conf (su Linux) o run.bat (su Windows). Edita come segue:
run.conf
#
# Specify options to pass to the Java VM.
#
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms128m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.awt.headless=true -Djava.io.tmpdir=$MYTEMP"
fi

run.bat
rem JVM memory allocation pool parameters. Modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -XX:MaxPermSize=256m

  • Modifica il file hibernate.cfg.xml per l’utente
  • Inserisci il driver mysql nella cartella \server\default\lib