Matt your are a star.
Thanks so much for your help. It runs !!

I have detailed the installation process for me and share it here
because i am sure it will help others
---

install openbluedragon on ubuntu 6.06 with plesk control panel 8.6.0
in fresh vps server running apache 2.0 and tomcat 5

1. Create user and domain in plesk
choose shared ip
choose create default client account
yourdomain.com
physical hosting
ftp user youruser
ftp pass yourpassword
ssi php (safe mode on)
custom error


swith on tomcat from plesk

connet to server with putty as root

change tomcat user to access admin panel
cd /var/lib/tomcat5/conf
vim tomcat-users.xml
--
add those lines
  <role rolename="admin"/>
  <role rolename="manager"/>
  modify this line as follows
  <user username="tomcat" password="tomcat"
roles="tomcat,admin,manager"/>
--
restart tomcat
/etc/init.d/tomcat5 restart

check if can access tomcat manager
http://youripaddress:8180/

Plesk comes with java 1.4 and openbd needs 1.5

check current version of java should be 1.4 at this stage
java -version

apt-get install sun-java5-bin
apt-get install sun-java5-jdk
update-java-alternatives -l
update-alternatives --config java
chose the 1.5 one

export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
export _JAVA_OPTIONS='-Xms64M -Xmx128m'

check current version of java should be 1.5 at this stage
java -version

restart tomcat
/etc/init.d/tomcat5 restart

install openbluedragon.war from tomcat manager
http://youripaddress:8180/

create file vhost.conf to allow apache mod proxy to tomcat in plesk
environment (this is specific to plesk)
(see http://www.gadberry.com/aaron/2006/02/09/plesk_vhost/)
vim /var/www/vhosts/yoursite.com/conf/vhost.conf
and add this content
--
    ProxyPass / http://youripaddress:8180/openbluedragon/
    ProxyPassReverse / http://youripaddress:8180/openbluedragon/
--
reconfigure plesk to include this conf file
/usr/local/psa/admin/sbin/websrvmng -u --vhost-name=yoursite.com

load module for modproxy in apache
a2enmod proxy_http
a2enmod proxy_ftp
a2enmod proxy
a2enmod proxy_connect
/etc/init.d/apache2 force-reload

edit file to allow proxy in (http://groups.google.com/group/openbd/
browse_thread/thread/a7933efac9f92bfc?hl=en)
vim /etc/apache2/mods-available/proxy.conf
/etc/init.d/apache2 force-reload
/etc/init.d/apache2 restart

add a ftp user to access openbd dir on tomcat (see 
http://kb.parallels.com/en/415)
/usr/sbin/useradd -d /var/lib/tomcat5/webapps/openbluedragon -s /bin/
false yourftpuser
/usr/sbin/usermod -G psacln yourftpuser
#add user to tomcat group
/usr/sbin/usermod -G tomcat yourftpuser
#let the tomcat group write on the webroot dir of openbd
/var/lib/tomcat5/webapps# chmod g+w openbluedragon

---

I hope this will help others, I am a total newbie and got it working
finally. It would have taken far less time for someone with a little
more linux and java experience but i guess that if you have the same
kind of environment you should get going.

I am still having some little difficulties connection to my mysql
datasource and suspect that there is a linux user permission thingy
behind that, but for the rest of it it works fine
--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official blog @ http://blog.openbluedragon.org/
!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to