Any help is appreciated with this startup issue:

Previously, I was able to get OpenMRS running and used it without issues until:
I successfully installed the basic module plugin using jetty.
Then, I ran it with tomcat 6.0.32 successfully,
I installed/removed basic module several times. Then, when
I attempted to stop basic module (not remove) the system crashed.
Since the crash I have not been able to start OpenMRS either using
tomcat or jetty.
Following is the series of steps I just tried with results:


IDE: Netbeans 7,1
OpenMRS version: 1.8.4-SNAPSHOT

I did clean/build - no issues
Project properties: <no server selected> J2EE 1.4
Right click on OpenMRS/build.xml, select jetty-run

jetty-run window gets:

[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Lorg/apache/maven/toolchain/ToolchainManager;
org.apache.maven.toolchain.ToolchainManager
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: Lorg/apache/maven/toolchain/ToolchainManager;
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
    at java.lang.Class.getDeclaredField(Class.java:1880)
at org.codehaus.plexus.util.ReflectionUtils.getFieldByNameIncludingSuperclasses(ReflectionUtils.java:31)

Then I see:

ERROR - Listener.contextInitialized(154) |2012-03-19 16:39:17,147| Got exception while starting up: java.lang.RuntimeException: Error occurred while trying to get the updates needed for the database. Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:578) at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:257)

_________________________________________

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

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

Reply via email to