[Building Sakai] Tomcats spontaneously unloading webapps?

Matthew Jones matthew at longsight.com
Tue Aug 27 12:59:05 PDT 2013


Thanks for the update. I've seen autodeploying apps being a hit or miss.
Sometimes the wars work, sometimes they don't register. Sometimes deploying
(or just touching the web.xml or the war) a few times gets it to work.
Often I just do a restart.

I've even seen sometimes where on a redeploy tomcat just stops compiling
jsps for everything and eventually random errors just start coming up.


On Tue, Aug 27, 2013 at 3:41 PM, Joshua Swink <joshua.swink at gmail.com>wrote:

> This was caused by autoDeploy being 'true', and one of our processes
> touched a file in webapps, prompting a reload. Furthermore, it seems that
> Tomcat 7.0.37 handles autoDeploy very badly, and it ends up in an unusable
> state.
>
> We'll be upgrading to a more recent version of Tomcat and disabling
> autoDeploy.
>
> Josh
>
>
> On Mon, Aug 26, 2013 at 4:59 PM, Joshua Swink <joshua.swink at gmail.com>wrote:
>
>> Has anyone seen this problem where Tomcat spontaneously unloads a bunch
>> of webapps?
>>
>> We're using Sakai 2.9.2. Sometimes a Tomcat will unload a large number of
>> webapps for no apparent reason. They are always unloaded in the same order.
>> When this happens, the application kind of runs but complains about lots of
>> missing resources, and it's unusable.
>>
>> At first, the first context unloaded was /x. So I disabled and removed
>> the url shortener, suspecting it was the problem. But it keeps happening
>> except that the first context unloaded is now /profile-tool.
>>
>> I can't see anything in the log that hints at a cause. It starts with a
>> "deleteRedeployResources" message.
>>
>> 2013-08-26 16:14:57,015 INFO http-apr-8080-exec-23
>> org.sakaiproject.profile2.logic.ProfilePreferencesLogicImpl - Created
>> default preferences record for user: e31c8093-049f-4d34-a7
>> 8f-8b4b1abec8ef
>> Aug 26, 2013 4:20:09 PM org.apache.catalina.startup.HostConfig
>> deleteRedeployResources
>> INFO: Undeploying context [/profile-tool]
>> 2013-08-26 16:20:09,621 INFO
>> ContainerBackgroundProcessor[StandardEngine[Catalina]]
>> org.sakaiproject.jsf.util.JsfTool - destroy
>> 2013-08-26 16:20:09,625 INFO
>> ContainerBackgroundProcessor[StandardEngine[Catalina]]
>> org.sakaiproject.util.ContextLoaderListener - Destroying Components in
>> sakai-profile
>> Aug 26, 2013 4:20:10 PM org.apache.catalina.startup.HostConfig
>> deleteRedeployResources
>> INFO: Undeploying context [/web]
>> [...]
>>
>> Josh
>>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130827/b167e563/attachment.html 


More information about the sakai-dev mailing list