Hi Chuck,

On Sat, Jun 10, 2017 at 6:58 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:

> > From: MrChuoi [mailto:mrch...@gmail.com]
> > Subject: Re: [Tomcat 8.5] Cannot obtain singleton resource with
> startStopThreads > 1
>
> > Hi Mark,
>
> Don't top-post.  Follow the mailing list guidelines published here:
> http://tomcat.apache.org/lists.html#tomcat-users
>
> > And to simplify the declaration of Resource in Tomcat, I put the
> <Resource
> > ...> in %CATALINA_HOME%\conf\context.xml. Is this a mistake?
>
> That would appear to be one source of difficulty: the items configured in
> the global conf/context.xml are applied to each webapp individually, so you
> will get one instance of the resource for each webapp.
>

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?


Thanks,

- MrChuoi

Reply via email to