User:Sdamaraju


Project

Clinical Data Visualization Tools Project


Issues while setting up the environment in Ubuntu

After you've got Tomcat 5.5 up and running. Make sure you can see the tomcat5-webapps pages, and the manager/admin areas. Details here : Installing Tomcat 5.5 on Ubuntu. Tomcat 5 has issues with the log files, do not do a 'sudo apt-get install tomcat'. This will install Tomcat 5.

  1. Editing build options
    The SVN version is meant for a windows install. Change the following:
    properties.xml :: tomcat.home should point to your tomcat installation directory (in my case /usr/share/tomcat5.5). Also edit the port (8180 in my case) and user name passwords for manager level access to tomcat (See tomcat-users.xml in Tomcat Install)
    build.properties :: Edit tomcat.home to your tomcat install dir
  2. run 'ant install'

These Issues I don't have anymore, but came across during my initial install.

  1. web-inf to WEB-INF ( I came across this error only when I used the ZIP file src of openmrs. Using svn - no issues. An alternate reason for this could be that I initially had openmrs running of my FAT32 partition, now it's on my ext3. If anyone could confirm this it would be great)
    Copy the contents of the lower case web-inf to the upper-case WEB-INF folder. Linux is case sensitive directories, Windows is Not. (Something to do with character format ?)
  2. Tomcat logs < This is a Tomcat5 specific problem (Confirmed by Justin) Doesn't seem to be an issue any more in 5.5. Could possibly ignore this step
    By Default, tomcat doesn't have write persmissions to the log file. Edit the catalina.policy file. Find the WEB APPLICATION PERMISSIONS section and add the following line:
    permission java.io.FilePermission "${tomcat.home}/logs/-","read,write";

My Blog Feed

<xfeeds feedlimit="5" totallimit="10"> http://feed.openmrs.org/feed/rss/user/23/ </xfeeds>