Deplyment failed

(Asangansi) #1

Hi, this time the dhis.war deployment in tomcat failed.
And this is the log.

Nov 10, 2010 4:31:53 PM 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: C:\Program Files\Java\jdk1.6.0_21\bin;.;C
:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%CommonProgramFiles%\Microsoft Shared\Win
dows Live;C:\Tivoli\lcf\dat\1\cache\lib\w32-ix86;C:\Tivoli\lcf\bin\w32-ix86\mrt;C:\Tivoli\lcf\b

in\w32-ix86\tools;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W
indowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program Files (x86)\maven\bin;c:\Program
Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin;C:\Program Files\Java\jre6\bin;C:\Prog

ram Files\Java\jdk1.6.0_21\bin;c:\cygwin\bin;C:\Program Files (x86)\Bazaar;C:\Program Files (x8
6)\QuickTime\QTSystem;C:\Program Files\SlikSvn\bin;C:\MySQLServer5.1\bin;C:\MySQLServer5.1\bi
n;C:\Program Files (x86)\EasyFrom Trial;C:\Program Files\Common Files\Microsoft Shared\Windows

Live;C:\Windows\System32\WindowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program Files
(x86)\maven\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin;C:\Program F
iles\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files (x86)\Bazaar;c:\cygwi

n\bin;C:\maven\bin.
Nov 10, 2010 4:31:54 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 651 ms

Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29

Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor manager.xml
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive dhis.war

  • INFO 16:32:03,598 System property dhis2.home not set (DefaultLocationManager.java [main])

  • INFO 16:32:03,601 Environment variable DHIS2_HOME points to C:\DHIS\config (DefaultLocationM
    anager.java [main])

  • ERROR 16:33:57,614 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column
    ‘organisationunitid’ in ‘field list’ (TableAlteror.java [main])

  • ERROR 16:33:58,713 Context initialization failed (ContextLoader.java [main])
    java.lang.NoClassDefFoundError: Lorg/amplecode/quick/JdbcConfiguration;
    at java.lang.Class.getDeclaredFields0(Native Method)

      at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
      at java.lang.Class.getDeclaredFields(Class.java:1743)
      at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersi
    

stenceMetadata(PersistenceAnnotationBeanPostProcessor.java:372)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProce
ssMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:320)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMe

rgedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:798)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreat

eBean(AbstractAutowireCapableBeanFactory.java:493)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createB
ean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBe

anFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(
DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBean

Factory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFa
ctory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateS

ingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInit
ialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractAppli

cationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoa
der.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoade

r.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoad
erListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)

    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)

    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:1
  1. at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
    at org.apache.catalina.core.StandardService.start(StandardService.java:519)
    
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
    

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

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: java.lang.ClassNotFoundException: org.amplecode.quick.JdbcConfiguration

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
    ... 42 more

Nov 10, 2010 4:33:58 PM org.apache.catalina.core.StandardContext start

SEVERE: Error listenerStart
Nov 10, 2010 4:33:58 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/dhis] startup failed due to previous errors
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

SEVERE: The web application [/dhis] registered the JBDC driver [org.h2.Driver] but failed to un
register it when the web application was stopped. To prevent a memory leak, the JDBC Driver has
been forcibly unregistered.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/dhis] registered the JBDC driver [org.postgresql.Driver] but fail
ed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Dr

iver has been forcibly unregistered.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/dhis] registered the JBDC driver [com.mysql.jdbc.Driver] but fail

