← Back to team overview

dhis2-devs team mailing list archive

Deplyment failed

 

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

Follow ups