Skip to content

Instantly share code, notes, and snippets.

@amichaelgrant
Created February 11, 2013 11:01
Show Gist options
  • Save amichaelgrant/4753857 to your computer and use it in GitHub Desktop.
Save amichaelgrant/4753857 to your computer and use it in GitHub Desktop.
Server logs when deploying mifos on tomcat 7 with SSL and JNDI setup
grant >> tail -f mifos-platform.log
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:730) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:486) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
... 46 common frames omitted
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:949) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:730) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
... 59 common frames omitted
^C
grant >> tail -f catalina.out
Feb 11, 2013 10:46:38 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Feb 11, 2013 10:46:39 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-18080"]
Feb 11, 2013 10:46:39 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-18443"]
Feb 11, 2013 10:46:39 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-bio-18009"]
Feb 11, 2013 10:46:39 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 9979 ms
Feb 11, 2013 10:51:57 AM org.apache.catalina.core.StandardServer await
INFO: A valid shutdown command was received via the shutdown port. Stopping the Server instance.
Feb 11, 2013 10:51:57 AM org.apache.coyote.AbstractProtocolHandler pause
INFO: Pausing ProtocolHandler ["http-bio-18080"]
Feb 11, 2013 10:51:58 AM org.apache.coyote.AbstractProtocolHandler pause
INFO: Pausing ProtocolHandler ["http-bio-18443"]
Feb 11, 2013 10:51:59 AM org.apache.coyote.AbstractProtocolHandler pause
INFO: Pausing ProtocolHandler ["ajp-bio-18009"]
Feb 11, 2013 10:52:00 AM org.apache.catalina.core.StandardService stopInternal
INFO: Stopping service Catalina
Feb 11, 2013 10:52:00 AM org.apache.catalina.util.LifecycleBase stop
INFO: The stop() method was called on component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/mifosng-provider]] after stop() had already been called. The second call will be ignored.
Feb 11, 2013 10:52:00 AM org.apache.coyote.AbstractProtocolHandler stop
INFO: Stopping ProtocolHandler ["http-bio-18080"]
Feb 11, 2013 10:52:00 AM org.apache.coyote.AbstractProtocolHandler stop
INFO: Stopping ProtocolHandler ["http-bio-18443"]
Feb 11, 2013 10:52:00 AM org.apache.coyote.AbstractProtocolHandler stop
INFO: Stopping ProtocolHandler ["ajp-bio-18009"]
Feb 11, 2013 10:52:32 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/server:/usr/lib/jvm/java-6-openjdk/jre/lib/i386:/usr/lib/jvm/java-6-openjdk/jre/../lib/i386:/usr/java/packages/lib/i386:/usr/lib/jni:/lib:/usr/lib
Feb 11, 2013 10:52:33 AM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-18080"]
Feb 11, 2013 10:52:33 AM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["http-bio-18443"]
Feb 11, 2013 10:52:33 AM org.apache.coyote.AbstractProtocolHandler init
INFO: Initializing ProtocolHandler ["ajp-bio-18009"]
Feb 11, 2013 10:52:33 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 970 ms
Feb 11, 2013 10:52:33 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 11, 2013 10:52:33 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.12
Feb 11, 2013 10:52:33 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Feb 11, 2013 10:52:37 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [3,266] milliseconds.
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.TaglibUriRule body
INFO: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
Feb 11, 2013 10:52:37 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory mifosng-provider
10:52:38,546 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy]
10:52:38,547 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml]
10:52:38,547 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/logback.xml]
10:52:38,613 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set
10:52:38,614 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender]
10:52:38,627 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT]
10:52:38,732 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - This appender no longer admits a layout as a sub-component, set an encoder instead.
10:52:38,732 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder.
10:52:38,732 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details
10:52:38,732 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender]
10:52:38,734 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE]
10:52:38,745 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property
10:52:38,760 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property is set to [/var/local/tomcat7/logs/mifos-platform.log]
10:52:38,763 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.mifosng.platform] to DEBUG
10:52:38,763 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.mifosplatform.infrastructure.security.filter] to INFO
10:52:38,763 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.mifosplatform] to DEBUG
10:52:38,763 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.web] to INFO
10:52:38,763 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.beans] to INFO
10:52:38,763 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.sf.ehcache] to ERROR
10:52:38,763 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.cache] to ERROR
10:52:38,763 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO
10:52:38,763 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT]
10:52:38,764 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT]
10:52:38,764 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration.
10:52:38,766 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@1de4376 - Registering current configuration as safe fallback point
10:52:38.783 [Thread-5] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization started
10:52:38.910 [Thread-5] INFO o.s.w.c.s.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Mon Feb 11 10:52:38 GMT 2013]; root of context hierarchy
10:52:38.993 [Thread-5] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/META-INF/spring/appContext.xml]
10:52:39.319 [Thread-5] INFO o.s.s.core.SpringSecurityCoreVersion - You are running with Spring Security Core 3.1.3.RELEASE
10:52:39.325 [Thread-5] INFO o.s.s.c.SecurityNamespaceHandler - Spring Security 'config' module version is 3.1.3.RELEASE
10:52:39.387 [Thread-5] INFO o.s.s.c.m.GlobalMethodSecurityBeanDefinitionParser - Expressions were enabled for method security but no SecurityExpressionHandler was configured. All hasPermision() expressions will evaluate to false.
10:52:43.183 [Thread-5] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/META-INF/spring/infrastructure.xml]
10:52:43.267 [Thread-5] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/META-INF/spring/securityContext.xml]
10:52:43.448 [Thread-5] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'permitAll' for /api/*/authentication
10:52:43.448 [Thread-5] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/**
10:52:43.448 [Thread-5] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/**
10:52:43.448 [Thread-5] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/**
10:52:43.448 [Thread-5] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/**
10:52:43.449 [Thread-5] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/**
10:52:43.503 [Thread-5] INFO o.s.s.c.h.HttpSecurityBeanDefinitionParser - Checking sorted filter chain: [Root bean: class [org.springframework.security.web.access.channel.ChannelProcessingFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 100, Root bean: class [org.springframework.security.web.context.SecurityContextPersistenceFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 200, <basicAuthenticationProcessingFilter>, order = 201, Root bean: class [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1400, Root bean: class [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1700, Root bean: class [org.springframework.security.web.access.ExceptionTranslationFilter]; scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; autowireCandidate=true; primary=false; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null, order = 1900, <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, order = 2000]
10:52:44.782 [Thread-5] INFO o.s.b.f.s.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1277a30: defining beans [org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler#0,org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor#0,org.springframework.security.methodSecurityMetadataSourceAdvisor,org.springframework.aop.config.internalAutoProxyCreator,org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0,org.springframework.transaction.interceptor.TransactionInterceptor#0,org.springframework.transaction.config.internalTransactionAdvisor,productToGLAccountMappingWritePlatformServiceImpl,GLJournalEntryWritePlatformServiceJpaRepositoryImpl,GLClosureWritePlatformServiceJpaRepositoryImpl,GLClosureReadPlatformServiceImpl,GLJournalEntryReadPlatformServiceImpl,GLAccountReadPlatformServiceImpl,GLAccountWritePlatformServiceJpaRepositoryImpl,productToGLAccountMappingReadPlatformServiceImpl,GLJournalEntryRepositoryImpl,GLJournalEntriesApiResource,GLClosuresApiResource,accountingApiDataConversionServiceImpl,googleGsonAccountingApiJsonSerializerService,GLAccountsApiResource,portfolioCommandSourceWritePlatformServiceImpl,synchronousCommandProcessingService,portfolioCommandsReadPlatformServiceImpl,commandsApiResource,auditReadPlatformServiceImpl,auditApiResource,userDetailsService,jdbcTenantDetailsService,springSecurityPlatformSecurityContext,authenticationApiResource,deleteOneToOneDatatableEntryCommandHandler,updateOneToManyDatatableEntryCommandHandler,deleteOneToManyDatatableEntryCommandHandler,createDatatableEntryCommandHandler,updateOneToOneDatatableEntryCommandHandler,readWriteNonCoreDataServiceImpl,genericDataServiceImpl,readReportingServiceImpl,reportsApiResource,dataTableApiResource,platformDataIntegrityExceptionMapper,accessDeniedExceptionMapper,invalidTenantIdentifierExceptionMapper,platformApiDataValidationExceptionMapper,unsupportedCommandExceptionMapper,malformedJsonExceptionMapper,unsupportedParameterExceptionMapper,badCredentialsExceptionMapper,unAuthenticatedUserExceptionMapper,platformInternalServerExceptionMapper,platformDomainRuleExceptionMapper,invalidJsonExceptionMapper,noAuthorizationExceptionMapper,platformResourceNotFoundExceptionMapper,jsonSyntaxExceptionMapper,unrecognizedQueryParamExceptionMapper,tenantAwareDataSource,tomcatJdbcDataSourcePerTenantService,gmailBackedPlatformEmailService,excludeNothingWithPrettyPrintingOnJsonSerializerGoogleGson,defaultToApiJsonSerializer,googleGsonSerializerHelper,fromJsonHelper,commandSerializerDefaultToJson,commandProcessingResultJsonSerializer,excludeNothingWithPrettyPrintingOffJsonSerializerGoogleGson,applicationPasswordEncoder,apiRequestParameterHelper,portfolioApiDataConversionServiceImpl,googleGsonPortfolioApiJsonSerializerService,deleteCodeCommandHandler,createCodeCommandHandler,updateCodeCommandHandler,codeReadPlatformServiceImpl,codeWritePlatformServiceJpaRepositoryImpl,codeValueReadPlatformServiceImpl,codeCommandFromApiJsonDeserializer,codesApiResource,updateGlobalConfigurationCommandHandler,configurationReadPlatformServiceImpl,globalConfigurationWritePlatformServiceJpaRepositoryImpl,globalConfigurationCommandFromApiJsonDeserializer,configurationDomainServiceJpa,globalConfigurationApiResource,documentReadPlatformServiceImpl,documentWritePlatformServiceJpaRepositoryImpl,documentManagementApiResource,updateStaffCommandHandler,createStaffCommandHandler,staffWritePlatformServiceJpaRepositoryImpl,staffReadPlatformServiceImpl,staffCommandFromApiJsonDeserializer,staffApiResource,createOfficeTransactionCommandHandler,updateOfficeCommandHandler,createOfficeCommandHandler,officeReadPlatformServiceImpl,officeWritePlatformServiceJpaRepositoryImpl,branchMoneyTransferCommandFromApiJsonDeserializer,officeCommandFromApiJsonDeserializer,officeTransactionsApiResource,officesApiResource,updateCurrencyCommandHandler,currencyReadPlatformServiceImpl,organisationCurrencyReadPlatformServiceImpl,currencyWritePlatformServiceJpaRepositoryImpl,currencyCommandFromApiJsonDeserializer,currenciesApiResource,guarantorWritePlatformServiceImpl,guarantorReadPlatformServiceImpl,guarantorsApiResource,loanApplicationSubmittalCommandHandler,waiveInterestPortionOnLoanCommandHandler,updateLoanOfficerCommandHandler,loanApplicationDeletionCommandHandler,deleteLoanChargeCommandHandler,disburseLoanCommandHandler,loanRepaymentCommandHandler,addLoanChargeCommandHandler,writeOffLoanCommandHandler,undoDisbursalLoanCommandHandler,loanApplicationModificationCommandHandler,loanApplicationApprovalUndoCommandHandler,waiveLoanChargeCommandHandler,bulkUpdateLoanOfficerCommandHandler,loanApplicationRejectedCommandHandler,closeLoanCommandHandler,loanRepaymentAdjustmentCommandHandler,updateLoanChargeCommandHandler,loanApplicationApprovalCommandHandler,closeLoanAsRescheduledCommandHandler,loanApplicationWithdrawnByApplicantCommandHandler,loanScheduleCalculationPlatformServiceImpl,loanScheduleAssembler,defaultLoanScheduleGeneratorFactory,aprCalculator,loanWritePlatformServiceJpaRepositoryImpl,loanChargeAssembler,loanAssembler,loanApplicationWritePlatformServiceJpaRepositoryImpl,loanReadPlatformServiceImpl,loanChargeCommandFromApiJsonDeserializer,loanApplicationCommandFromApiJsonHelper,loanTransactionCommandFromApiJsonDeserializer,loanStateTransitionCommandFromApiJsonDeserializer,calculateLoanScheduleQueryFromApiJsonHelper,loanChargesApiResource,bulkLoansApiResource,loanTransactionsApiResource,loansApiResource,savingAccountReadPlatformServiceImpl,savingAccountWritePlatformServiceJpaRepositoryImpl,savingProductRelatedDetailAssembler,calculateSavingScheduleImpl,savingAccountAssembler,reccuringDepositInterestCalculator,savingsAccountApiResource,updateChargeDefinitionCommandHandler,createChargeDefinitionCommandHandler,deleteChargeDefinitionCommandHandler,chargeWritePlatformServiceJpaRepositoryImpl,chargeDropdownReadPlatformServiceImpl,chargeReadPlatformServiceImpl,chargeDefinitionCommandFromApiJsonDeserializer,chargesApiResource,updateFundCommandHandler,createFundCommandHandler,fundReadPlatformServiceImpl,fundWritePlatformServiceJpaRepositoryImpl,fundCommandFromApiJsonDeserializer,fundsApiResource,depositProductWritePlatformServiceJpaRepositoryImpl,depositProductReadPlatformServiceImpl,depositProductsApiResource,updateLoanProductCommandHandler,createLoanProductCommandHandler,loanDropdownReadPlatformServiceImpl,loanProductWritePlatformServiceJpaRepositoryImpl,loanProductReadPlatformServiceImpl,loanProductCommandFromApiJsonDeserializer,loanProductsApiResource,updateClientIdentifierCommandHandler,updateClientNoteCommandHandler,createClientNoteCommandHandler,updateClientCommandHandler,deleteClientCommandHandler,deleteClientIdentifierCommandHandler,createClientCommandHandler,createClientIdentifierCommandHandler,clientWritePlatformServiceJpaRepositoryImpl,clientReadPlatformServiceImpl,clientIdentifierCommandFromApiJsonDeserializer,clientNoteCommandFromApiJsonDeserializer,clientCommandFromApiJsonDeserializer,accountNumberGeneratorFactory,clientNotesApiResource,clientImagesApiResource,clientsApiResource,clientIdentifiersApiResource,savingProductReadPlatformServiceImpl,savingProductWritePlatformServiceJpaRepositoryImpl,savingProductsApiResource,depositAccountWritePlatformServiceJpaRepositoryImpl,depositAccountReadPlatformServiceImpl,depositAccountAssembler,fixedTermDepositInterestCalculator,depositAccountsApiResource,groupReadPlatformServiceImpl,groupWritePlatformServiceJpaRepositoryImpl,groupsApiResource,updateRolePermissionsCommandHandler,deleteUserCommandHandler,updateRoleCommandHandler,createUserCommandHandler,updateUserCommandHandler,updateMakerCheckerPermissionsCommandHandler,createRoleCommandHandler,appUserReadPlatformServiceImpl,permissionWritePlatformServiceJpaRepositoryImpl,roleWritePlatformServiceJpaRepositoryImpl,roleReadPlatformServiceImpl,permissionReadPlatformServiceImpl,appUserWritePlatformServiceJpaRepositoryImpl,permissionsCommandFromApiJsonDeserializer,roleCommandFromApiJsonDeserializer,userCommandFromApiJsonDeserializer,jpaUserDomainService,usersApiResource,permissionsApiResource,rolesApiResource,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotationProcessor,org.springframework.context.annotation.internalCommonAnnotationProcessor,org.springframework.context.annotation.internalPersistenceAnnotationProcessor,auditorAware,org.springframework.context.config.internalBeanConfigurerAspect,org.springframework.data.jpa.domain.support.AuditingEntityListener,org.springframework.data.jpa.domain.support.AuditingBeanFactoryPostProcessor,commandSourceRepository,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor#0,org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0,org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor#0,codeValueRepository,codeRepository,globalConfigurationRepository,documentRepository,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor#1,gLJournalEntryRepositoryImpl,gLJournalEntryRepository,gLClosureRepository,productToGLAccountMappingRepository,gLAccountRepository,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor#2,appUserRepository,permissionRepository,roleRepository,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor#3,applicationCurrencyRepository,organisationCurrencyRepository,officeTransactionRepository,officeRepository,staffRepository,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor#4,loanChargeRepository,fundRepository,clientIdentifierRepository,clientRepository,chargeRepository,loanTransactionRepository,groupRepository,depositAccountRepository,loanRepository,loanProductRepository,savingAccountRepository,depositProductRepository,loanTransactionProcessingStrategyRepository,noteRepository,savingProductRepository,org.springframework.data.repository.core.support.RepositoryInterfaceAwareBeanPostProcessor#5,entityManagerFactory,transactionManager,tenantDataSourceJndi,org.springframework.security.filterChains,org.springframework.security.filterChainProxy,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.PortResolverImpl#0,org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.context.NullSecurityContextRepository#0,org.springframework.security.web.savedrequest.NullRequestCache#0,org.springframework.security.web.access.channel.ChannelDecisionManagerImpl#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#1,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.userDetailsServiceFactory,org.springframework.security.web.DefaultSecurityFilterChain#0,basicAuthenticationEntryPoint,basicAuthenticationProcessingFilter,passwordEncoder,saltSource,customAuthenticationProvider,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,org.springframework.context.annotation.ConfigurationClassPostProcessor.importAwareProcessor]; root of factory hierarchy
10:52:44.817 [Thread-5] ERROR o.s.web.context.ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor#0': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [file:/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/META-INF/spring/infrastructure.xml]: Cannot resolve reference to bean 'tenantAwareDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantAwareDataSource': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mifosplatform.infrastructure.core.service.DataSourcePerTenantService org.mifosplatform.infrastructure.core.service.TenantAwareRoutingDataSource.dataSourcePerTenantService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tomcatJdbcDataSourcePerTenantService' defined in file [/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/org/mifosplatform/infrastructure/core/service/TomcatJdbcDataSourcePerTenantService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:532) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:741) ~[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) ~[spring-context-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383) ~[spring-web-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283) ~[spring-web-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) [spring-web-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4701) [catalina.jar:7.0.12]
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5204) [catalina.jar:7.0.12]
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5199) [catalina.jar:7.0.12]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.6.0_24]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [na:1.6.0_24]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in URL [file:/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/META-INF/spring/infrastructure.xml]: Cannot resolve reference to bean 'tenantAwareDataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantAwareDataSource': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mifosplatform.infrastructure.core.service.DataSourcePerTenantService org.mifosplatform.infrastructure.core.service.TenantAwareRoutingDataSource.dataSourcePerTenantService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tomcatJdbcDataSourcePerTenantService' defined in file [/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/org/mifosplatform/infrastructure/core/service/TomcatJdbcDataSourcePerTenantService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:329) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:420) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79) ~[spring-tx-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:70) ~[spring-tx-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:85) ~[spring-tx-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1506) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1474) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
... 18 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tenantAwareDataSource': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mifosplatform.infrastructure.core.service.DataSourcePerTenantService org.mifosplatform.infrastructure.core.service.TenantAwareRoutingDataSource.dataSourcePerTenantService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tomcatJdbcDataSourcePerTenantService' defined in file [/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/org/mifosplatform/infrastructure/core/service/TomcatJdbcDataSourcePerTenantService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1120) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
... 36 common frames omitted
Caused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.mifosplatform.infrastructure.core.service.DataSourcePerTenantService org.mifosplatform.infrastructure.core.service.TenantAwareRoutingDataSource.dataSourcePerTenantService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tomcatJdbcDataSourcePerTenantService' defined in file [/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/org/mifosplatform/infrastructure/core/service/TomcatJdbcDataSourcePerTenantService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:514) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
... 44 common frames omitted
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tomcatJdbcDataSourcePerTenantService' defined in file [/var/local/tomcat7/webapps/mifosng-provider/WEB-INF/classes/org/mifosplatform/infrastructure/core/service/TomcatJdbcDataSourcePerTenantService.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [javax.sql.DataSource]: : No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:730) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1049) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:490) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:873) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:815) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:730) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:486) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
... 46 common frames omitted
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [javax.sql.DataSource] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=tenantDataSourceJndi)}
at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:949) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:818) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:730) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723) ~[spring-beans-3.2.0.RELEASE.jar:3.2.0.RELEASE]
... 59 common frames omitted
Feb 11, 2013 10:52:44 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Feb 11, 2013 10:52:44 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/mifosng-provider] startup failed due to previous errors
Feb 11, 2013 10:52:44 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/mifosng-provider] 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.
Feb 11, 2013 10:52:44 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory IndividualLendingGeneralJavaScript
Feb 11, 2013 10:52:45 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Feb 11, 2013 10:52:45 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Feb 11, 2013 10:52:45 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-18080"]
Feb 11, 2013 10:52:45 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["http-bio-18443"]
Feb 11, 2013 10:52:46 AM org.apache.coyote.AbstractProtocolHandler start
INFO: Starting ProtocolHandler ["ajp-bio-18009"]
Feb 11, 2013 10:52:46 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 12522 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment