Motech "welcome to startup settings"

111 views
Skip to first unread message

Rachel Quimby

unread,
Mar 19, 2015, 8:11:56 PM3/19/15
to motec...@googlegroups.com
Hello,
I’m confused by this screen and where I can find the proper settings for my machine. Thanks, Rachel

Frank Huster

unread,
Mar 19, 2015, 9:14:08 PM3/19/15
to motec...@googlegroups.com
It may be a bit overwhelming at first, but it's actually not as bad as it seems.

ActimeMQ Queue URL: if you installed ActiveMQ the 'normal' way, clicking the "Use" button will work. [be sure to start activemq, btw]

SQL: if you installed mysql, click the first "Use" button, if you installed PostgreSQL, click the seond "Use" button

Assuming you used "root" and "password" for the username/password, type root and password in the respective fields.

Click either of the Tenant ID buttons.

Click "Verify SQL Connection" - check & fix sql server installed & username/pass if you have a problem.

Then click Continue, then you'll be taken to the screen that asks you to create the initial motech user.

f

--
You received this message because you are subscribed to the Google Groups "MOTECH Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motech-dev+...@googlegroups.com.
To post to this group, send email to motec...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/motech-dev/FE85B5ED-7117-4ECC-8A86-19E2D3391DDB%40mills.edu.
For more options, visit https://groups.google.com/d/optout.



--
Frank Huster
Mobile Health Innovations
Grameen Foundation

rqu...@mills.edu

unread,
Mar 21, 2015, 3:11:48 PM3/21/15
to motec...@googlegroups.com
Thanks Frank. I got the SQL Connection Verified with these settings:

But then, this page loads forever.... (30 min) any ideas as to why? I did a fresh git pull and restarted tomcat because I walked away from my computer for a while. 

Should I just keep waiting? Does it take hours?

Thanks, Rachel

Koshal Thirumalai

unread,
Mar 21, 2015, 3:22:11 PM3/21/15
to motec...@googlegroups.com

Rachel, does a page refresh help? Can you look at your tomcat catalina.out file to see if the logs have anything interesting in them?

rqu...@mills.edu

unread,
Mar 21, 2015, 5:18:05 PM3/21/15
to motec...@googlegroups.com
I found this in the output after running:
$ cd usr/local/tomcat/bin
$
./startup.sh && tail -f ../logs/catalina.out

It appears there is at least one error creating beans: 

2015-03-21 14:04:46,570 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries

 

2015-03-21 14:04:46,574 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn'
t clear tomcat cacheresourceEntries

2015-03-21 14:04:46,578 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries

2015-03-21 14:04:46,631 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn'
t clear tomcat cacheresourceEntries

2015-03-21 14:04:46,636 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries

2015-03-21 14:04:46,705 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn'
t clear tomcat cacheresourceEntries

2015-03-21 14:04:46,709 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries

2015-03-21 14:04:46,769 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn'
t clear tomcat cacheresourceEntries

2015-03-21 14:04:46,799 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries

2015-03-21 14:04:46,803 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn'
t clear tomcat cacheresourceEntries

2015-03-21 14:04:46,806 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries

2015-03-21 14:04:46,892 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn'
t clear tomcat cacheresourceEntries

2015-03-21 14:04:46,895 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries

2015-03-21 14:04:46,898 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn'
t clear tomcat cacheresourceEntries

21-Mar-2015 14:04:47.686 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'bootstrap-servlet'

