tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lyallex <lyal...@gmail.com>
Subject [Possibly OT] Life after dojo, slow 'buggy' redeploy. Any experience here ?
Date Wed, 03 Sep 2008 09:18:51 GMT
Good Morning

apache-tomcat-5.5.26
java 1.5.0_15
dojo 1.1.1
ant 1.7.0

I just bolted the dojo javascript libs into one of my web apps.

I use the org.apache.catalina.ant.DeployTask and
org.apache.catalina.ant.UndeployTask to redeploy my application from
within an Ant script

Before installing dojo, redeployment took about 12 seconds
After I installed dojo, redeployment takes anything up to two minutes
and throws exceptions (see below if interested)
Removing dojo results in redployment happening in (about) 12 seconds again.

I'm a bit ... confused.

I'm going to turn on some deep debug and see if I can find out what's happening
but I thought I might see if anyone else has experienced this

Exceptions thrown

WARNING: Error while removing context [/atledu]
java.lang.NullPointerException
        at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:884)
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1046)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
        at java.lang.Thread.run(Thread.java:619)
03-Sep-2008 09:55:23 org.apache.catalina.startup.HostConfig checkResources
WARNING: Error during context [/atledu] destroy
java.lang.NullPointerException
        at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1052)
        at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1214)
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:293)
        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
        at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1306)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1570)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1579)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1559)
        at java.lang.Thread.run(Thread.java:619)

Many Thanks

lyallex

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message