Vishwas, yesterday In installed MySQL, no problem, and followed the
instructions that follow. When I ran gradlew clean tomcatRunWar I get the
following error. I should add that I did fetch changes from repository
prior to running gradlew. Again, help is much appreciated. Mario
67707 [localhost-startStop-1] WARN com.sun.jersey.spi.inject.Errors - The
following warnings have been detected with resource and/or provider classes:
WARNING: A HTTP GET method, public java.lang.String
org.mifosplatform.organisation.teller.api.TellerApiResource.getTransactionsWtihSummaryForCashier(java.lang.Long,java.lang.Long,java.lang.String,java.lang.String),
should not consume any entity.
WARNING: A HTTP GET method, public java.lang.String
org.mifosplatform.organisation.teller.api.TellerApiResource.getTransactionsForCashier(java.lang.Long,java.lang.Long,java.lang.String,java.lang.String),
should not consume any entity.
67951 [Thread-3] INFO
o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext - Closing
***@eb2abf3:
startup date [Fri Dec 19 11:28:46 EST 2014]; root of context hierarchy
67954 [SimpleAsyncTaskExecutor-7] INFO org.quartz.core.QuartzScheduler -
Scheduler Scheduler1group3_$_NON_CLUSTERED shutting down.
67954 [SimpleAsyncTaskExecutor-6] INFO
o.m.i.c.s.AbandonedConnectionCleanupShutdownListener - Shut-down of
AbandonedConnectionCleanupThread successful
67955 [SimpleAsyncTaskExecutor-7] INFO org.quartz.core.QuartzScheduler -
Scheduler Scheduler1group3_$_NON_CLUSTERED paused.
67955 [SimpleAsyncTaskExecutor-6] INFO
o.m.i.c.s.AbandonedConnectionCleanupShutdownListener - JDBC driver
de-registered successfully
67956 [SimpleAsyncTaskExecutor-7] INFO org.quartz.core.QuartzScheduler -
Scheduler Scheduler1group3_$_NON_CLUSTERED shutdown complete.
67956 [SimpleAsyncTaskExecutor-6] INFO
o.m.i.c.s.AbandonedConnectionCleanupShutdownListener - JDBC driver
de-registered successfully
67957 [SimpleAsyncTaskExecutor-7] INFO org.quartz.core.QuartzScheduler -
Scheduler Scheduler1group1_$_NON_CLUSTERED shutting down.
67958 [SimpleAsyncTaskExecutor-7] INFO org.quartz.core.QuartzScheduler -
Scheduler Scheduler1group1_$_NON_CLUSTERED paused.
67959 [SimpleAsyncTaskExecutor-7] INFO org.quartz.core.QuartzScheduler -
Scheduler Scheduler1group1_$_NON_CLUSTERED shutdown complete.
67960 [SimpleAsyncTaskExecutor-7] INFO org.quartz.core.QuartzScheduler -
Scheduler Scheduler1_$_NON_CLUSTERED shutting down.
67961 [SimpleAsyncTaskExecutor-7] INFO org.quartz.core.QuartzScheduler -
Scheduler Scheduler1_$_NON_CLUSTERED paused.
67962 [SimpleAsyncTaskExecutor-7] INFO org.quartz.core.QuartzScheduler -
Scheduler Scheduler1_$_NON_CLUSTERED shutdown complete.
67989 [Thread-3] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering
JMX-exposed beans on shutdown
68079 [Thread-3] INFO o.s.c.e.EhCacheManagerFactoryBean - Shutting down
EhCache CacheManager
68120 [Thread-3] INFO o.s.o.j.LocalContainerEntityManagerFactoryBean -
Closing JPA EntityManagerFactory for persistence unit 'jpa-pu'
Post by Vishwas BabuYes, that should be fine Mario.
Regards,
Vishwas
Post by m***@gmail.comThank you Vishwas. I'll go the route you suggested and install MySQL.
Might as well give a try to the command line and see where that goes.
Is there a specific version of MySQL that we should be using? I noticed
the latest GA release is 5.6.11
Thanks, Mario
Post by Vishwas BabuHi Mario,
Welcome to the Mifos Community :)
I had made a recent change which excludes mariadb4j from gradle
dependencies in the standard build process and had missed out on updating
Eclipe and Intellij setup instructions to reflect the same (Thanks Michael
for updating the same!). As you have noticed, we would now need to pass in
the environment variable "-Penv=dev" to ensure that these libraries are
picked up and you do not see compilation errors on an IDE.
Regarding the errors you are seeing, it looks like you are trying to
execute the wa (or run ServerWithMariaDB4jApplication) ? It seems that
the latest Mariadb4j jar is broken on windows (which is causing the spring
boot magic to fail). So you would have to setup the application the old
fashioned way (i.e install MySQL and then run the application through
gradlew clean tomcatRunWar), instructions for the same can be found at
https://github.com/openMF/mifosx/wiki#database-setup and
https://github.com/openMF/mifosx/wiki/Launching-
platform-server-locally-from-the-command-line
You could also run/debug ServerApplication (which connects to the
installed MySQL) if command line isn't your thing :)
Regards,
Vishwas
Post by Mario JarrinHI, I am a new developer and I am looking forward to grow my skills
while helping Mifos. I started yesterday and got an error during
compilation that ch.vorburger.mariadb4j was not included as part of the
code base. Looking today I see that the installation instructions for
IntelliJ have changed a little, specifically gradle, but still got a
failure, however I got a little farther!!
The error indicates that Tomcat is not starting and I've included the
first error I see. Any help would be appreciated. Thank you!
[localhost-startStop-1] INFO ch.vorburger.mariadb4j.DB - Installing a
new embedded database to: build\db\bin
[localhost-startStop-1] ERROR o.s.b.c.e.t.
ServletContextInitializerLifecycleListener - Error starting Tomcat
context: org.springframework.beans.factory.BeanCreationException
[main] WARN o.s.b.c.e.AnnotationConfigEmbeddedWebApplicationContext
- Exception encountered during context initialization - cancelling refresh
attempt
org.springframework.context.ApplicationContextException: Unable to
start embedded container; nested exception is org.springframework.boot.
context.embedded.EmbeddedServletContainerException: Unable to start
embedded Tomcat
------------------------------------------------------------
------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&
iu=/4140/ostg.clktrk
Mifos-developer mailing list
https://lists.sourceforge.net/lists/listinfo/mifos-developer