You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2014/02/01 02:06:58 UTC

Re: clusterListener + globalNamingResource

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jürgen,

On 1/29/14, 4:48 AM, Jürgen Jakobitsch wrote:
> in my server.xml i have defined a <Resource> in the
> <GlobalNamingResources> section.
> 
> in the same server.xml i have defined a <Cluster> along with my
> own <ClusterListener>
> 
> now in the Constructor of my ClusterListener i would like to access
> the <Resource> defined in the <GlobalNamingResources> section.
> 
> i have tried a couple of things with initialContext // lookup and 
> mBeanServer but cannot get my hands on the object.

Can you post a code snippet? What version of ... everything?

> latest from the logs is that the listener is constructed => before
> <= the resources from the globalNamingResources section get
> instantiated.
> 
> is, what i try possible at all?
> 
> any pointer into the right direction highly appreciated.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJS7EivAAoJEBzwKT+lPKRYvn8P/2TBi5KwIcqtX3imlxjp9UU3
gbyqmSQABSj4gLR46ZWN4hUlS1bVHWWuLzPNnV6mxBjPpgRkGBD6j/Xt6OJHvb3j
DRxn7FYe8WUAlrdvUle0b2W3yIj8t+OJ8RzVLypA+opifUQeZ9TwICmISKHLtNFm
Cb00MprL7n2rflgXeuFysAwmGgTcUU++G/fiaDzz9faYBZUhMn6apnQE7gziwRKv
VUqbr6afyRwGimEH0d6V7CxKKKDrm1rhfp0JKzUqtJQ3sC4qn61+dPCr46U7dw2s
SVRBOl37TgAW5J/X+iURujcfzTYQZKu17xZYxTm8fVnnEdRkVFp7GLfBDYTj6a/e
Fh0UYWx+5Gwsuk3SQ2ya3K+bDoSwT+14L0FXNriLquan9hTYiIkVUDTJLhFZbNjf
yGP/KcTkg8FMemJ/onLGAqdxJUOwzU6TCh6lKLa8nsi4c28msF5h/Xe6qiwV8S4g
RCU8kfDimgOThk8xOLUDVE20+nBbIOUk+Bl1bYucy4Uhs0rJLilttJU2rKE+3OtF
tDVicqUtxPK1DjeqRCyLMvd+59RUR03c+OdxW8w0PHms9rh5LaJ/leca87gMNcVO
ZllAGtwE3aGa37+3NMFUz3mLkyn8vRtc7P3iVCpLZnDB25RyFP9HOgWffqKLLHqq
gkfOY/e8T6eUwEZrgKPg
=VsaZ
-----END PGP SIGNATURE-----

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