I figured out the problem. In my changes I just created a new
MBeanServer by instantiating a new MBeanServerImpl but
as the code shows you may no do this because then the
findMBeanServer() on MBeanServerFactory will not work.
Now I will change this by using the createMBeanServer()
in MBeanServerFactory and hope this will solve the problem.
Sorry
Andy
----- Original Message -----
From: Andreas Schaefer <[EMAIL PROTECTED]>
To: jBoss Developer <[EMAIL PROTECTED]>
Sent: Saturday, September 09, 2000 11:14 PM
Subject: Re: [jBoss-Dev] Deployment fails with MBeanProxy
> According to your error message it occurs on line 423 in MBeanProxy
> but MBeanProxy.java has only 92 lines??
>
> The only line which can come up with such an exception is:
> server = (MBeanServer)
> MBeanServerFactory.findMBeanServer(null).iterator().next();
> and this because the returned iterator() refer to an empty list??
>
> I downloaded jBoss completely from scratch, compiled it and let it run
> and encounter no further problems. Can you tell me what you deployed?
>
> By the way can you tell me why you think that the JMX Connector is buggy
> because I oversaw your changes in jboss.conf or maybe missed the
discussion?
>
> Have fun
> Mad Andy
>
> ----- Original Message -----
> From: marc fleury <[EMAIL PROTECTED]>
> To: jBoss Developer <[EMAIL PROTECTED]>
> Sent: Friday, September 08, 2000 3:06 PM
> Subject: [jBoss-Dev] Deployment fails with MBeanProxy
>
>
> > Andreas,
> >
> > I just did a rm-rf jboss cvs co jboss and built, but upon deployment I
get
> >
> > java.util.NoSuchElementException
> > at java.util.AbstractList..
> > at org.jboss.util.MBeanProxy.<init>(MBeanProxy.java:423)
> > ...
> >
> > what gives?
> >
> > marc
> >
> >
> > ________________________
> > Marc Fleury, Ph.D.
> > Chief Technology Officer
> > Telkel, Inc.
> > ________________________
> >
>
>