> From: MrChuoi [mailto:mrch...@gmail.com] 
> Subject: Re: [Tomcat 8.5] Cannot obtain singleton resource with 
> startStopThreads > 1

> OK. I will put the resource in the context of each webapp to see what is
> going on, but what I don't understand is why this configuration works when
> I start webapps one-by-one sequentially?

I suspect you're not getting a singleton either way (at least you're not 
supposed to).  If you want a singleton, I believe it needs to be specified in 
conf/server.xml via <GlobalNamingResources> and a <ResourceLink> in the 
<Context> element of each webapp that needs it.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to