2015-03-21 14:04:53,438 ERROR [org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener] Application context refresh failed (MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=osgibundle:/META-INF/spring/*.xml))

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [bundle://75.0:1/META-INF/motech/mdsCommonContext.xml]: Cannot create inner bean 'mdsConfig$created#2745fd39' while setting bean property 'propertiesArray' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdsConfig' defined in URL [bundle://75.0:1/META-INF/motech/mdsCommonContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:401)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:362)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:254)

 at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:220)

 at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:224)

 at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:177)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)

 at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)

 at java.lang.Thread.run(Thread.java:745)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdsConfig' defined in URL [bundle://75.0:1/META-INF/motech/mdsCommonContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:353)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)

 ... 21 more

Caused by: java.lang.NullPointerException

 at org.motechproject.commons.sql.service.impl.SqlDBManagerImpl.checkForDatabase(SqlDBManagerImpl.java:112)

 at org.motechproject.commons.sql.service.impl.SqlDBManagerImpl.createDatabase(SqlDBManagerImpl.java:78)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:606)

 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)

 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)

 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

 at com.sun.proxy.$Proxy30.createDatabase(Unknown Source)

 at org.motechproject.mds.config.MdsConfig.init(MdsConfig.java:42)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:606)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)

 ... 33 more

2015-03-21 14:04:53,468 ERROR [org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [org.motechproject.motech-platform-dataservices], unsatisfied dependencies: none

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [bundle://75.0:1/META-INF/motech/mdsCommonContext.xml]: Cannot create inner bean 'mdsConfig$created#2745fd39' while setting bean property 'propertiesArray' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdsConfig' defined in URL [bundle://75.0:1/META-INF/motech/mdsCommonContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:401)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:362)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:254)

 at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:220)

 at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:224)

 at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:177)

 at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)

 at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)

 at java.lang.Thread.run(Thread.java:745)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdsConfig' defined in URL [bundle://75.0:1/META-INF/motech/mdsCommonContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)

 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:353)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)

 ... 21 more

Caused by: java.lang.NullPointerException

 at org.motechproject.commons.sql.service.impl.SqlDBManagerImpl.checkForDatabase(SqlDBManagerImpl.java:112)

 at org.motechproject.commons.sql.service.impl.SqlDBManagerImpl.createDatabase(SqlDBManagerImpl.java:78)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:606)

 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)

 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)

 at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)

 at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)

 at com.sun.proxy.$Proxy30.createDatabase(Unknown Source)

 at org.motechproject.mds.config.MdsConfig.init(MdsConfig.java:42)

 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:606)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522)

 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)

 ... 33 more


Thanks, Rachel

Frank Huster

unread,
Mar 22, 2015, 9:30:35 AM3/22/15
to motec...@googlegroups.com
Did you create a database named motech_data_services?


For more options, visit https://groups.google.com/d/optout.

rqu...@mills.edu

unread,
Mar 23, 2015, 12:07:29 AM3/23/15
to motec...@googlegroups.com
No, I'm on a Mac but I see those instructions in step 6 of the Ubuntu instructions. Should I do those steps? -Rachel

Lauren Lavoie

unread,
Mar 23, 2015, 12:40:16 AM3/23/15
to motec...@googlegroups.com
Yes, you need to do those steps. Apologies for the Mac instructions not including that info! We'll get that fixed.


For more options, visit https://groups.google.com/d/optout.



--
Lauren Lavoie
Software Development Manager, Mobile Health Innovations
Grameen Foundation
2101 4th Ave | Suite 1550 | Seattle, WA 98121
lla...@grameenfoundation.org | Skype:laurenlavoie
Connecting the World's Poor to Their Potential

rqu...@mills.edu

unread,
Mar 23, 2015, 5:20:00 PM3/23/15
to motec...@googlegroups.com
I have done the Ubuntu instructions to set up MySQL as written in step 6 and although I'm on a Mac they seemed to be fine, except that on the last instruction

mysql -u root -p motechquartz < modules/scheduler/scheduler/sql/create_db_schema_quartz_v2.1.sql

I got a directory or file not found error so I had to make this last part of the path 'sql/create_db_schema_quartz_v2.1.sql'.

I then restarted my computer and started the MySQL server through System Preferences, started activemq, did a clean install for maven project in motech, when I started tomcat with the command to feed catalina.out, it never successfully started (I've dine this three times, after stopping with command-c, and it keeps stopping at the same point) and this is what the log looks like and I haven't been able to make much sense of it:

./startup.sh && tail -f ../logs/catalina.out

Using CATALINA_BASE:   /usr/local/tomcat

Using CATALINA_HOME:   /usr/local/tomcat

Using CATALINA_TMPDIR: /usr/local/tomcat/temp

Using JRE_HOME:        /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home

Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar

Tomcat started.

Caused by: java.lang.NullPointerException

at org.motechproject.server.impl.ProxyServlet.destroy(ProxyServlet.java:58)

at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1433)

... 10 more


23-Mar-2015 11:13:18.760 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Closing Spring root WebApplicationContext

23-Mar-2015 11:13:18.774 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

23-Mar-2015 11:13:18.774 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]

23-Mar-2015 11:13:18.774 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 11:13:18.774 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 12:26:14.958 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.20

23-Mar-2015 12:26:14.960 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 15 2015 18:10:42 UTC

23-Mar-2015 12:26:14.960 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.20.0

23-Mar-2015 12:26:14.961 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Mac OS X

23-Mar-2015 12:26:14.961 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.9.5

23-Mar-2015 12:26:14.961 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          x86_64

23-Mar-2015 12:26:14.961 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre

23-Mar-2015 12:26:14.962 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.7.0_75-b13

23-Mar-2015 12:26:14.962 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

23-Mar-2015 12:26:14.962 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/Cellar/tomcat/8.0.20/libexec

23-Mar-2015 12:26:14.962 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/Cellar/tomcat/8.0.20/libexec

23-Mar-2015 12:26:14.963 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties

23-Mar-2015 12:26:14.964 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

23-Mar-2015 12:26:14.964 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1024m

23-Mar-2015 12:26:14.965 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m

23-Mar-2015 12:26:14.965 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxPermSize=1024m

23-Mar-2015 12:26:14.965 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed

23-Mar-2015 12:26:14.965 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat

23-Mar-2015 12:26:14.966 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat

23-Mar-2015 12:26:14.966 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp

23-Mar-2015 12:26:14.966 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/rachelquimby/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.

23-Mar-2015 12:26:15.269 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

23-Mar-2015 12:26:15.318 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]

java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:732)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)

at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:576)

at org.apache.catalina.startup.Catalina.load(Catalina.java:599)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)


23-Mar-2015 12:26:15.334 SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-8080]]

org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:576)

at org.apache.catalina.startup.Catalina.load(Catalina.java:599)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)

Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:962)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

... 12 more

Caused by: java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:732)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)

at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)

... 13 more


23-Mar-2015 12:26:15.346 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 12:26:15.373 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["ajp-nio-8009"]

java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:732)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:576)

at org.apache.catalina.startup.Catalina.load(Catalina.java:599)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)


23-Mar-2015 12:26:15.382 SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[AJP/1.3-8009]]

org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8009]]

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:576)

at org.apache.catalina.startup.Catalina.load(Catalina.java:599)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)

Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:962)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

... 12 more

Caused by: java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:732)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)

... 13 more


23-Mar-2015 12:26:15.384 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1406 ms

23-Mar-2015 12:26:15.483 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

23-Mar-2015 12:26:15.484 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.20

23-Mar-2015 12:26:15.538 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/motech-platform-server.war

23-Mar-2015 12:26:23.836 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath

23-Mar-2015 12:26:25.033 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext

23-Mar-2015 12:26:26.320 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'bootstrap-servlet'

23-Mar-2015 12:26:28.061 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/motech-platform-server.war has finished in 12,513 ms

23-Mar-2015 12:26:28.062 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/docs

23-Mar-2015 12:26:28.130 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/docs has finished in 68 ms

23-Mar-2015 12:26:28.131 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/examples

23-Mar-2015 12:26:28.737 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/examples has finished in 605 ms

23-Mar-2015 12:26:28.737 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/host-manager

23-Mar-2015 12:26:28.812 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/host-manager has finished in 75 ms

23-Mar-2015 12:26:28.813 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/manager

23-Mar-2015 12:26:28.878 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/manager has finished in 65 ms

23-Mar-2015 12:26:28.891 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/ROOT

23-Mar-2015 12:26:28.952 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/ROOT has finished in 60 ms

23-Mar-2015 12:26:28.957 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 13573 ms

23-Mar-2015 12:26:28.986 SEVERE [main] org.apache.catalina.core.StandardServer.await StandardServer.await: create[localhost:8005]:

java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)

at java.net.ServerSocket.bind(ServerSocket.java:376)

at java.net.ServerSocket.<init>(ServerSocket.java:237)

at org.apache.catalina.core.StandardServer.await(StandardServer.java:420)

at org.apache.catalina.startup.Catalina.await(Catalina.java:713)

at org.apache.catalina.startup.Catalina.start(Catalina.java:659)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)


23-Mar-2015 12:26:28.989 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]

23-Mar-2015 12:26:28.989 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 12:26:28.990 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina

23-Mar-2015 12:26:29.111 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'bootstrap-servlet'

23-Mar-2015 12:26:29.116 SEVERE [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Servlet proxy threw unload() exception

javax.servlet.ServletException: Servlet.destroy() for servlet proxy threw exception

at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1454)

at org.apache.catalina.core.StandardWrapper.stopInternal(StandardWrapper.java:1764)

at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5372)

at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1425)

at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1414)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.NullPointerException

at org.motechproject.server.impl.ProxyServlet.destroy(ProxyServlet.java:58)

at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1433)

... 10 more


23-Mar-2015 12:26:29.117 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Closing Spring root WebApplicationContext

23-Mar-2015 12:26:29.131 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

23-Mar-2015 12:26:29.131 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]

23-Mar-2015 12:26:29.131 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 12:26:29.131 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]

^C

Rachel-Quimbys-MacBook-Pro:bin rachelquimby$ ./startup.sh && tail -f ../logs/catalina.out

Using CATALINA_BASE:   /usr/local/tomcat

Using CATALINA_HOME:   /usr/local/tomcat

Using CATALINA_TMPDIR: /usr/local/tomcat/temp

Using JRE_HOME:        /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home

Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar

Tomcat started.

Caused by: java.lang.NullPointerException

at org.motechproject.server.impl.ProxyServlet.destroy(ProxyServlet.java:58)

at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1433)

... 10 more


23-Mar-2015 12:26:29.117 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Closing Spring root WebApplicationContext

23-Mar-2015 12:26:29.131 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

23-Mar-2015 12:26:29.131 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]

23-Mar-2015 12:26:29.131 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 12:26:29.131 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 14:01:18.798 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.20

23-Mar-2015 14:01:18.801 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 15 2015 18:10:42 UTC

23-Mar-2015 14:01:18.801 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.20.0

23-Mar-2015 14:01:18.802 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Mac OS X

23-Mar-2015 14:01:18.802 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.9.5

23-Mar-2015 14:01:18.802 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          x86_64

23-Mar-2015 14:01:18.802 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre

23-Mar-2015 14:01:18.803 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.7.0_75-b13

23-Mar-2015 14:01:18.803 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation

23-Mar-2015 14:01:18.803 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/Cellar/tomcat/8.0.20/libexec

23-Mar-2015 14:01:18.804 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/Cellar/tomcat/8.0.20/libexec

23-Mar-2015 14:01:18.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties

23-Mar-2015 14:01:18.805 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager

23-Mar-2015 14:01:18.806 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1024m

23-Mar-2015 14:01:18.807 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m

23-Mar-2015 14:01:18.811 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxPermSize=1024m

23-Mar-2015 14:01:18.812 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed

23-Mar-2015 14:01:18.812 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat

23-Mar-2015 14:01:18.813 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat

23-Mar-2015 14:01:18.814 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp

23-Mar-2015 14:01:18.814 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/rachelquimby/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.

23-Mar-2015 14:01:19.284 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]

23-Mar-2015 14:01:19.336 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["http-nio-8080"]

java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:732)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)

at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:576)

at org.apache.catalina.startup.Catalina.load(Catalina.java:599)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)


23-Mar-2015 14:01:19.350 SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[HTTP/1.1-8080]]

org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8080]]

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:576)

at org.apache.catalina.startup.Catalina.load(Catalina.java:599)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)

Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:962)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

... 12 more

Caused by: java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:732)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)

at org.apache.coyote.http11.AbstractHttp11JsseProtocol.init(AbstractHttp11JsseProtocol.java:120)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)

... 13 more


23-Mar-2015 14:01:19.351 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 14:01:19.354 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end point associated with ProtocolHandler ["ajp-nio-8009"]

java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:732)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:576)

at org.apache.catalina.startup.Catalina.load(Catalina.java:599)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)


23-Mar-2015 14:01:19.356 SEVERE [main] org.apache.catalina.core.StandardService.initInternal Failed to initialize connector [Connector[AJP/1.3-8009]]

org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8009]]

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:106)

at org.apache.catalina.core.StandardService.initInternal(StandardService.java:567)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:851)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

at org.apache.catalina.startup.Catalina.load(Catalina.java:576)

at org.apache.catalina.startup.Catalina.load(Catalina.java:599)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:310)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:484)

Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed

at org.apache.catalina.connector.Connector.initInternal(Connector.java:962)

at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:102)

... 12 more

Caused by: java.net.BindException: Address already in use

at sun.nio.ch.Net.bind0(Native Method)

at sun.nio.ch.Net.bind(Net.java:444)

at sun.nio.ch.Net.bind(Net.java:436)

at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:214)

at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)

at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:343)

at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:732)

at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:457)

at org.apache.catalina.connector.Connector.initInternal(Connector.java:960)

... 13 more


23-Mar-2015 14:01:19.359 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1693 ms

23-Mar-2015 14:01:19.446 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina

23-Mar-2015 14:01:19.446 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.20

23-Mar-2015 14:01:19.510 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/motech-platform-server.war

23-Mar-2015 14:01:25.872 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath

23-Mar-2015 14:01:26.190 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext

23-Mar-2015 14:01:27.238 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'bootstrap-servlet'

23-Mar-2015 14:01:28.707 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/motech-platform-server.war has finished in 9,196 ms

23-Mar-2015 14:01:28.709 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/docs

23-Mar-2015 14:01:28.734 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/docs has finished in 25 ms

23-Mar-2015 14:01:28.734 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/examples

23-Mar-2015 14:01:29.329 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/examples has finished in 595 ms

23-Mar-2015 14:01:29.329 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/host-manager

23-Mar-2015 14:01:29.394 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/host-manager has finished in 64 ms

23-Mar-2015 14:01:29.394 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/manager

23-Mar-2015 14:01:29.483 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/manager has finished in 89 ms

23-Mar-2015 14:01:29.484 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/ROOT

23-Mar-2015 14:01:29.552 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/ROOT has finished in 68 ms

23-Mar-2015 14:01:29.559 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 10199 ms

23-Mar-2015 14:01:29.566 SEVERE [main] org.apache.catalina.core.StandardServer.await StandardServer.await: create[localhost:8005]:

java.net.BindException: Address already in use

at java.net.PlainSocketImpl.socketBind(Native Method)

at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)

at java.net.ServerSocket.bind(ServerSocket.java:376)

at java.net.ServerSocket.<init>(ServerSocket.java:237)

at org.apache.catalina.core.StandardServer.await(StandardServer.java:420)

at org.apache.catalina.startup.Catalina.await(Catalina.java:713)

at org.apache.catalina.startup.Catalina.start(Catalina.java:659)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:351)

at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:485)


23-Mar-2015 14:01:29.566 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-nio-8080"]

23-Mar-2015 14:01:29.566 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 14:01:29.566 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service Catalina

23-Mar-2015 14:01:29.642 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Destroying Spring FrameworkServlet 'bootstrap-servlet'

23-Mar-2015 14:01:29.647 SEVERE [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Servlet proxy threw unload() exception

javax.servlet.ServletException: Servlet.destroy() for servlet proxy threw exception

at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1454)

at org.apache.catalina.core.StandardWrapper.stopInternal(StandardWrapper.java:1764)

at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5372)

at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)

at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1425)

at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1414)

at java.util.concurrent.FutureTask.run(FutureTask.java:262)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:745)

Caused by: java.lang.NullPointerException

at org.motechproject.server.impl.ProxyServlet.destroy(ProxyServlet.java:58)

at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1433)

... 10 more


23-Mar-2015 14:01:29.650 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Closing Spring root WebApplicationContext

23-Mar-2015 14:01:29.695 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]

23-Mar-2015 14:01:29.696 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]

23-Mar-2015 14:01:29.696 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]

23-Mar-2015 14:01:29.696 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]


-Rachel


Frank Huster

unread,
Mar 23, 2015, 5:48:28 PM3/23/15
to motec...@googlegroups.com
Hmm, weird.

The "Address already in use" error makes me think that maybe tomcat has already started...

What happens if, in a browser, you go to http://localhost:8080/motech-platform-server ?



--
You received this message because you are subscribed to the Google Groups "MOTECH Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motech-dev+...@googlegroups.com.
To post to this group, send email to motec...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Rachel Quimby

unread,
Mar 23, 2015, 7:38:55 PM3/23/15
to motec...@googlegroups.com
Okay so there was one running already at localhost:8080/motech-platform-server/. It redirected to http://localhost:8080/motech-platform-server/bootstrap and there is the ‘Server starting, please wait’ loading page. 

After stopping the server and starting tomcat, mysql, and activemq, when I go to localhost:8080/motech-platform-server/ it is still the ‘Server starting, please wait’ loading page and there is no output from the terminal running ./startup.sh && tail -f ../logs/catalina.out

Any help is great, thanks. -Rachel

You received this message because you are subscribed to a topic in the Google Groups "MOTECH Developer" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/motech-dev/i7qoO7JzX70/unsubscribe.
To unsubscribe from this group and all its topics, send an email to motech-dev+...@googlegroups.com.

To post to this group, send email to motec...@googlegroups.com.

rqu...@mills.edu

unread,
Mar 23, 2015, 7:54:34 PM3/23/15
to motec...@googlegroups.com
Here is the catalina.out for my previous post: 

2015-03-23 16:37:58,292 ERROR [org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener] Application context refresh failed (MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices-web, config=osgibundle:/META-INF/spring/*.xml))

org.springframework.context.ApplicationContextException: Application context initialization for 'org.motechproject.motech-platform-dataservices-web' has timed out waiting for (|(objectClass=org.motechproject.mds.service.TypeService)(objectClass=org.motechproject.mds.service.JarGeneratorService)(objectClass=org.motechproject.mds.service.EntityService)(objectClass=org.motechproject.mds.config.SettingsService)(objectClass=org.motechproject.mds.service.CsvImportExportService)(objectClass=org.motechproject.mds.service.ImportExportService)(objectClass=org.motechproject.mds.service.RestDocumentationService))

      at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)

 at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)

       at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)

at java.util.TimerThread.mainLoop(Timer.java:555)

      at java.util.TimerThread.run(Timer.java:505)

2015-03-23 16:37:58,297 ERROR [org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [org.motechproject.motech-platform-dataservices-web], unsatisfied dependencies: Dependency on [(objectClass=org.motechproject.mds.service.ImportExportService)] (from bean [&importExportServiceOSGi]), Dependency on [(objectClass=org.motechproject.mds.service.EntityService)] (from bean [&entityServiceOSGi]), Dependency on [(objectClass=org.motechproject.mds.service.CsvImportExportService)] (from bean [&csvImportExportServiceOSGi]), Dependency on [(objectClass=org.motechproject.mds.service.TypeService)] (from bean [&typeServiceOSGi]), Dependency on [(objectClass=org.motechproject.mds.service.RestDocumentationService)] (from bean [&restDocumentationServiceOSGi]), Dependency on [(objectClass=org.motechproject.mds.service.JarGeneratorService)] (from bean [&jarGeneratorServiceOSGi]), Dependency on [(objectClass=org.motechproject.mds.config.SettingsService)] (from bean [&settingsServiceOSGi])

org.springframework.context.ApplicationContextException: Application context initialization for 'org.motechproject.motech-platform-dataservices-web' has timed out waiting for (|(objectClass=org.motechproject.mds.service.TypeService)(objectClass=org.motechproject.mds.service.JarGeneratorService)(objectClass=org.motechproject.mds.service.EntityService)(objectClass=org.motechproject.mds.config.SettingsService)(objectClass=org.motechproject.mds.service.CsvImportExportService)(objectClass=org.motechproject.mds.service.ImportExportService)(objectClass=org.motechproject.mds.service.RestDocumentationService))

  at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.timeout(DependencyWaiterApplicationContextExecutor.java:489)

 at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.access$000(DependencyWaiterApplicationContextExecutor.java:54)

       at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$WatchDogTask.run(DependencyWaiterApplicationContextExecutor.java:109)

at java.util.TimerThread.mainLoop(Timer.java:555)

      at java.util.TimerThread.run(Timer.java:505)


...

Frank Huster

unread,
Mar 24, 2015, 10:23:16 AM3/24/15
to motec...@googlegroups.com
Is that the entire catalina.out?
It looks like an incomplete excerpt.
You're welcome to either attach the entire catalina.out file, or a great tool for sharing large portions of files is pastebin.com


--
You received this message because you are subscribed to the Google Groups "MOTECH Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motech-dev+...@googlegroups.com.
To post to this group, send email to motec...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

rqu...@mills.edu

unread,
Mar 24, 2015, 2:53:09 PM3/24/15
to motec...@googlegroups.com

Let’s see, sorry about that. I did a git pull because its a new day, and mvn clean install, re-ran the server and attempted to access localhost:8080/motech-platform-server/. Here’s what I get (and here's the pastebin http://pastebin.com/b1bzMLYS):

Rachel-Quimbys-MacBook-Pro:bin rachelquimby$ cd usr/local/tomcat/bin/


Rachel-Quimbys-MacBook-Pro:bin rachelquimby$ ./startup.sh && tail -f ../logs/catalina.out


Using CATALINA_BASE:   /usr/local/tomcat


Using CATALINA_HOME:   /usr/local/tomcat


Using CATALINA_TMPDIR: /usr/local/tomcat/temp


Using JRE_HOME:        /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home


Using CLASSPATH:       /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar


Tomcat started.


 java.lang.Thread.run(Thread.java:745)


23-Mar-2015 16:40:31.006 WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [motech-platform-server] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:


 java.lang.Object.wait(Native Method)


 java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)


 com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:41)


23-Mar-2015 16:40:31.008 SEVERE [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [motech-platform-server] created a ThreadLocal with key of type [org.springframework.core.NamedInheritableThreadLocal] (value [Current invoker bundle context]) and a value of type [org.apache.felix.framework.BundleContextImpl] (value [org.apache.felix.framework.BundleContextImpl@11907d60]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.


23-Mar-2015 16:40:31.019 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-8080"]


23-Mar-2015 16:40:31.021 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-8009"]


23-Mar-2015 16:40:31.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-8080"]


23-Mar-2015 16:40:31.022 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-8009"]


24-Mar-2015 11:33:03.239 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/8.0.20


24-Mar-2015 11:33:03.251 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Feb 15 2015 18:10:42 UTC


24-Mar-2015 11:33:03.252 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         8.0.20.0


24-Mar-2015 11:33:03.253 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Mac OS X


24-Mar-2015 11:33:03.253 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            10.9.5


24-Mar-2015 11:33:03.253 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          x86_64


24-Mar-2015 11:33:03.253 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             /Library/Java/JavaVirtualMachines/jdk1.7.0_75.jdk/Contents/Home/jre


24-Mar-2015 11:33:03.254 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.7.0_75-b13


24-Mar-2015 11:33:03.254 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation


24-Mar-2015 11:33:03.255 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         /usr/local/Cellar/tomcat/8.0.20/libexec


24-Mar-2015 11:33:03.256 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         /usr/local/Cellar/tomcat/8.0.20/libexec


24-Mar-2015 11:33:03.257 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/tomcat/conf/logging.properties


24-Mar-2015 11:33:03.258 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager


24-Mar-2015 11:33:03.258 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms1024m


24-Mar-2015 11:33:03.259 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx2048m


24-Mar-2015 11:33:03.259 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxPermSize=1024m


24-Mar-2015 11:33:03.259 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/usr/local/tomcat/endorsed


24-Mar-2015 11:33:03.259 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/tomcat


24-Mar-2015 11:33:03.259 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/tomcat


24-Mar-2015 11:33:03.260 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/tomcat/temp


24-Mar-2015 11:33:03.260 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /Users/rachelquimby/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.


24-Mar-2015 11:33:03.805 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]


24-Mar-2015 11:33:03.954 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read


24-Mar-2015 11:33:03.991 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]


24-Mar-2015 11:33:03.995 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read


24-Mar-2015 11:33:03.996 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 3125 ms


24-Mar-2015 11:33:04.155 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina


24-Mar-2015 11:33:04.156 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.20


24-Mar-2015 11:33:04.412 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/motech-platform-server.war


24-Mar-2015 11:33:25.159 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log No Spring WebApplicationInitializer types detected on classpath


24-Mar-2015 11:33:27.898 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext


24-Mar-2015 11:33:30.625 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'bootstrap-servlet'


24-Mar-2015 11:33:32.507 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/motech-platform-server.war has finished in 28,095 ms


24-Mar-2015 11:33:32.511 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/docs


24-Mar-2015 11:33:32.593 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/docs has finished in 82 ms


24-Mar-2015 11:33:32.593 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/examples


24-Mar-2015 11:33:33.487 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/examples has finished in 894 ms


24-Mar-2015 11:33:33.487 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/host-manager


24-Mar-2015 11:33:33.616 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/host-manager has finished in 129 ms


24-Mar-2015 11:33:33.632 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/manager


24-Mar-2015 11:33:33.884 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/manager has finished in 252 ms


24-Mar-2015 11:33:33.884 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/ROOT


24-Mar-2015 11:33:33.933 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory /usr/local/Cellar/tomcat/8.0.20/libexec/webapps/ROOT has finished in 49 ms


24-Mar-2015 11:33:34.016 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]


24-Mar-2015 11:33:34.032 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]


24-Mar-2015 11:33:34.033 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 30037 ms


24-Mar-2015 11:40:59.924 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.objectweb.howl-1.0.2.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.066 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.dom4j-1.6.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.081 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/spring-security-config-3.1.0.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.101 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/spring-tx-3.1.0.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.119 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.motechproject.com.googlecode.lambdaj-2.3.3-r027.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.147 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.javax.validation-1.0.0.GA.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.149 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-platform-dataservices-migration-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.160 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.apache.felix.http.bridge-2.2.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.176 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.motechproject.org.hibernate.validator-4.1.0.Final-r027.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.196 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.motechproject.javax.time-0.6.3-r027.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.217 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.apache.felix.shell-1.4.3.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.234 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.apache.felix.http.base-2.2.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.239 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.eclipse.gemini.blueprint.extender-1.0.2.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.261 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/openid4java-nodeps-0.9.6.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.268 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/httpmime-4.4.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.280 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.apache.felix.http.proxy-2.2.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.281 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.apache.xmlcommons-1.3.3.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.292 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.objectweb.asm-2.2.3.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.300 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-validator-1.4.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.310 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/regexp-1.3.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.331 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/ow2-ejb-3.1-spec-1.0.13.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.342 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/jcl-over-slf4j-1.7.2.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.379 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-io-2.4.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.399 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.apache.servicemix.bundles.paranamer-2.6_1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.432 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/time-api-0.6.3.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.447 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/validation-api-1.1.0.Final.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.477 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/maven-scm-provider-svnexe-1.4.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.497 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/maven-scm-provider-svn-commons-1.4.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.499 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.cyberneko.html-1.9.13.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.517 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.apache.felix.http.api-2.2.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.536 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-platform-osgi-extender-fragment-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.546 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.objectweb.asm.commons-2.2.3.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.557 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/aether-util-1.13.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.606 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/pax-url-commons-1.6.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.626 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/datanucleus-api-jpa-3.3.6.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.652 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/spring-orm-3.1.0.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.668 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-osgi-platform-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.689 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/slf4j-log4j12-1.7.2.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.709 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/spring-jms-3.1.0.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.720 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/fluent-hc-4.4.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.738 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-logging-1.1.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.746 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/spring-security-crypto-3.1.0.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.762 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/spring-expression-3.1.0.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.794 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/aether-spi-1.13.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.806 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-scheduler-migration-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.822 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.motechproject.aether-api-1.13.1-r027.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.834 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-digester-2.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.843 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.osgi.core-5.0.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.862 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/pax-url-aether-1.6.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.881 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/flyway-core-2.3.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.894 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-collections-3.2.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.905 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.objenesis-1.2.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.913 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-vfs2-2.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.923 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.motechproject.org.codehaus.jackson-1.9.7-r027.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.943 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/aether-connector-wagon-1.13.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.960 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.hamcrest-1.1.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.976 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.com.mchange.v2.c3p0-0.9.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:00.991 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.javax.servlet-2.5.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.000 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/spring-web-3.1.0.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.021 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-platform-commons-api-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.035 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-platform-dataservices-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.050 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/kahadb-5.4.2.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.067 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/plexus-container-default-1.5.5.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.082 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.apache.commons.httpclient-3.1.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.097 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.eclipse.gemini.blueprint.core-1.0.2.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.110 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-platform-config-core-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.112 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/maven-model-builder-3.0.4.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.126 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/spring-asm-3.1.0.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.143 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/jsoup-1.6.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.156 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/javax.xml.rpc-api-1.1.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.160 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-beanutils-1.9.2.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.176 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.apache.felix.framework-4.2.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.183 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/jta-1.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.199 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/ops4j-base-util-collections-1.4.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.206 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-platform-event-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.215 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.motechproject.reflections-0.9.5-r027.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.228 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/jstl-1.2.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.240 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.motechproject.org.quartz-scheduler-2.1.5-r027.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.253 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/wagon-file-1.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.268 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/com.springsource.org.json-1.0.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.288 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-admin-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.297 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/plexus-component-annotations-1.5.5.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.316 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/pax-swissbox-property-1.7.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.332 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-lang-2.6.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.343 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-net-3.2.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.347 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/org.apache.servicemix.specs.activation-api-1.1-2.4.0.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.363 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/commons-httpclient-3.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.372 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/motech-scheduler-0.26-SNAPSHOT.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.387 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/datanucleus-jodatime-3.2.1.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


24-Mar-2015 11:41:01.394 WARNING [http-nio-8080-exec-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/bundles/spring-context-3.1.0.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache


[INFO] Started bridged http service


2015-03-24 11:41:18,101 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,129 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,130 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,132 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,135 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,136 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,166 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,240 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,244 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,249 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,253 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,346 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,357 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:18,359 ERROR [org.motechproject.server.impl.JspBundleLoader] couldn't clear tomcat cacheresourceEntries


2015-03-24 11:41:22,261 ERROR [org.eclipse.gemini.blueprint.extender.internal.activator.ContextLoaderListener] Application context refresh failed (MotechOsgiConfigurableApplicationContext(bundle=org.motechproject.motech-platform-dataservices, config=osgibundle:/META-INF/spring/*.xml))


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [bundle://76.0:1/META-INF/motech/mdsCommonContext.xml]: Cannot create inner bean 'mdsConfig$created#6736e63e' while setting bean property 'propertiesArray' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdsConfig' defined in URL [bundle://76.0:1/META-INF/motech/mdsCommonContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)


        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)


        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)


        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)


        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:401)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:362)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:254)


        at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:220)


        at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:224)


        at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:177)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)


        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)


        at java.lang.Thread.run(Thread.java:745)


Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdsConfig' defined in URL [bundle://76.0:1/META-INF/motech/mdsCommonContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)


        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)


        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)


        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)


        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)


        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:353)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)


        ... 21 more


Caused by: java.lang.NullPointerException


        at org.motechproject.commons.sql.service.impl.SqlDBManagerImpl.checkForDatabase(SqlDBManagerImpl.java:112)


        at org.motechproject.commons.sql.service.impl.SqlDBManagerImpl.createDatabase(SqlDBManagerImpl.java:78)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


        at java.lang.reflect.Method.invoke(Method.java:606)


        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)


        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)


        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)


        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)


        at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)


        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)


        at com.sun.proxy.$Proxy35.createDatabase(Unknown Source)


        at org.motechproject.mds.config.MdsConfig.init(MdsConfig.java:42)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


        at java.lang.reflect.Method.invoke(Method.java:606)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)


        ... 33 more


2015-03-24 11:41:22,281 ERROR [org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor] Unable to create application context for [org.motechproject.motech-platform-dataservices], unsatisfied dependencies: none


org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0' defined in URL [bundle://76.0:1/META-INF/motech/mdsCommonContext.xml]: Cannot create inner bean 'mdsConfig$created#6736e63e' while setting bean property 'propertiesArray' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdsConfig' defined in URL [bundle://76.0:1/META-INF/motech/mdsCommonContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)


        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)


        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)


        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)


        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:401)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.invokeBeanFactoryPostProcessors(AbstractDelegatedExecutionApplicationContext.java:362)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext$3.run(AbstractDelegatedExecutionApplicationContext.java:254)


        at org.eclipse.gemini.blueprint.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.startRefresh(AbstractDelegatedExecutionApplicationContext.java:220)


        at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:224)


        at org.eclipse.gemini.blueprint.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:177)


        at org.eclipse.gemini.blueprint.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:157)


        at org.eclipse.gemini.blueprint.extender.internal.activator.LifecycleManager$1.run(LifecycleManager.java:211)


        at java.lang.Thread.run(Thread.java:745)


Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mdsConfig' defined in URL [bundle://76.0:1/META-INF/motech/mdsCommonContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)


        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)


        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)


        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)


        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)


        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:353)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1015)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)


        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)


        ... 21 more


Caused by: java.lang.NullPointerException


        at org.motechproject.commons.sql.service.impl.SqlDBManagerImpl.checkForDatabase(SqlDBManagerImpl.java:112)


        at org.motechproject.commons.sql.service.impl.SqlDBManagerImpl.createDatabase(SqlDBManagerImpl.java:78)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


        at java.lang.reflect.Method.invoke(Method.java:606)


        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)


        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)


        at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)


        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)


        at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)


        at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)


        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)


        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)


        at com.sun.proxy.$Proxy35.createDatabase(Unknown Source)


        at org.motechproject.mds.config.MdsConfig.init(MdsConfig.java:42)


        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)


        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


        at java.lang.reflect.Method.invoke(Method.java:606)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1581)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1522)


        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)


        ... 33 more


[INFO] Initializing Spring FrameworkServlet 'servlet_3'


[INFO] Initialized servlet for org.motechproject.motech-platform-osgi-web-util [125]


^C



Best, Rachel

...

Jeff Henrikson

unread,
Mar 24, 2015, 5:14:27 PM3/24/15
to rqu...@mills.edu, motec...@googlegroups.com
Rachel,

The majority of the motech development is done using ubuntu.  If you end up too frustrated with the mac-specific settings and want to get closer to the most common configuration, you can move some or all of your development to a virtual machine.  Here is one way, using virtualbox+vagrant:

brew install caskroom/cask/brew-cask
cask install virtualbox
cask install vagrant

Vagrant is a way of configuring VMs on virtual box and other hypervisors.  Vagrant uses something called a “Vagrantfile” to do this configuration.  You might like to start with this in a Vagrantfile, in a new directory:

VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  config.vm.box = "ubuntu/trusty64"

  config.vm.network "forwarded_port", guest: 22, host: 2280
  config.vm.network "forwarded_port", guest: 3306, host: 3306
  config.vm.network "forwarded_port", guest: 8000, host: 8000
  config.vm.network "forwarded_port", guest: 8080, host: 8080
  config.vm.network "forwarded_port", guest: 61616, host: 61616

  config.vm.provider "virtualbox" do |vb|
      vb.customize ["modifyvm", :id, "--memory", "2048"]
      vb.customize ["modifyvm", :id, "--cpus", "2"]
  end
end

To start vagrant:
vagrant up

To connect to the new VM once created:
ssh -i ~/.vagrant.d/insecure_private_key -p 2280 vag...@127.0.0.1

From here, you should be able to follow verbatim the motech official instructions for ubuntu.

You may also consider just running some parts in the VM.  Mysql would be a good choice to move to the VM.  The 3306 port and other motech-related ports are patched through in the Vagrantfile above.

Hope that helps,


Jeff Henrikson




--
You received this message because you are subscribed to the Google Groups "MOTECH Developer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to motech-dev+...@googlegroups.com.
To post to this group, send email to motec...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages