We hope you'll join us for our 4/23 webinar on using data tables to apply reference ranges and AE codes in OC4. For more information and to register, visit https://register.gotowebinar.com/register/2882170018956684555

Help with Installation on linux (Debian wheezy, OC: 3.1.2 web)

Dear all
we're evaluating OC @ work, therefore i'm trying to install OC on
Debian Wheezy (home machine, it's testing not stable), but i've
encountered a few problems. I'm not that tomcat guru, so i've
found a bit hard figuring out (i hardly think it could be dued to
more up to date platform sw compared to standard installation
requirements).
The output of my http://localhost:8080/OC/ (my Openclinica
installation dir) is
HTTP Status 404 - /OC/MainMenu
type Status report
message /OC/MainMenu
description The requested resource (/OC/MainMenu) is not available.
Apache Tomcat/7.0.26
My http://localhost:8080/manager/ says that OC is running (true)
If you need more infos (than those following), please tell me.
Any help/advice/feedback would be very appreciated.
Thank you,
Luca
==========================================
Steps followed in the installation process
==========================================
apt-get install apache2 postgresql-9.1 tomcat7 tomcat7-admin
openjdk-7-jdk libpostgresql-jdbc-java pgadmin3
# -------------
# Tomcat config
# -------------
unzip OpenClinica-web-3.1.2.zip
cd OpenClinica-web-3.1.2/distribution
unzip OpenClinica.war -d OC
su
cp -r OC -t /var/lib/tomcat7/webapps/
cd /var/lib/tomcat7
chown -R tomcat7 OC
chgrp -R tomcat7 OC
/etc/init.d/tomcat7 restart
# ---------------
# Postgres config
# ---------------
su postgres
psql -c "CREATE ROLE clinica LOGIN ENCRYPTED PASSWORD
'changeme' SUPERUSER NOINHERIT NOCREATEDB NOCREATEROLE "
psql -c "CREATE DATABASE openclinica WITH ENCODING='UTF8' OWNER=clinica"
# back to root and change datainfo.properties
exit
emacs -nw /var/lib/tomcat7/webapps/OC/WEB-INF/classes/datainfo.properties
# as follow
dbType=postgres
dbUser=clinica
dbPass=changeme
db=${WEBAPP.lower}
dbPort=5432
dbHost=localhost
This discussion has been closed.