tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Goldsmith <sgj...@gmail.com>
Subject Re: JCache stats without JMX?
Date Fri, 05 Aug 2016 16:41:06 GMT
I'm configuring my auth via JDK params, so I'm not using a Tomcat realm.
i.e.

export CATALINA_OPTS="-Xmx1000m -Dfile.encoding=UTF-8
-Djava.awt.headless=true -Djava.rmi.server.hostname=myhost
-Dcom.sun.management.jmxremote.login.config=Tomcat
-Djava.security.auth.login.config=$CATALINA_HOME/conf/login.config
-Dcom.sun.management.jmxremote.access.file=$CATALINA_HOME/conf/jmxremote.access
-Dcom.sun.management.jmxremote.ssl=false"



On Fri, Aug 5, 2016 at 12:10 PM, Romain Manni-Bucau <rmannibucau@gmail.com>
wrote:

> used a combinedrealm supporting either ldap or localhost access?
>
>
> Romain Manni-Bucau
> @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
> <http://rmannibucau.wordpress.com> | Github <https://github.com/
> rmannibucau> |
> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> <http://www.tomitribe.com> | JavaEE Factory
> <https://javaeefactory-rmannibucau.rhcloud.com>
>
> 2016-08-05 18:08 GMT+02:00 Steve Goldsmith <sgjava@gmail.com>:
>
> > OK, thanks. It's really to log stats, so I only need local access.
> Problem
> > is I have server configured for LDAP auth which I do not want to do
> > locally.
> >
> > On Fri, Aug 5, 2016 at 11:47 AM, Romain Manni-Bucau <
> rmannibucau@gmail.com
> > >
> > wrote:
> >
> > > Not in a portable way I think so options are likely:
> > > - use JMX locally and expose it through another API (JAX-RS or other)
> > > - use some vendor API (like cache.getStatistics() for JCS)
> > >
> > >
> > > Romain Manni-Bucau
> > > @rmannibucau <https://twitter.com/rmannibucau> |  Blog
> > > <https://blog-rmannibucau.rhcloud.com> | Old Wordpress Blog
> > > <http://rmannibucau.wordpress.com> | Github <https://github.com/
> > > rmannibucau> |
> > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber
> > > <http://www.tomitribe.com> | JavaEE Factory
> > > <https://javaeefactory-rmannibucau.rhcloud.com>
> > >
> > > 2016-08-05 16:59 GMT+02:00 sgjava <sgjava@gmail.com>:
> > >
> > > > Is there a simple way to access a JCache cache statistics without a
> JMX
> > > > client? I really only care about the current size.
> > > >
> > > >
> > > >
> > > > --
> > > > View this message in context: http://tomee-openejb.979440.
> > > > n4.nabble.com/JCache-stats-without-JMX-tp4679621.html
> > > > Sent from the TomEE Users mailing list archive at Nabble.com.
> > > >
> > >
> >
> >
> >
> > --
> > Steven P. Goldsmith
> >
>



-- 
Steven P. Goldsmith

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message