Re: Extra logging by unknown source logger

2017-06-11 Thread Violeta Georgieva
Hi,

2017-06-11 18:07 GMT+03:00 Hoa Phan :
>
> Hi I noticed when I set:
>
> org.apache.tomcat.util.scan.StandardJarScanner = SEVERE

it should be org.apache.tomcat.util.scan.StandardJarScanner.level = SEVERE
Note the '.level' at the end of the fully qualified class name

Regards,
Violeta

>
> I still get similar msg from a strange logger(no "org.apache" in the
logger
> name):
>
> build 11-Jun-2017 13:37:24 localhost-startStop-1 WARN
>  [tomcat.util.scan.StandardJarScanner] Failed to scan
> [file:/.../common/lib/p6psy.jar (No such file or directory)
>
> Anyone know where this comes from? How can I configure it?
>
> Thanks.
>
> Hoa Phan.


Re: Extra logging by unknown source logger

2017-06-11 Thread Hoa Phan
Hi Violeta,

actually I did so in the actual file:

handlers = java.util.logging.ConsoleHandler


# Handler specific properties.
# Describes specific configuration info for Handlers.


java.util.logging.ConsoleHandler.level = FINE
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter


# Facility specific properties.
# Provides extra control for each logger.


org.apache.catalina.level = INFO
org.apache.catalina.startup.HostConfig.level = INFO
org.apache.catalina.session.ManagerBase.level = INFO
org.apache.catalina.startup.VersionLoggerListener.level = SEVERE
org.apache.tomcat.util.scan.StandardJarScanner.level = SEVERE
tomcat.util.scan.StandardJarScanner.level=SEVERE


On Mon, Jun 12, 2017 at 6:14 AM, Violeta Georgieva 
wrote:

> Hi,
>
> 2017-06-11 18:07 GMT+03:00 Hoa Phan :
> >
> > Hi I noticed when I set:
> >
> > org.apache.tomcat.util.scan.StandardJarScanner = SEVERE
>
> it should be org.apache.tomcat.util.scan.StandardJarScanner.level = SEVERE
> Note the '.level' at the end of the fully qualified class name
>
> Regards,
> Violeta
>
> >
> > I still get similar msg from a strange logger(no "org.apache" in the
> logger
> > name):
> >
> > build 11-Jun-2017 13:37:24 localhost-startStop-1 WARN
> >  [tomcat.util.scan.StandardJarScanner] Failed to scan
> > [file:/.../common/lib/p6psy.jar (No such file or directory)
> >
> > Anyone know where this comes from? How can I configure it?
> >
> > Thanks.
> >
> > Hoa Phan.
>


Extra logging by unknown source logger

2017-06-11 Thread Hoa Phan
Hi I noticed when I set:

org.apache.tomcat.util.scan.StandardJarScanner = SEVERE

I still get similar msg from a strange logger(no "org.apache" in the logger
name):

build 11-Jun-2017 13:37:24 localhost-startStop-1 WARN
 [tomcat.util.scan.StandardJarScanner] Failed to scan
[file:/.../common/lib/p6psy.jar (No such file or directory)

Anyone know where this comes from? How can I configure it?

Thanks.

Hoa Phan.


Re: [Tomcat 8.5] Cannot obtain singleton resource with startStopThreads > 1

2017-06-11 Thread MrChuoi
Well, it works now. It turned out our legacy code for registering cache
manager wasn't thread-safe.

Nothing is good when you have to work during weekend! :-)

Thank you all for the supports.

- MrChuoi

On Sat, Jun 10, 2017 at 10:29 PM, MrChuoi  wrote:

> Hi Chuck,
>
> On Sat, Jun 10, 2017 at 9:34 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
>>
>> > 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  and a  in the
>>  element of each webapp that needs it.
>>
>
> I truly got a singleton with that configuration, because it is a
> infinispan cache manager to achieve sharing cache contents between webapps.
> I don't have access to my system to put the resource configuration in each
> webapps' context for verification at the moment.
>
> Thanks anyway,
>
> - MrChuoi
>
>


-- 

http://forum.vnoss.org