ed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Dr
iver has been forcibly unregistered.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [Timer-0] but has fa
iled to stop it. This is very likely to create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [com.mchange.v2.asyn
c.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to
create a memory leak.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named [com.mchange.v2.asyn
c.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to

create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named [com.mchange.v2.asyn
c.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to

create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named [MySQL Statement Can
cellation Timer] but has failed to stop it. This is very likely to create a memory leak.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named [net.sf.ehcache.Cach
eManager@7a67f797] but has failed to stop it. This is very likely to create a memory leak.

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Nov 10, 2010 4:33:59 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080

Nov 10, 2010 4:33:59 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 10, 2010 4:33:59 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15 config=null

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 125657 ms
Exception in thread “Timer-0” java.lang.NullPointerException
at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257)

    at com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:19
  1. at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    

skype: asangansi.ini
+47 48295638

(Asangansi) #2

Hi All,

I got the fix to the earlier bug. And its running ok.

However, I still have another error while trying to do DHIS1.4 data file import. The import fails.
below is the log:

Nov 11, 2010 10:33:52 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: C:\Program Files\Java\jdk1.6.0_21\bin;.;C
:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%CommonProgramFiles%\Microsoft Shared\Win

dows Live;C:\Tivoli\lcf\dat\1\cache\lib\w32-ix86;C:\Tivoli\lcf\bin\w32-ix86\mrt;C:\Tivoli\lcf\b
in\w32-ix86\tools;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W
indowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program Files (x86)\maven\bin;c:\Program

Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin;C:\Program Files\Java\jre6\bin;C:\Prog
ram Files\Java\jdk1.6.0_21\bin;c:\cygwin\bin;C:\Program Files (x86)\Bazaar;C:\Program Files (x8
6)\QuickTime\QTSystem;C:\Program Files\SlikSvn\bin;C:\MySQLServer5.1\bin;C:\MySQLServer5.1\bi

n;C:\Program Files (x86)\EasyFrom Trial;C:\Program Files\Common Files\Microsoft Shared\Windows
Live;C:\Windows\System32\WindowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program Files
(x86)\maven\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin;C:\Program F

iles\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files (x86)\Bazaar;c:\cygwi
n\bin;C:\maven\bin.
Nov 11, 2010 10:33:52 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080

Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 672 ms
Nov 11, 2010 10:33:52 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina

Nov 11, 2010 10:33:52 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml

Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive dhis.war

  • INFO 10:34:08,129 System property dhis2.home not set (DefaultLocationManager.java [main])
  • INFO 10:34:08,133 Environment variable DHIS2_HOME points to C:\DHIS\config (DefaultLocationM
    anager.java [main])
  • INFO 10:36:00,762 Executing startup routine [1 of 12, runlevel 1]: TableAlteror (DefaultStar

tupRoutineExecutor.java [main])

  • ERROR 10:36:01,314 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘0004.dat
    aentryformassociation’ doesn’t exist (TableAlteror.java [main])

  • INFO 10:36:01,349 Tables updated (TableAlteror.java [main])

  • INFO 10:36:01,368 Executing startup routine [2 of 12, runlevel 2]: PeriodTypePopulator (Defa
    ultStartupRoutineExecutor.java [main])

  • INFO 10:36:01,887 Executing startup routine [3 of 12, runlevel 3]: TableCreator (DefaultStar

tupRoutineExecutor.java [main])

  • INFO 10:36:02,129 Created table aggregateddatavalue (TableCreator.java [main])

  • INFO 10:36:02,284 Created table aggregatedindicatorvalue (TableCreator.java [main])

  • INFO 10:36:02,545 Created index crosstab on table datavalue (TableCreator.java [main])

  • INFO 10:36:02,639 Created table aggregateddatasetcompleteness (TableCreator.java [main])

  • INFO 10:36:02,820 Created table datavaluearchive (TableCreator.java [main])

  • INFO 10:36:03,133 Created table patientdatavaluearchive (TableCreator.java [main])

  • INFO 10:36:03,133 Executing startup routine [4 of 12, runlevel 3]: DataElementDefaultDimensi
    onPopulator (DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,155 Added default concept (DataElementDefaultDimensionPopulator.java [main])

  • INFO 10:36:03,191 Added default category (DataElementDefaultDimensionPopulator.java [main])

  • INFO 10:36:03,196 Linked default category with default concept (DataElementDefaultDimensionP
    opulator.java [main])

  • INFO 10:36:03,282 Executing startup routine [5 of 12, runlevel 3]: MultiDimensionExpressionU
    pgrader (DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,306 Executing startup routine [6 of 12, runlevel 4]: PatientTableAlteror (Defa

ultStartupRoutineExecutor.java [main])

  • ERROR 10:36:03,462 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column
    ‘organisationunitid’ in ‘field list’ (TableAlteror.java [main])

  • INFO 10:36:03,475 Executing startup routine [7 of 12, runlevel 5]: DataSetShortNamePopulator
    (DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,481 Populated DataSet short name and code (DataSetShortNamePopulator.java [mai

n])

  • INFO 10:36:03,482 Executing startup routine [8 of 12, runlevel 5]: UuidPopulator (DefaultSta
    rtupRoutineExecutor.java [main])

  • INFO 10:36:03,489 Checked CategoryOption uuids (UuidPopulator.java [main])

  • INFO 10:36:03,495 Checked Category uuids (UuidPopulator.java [main])

  • INFO 10:36:03,499 Checked DataElement uuids (UuidPopulator.java [main])

  • INFO 10:36:03,500 Executing startup routine [9 of 12, runlevel 5]: OrganisationUnitGroupSetP

opulator (DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,588 Executing startup routine [10 of 12, runlevel 5]: DataEntryFormPopulator (
    DefaultStartupRoutineExecutor.java [main])
  • INFO 10:36:03,589 Removing datasetid column from dataentryform table (DataEntryFormPopulator

.java [main])

  • INFO 10:36:03,771 Executing startup routine [11 of 12, runlevel 5]: ProgramAttributePopulato
    r (DefaultStartupRoutineExecutor.java [main])
  • INFO 10:36:03,810 Executing startup routine [12 of 12, runlevel 8]: I18nUpgrader (DefaultSta

rtupRoutineExecutor.java [main])

  • INFO 10:36:03,839 I18n Upgrader running using locale English (United Kingdom) (I18nUpgrader.
    java [main])

  • INFO 10:36:03,867 I18n Upgrader: OrganisationUnitGroupSet (2) (I18nUpgrader.java [main])

  • INFO 10:36:03,875 I81n Upgrader: DataElementCategory (1) (I18nUpgrader.java [main])

  • INFO 10:36:03,878 I81n Upgrader: DataElementCategoryOption (1) (I18nUpgrader.java [main])

  • INFO 10:36:03,892 I81n Upgrader: DataElementCategoryCombo (1) (I18nUpgrader.java [main])

  • INFO 10:36:03,894 All startup routines done (DefaultStartupRoutineExecutor.java [main])
    Nov 11, 2010 10:36:05 AM com.sun.jersey.spi.spring.container.servlet.SpringServlet getContext
    INFO: Using default applicationContext

Nov 11, 2010 10:36:05 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean, org.hisp.dhis.web.api.provider.AbstractModelListProvider, of typ
e org.hisp.dhis.web.api.provider.AbstractModelListProvider as a provider class

Nov 11, 2010 10:36:05 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean, org.hisp.dhis.web.api.provider.MobileWrapperProvider, of type or
g.hisp.dhis.web.api.provider.MobileWrapperProvider as a provider class

Nov 11, 2010 10:36:05 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean, org.hisp.dhis.web.api.consumer.DataSetValueConsumer, of type org
.hisp.dhis.web.api.consumer.DataSetValueConsumer as a provider class

Nov 11, 2010 10:36:05 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean, org.hisp.dhis.web.api.consumer.ActivityValueConsumer, of type or
g.hisp.dhis.web.api.consumer.ActivityValueConsumer as a provider class

Nov 11, 2010 10:36:05 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean, org.hisp.dhis.web.api.resources.MobileResouce, of type org.hisp.
dhis.web.api.resources.MobileResouce as a root resource class

Nov 11, 2010 10:36:05 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean, org.hisp.dhis.web.api.resources.OrgUnitResource, of type org.his
p.dhis.web.api.resources.OrgUnitResource as a root resource class

Nov 11, 2010 10:36:05 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean, org.hisp.dhis.web.api.resources.DataSetResource, of type org.his
p.dhis.web.api.resources.DataSetResource as a root resource class

Nov 11, 2010 10:36:05 AM com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean, org.hisp.dhis.web.api.resources.ActivityPlanResource, of type or
g.hisp.dhis.web.api.resources.ActivityPlanResource as a root resource class

Nov 11, 2010 10:36:06 AM com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version ‘Jersey: 1.3 06/17/2010 04:53 PM’
Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory docs
Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory ROOT
Nov 11, 2010 10:36:07 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 11, 2010 10:36:07 AM org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 11, 2010 10:36:07 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/48 config=null
Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 135388 ms

  • AUDIT_TRAIL 10:38:29,027 User “null” added User “admin admin” (HibernateUserStore.java [http
    -8080-1])

  • INFO 10:38:38,888 User login success: ‘admin’ (DefaultUserAuditService.java [http-8080-2])

  • INFO 10:51:09,309 Internal process started (AbstractStatementInternalProcess.java [Thread-20
    ])

  • INFO 10:51:09,994 java.lang.RuntimeException: Query for Object failed (DefaultDhis14FileImpo
    rtService.java [Thread-20])

  • ERROR 10:51:09,995 Internal process failed (AbstractStatementInternalProcess.java [Thread-20]
    )
    DHIS14 import failed: java.lang.RuntimeException: Query for Object failed
    at org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.impor

tData(DefaultDhis14FileImportService.java:321)
at org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalPro
cess.java:89)
at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem

entInternalProcess.java:91)
at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:40)
at org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)

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

DHIS14 import failed: java.lang.RuntimeException: Query for Object failed
at org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.impor

tData(DefaultDhis14FileImportService.java:321)
at org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalPro
cess.java:89)
at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem

entInternalProcess.java:91)
at org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:40)
at org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)

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

Thanks.
Ini

¡¡¡

skype: asangansi.ini
+47 48295638

On Wed, Nov 10, 2010 at 4:46 PM, Asangansi asangansi.enyenihi@gmail.com wrote:

Hi, this time the dhis.war deployment in tomcat failed.
And this is the log.

Nov 10, 2010 4:31:53 PM 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: C:\Program Files\Java\jdk1.6.0_21\bin;.;C
:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%CommonProgramFiles%\Microsoft Shared\Win
dows Live;C:\Tivoli\lcf\dat\1\cache\lib\w32-ix86;C:\Tivoli\lcf\bin\w32-ix86\mrt;C:\Tivoli\lcf\b

in\w32-ix86\tools;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W
indowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program Files (x86)\maven\bin;c:\Program
Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin;C:\Program Files\Java\jre6\bin;C:\Prog

ram Files\Java\jdk1.6.0_21\bin;c:\cygwin\bin;C:\Program Files (x86)\Bazaar;C:\Program Files (x8
6)\QuickTime\QTSystem;C:\Program Files\SlikSvn\bin;C:\MySQLServer5.1\bin;C:\MySQLServer5.1\bi
n;C:\Program Files (x86)\EasyFrom Trial;C:\Program Files\Common Files\Microsoft Shared\Windows

