How I loaded ProjectCard on a RHEL 5 / Tomcat 5 machine

Please post technical support issues on this forum. You can also post questions about how to use ProjectCards.

How I loaded ProjectCard on a RHEL 5 / Tomcat 5 machine

Postby wmelnick » Wed Mar 04, 2009 3:14 pm

Given that I had a bit of a problem getting everything to work properly and I see from these forums that others have as well, here is how to get ProjectCards 2.x running on a RHEL5 or CentOS5 machine with tomcat5:

Be sure the following RPMs are loaded:
Now load up Sun's java version 1.4. gcj will *NOT* work. Once you have it loaded be sure the your alternatives for java and java_sdk are pointing to sun's java:
    $ ls -l /etc/alternatives/java /etc/alternatives/java_sdk
    lrwxrwxrwx 1 root root 32 Mar 3 15:51 /etc/alternatives/java -> /usr/java/j2sdk1.4.2_19/bin/java
    lrwxrwxrwx 1 root root 23 Mar 3 15:50 /etc/alternatives/java_sdk -> /usr/java/j2sdk1.4.2_19

Put the projectcards.war file into /var/lib/tomcat5/webapps and the projectcards.xml file into /etc/tomcat5/Catalina/localhost

Create the data directory and give it the proper permissions:
Code: Select all
mkdir -p /var/lib/tomcat5/webapps/data/projectcards
chown -R root:tomcat /var/lib/tomcat5/webapps/data
chmod -R g+w /var/lib/tomcat5/webapps/data

Edit the projectcards.xml file so that the environment value so that it has the above directory in place:
Code: Select all

Add roles and users to /etc/tomcat5.xml for manager and admin:
Code: Select all
  {role rolename="manager"/}
  {role rolename="admin"/}
  {user username="manager" password="password1" roles="manager"/}
  {user username="admin" password="password2" roles="admin"/}
Those should of course be pointy brackets and not curly brackets, but it does not show up properly if I do it that way.

That should bring everything up.

Hope this helps!
Posts: 1
Joined: Wed Mar 04, 2009 2:55 pm

Return to Support and Questions

Who is online

Users browsing this forum: No registered users and 2 guests