PDA

View Full Version : My JBoss 4.0.3SP1 advanced install



fridrik
01-30-2006, 06:31 AM
Hello all,

just to share info, here is my JBoss403 install on my gnu/linux laptop

Assuming you'll work on /home/pentaho

Unpack JBoss4.0.3SP1 -> /home/pentaho/jboss
Unpack pentaho_solutions -> /home/pentaho/pentaho_solutions
Unpack pentaho_j2ee_deployments -> /home/pentaho/pentaho_j2ee_deployments
Edit file /home/pentaho/pentaho_j2ee_deployments/pentaho-webapp/WEB-INF/web.xml and set the solution-path value to /home/pentaho/pentaho_solutions
Edit file /home/pentaho/pentaho-solutions/system/smtp-email/email_config.xml and fill it following the instructions in the comments. Also remember to set mail.userid and mail.password to something different from the empty tag, as this will lead to a "unconfigured email settings" message
In the /home/pentaho/pentaho_j2ee_deployments folder, run "ant build-jboss4.0.2-ear"
Copy dist/jboss4/pentaho.ear to /home/pentaho/jboss/server/default/deploy
Copy file /home/pentaho/pentaho_j2ee_deployments/pentaho-third-party/dom4j-1.6.1.jar to /home/pentaho/jboss/lib/ overwriting file /home/pentaho/jboss/lib/dom4j.jar
Copy file /home/pentaho/pentaho_j2ee_deployments/pentaho-third-party/jaxen.jar to /home/pentaho/jboss/lib
Unpack pentaho_data -> /home/pentaho/pentaho_data
In the /home/pentaho/pentaho_data folder, run "sh start_hypersonic.sh"
In the /home/penatho/jboss folder, run "sh bin/run.sh"


This step-by-step guide will lead you to a clean run and a working self-made demo install.

The only thing that does'n work is the "portal" ( http://localhost:8080/portal ). Am I missing something?

PS: please note that SH scripts are full of windows chars that should be eliminated before running the scripts. Just run a "dos2unix" against them.

Post edited by: fridrik, at: 01/30/2006 11:34

mbatchelor
01-30-2006, 10:03 AM
Yes. JBoss portal is a separate installation and product found on the JBoss website.

There are install instructions available there that detail how to get their portal installed in JBoss.

Note that the latest JBoss Portal has changed all their portlet deployment instructions. Essentially every portlet definition we have has to be reworked to get it to work with the JBoss 2.2 portal.

If you're planning to rework our portlets to work in JBoss 2.2 portal deployed against 4.0.3, we'd love to get the list of changes and updates you had to make so we can roll those back into the platform.

Thanks!

Marc