Live;C:\Windows\System32\WindowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program Files
(x86)\maven\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin;C:\Program F
iles\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files (x86)\Bazaar;c:\cygwi

n\bin;C:\maven\bin.
Nov 10, 2010 4:31:54 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 651 ms

Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29

Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployDescriptor

INFO: Deploying configuration descriptor manager.xml
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive dhis.war

  • INFO 16:32:03,598 System property dhis2.home not set (DefaultLocationManager.java [main])

  • INFO 16:32:03,601 Environment variable DHIS2_HOME points to C:\DHIS\config (DefaultLocationM
    anager.java [main])

  • ERROR 16:33:57,614 com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column

‘organisationunitid’ in ‘field list’ (TableAlteror.java [main])

  • ERROR 16:33:58,713 Context initialization failed (ContextLoader.java [main])
    java.lang.NoClassDefFoundError: Lorg/amplecode/quick/JdbcConfiguration;
    at java.lang.Class.getDeclaredFields0(Native Method)

      at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
      at java.lang.Class.getDeclaredFields(Class.java:1743)
      at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersi
    

stenceMetadata(PersistenceAnnotationBeanPostProcessor.java:372)
at org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProce
ssMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:320)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMe

rgedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:798)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreat

eBean(AbstractAutowireCapableBeanFactory.java:493)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createB
ean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBe

anFactory.java:291)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(
DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBean

Factory.java:288)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFa
ctory.java:190)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateS

ingletons(DefaultListableBeanFactory.java:580)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInit
ialization(AbstractApplicationContext.java:895)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractAppli

cationContext.java:425)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoa
der.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoade

r.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoad
erListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)


    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)


    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
    at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)


    at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:1
  1. at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    
    
    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
    at org.apache.catalina.core.StandardService.start(StandardService.java:519)
    
    
    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    
    
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
    

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

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: java.lang.ClassNotFoundException: org.amplecode.quick.JdbcConfiguration

    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
    at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
    ... 42 more

Nov 10, 2010 4:33:58 PM org.apache.catalina.core.StandardContext start

SEVERE: Error listenerStart
Nov 10, 2010 4:33:58 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/dhis] startup failed due to previous errors
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc

SEVERE: The web application [/dhis] registered the JBDC driver [org.h2.Driver] but failed to un
register it when the web application was stopped. To prevent a memory leak, the JDBC Driver has
been forcibly unregistered.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/dhis] registered the JBDC driver [org.postgresql.Driver] but fail
ed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Dr

iver has been forcibly unregistered.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: The web application [/dhis] registered the JBDC driver [com.mysql.jdbc.Driver] but fail

