Created
February 12, 2013 11:03
-
-
Save amichaelgrant/4761593 to your computer and use it in GitHub Desktop.
Error logs after replacing tomcat-jdbc jar with a newer version
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feb 12, 2013 10:56:47 AM org.apache.coyote.AbstractProtocol init | |
INFO: Initializing ProtocolHandler ["http-bio-28080"] | |
Feb 12, 2013 10:56:47 AM org.apache.coyote.AbstractProtocol init | |
INFO: Initializing ProtocolHandler ["http-bio-28443"] | |
Feb 12, 2013 10:56:47 AM org.apache.catalina.startup.Catalina load | |
INFO: Initialization processed in 1121 ms | |
Feb 12, 2013 10:56:47 AM org.apache.catalina.core.StandardService startInternal | |
INFO: Starting service Catalina | |
Feb 12, 2013 10:56:47 AM org.apache.catalina.core.StandardEngine startInternal | |
INFO: Starting Servlet Engine: Apache Tomcat/7.0.21 | |
Feb 12, 2013 10:56:47 AM org.apache.catalina.startup.HostConfig deployDescriptor | |
INFO: Deploying configuration descriptor host-manager.xml from /etc/tomcat7/Catalina/localhost | |
Feb 12, 2013 10:56:52 AM org.apache.catalina.util.SessionIdGenerator createSecureRandom | |
INFO: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [4,440] milliseconds. | |
Feb 12, 2013 10:56:52 AM org.apache.catalina.startup.HostConfig deployDescriptor | |
INFO: Deploying configuration descriptor examples.xml from /etc/tomcat7/Catalina/localhost | |
Feb 12, 2013 10:56:52 AM org.apache.catalina.startup.HostConfig deployDescriptor | |
INFO: Deploying configuration descriptor docs.xml from /etc/tomcat7/Catalina/localhost | |
Feb 12, 2013 10:56:52 AM org.apache.catalina.startup.HostConfig deployDescriptor | |
INFO: Deploying configuration descriptor manager.xml from /etc/tomcat7/Catalina/localhost | |
Feb 12, 2013 10:56:53 AM org.apache.catalina.startup.HostConfig deployWAR | |
INFO: Deploying web application archive mifosng-provider.war | |
10:56:53,570 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback.groovy] | |
10:56:53,570 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] | |
10:56:53,571 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/var/lib/tomcat7/webapps/mifosng-provider/WEB-INF/classes/logback.xml] | |
10:56:53,669 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - debug attribute not set | |
10:56:53,933 |-ERROR in ch.qos.logback.core.util.ContextUtil@101fa9e - Failed to get local hostname java.net.UnknownHostException: grant: grant | |
at java.net.UnknownHostException: grant: grant | |
at at java.net.InetAddress.getLocalHost(InetAddress.java:1426) | |
at at ch.qos.logback.core.util.ContextUtil.getLocalHostName(ContextUtil.java:32) | |
at at ch.qos.logback.core.util.ContextUtil.addHostNameAsProperty(ContextUtil.java:41) | |
at at ch.qos.logback.classic.joran.action.ConfigurationAction.begin(ConfigurationAction.java:56) | |
at at ch.qos.logback.core.joran.spi.Interpreter.callBeginAction(Interpreter.java:276) | |
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:148) | |
at at ch.qos.logback.core.joran.spi.Interpreter.startElement(Interpreter.java:130) | |
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:50) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56) | |
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) | |
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148) | |
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85) | |
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55) | |
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) | |
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107) | |
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295) | |
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269) | |
at at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:156) | |
at at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132) | |
at at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:274) | |
at at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:269) | |
at at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) | |
at at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723) | |
at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226) | |
at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221) | |
at at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) | |
at at java.util.concurrent.FutureTask.run(FutureTask.java:166) | |
at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) | |
at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) | |
at at java.lang.Thread.run(Thread.java:679) | |
10:56:53,933 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.ConsoleAppender] | |
10:56:53,944 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [STDOUT] | |
10:56:54,027 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - This appender no longer admits a layout as a sub-component, set an encoder instead. | |
10:56:54,027 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - To ensure compatibility, wrapping your layout in LayoutWrappingEncoder. | |
10:56:54,027 |-WARN in ch.qos.logback.core.ConsoleAppender[STDOUT] - See also http://logback.qos.ch/codes.html#layoutInsteadOfEncoder for details | |
10:56:54,027 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - About to instantiate appender of type [ch.qos.logback.core.FileAppender] | |
10:56:54,030 |-INFO in ch.qos.logback.core.joran.action.AppenderAction - Naming appender as [FILE] | |
10:56:54,034 |-INFO in ch.qos.logback.core.joran.action.NestedComplexPropertyIA - Assuming default type [ch.qos.logback.classic.encoder.PatternLayoutEncoder] for [encoder] property | |
10:56:54,045 |-INFO in ch.qos.logback.core.FileAppender[FILE] - File property is set to [/usr/share/tomcat7/logs/mifos-platform.log] | |
10:56:54,046 |-ERROR in ch.qos.logback.core.FileAppender[FILE] - Failed to create parent directories for [/usr/share/tomcat7/logs/mifos-platform.log] | |
10:56:54,046 |-ERROR in ch.qos.logback.core.FileAppender[FILE] - openFile(/usr/share/tomcat7/logs/mifos-platform.log,true) call failed. java.io.FileNotFoundException: /usr/share/tomcat7/logs/mifos-platform.log (No such file or directory) | |
at java.io.FileNotFoundException: /usr/share/tomcat7/logs/mifos-platform.log (No such file or directory) | |
at at java.io.FileOutputStream.openAppend(Native Method) | |
at at java.io.FileOutputStream.<init>(FileOutputStream.java:207) | |
at at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:28) | |
at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:149) | |
at at ch.qos.logback.core.FileAppender.start(FileAppender.java:108) | |
at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:96) | |
at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:318) | |
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:197) | |
at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:183) | |
at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:157) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:143) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:106) | |
at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:56) | |
at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) | |
at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:148) | |
at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:85) | |
at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55) | |
at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:128) | |
at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:107) | |
at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:295) | |
at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:269) | |
at at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:156) | |
at at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132) | |
at at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:274) | |
at at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:269) | |
at at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112) | |
at at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723) | |
at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226) | |
at at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221) | |
at at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) | |
at at java.util.concurrent.FutureTask.run(FutureTask.java:166) | |
at at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) | |
at at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) | |
at at java.lang.Thread.run(Thread.java:679) | |
10:56:54,047 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.mifosng.platform] to DEBUG | |
10:56:54,047 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.mifosplatform.infrastructure.security.filter] to INFO | |
10:56:54,047 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.mifosplatform] to DEBUG | |
10:56:54,047 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.web] to INFO | |
10:56:54,048 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.springframework.beans] to INFO | |
10:56:54,048 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [net.sf.ehcache] to ERROR | |
10:56:54,048 |-INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [org.hibernate.cache] to ERROR | |
10:56:54,048 |-INFO in ch.qos.logback.classic.joran.action.RootLoggerAction - Setting level of ROOT logger to INFO | |
10:56:54,048 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [STDOUT] to Logger[ROOT] | |
10:56:54,049 |-INFO in ch.qos.logback.core.joran.action.AppenderRefAction - Attaching appender named [FILE] to Logger[ROOT] | |
10:56:54,049 |-INFO in ch.qos.logback.classic.joran.action.ConfigurationAction - End of configuration. | |
10:56:54,051 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@14560cf - Registering current configuration as safe fallback point | |
10:56:54.061 [Thread-6] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization started | |
10:56:54.222 [Thread-6] INFO o.s.w.c.s.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Tue Feb 12 10:56:54 GMT 2013]; root of context hierarchy | |
10:56:54.306 [Thread-6] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/var/lib/tomcat7/webapps/mifosng-provider/WEB-INF/classes/META-INF/spring/appContext.xml] | |
10:56:54.525 [Thread-6] INFO o.s.s.core.SpringSecurityCoreVersion - You are running with Spring Security Core 3.1.3.RELEASE | |
10:56:54.525 [Thread-6] INFO o.s.s.c.SecurityNamespaceHandler - Spring Security 'config' module version is 3.1.3.RELEASE | |
10:56:54.616 [Thread-6] 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:56:59.126 [Thread-6] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/var/lib/tomcat7/webapps/mifosng-provider/WEB-INF/classes/META-INF/spring/infrastructure.xml] | |
10:56:59.185 [Thread-6] INFO o.s.b.f.xml.XmlBeanDefinitionReader - Loading XML bean definitions from URL [file:/var/lib/tomcat7/webapps/mifosng-provider/WEB-INF/classes/META-INF/spring/securityContext.xml] | |
10:56:59.274 [Thread-6] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'permitAll' for /api/*/authentication | |
10:56:59.274 [Thread-6] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/** | |
10:56:59.274 [Thread-6] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/** | |
10:56:59.274 [Thread-6] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/** | |
10:56:59.274 [Thread-6] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/** | |
10:56:59.274 [Thread-6] INFO o.s.s.c.h.FilterInvocationSecurityMetadataSourceParser - Creating access control expression attribute 'isFullyAuthenticated()' for /api/** | |
10:56:59.304 [Thread-6] 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:57:00.411 [Thread-6] INFO o.s.b.f.s.DefaultListableBeanFactory - Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@789d63: 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,accountingDropdownReadPlatformServiceImpl,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:57:00.434 [Thread-6] 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/lib/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/lib/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 qualifying 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 qualifying 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.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:741) ~[spring-context-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) ~[spring-context-3.2.1.RELEASE.jar:3.2.1.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:4723) [tomcat-catalina-7.0.21.jar:7.0.21] | |
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226) [tomcat-catalina-7.0.21.jar:7.0.21] | |
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221) [tomcat-catalina-7.0.21.jar:7.0.21] | |
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/lib/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/lib/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 qualifying 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 qualifying 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.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:107) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1391) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1132) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:439) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:277) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.detectPersistenceExceptionTranslators(PersistenceExceptionTranslationInterceptor.java:139) ~[spring-tx-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.<init>(PersistenceExceptionTranslationInterceptor.java:79) ~[spring-tx-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.dao.annotation.PersistenceExceptionTranslationAdvisor.<init>(PersistenceExceptionTranslationAdvisor.java:71) ~[spring-tx-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.dao.annotation.PersistenceExceptionTranslationPostProcessor.setBeanFactory(PersistenceExceptionTranslationPostProcessor.java:85) ~[spring-tx-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeAwareMethods(AbstractAutowireCapableBeanFactory.java:1506) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1474) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:524) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.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/lib/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 qualifying 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 qualifying 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.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1120) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:323) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.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/lib/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 qualifying 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 qualifying 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.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
... 44 common frames omitted | |
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'tomcatJdbcDataSourcePerTenantService' defined in file [/var/lib/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 qualifying 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 qualifying 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.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1049) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:953) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:490) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:461) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:295) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:292) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:891) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:834) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:749) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:486) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
... 46 common frames omitted | |
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying 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:967) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:837) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:749) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:795) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:723) ~[spring-beans-3.2.1.RELEASE.jar:3.2.1.RELEASE] | |
... 59 common frames omitted | |
Feb 12, 2013 10:57:00 AM org.apache.catalina.core.StandardContext startInternal | |
SEVERE: Error listenerStart | |
Feb 12, 2013 10:57:00 AM org.apache.catalina.core.StandardContext startInternal | |
SEVERE: Context [/mifosng-provider] startup failed due to previous errors | |
Feb 12, 2013 10:57:00 AM org.apache.catalina.startup.HostConfig deployDirectory | |
INFO: Deploying web application directory ROOT | |
Feb 12, 2013 10:57:02 AM org.apache.catalina.startup.HostConfig deployDirectory | |
INFO: Deploying web application directory IndividualLendingGeneralJavaScript | |
Feb 12, 2013 10:57:03 AM org.apache.coyote.AbstractProtocol start | |
INFO: Starting ProtocolHandler ["http-bio-28080"] | |
Feb 12, 2013 10:57:03 AM org.apache.coyote.AbstractProtocol start | |
INFO: Starting ProtocolHandler ["http-bio-28443"] | |
Feb 12, 2013 10:57:03 AM org.apache.catalina.startup.Catalina start | |
INFO: Server startup in 15557 ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment