Thanks James. After creating the openmrs-runtime-properties as suggested I got the installation to complete successfully. The system is now running. Thanks again!

Regards,
Charles Chou
On 2/8/2012 8:49 AM, James Arbaugh wrote:

Hi again Charles.

It sounds like you ran into a bug. Recent versions of OpenMRS should create the runtime properties file if it doesn't exist.

You could try to do it manually with the details on this page.

https://wiki.openmrs.org/display/docs/Overriding+OpenMRS+Default+Runtime+Properties

Thanks,

James

*From:*[email protected] [mailto:[email protected]] *On Behalf Of *Charles C. Chou
*Sent:* Wednesday, February 08, 2012 12:42 PM
*To:* [email protected]
*Subject:* Re: [OPENMRS-IMPLEMENTERS] Linux server installation

Hi,
The installation wizard is now stuck at Create database user and will not continue. The output details is as follows:

Create database user


Number of actions completed so far:2

Server log file output:

WARN - OpenmrsUtil.getRuntimeProperties(2274) |2012-02-08 07:34:04,225| Unable to find a runtime properties file at /usr/share/tomcat6/openmrs-runtime.properties WARN - OpenmrsUtil.getRuntimeProperties(2304) |2012-02-08 07:34:04,351| Unable to find properties file: /usr/share/tomcat6/.OpenMRS/openmrs-runtime.properties WARN - OpenmrsUtil.getRuntimeProperties(2321) |2012-02-08 07:34:04,352| Unable to find a runtime properties file. Initial setup is needed. View the webapp to run the setup wizard. WARN - InitializationFilter.verifyConnection(455) |2012-02-08 07:34:27,881| Error while checking the connection user account ERROR - Context.getServiceContext(253) |2012-02-08 07:35:13,877| serviceContext is null. Creating new ServiceContext()


    Any ideas?

On 2/8/2012 7:05 AM, Charles C. Chou wrote:

Thanks. That was the problem. There were 2 users created, tomcat and tomcat6, during the installation of tomcat somehow (I guess one is from the distro package and one is from apache-tomcat-6.0.29) The webapps directory was owned by tomcat6 where the tomcat6 process was running as user tomcat. After changing the webapps ownership to tomcat.tomcat the deployment of openmrs.war was successful. I have removed the confusing user tomcat6.

Thanks again!
Charles Chou

On 2/8/2012 6:19 AM, Michael Downey wrote:

Hi Charles,

On Wed, Feb 8, 2012 at 11:00 AM, Charles C. Chou<[email protected]> <mailto:[email protected]> wrote:

Feb 7, 2012 10:17:09 AM org.apache.catalina.core.ApplicationContext log
SEVERE: HTMLManager: FAIL - Deploy Upload Failed, Exception: null

A quick Google search suggests this is probably a file permissions
issue. Make sure all of your files are owned by the user that is
running the Tomcat process.

Hope this helps get you started!

Best regards,
Michael Downey
OpenMRS Community Infrastructure Team
[email protected] <mailto:[email protected]> - http://openmrs.org/

------------------------------------------------------------------------

Click here to unsubscribe <mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l> from OpenMRS Implementers' mailing list

------------------------------------------------------------------------
Click here to unsubscribe <mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l> from OpenMRS Implementers' mailing list


_________________________________________

To unsubscribe from OpenMRS Implementers' mailing list, send an e-mail to 
[email protected] with "SIGNOFF openmrs-implement-l" in the  body 
(not the subject) of your e-mail.

[mailto:[email protected]?body=SIGNOFF%20openmrs-implement-l]

Reply via email to