ed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Dr
iver has been forcibly unregistered.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [Timer-0] but has fa
iled to stop it. This is very likely to create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named [com.mchange.v2.asyn
c.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it. This is very likely to
create a memory leak.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named [com.mchange.v2.asyn
c.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it. This is very likely to

create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named [com.mchange.v2.asyn

c.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it. This is very likely to

create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named [MySQL Statement Can

cellation Timer] but has failed to stop it. This is very likely to create a memory leak.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named [net.sf.ehcache.Cach
eManager@7a67f797] but has failed to stop it. This is very likely to create a memory leak.

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Nov 10, 2010 4:33:59 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080

Nov 10, 2010 4:33:59 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 10, 2010 4:33:59 PM org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/15 config=null

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 125657 ms
Exception in thread “Timer-0” java.lang.NullPointerException
at com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257)

    at com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:19
  1. at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)
    

skype: asangansi.ini
+47 48295638

(Jason Pickering) #3

Just to check, you have set "DHIS 1.4 File Configuration" and defined
an ODBC connection?

¡¡¡

On Thu, Nov 11, 2010 at 12:04 PM, Asangansi <asangansi.enyenihi@gmail.com> wrote:

Hi All,

I got the fix to the earlier bug. And its running ok.

However, I still have another error while trying to do DHIS1.4 data file
import. The import fails.
below is the log:

Nov 11, 2010 10:33:52 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: C:\Program
Files\Java\jdk1.6.0_21\bin;.;C
:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%CommonProgramFiles%\Microsoft
Shared\Win
dows
Live;C:\Tivoli\lcf\dat\1\cache\lib\w32-ix86;C:\Tivoli\lcf\bin\w32-ix86\mrt;C:\Tivoli\lcf\b
in\w32-ix86\tools;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W
indowsPowerShell\v1.0\;c:\bin\perl\bin;c:\bin\tools;C:\Program Files
(x86)\maven\bin;c:\Program
Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin\;C:\Program
Files\Java\jre6\bin;C:\Prog
ram Files\Java\jdk1.6.0_21\bin;c:\cygwin\bin;C:\Program Files
(x86)\Bazaar;C:\Program Files (x8
6)\QuickTime\QTSystem\;C:\Program
Files\SlikSvn\bin\;C:\MySQLServer5.1\bin;C:\MySQLServer5.1\bi
n;C:\Program Files (x86)\EasyFrom Trial;C:\Program Files\Common
Files\Microsoft Shared\Windows
Live;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\bin\perl\bin;c:\bin\tools;C:\Program
Files
(x86)\maven\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files
(x86)\SMLNJ\bin\;C:\Program F
iles\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files
(x86)\Bazaar;c:\cygwi
n\bin;C:\maven\bin.
Nov 11, 2010 10:33:52 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 672 ms
Nov 11, 2010 10:33:52 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 11, 2010 10:33:52 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.HostConfig
deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.HostConfig
deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive dhis.war
* INFO 10:34:08,129 System property dhis2.home not set
(DefaultLocationManager.java [main])
* INFO 10:34:08,133 Environment variable DHIS2_HOME points to
C:\DHIS\config (DefaultLocationM
anager.java [main])
* INFO 10:36:00,762 Executing startup routine [1 of 12, runlevel 1]:
TableAlteror (DefaultStar
tupRoutineExecutor.java [main])
* ERROR 10:36:01,314
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table '0004.dat
aentryformassociation' doesn't exist (TableAlteror.java [main])
* INFO 10:36:01,349 Tables updated (TableAlteror.java [main])
* INFO 10:36:01,368 Executing startup routine [2 of 12, runlevel 2]:
PeriodTypePopulator (Defa
ultStartupRoutineExecutor.java [main])
* INFO 10:36:01,887 Executing startup routine [3 of 12, runlevel 3]:
TableCreator (DefaultStar
tupRoutineExecutor.java [main])
* INFO 10:36:02,129 Created table aggregateddatavalue (TableCreator.java
[main])
* INFO 10:36:02,284 Created table aggregatedindicatorvalue
(TableCreator.java [main])
* INFO 10:36:02,545 Created index crosstab on table datavalue
(TableCreator.java [main])
* INFO 10:36:02,639 Created table aggregateddatasetcompleteness
(TableCreator.java [main])
* INFO 10:36:02,820 Created table datavaluearchive (TableCreator.java
[main])
* INFO 10:36:03,133 Created table patientdatavaluearchive
(TableCreator.java [main])
* INFO 10:36:03,133 Executing startup routine [4 of 12, runlevel 3]:
DataElementDefaultDimensi
onPopulator (DefaultStartupRoutineExecutor.java [main])
* INFO 10:36:03,155 Added default concept
(DataElementDefaultDimensionPopulator.java [main])
* INFO 10:36:03,191 Added default category
(DataElementDefaultDimensionPopulator.java [main])
* INFO 10:36:03,196 Linked default category with default concept
(DataElementDefaultDimensionP
opulator.java [main])
* INFO 10:36:03,282 Executing startup routine [5 of 12, runlevel 3]:
MultiDimensionExpressionU
pgrader (DefaultStartupRoutineExecutor.java [main])
* INFO 10:36:03,306 Executing startup routine [6 of 12, runlevel 4]:
PatientTableAlteror (Defa
ultStartupRoutineExecutor.java [main])
* ERROR 10:36:03,462
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column
'organisationunitid' in 'field list' (TableAlteror.java [main])
* INFO 10:36:03,475 Executing startup routine [7 of 12, runlevel 5]:
DataSetShortNamePopulator
(DefaultStartupRoutineExecutor.java [main])
* INFO 10:36:03,481 Populated DataSet short name and code
(DataSetShortNamePopulator.java [mai
n])
* INFO 10:36:03,482 Executing startup routine [8 of 12, runlevel 5]:
UuidPopulator (DefaultSta
rtupRoutineExecutor.java [main])
* INFO 10:36:03,489 Checked CategoryOption uuids (UuidPopulator.java
[main])
* INFO 10:36:03,495 Checked Category uuids (UuidPopulator.java [main])
* INFO 10:36:03,499 Checked DataElement uuids (UuidPopulator.java [main])
* INFO 10:36:03,500 Executing startup routine [9 of 12, runlevel 5]:
OrganisationUnitGroupSetP
opulator (DefaultStartupRoutineExecutor.java [main])
* INFO 10:36:03,588 Executing startup routine [10 of 12, runlevel 5]:
DataEntryFormPopulator (
DefaultStartupRoutineExecutor.java [main])
* INFO 10:36:03,589 Removing datasetid column from dataentryform table
(DataEntryFormPopulator
.java [main])
* INFO 10:36:03,771 Executing startup routine [11 of 12, runlevel 5]:
ProgramAttributePopulato
r (DefaultStartupRoutineExecutor.java [main])
* INFO 10:36:03,810 Executing startup routine [12 of 12, runlevel 8]:
I18nUpgrader (DefaultSta
rtupRoutineExecutor.java [main])
* INFO 10:36:03,839 I18n Upgrader running using locale English (United
Kingdom) (I18nUpgrader.
java [main])
* INFO 10:36:03,867 I18n Upgrader: OrganisationUnitGroupSet (2)
(I18nUpgrader.java [main])
* INFO 10:36:03,875 I81n Upgrader: DataElementCategory (1)
(I18nUpgrader.java [main])
* INFO 10:36:03,878 I81n Upgrader: DataElementCategoryOption (1)
(I18nUpgrader.java [main])
* INFO 10:36:03,892 I81n Upgrader: DataElementCategoryCombo (1)
(I18nUpgrader.java [main])
* INFO 10:36:03,894 All startup routines done
(DefaultStartupRoutineExecutor.java [main])
Nov 11, 2010 10:36:05 AM
com.sun.jersey.spi.spring.container.servlet.SpringServlet getContext
INFO: Using default applicationContext
Nov 11, 2010 10:36:05 AM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean,
org.hisp.dhis.web.api.provider.AbstractModelListProvider, of typ
e org.hisp.dhis.web.api.provider.AbstractModelListProvider as a provider
class
Nov 11, 2010 10:36:05 AM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean,
org.hisp.dhis.web.api.provider.MobileWrapperProvider, of type or
g.hisp.dhis.web.api.provider.MobileWrapperProvider as a provider class
Nov 11, 2010 10:36:05 AM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean,
org.hisp.dhis.web.api.consumer.DataSetValueConsumer, of type org
.hisp.dhis.web.api.consumer.DataSetValueConsumer as a provider class
Nov 11, 2010 10:36:05 AM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean,
org.hisp.dhis.web.api.consumer.ActivityValueConsumer, of type or
g.hisp.dhis.web.api.consumer.ActivityValueConsumer as a provider class
Nov 11, 2010 10:36:05 AM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean,
org.hisp.dhis.web.api.resources.MobileResouce, of type org.hisp.
dhis.web.api.resources.MobileResouce as a root resource class
Nov 11, 2010 10:36:05 AM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean,
org.hisp.dhis.web.api.resources.OrgUnitResource, of type org.his
p.dhis.web.api.resources.OrgUnitResource as a root resource class
Nov 11, 2010 10:36:05 AM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean,
org.hisp.dhis.web.api.resources.DataSetResource, of type org.his
p.dhis.web.api.resources.DataSetResource as a root resource class
Nov 11, 2010 10:36:05 AM
com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg
ister
INFO: Registering Spring bean,
org.hisp.dhis.web.api.resources.ActivityPlanResource, of type or
g.hisp.dhis.web.api.resources.ActivityPlanResource as a root resource class
Nov 11, 2010 10:36:06 AM
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.3 06/17/2010 04:53
PM'
Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory docs
Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory examples
Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory ROOT
Nov 11, 2010 10:36:07 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 11, 2010 10:36:07 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 11, 2010 10:36:07 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/48 config=null
Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 135388 ms
* AUDIT_TRAIL 10:38:29,027 User "null" added User "admin admin"
(HibernateUserStore.java [http
-8080-1])
* INFO 10:38:38,888 User login success: 'admin'
(DefaultUserAuditService.java [http-8080-2])
* INFO 10:51:09,309 Internal process started
(AbstractStatementInternalProcess.java [Thread-20
])
* INFO 10:51:09,994 java.lang.RuntimeException: Query for Object failed
(DefaultDhis14FileImpo
rtService.java [Thread-20])
* ERROR 10:51:09,995 Internal process failed
(AbstractStatementInternalProcess.java [Thread-20]
)
DHIS14 import failed: java.lang.RuntimeException: Query for Object failed
at
org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.impor
tData(DefaultDhis14FileImportService.java:321)
at
org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalPro
cess.java:89)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:91)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:40)
at
org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
at java.lang.Thread.run(Thread.java:619)
DHIS14 import failed: java.lang.RuntimeException: Query for Object failed
at
org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.impor
tData(DefaultDhis14FileImportService.java:321)
at
org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalPro
cess.java:89)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:91)
at
org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem
entInternalProcess.java:40)
at
org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)
at java.lang.Thread.run(Thread.java:619)

Thanks.
Ini

__________________________
skype: asangansi.ini
+47 48295638

On Wed, Nov 10, 2010 at 4:46 PM, Asangansi <asangansi.enyenihi@gmail.com> > wrote:

Hi, this time the dhis.war deployment in tomcat failed.
And this is the log.

Nov 10, 2010 4:31:53 PM 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: C:\Program
Files\Java\jdk1.6.0_21\bin;.;C

:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%CommonProgramFiles%\Microsoft
Shared\Win
dows
Live;C:\Tivoli\lcf\dat\1\cache\lib\w32-ix86;C:\Tivoli\lcf\bin\w32-ix86\mrt;C:\Tivoli\lcf\b

in\w32-ix86\tools;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W
indowsPowerShell\v1.0\;c:\bin\perl\bin;c:\bin\tools;C:\Program Files
(x86)\maven\bin;c:\Program
Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin\;C:\Program
Files\Java\jre6\bin;C:\Prog
ram Files\Java\jdk1.6.0_21\bin;c:\cygwin\bin;C:\Program Files
(x86)\Bazaar;C:\Program Files (x8
6)\QuickTime\QTSystem\;C:\Program
Files\SlikSvn\bin\;C:\MySQLServer5.1\bin;C:\MySQLServer5.1\bi
n;C:\Program Files (x86)\EasyFrom Trial;C:\Program Files\Common
Files\Microsoft Shared\Windows

