← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] what's wrong with the latest trunk version of dhis2?

 

Hi

Its hard to see just by looking at the log. But I would delete the webapps
directory completely, restart your computer. Then put dhis.was back in the
folder, and start the server.

These kind of errors happens sometimes when old and new code is mixed
together.

--
Morten


On Mon, Feb 18, 2013 at 8:51 AM, easy <lin_xd@xxxxxxx> wrote:

> Hi,all
>   I got the newest dhis2  sourcecode, compiled ,starting,then: (with psql
> or derby )
>
> 信息: Deploying web application archive
> D:\apache-tomcat-7.0.25\webapps\dhis.war
> 二月 18, 2013 9:41:30 上午 org.apache.catalina.loader.WebappClassLoader
> validateJarFile
> 信息:
> validateJarFile(D:\apache-tomcat-7.0.25\webapps\dhis\WEB-INF\lib\geronimo-servlet_2.5_spec-1.1.2.jar)
> - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
> javax/servlet/Servlet.class
> 二月 18, 2013 9:42:11 上午 org.apache.catalina.core.StandardContext
> startInternal
> 严重: Error listenerStart
> 二月 18, 2013 9:42:11 上午 org.apache.catalina.core.StandardContext
> startInternal
> 严重: Context [/dhis] startup failed due to previous errors
> 二月 18, 2013 9:42:12 上午 org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> 严重: The web application [/dhis] created a ThreadLocal with key of type
> [com.sun.xml.bind.v2.ClassFactory$1] (value
> [com.sun.xml.bind.v2.ClassFactory$1@65ac9a93]) and a value of type
> [java.util.WeakHashMap] (value [{class
> org.apache.camel.spring.CamelProducerTemplateFactoryBean=java.lang.ref.WeakReference@26d85d0b,
> class
> org.apache.camel.model.PackageScanDefinition=java.lang.ref.WeakReference@46c49119,
> class java.util.ArrayList=java.lang.ref.WeakReference@1312249b, class
> javax.xml.bind.annotation.adapters.CollapsedStringAdapter=java.lang.ref.WeakReference@c2145e5,
> class
> org.apache.camel.spring.CamelContextFactoryBean=java.lang.ref.WeakReference@5c73c39b}])
> but failed to remove it when the web application was stopped. Threads are
> going to be renewed over time to try and avoid a probable memory leak.
> 二月 18, 2013 9:42:12 上午 org.apache.catalina.loader.WebappClassLoader
> checkThreadLocalMapForLeaks
> 严重: The web application [/dhis] created a ThreadLocal with key of type
> [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@342f2488]) and a
> value of type
> [org.springframework.security.core.context.SecurityContextImpl] (value
> [org.springframework.security.core.context.SecurityContextImpl@ffffffff:
> Null authentication]) but failed to remove it when the web application was
> stopped. Threads are going to be renewed over time to try and avoid a
> probable memory leak.
> 二月 18, 2013 9:42:13 上午 org.apache.catalina.startup.HostConfig
> deployDirectory
>
>
> --
> 此致
>
>   easy
>
> 莫愁前路无知己,天下谁人不识君。
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

References