Re: [jBoss-User] JMX MBeans and classloaders

2000-11-16 Thread Rickard Öberg
Hey Tom Cook wrote: > > Tom Cook wrote: > > > > I don't get it. When are you using narrow with MBeans!?!?!? > > > > > > Perhaps my description wasn't very accurate. My mbean creates an > > > object which it registers with the JNDI. The bean does a ctx.lookup > > > on the object then Port

Re: [jBoss-User] JMX MBeans and classloaders

2000-11-16 Thread Tom Cook
Rickard Öberg writes: > Hi! > > Tom Cook wrote: > > > I don't get it. When are you using narrow with MBeans!?!?!? > > > > Perhaps my description wasn't very accurate. My mbean creates an > > object which it registers with the JNDI. The bean does a ctx.lookup > > on the object then Por

Re: [jBoss-User] JMX MBeans and classloaders

2000-11-16 Thread Rickard Öberg
Hi! Tom Cook wrote: > > I don't get it. When are you using narrow with MBeans!?!?!? > > Perhaps my description wasn't very accurate. My mbean creates an > object which it registers with the JNDI. The bean does a ctx.lookup > on the object then PortableRemoteObject.narrow() on it. Ok... and w

Re: [jBoss-User] JMX MBeans and classloaders

2000-11-15 Thread Tom Cook
Rickard Öberg writes: > Hey > > Tom Cook wrote: > > > I've written an mbean (two in fact) which my beans need to look up. > > > When they go to do so, however, there is a ClassCastException thrown > > > at java.rmi.PortableRemoteObject.narrow(). This smells to me like a > > > classloa

Re: [jBoss-User] JMX MBeans and classloaders

2000-11-15 Thread Rickard Öberg
Hey Tom Cook wrote: > > I've written an mbean (two in fact) which my beans need to look up. > > When they go to do so, however, there is a ClassCastException thrown > > at java.rmi.PortableRemoteObject.narrow(). This smells to me like a > > classloader issue; the classes are being loaded by

Re: [jBoss-User] JMX MBeans and classloaders

2000-11-15 Thread Rickard Öberg
Hey Tom Cook wrote: > I've written an mbean (two in fact) which my beans need to look up. > When they go to do so, however, there is a ClassCastException thrown > at java.rmi.PortableRemoteObject.narrow(). This smells to me like a > classloader issue; the classes are being loaded by different >

[jBoss-User] JMX MBeans and classloaders

2000-11-15 Thread Tom Cook
Tom Cook writes: > Hey all, > > I've written an mbean (two in fact) which my beans need to look up. > When they go to do so, however, there is a ClassCastException thrown > at java.rmi.PortableRemoteObject.narrow(). This smells to me like a > classloader issue; the classes are being loaded

[jBoss-User] JMX MBeans and classloaders

2000-11-15 Thread Tom Cook
Hey all, I've written an mbean (two in fact) which my beans need to look up. When they go to do so, however, there is a ClassCastException thrown at java.rmi.PortableRemoteObject.narrow(). This smells to me like a classloader issue; the classes are being loaded by different classloaders and so a