Live;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\bin\perl\bin;c:\bin\tools;C:\Program
Files
(x86)\maven\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files
(x86)\SMLNJ\bin\;C:\Program F
iles\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files
(x86)\Bazaar;c:\cygwi
n\bin;C:\maven\bin.
Nov 10, 2010 4:31:54 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 651 ms
Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig
deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig
deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive dhis.war
* INFO 16:32:03,598 System property dhis2.home not set
(DefaultLocationManager.java [main])
* INFO 16:32:03,601 Environment variable DHIS2_HOME points to
C:\DHIS\config (DefaultLocationM
anager.java [main])
* ERROR 16:33:57,614
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column
'organisationunitid' in 'field list' (TableAlteror.java [main])
* ERROR 16:33:58,713 Context initialization failed (ContextLoader.java
[main])
java.lang.NoClassDefFoundError: Lorg/amplecode/quick/JdbcConfiguration;
at java.lang.Class.getDeclaredFields0(Native Method)
at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
at java.lang.Class.getDeclaredFields(Class.java:1743)
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersi
stenceMetadata(PersistenceAnnotationBeanPostProcessor.java:372)
at
org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProce
ssMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:320)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMe

rgedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:798)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreat
eBean(AbstractAutowireCapableBeanFactory.java:493)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createB
ean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBe
anFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(
DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBean
Factory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFa
ctory.java:190)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateS
ingletons(DefaultListableBeanFactory.java:580)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInit
ialization(AbstractApplicationContext.java:895)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractAppli
cationContext.java:425)
at
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoa
der.java:276)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoade
r.java:197)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoad
erListener.java:47)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:1
19)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at
org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
at
org.apache.catalina.core.StandardService.start(StandardService.java:519)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25
)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: java.lang.ClassNotFoundException:
org.amplecode.quick.JdbcConfiguration
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
... 42 more
Nov 10, 2010 4:33:58 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Nov 10, 2010 4:33:58 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/dhis] startup failed due to previous errors
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: The web application [/dhis] registered the JBDC driver
[org.h2.Driver] but failed to un
register it when the web application was stopped. To prevent a memory
leak, the JDBC Driver has
been forcibly unregistered.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: The web application [/dhis] registered the JBDC driver
[org.postgresql.Driver] but fail
ed to unregister it when the web application was stopped. To prevent a
memory leak, the JDBC Dr
iver has been forcibly unregistered.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesJdbc
SEVERE: The web application [/dhis] registered the JBDC driver
[com.mysql.jdbc.Driver] but fail
ed to unregister it when the web application was stopped. To prevent a
memory leak, the JDBC Dr
iver has been forcibly unregistered.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named
[Timer-0] but has fa
iled to stop it. This is very likely to create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named
[com.mchange.v2.asyn
c.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it.
This is very likely to
create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named
[com.mchange.v2.asyn
c.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it.
This is very likely to
create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named
[com.mchange.v2.asyn
c.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it.
This is very likely to
create a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named
[MySQL Statement Can
cellation Timer] but has failed to stop it. This is very likely to create
a memory leak.
Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader
clearReferencesThreads
SEVERE: The web application [/dhis] appears to have started a thread named
[net.sf.ehcache.Cach
eManager@7a67f797] but has failed to stop it. This is very likely to
create a memory leak.
Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory docs
Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory examples
Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory ROOT
Nov 10, 2010 4:33:59 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Nov 10, 2010 4:33:59 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 10, 2010 4:33:59 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15 config=null
Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 125657 ms
Exception in thread "Timer-0" java.lang.NullPointerException
at
com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257)
at
com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:19
34)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)

skype: asangansi.ini
+47 48295638

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp

--
Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+260968395190

(Asangansi) #4

Yes i did that.

skype: asangansi.ini
+47 48295638

¡¡¡

On Thu, Nov 11, 2010 at 11:35 AM, Jason Pickering jason.p.pickering@gmail.com wrote:

Just to check, you have set “DHIS 1.4 File Configuration” and defined

an ODBC connection?

On Thu, Nov 11, 2010 at 12:04 PM, Asangansi > asangansi.enyenihi@gmail.com wrote:

Hi All,

I got the fix to the earlier bug. And its running ok.

However, I still have another error while trying to do DHIS1.4 data file

import. The import fails.

below is the log:

Nov 11, 2010 10:33:52 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: C:\Program

Files\Java\jdk1.6.0_21\bin;.;C

:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%CommonProgramFiles%\Microsoft

Shared\Win

dows

Live;C:\Tivoli\lcf\dat\1\cache\lib\w32-ix86;C:\Tivoli\lcf\bin\w32-ix86\mrt;C:\Tivoli\lcf\b

in\w32-ix86\tools;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W

indowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program Files

(x86)\maven\bin;c:\Program

Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin;C:\Program

Files\Java\jre6\bin;C:\Prog

ram Files\Java\jdk1.6.0_21\bin;c:\cygwin\bin;C:\Program Files

(x86)\Bazaar;C:\Program Files (x8

6)\QuickTime\QTSystem;C:\Program

Files\SlikSvn\bin;C:\MySQLServer5.1\bin;C:\MySQLServer5.1\bi

n;C:\Program Files (x86)\EasyFrom Trial;C:\Program Files\Common

Files\Microsoft Shared\Windows

Live;C:\Windows\System32\WindowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program

Files

(x86)\maven\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files

(x86)\SMLNJ\bin;C:\Program F

iles\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files

(x86)\Bazaar;c:\cygwi

n\bin;C:\maven\bin.

Nov 11, 2010 10:33:52 AM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 672 ms

Nov 11, 2010 10:33:52 AM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Nov 11, 2010 10:33:52 AM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.29

Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.HostConfig

deployDescriptor

INFO: Deploying configuration descriptor host-manager.xml

Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.HostConfig

deployDescriptor

INFO: Deploying configuration descriptor manager.xml

Nov 11, 2010 10:33:52 AM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive dhis.war

  • INFO 10:34:08,129 System property dhis2.home not set

(DefaultLocationManager.java [main])

  • INFO 10:34:08,133 Environment variable DHIS2_HOME points to

C:\DHIS\config (DefaultLocationM

anager.java [main])

  • INFO 10:36:00,762 Executing startup routine [1 of 12, runlevel 1]:

TableAlteror (DefaultStar

tupRoutineExecutor.java [main])

  • ERROR 10:36:01,314

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table '0004.dat

aentryformassociation’ doesn’t exist (TableAlteror.java [main])

  • INFO 10:36:01,349 Tables updated (TableAlteror.java [main])
  • INFO 10:36:01,368 Executing startup routine [2 of 12, runlevel 2]:

PeriodTypePopulator (Defa

ultStartupRoutineExecutor.java [main])

  • INFO 10:36:01,887 Executing startup routine [3 of 12, runlevel 3]:

TableCreator (DefaultStar

tupRoutineExecutor.java [main])

  • INFO 10:36:02,129 Created table aggregateddatavalue (TableCreator.java

[main])

  • INFO 10:36:02,284 Created table aggregatedindicatorvalue

(TableCreator.java [main])

  • INFO 10:36:02,545 Created index crosstab on table datavalue

