hi.  I don't know the current state of the installation options, but in the
past i've usually just given it what its asking for:  a runtime properties
file /usr/share/tomcat6/openmrs-runtime.properties.  You can create this
file by hand, set global read permissions on this file, and the contents of
this file can be found on the wiki:

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

You just need to change the mysql login, password, and maybe database name
in the connection string to your local settings.

d

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

>  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]><[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] - http://openmrs.org/
>
>
>
>  ------------------------------
> Click here to 
> unsubscribe<[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