(TableCreator.java [main])

  • INFO 10:36:02,639 Created table aggregateddatasetcompleteness

(TableCreator.java [main])

  • INFO 10:36:02,820 Created table datavaluearchive (TableCreator.java

[main])

  • INFO 10:36:03,133 Created table patientdatavaluearchive

(TableCreator.java [main])

  • INFO 10:36:03,133 Executing startup routine [4 of 12, runlevel 3]:

DataElementDefaultDimensi

onPopulator (DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,155 Added default concept

(DataElementDefaultDimensionPopulator.java [main])

  • INFO 10:36:03,191 Added default category

(DataElementDefaultDimensionPopulator.java [main])

  • INFO 10:36:03,196 Linked default category with default concept

(DataElementDefaultDimensionP

opulator.java [main])

  • INFO 10:36:03,282 Executing startup routine [5 of 12, runlevel 3]:

MultiDimensionExpressionU

pgrader (DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,306 Executing startup routine [6 of 12, runlevel 4]:

PatientTableAlteror (Defa

ultStartupRoutineExecutor.java [main])

  • ERROR 10:36:03,462

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column

‘organisationunitid’ in ‘field list’ (TableAlteror.java [main])

  • INFO 10:36:03,475 Executing startup routine [7 of 12, runlevel 5]:

DataSetShortNamePopulator

(DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,481 Populated DataSet short name and code

(DataSetShortNamePopulator.java [mai

n])

  • INFO 10:36:03,482 Executing startup routine [8 of 12, runlevel 5]:

UuidPopulator (DefaultSta

rtupRoutineExecutor.java [main])

  • INFO 10:36:03,489 Checked CategoryOption uuids (UuidPopulator.java

[main])

  • INFO 10:36:03,495 Checked Category uuids (UuidPopulator.java [main])
  • INFO 10:36:03,499 Checked DataElement uuids (UuidPopulator.java [main])
  • INFO 10:36:03,500 Executing startup routine [9 of 12, runlevel 5]:

OrganisationUnitGroupSetP

opulator (DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,588 Executing startup routine [10 of 12, runlevel 5]:

DataEntryFormPopulator (

DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,589 Removing datasetid column from dataentryform table

(DataEntryFormPopulator

.java [main])

  • INFO 10:36:03,771 Executing startup routine [11 of 12, runlevel 5]:

ProgramAttributePopulato

r (DefaultStartupRoutineExecutor.java [main])

  • INFO 10:36:03,810 Executing startup routine [12 of 12, runlevel 8]:

I18nUpgrader (DefaultSta

rtupRoutineExecutor.java [main])

  • INFO 10:36:03,839 I18n Upgrader running using locale English (United

Kingdom) (I18nUpgrader.

java [main])

  • INFO 10:36:03,867 I18n Upgrader: OrganisationUnitGroupSet (2)

(I18nUpgrader.java [main])

  • INFO 10:36:03,875 I81n Upgrader: DataElementCategory (1)

(I18nUpgrader.java [main])

  • INFO 10:36:03,878 I81n Upgrader: DataElementCategoryOption (1)

(I18nUpgrader.java [main])

  • INFO 10:36:03,892 I81n Upgrader: DataElementCategoryCombo (1)

(I18nUpgrader.java [main])

  • INFO 10:36:03,894 All startup routines done

(DefaultStartupRoutineExecutor.java [main])

Nov 11, 2010 10:36:05 AM

com.sun.jersey.spi.spring.container.servlet.SpringServlet getContext

INFO: Using default applicationContext

Nov 11, 2010 10:36:05 AM

com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg

ister

INFO: Registering Spring bean,

org.hisp.dhis.web.api.provider.AbstractModelListProvider, of typ

e org.hisp.dhis.web.api.provider.AbstractModelListProvider as a provider

class

Nov 11, 2010 10:36:05 AM

com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg

ister

INFO: Registering Spring bean,

org.hisp.dhis.web.api.provider.MobileWrapperProvider, of type or

g.hisp.dhis.web.api.provider.MobileWrapperProvider as a provider class

Nov 11, 2010 10:36:05 AM

com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg

ister

INFO: Registering Spring bean,

org.hisp.dhis.web.api.consumer.DataSetValueConsumer, of type org

.hisp.dhis.web.api.consumer.DataSetValueConsumer as a provider class

Nov 11, 2010 10:36:05 AM

com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg

ister

INFO: Registering Spring bean,

org.hisp.dhis.web.api.consumer.ActivityValueConsumer, of type or

g.hisp.dhis.web.api.consumer.ActivityValueConsumer as a provider class

Nov 11, 2010 10:36:05 AM

com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg

ister

INFO: Registering Spring bean,

org.hisp.dhis.web.api.resources.MobileResouce, of type org.hisp.

dhis.web.api.resources.MobileResouce as a root resource class

Nov 11, 2010 10:36:05 AM

com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg

ister

INFO: Registering Spring bean,

org.hisp.dhis.web.api.resources.OrgUnitResource, of type org.his

p.dhis.web.api.resources.OrgUnitResource as a root resource class

Nov 11, 2010 10:36:05 AM

com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg

ister

INFO: Registering Spring bean,

org.hisp.dhis.web.api.resources.DataSetResource, of type org.his

p.dhis.web.api.resources.DataSetResource as a root resource class

Nov 11, 2010 10:36:05 AM

com.sun.jersey.spi.spring.container.SpringComponentProviderFactory reg

ister

INFO: Registering Spring bean,

org.hisp.dhis.web.api.resources.ActivityPlanResource, of type or

g.hisp.dhis.web.api.resources.ActivityPlanResource as a root resource class

Nov 11, 2010 10:36:06 AM

com.sun.jersey.server.impl.application.WebApplicationImpl _initiate

INFO: Initiating Jersey application, version 'Jersey: 1.3 06/17/2010 04:53

PM’

Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.HostConfig

deployDirectory

INFO: Deploying web application directory docs

Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.HostConfig

deployDirectory

INFO: Deploying web application directory examples

Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.HostConfig

deployDirectory

INFO: Deploying web application directory ROOT

Nov 11, 2010 10:36:07 AM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

Nov 11, 2010 10:36:07 AM org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009

Nov 11, 2010 10:36:07 AM org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/48 config=null

Nov 11, 2010 10:36:07 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 135388 ms

  • AUDIT_TRAIL 10:38:29,027 User “null” added User “admin admin”

(HibernateUserStore.java [http

-8080-1])

  • INFO 10:38:38,888 User login success: ‘admin’

(DefaultUserAuditService.java [http-8080-2])

  • INFO 10:51:09,309 Internal process started

(AbstractStatementInternalProcess.java [Thread-20

])

  • INFO 10:51:09,994 java.lang.RuntimeException: Query for Object failed

(DefaultDhis14FileImpo

rtService.java [Thread-20])

  • ERROR 10:51:09,995 Internal process failed

(AbstractStatementInternalProcess.java [Thread-20]

)

DHIS14 import failed: java.lang.RuntimeException: Query for Object failed

    at

org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.impor

tData(DefaultDhis14FileImportService.java:321)

    at

org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalPro

cess.java:89)

    at

org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem

entInternalProcess.java:91)

    at

org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem

entInternalProcess.java:40)

    at

org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)

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

DHIS14 import failed: java.lang.RuntimeException: Query for Object failed

    at

org.hisp.dhis.importexport.dhis14.file.importer.DefaultDhis14FileImportService.impor

tData(DefaultDhis14FileImportService.java:321)

    at

org.hisp.dhis.importexport.ImportInternalProcess.executeStatements(ImportInternalPro

cess.java:89)

    at

org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem

entInternalProcess.java:91)

    at

org.hisp.dhis.system.process.AbstractStatementInternalProcess.execute(AbstractStatem

entInternalProcess.java:40)

    at

org.amplecode.cave.process.ProcessExecutor.run(ProcessExecutor.java:125)

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

Thanks.

Ini


skype: asangansi.ini

+47 48295638

On Wed, Nov 10, 2010 at 4:46 PM, Asangansi asangansi.enyenihi@gmail.com > > > wrote:

Hi, this time the dhis.war deployment in tomcat failed.

And this is the log.

Nov 10, 2010 4:31:53 PM 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: C:\Program

Files\Java\jdk1.6.0_21\bin;.;C

:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;%CommonProgramFiles%\Microsoft

Shared\Win

dows

Live;C:\Tivoli\lcf\dat\1\cache\lib\w32-ix86;C:\Tivoli\lcf\bin\w32-ix86\mrt;C:\Tivoli\lcf\b

in\w32-ix86\tools;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\W

indowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program Files

(x86)\maven\bin;c:\Program

Files\TortoiseSVN\bin;c:\Program Files (x86)\SMLNJ\bin;C:\Program

Files\Java\jre6\bin;C:\Prog

ram Files\Java\jdk1.6.0_21\bin;c:\cygwin\bin;C:\Program Files

(x86)\Bazaar;C:\Program Files (x8

6)\QuickTime\QTSystem;C:\Program

Files\SlikSvn\bin;C:\MySQLServer5.1\bin;C:\MySQLServer5.1\bi

n;C:\Program Files (x86)\EasyFrom Trial;C:\Program Files\Common

Files\Microsoft Shared\Windows

Live;C:\Windows\System32\WindowsPowerShell\v1.0;c:\bin\perl\bin;c:\bin\tools;C:\Program

Files

(x86)\maven\bin;c:\Program Files\TortoiseSVN\bin;c:\Program Files

(x86)\SMLNJ\bin;C:\Program F

iles\Java\jre6\bin;C:\Program Files\Java\jdk1.6.0_21\bin;C:\Program Files

(x86)\Bazaar;c:\cygwi

n\bin;C:\maven\bin.

Nov 10, 2010 4:31:54 PM org.apache.coyote.http11.Http11Protocol init

INFO: Initializing Coyote HTTP/1.1 on http-8080

Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.Catalina load

INFO: Initialization processed in 651 ms

Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardService start

INFO: Starting service Catalina

Nov 10, 2010 4:31:54 PM org.apache.catalina.core.StandardEngine start

INFO: Starting Servlet Engine: Apache Tomcat/6.0.29

Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig

deployDescriptor

INFO: Deploying configuration descriptor host-manager.xml

Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig

deployDescriptor

INFO: Deploying configuration descriptor manager.xml

Nov 10, 2010 4:31:54 PM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive dhis.war

  • INFO 16:32:03,598 System property dhis2.home not set

(DefaultLocationManager.java [main])

  • INFO 16:32:03,601 Environment variable DHIS2_HOME points to

C:\DHIS\config (DefaultLocationM

anager.java [main])

  • ERROR 16:33:57,614

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown column

‘organisationunitid’ in ‘field list’ (TableAlteror.java [main])

  • ERROR 16:33:58,713 Context initialization failed (ContextLoader.java

[main])

java.lang.NoClassDefFoundError: Lorg/amplecode/quick/JdbcConfiguration;

    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)
    at java.lang.Class.getDeclaredFields(Class.java:1743)
    at

org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.findPersi

stenceMetadata(PersistenceAnnotationBeanPostProcessor.java:372)

    at

org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor.postProce

ssMergedBeanDefinition(PersistenceAnnotationBeanPostProcessor.java:320)

    at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMe

rgedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:798)

    at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreat

eBean(AbstractAutowireCapableBeanFactory.java:493)

    at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createB

ean(AbstractAutowireCapableBeanFactory.java:456)

    at

org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBe

anFactory.java:291)

    at

org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(

DefaultSingletonBeanRegistry.java:222)

    at

org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBean

Factory.java:288)

    at

org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFa

ctory.java:190)

    at

org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateS

ingletons(DefaultListableBeanFactory.java:580)

    at

org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInit

ialization(AbstractApplicationContext.java:895)

    at

org.springframework.context.support.AbstractApplicationContext.refresh(AbstractAppli

cationContext.java:425)

    at

org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoa

der.java:276)

    at

org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoade

r.java:197)

    at

org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoad

erListener.java:47)

    at

org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)

    at

org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)

    at

org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)

    at

org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)

    at

org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)

    at

org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)

    at

org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)

    at

org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)

    at

org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)

    at

org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)

    at

org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:1

    at

org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)

    at

org.apache.catalina.core.StandardHost.start(StandardHost.java:785)

    at

org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)

    at

org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)

    at

org.apache.catalina.core.StandardService.start(StandardService.java:519)

    at

org.apache.catalina.core.StandardServer.start(StandardServer.java:710)

    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25

)

    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

Caused by: java.lang.ClassNotFoundException:

org.amplecode.quick.JdbcConfiguration

    at

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)

    at

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)

    ... 42 more

Nov 10, 2010 4:33:58 PM org.apache.catalina.core.StandardContext start

SEVERE: Error listenerStart

Nov 10, 2010 4:33:58 PM org.apache.catalina.core.StandardContext start

SEVERE: Context [/dhis] startup failed due to previous errors

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader

clearReferencesJdbc

SEVERE: The web application [/dhis] registered the JBDC driver

[org.h2.Driver] but failed to un

register it when the web application was stopped. To prevent a memory

leak, the JDBC Driver has

been forcibly unregistered.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader

clearReferencesJdbc

SEVERE: The web application [/dhis] registered the JBDC driver

[org.postgresql.Driver] but fail

ed to unregister it when the web application was stopped. To prevent a

memory leak, the JDBC Dr

iver has been forcibly unregistered.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader

clearReferencesJdbc

SEVERE: The web application [/dhis] registered the JBDC driver

[com.mysql.jdbc.Driver] but fail

ed to unregister it when the web application was stopped. To prevent a

memory leak, the JDBC Dr

iver has been forcibly unregistered.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader

clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named

[Timer-0] but has fa

iled to stop it. This is very likely to create a memory leak.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader

clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named

[com.mchange.v2.asyn

c.ThreadPoolAsynchronousRunner$PoolThread-#0] but has failed to stop it.

This is very likely to

create a memory leak.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader

clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named

[com.mchange.v2.asyn

c.ThreadPoolAsynchronousRunner$PoolThread-#1] but has failed to stop it.

This is very likely to

create a memory leak.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader

clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named

[com.mchange.v2.asyn

c.ThreadPoolAsynchronousRunner$PoolThread-#2] but has failed to stop it.

This is very likely to

create a memory leak.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader

clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named

[MySQL Statement Can

cellation Timer] but has failed to stop it. This is very likely to create

a memory leak.

Nov 10, 2010 4:33:58 PM org.apache.catalina.loader.WebappClassLoader

clearReferencesThreads

SEVERE: The web application [/dhis] appears to have started a thread named

[net.sf.ehcache.Cach

eManager@7a67f797] but has failed to stop it. This is very likely to

create a memory leak.

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig

deployDirectory

INFO: Deploying web application directory docs

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig

deployDirectory

INFO: Deploying web application directory examples

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.HostConfig

deployDirectory

INFO: Deploying web application directory ROOT

Nov 10, 2010 4:33:59 PM org.apache.coyote.http11.Http11Protocol start

INFO: Starting Coyote HTTP/1.1 on http-8080

Nov 10, 2010 4:33:59 PM org.apache.jk.common.ChannelSocket init

INFO: JK: ajp13 listening on /0.0.0.0:8009

Nov 10, 2010 4:33:59 PM org.apache.jk.server.JkMain start

INFO: Jk running ID=0 time=0/15 config=null

Nov 10, 2010 4:33:59 PM org.apache.catalina.startup.Catalina start

INFO: Server startup in 125657 ms

Exception in thread “Timer-0” java.lang.NullPointerException

    at

com.mchange.v2.log.log4j.Log4jMLog$Log4jMLogger.isLoggable(Log4jMLog.java:257)

    at

com.mchange.v2.resourcepool.BasicResourcePool$CullTask.run(BasicResourcePool.java:19

    at java.util.TimerThread.mainLoop(Timer.java:512)
    at java.util.TimerThread.run(Timer.java:462)

skype: asangansi.ini

+47 48295638


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

–

Jason P. Pickering

email: jason.p.pickering@gmail.com

tel:+260968395190

(Catagula) #5

I am having similar problem .This is my log.could you help tell me what the problem is
2019-05-14 08:34:56 Commons Daemon procrun stdout initialized

  • INFO 2019-05-14 09:03:46,785 System property dhis2.home not set (DefaultLocationManager.java [Catalina-utility-1])
  • INFO 2019-05-14 09:03:46,847 Environment variable DHIS2_HOME points to C:\DHIS2 (DefaultLocationManager.java [Catalina-utility-1])
  • INFO 2019-05-14 09:03:47,217 File C:\DHIS2\dhis-google-auth.json does not exist (DefaultLocationManager.java [Catalina-utility-1])
  • INFO 2019-05-14 09:03:47,218 Could not find dhis-google-auth.json (DefaultDhisConfigurationProvider.java [Catalina-utility-1])
  • INFO 2019-05-14 09:03:47,220 File C:\DHIS2\dhis-google-auth.json does not exist (DefaultLocationManager.java [Catalina-utility-1])
  • INFO 2019-05-14 09:03:47,221 Could not find dhis-google-auth.json (DefaultDhisConfigurationProvider.java [Catalina-utility-1])
  • WARN 2019-05-14 09:04:07,509 Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.security.acl.AclService’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-acl-2.32.0.jar!/META-INF/dhis/beans.xml]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.schema.SchemaService’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-schema-2.32.0.jar!/META-INF/dhis/beans.xml]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.schema.PropertyIntrospectorService’: Unsatisfied dependency expressed through field ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘flyway’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-db-migration-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘flywayConfig’ while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘databaseInfoProvider’: Unsatisfied dependency expressed through field ‘jdbcTemplate’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jdbcTemplate’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘dataSource’ while setting bean property ‘dataSource’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘driverClass’ while setting bean property ‘driverClass’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘driverClass’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘hibernateConfigurationProvider’ while setting bean property ‘hibernateConfigurationProvider’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateConfigurationProvider’: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException (AbstractApplicationContext.java [Catalina-utility-1])
  • ERROR 2019-05-14 09:04:07,509 Context initialization failed (ContextLoader.java [Catalina-utility-1])
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.security.acl.AclService’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-acl-2.32.0.jar!/META-INF/dhis/beans.xml]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.schema.SchemaService’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-schema-2.32.0.jar!/META-INF/dhis/beans.xml]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.schema.PropertyIntrospectorService’: Unsatisfied dependency expressed through field ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘flyway’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-db-migration-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘flywayConfig’ while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘databaseInfoProvider’: Unsatisfied dependency expressed through field ‘jdbcTemplate’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jdbcTemplate’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘dataSource’ while setting bean property ‘dataSource’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘driverClass’ while setting bean property ‘driverClass’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘driverClass’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘hibernateConfigurationProvider’ while setting bean property ‘hibernateConfigurationProvider’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateConfigurationProvider’: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1198)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1100)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543)
    at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443)
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325)
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
    at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4682)
    at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5150)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
    at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:713)
    at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
    at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695)
    at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)
    at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1849)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
    at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118)
    at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)
    at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
    at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1620)
    at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:305)
    at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
    at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1144)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1346)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1350)
    at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1328)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305)
    at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
    at java.base/java.lang.Thread.run(Thread.java:835)
    Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.schema.SchemaService’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-service-schema-2.32.0.jar!/META-INF/dhis/beans.xml]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.schema.PropertyIntrospectorService’: Unsatisfied dependency expressed through field ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘flyway’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-db-migration-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘flywayConfig’ while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘databaseInfoProvider’: Unsatisfied dependency expressed through field ‘jdbcTemplate’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jdbcTemplate’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘dataSource’ while setting bean property ‘dataSource’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘driverClass’ while setting bean property ‘driverClass’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘driverClass’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘hibernateConfigurationProvider’ while setting bean property ‘hibernateConfigurationProvider’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateConfigurationProvider’: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1198)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1100)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1136)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1064)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    … 43 more
    Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘org.hisp.dhis.schema.PropertyIntrospectorService’: Unsatisfied dependency expressed through field ‘sessionFactory’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘flyway’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-db-migration-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘flywayConfig’ while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘databaseInfoProvider’: Unsatisfied dependency expressed through field ‘jdbcTemplate’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jdbcTemplate’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘dataSource’ while setting bean property ‘dataSource’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘driverClass’ while setting bean property ‘driverClass’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘driverClass’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘hibernateConfigurationProvider’ while setting bean property ‘hibernateConfigurationProvider’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateConfigurationProvider’: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:586)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:364)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1269)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1136)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1064)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:835)
    at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
    … 57 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘flyway’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-db-migration-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘flywayConfig’ while setting constructor argument; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘databaseInfoProvider’: Unsatisfied dependency expressed through field ‘jdbcTemplate’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jdbcTemplate’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘dataSource’ while setting bean property ‘dataSource’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘driverClass’ while setting bean property ‘driverClass’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘driverClass’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘hibernateConfigurationProvider’ while setting bean property ‘hibernateConfigurationProvider’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateConfigurationProvider’: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
    at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
    at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:145)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1198)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1100)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:511)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:297)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1136)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1064)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:583)
    … 71 more
    Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘databaseInfoProvider’: Unsatisfied dependency expressed through field ‘jdbcTemplate’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jdbcTemplate’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘dataSource’ while setting bean property ‘dataSource’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘driverClass’ while setting bean property ‘driverClass’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘driverClass’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘hibernateConfigurationProvider’ while setting bean property ‘hibernateConfigurationProvider’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateConfigurationProvider’: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:586)
    at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:364)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1269)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:297)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
    … 88 more
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘jdbcTemplate’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘dataSource’ while setting bean property ‘dataSource’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘dataSource’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘driverClass’ while setting bean property ‘driverClass’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘driverClass’ defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%209.0/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.32.0.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean ‘hibernateConfigurationProvider’ while setting bean property ‘hibernateConfigurationProvider’; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘hibernateConfigurationProvider’: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
    at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1534)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1281)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
    at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1136)
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1064)
    at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:583)
    … 100 more
    tory.appl
1 Like