Return-Path: Delivered-To: apmail-hivemind-user-archive@www.apache.org Received: (qmail 26842 invoked from network); 16 Apr 2007 09:24:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Apr 2007 09:24:09 -0000 Received: (qmail 85169 invoked by uid 500); 16 Apr 2007 09:24:13 -0000 Delivered-To: apmail-hivemind-user-archive@hivemind.apache.org Received: (qmail 84934 invoked by uid 500); 16 Apr 2007 09:24:13 -0000 Mailing-List: contact user-help@hivemind.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hivemind.apache.org Delivered-To: mailing list user@hivemind.apache.org Received: (qmail 84920 invoked by uid 99); 16 Apr 2007 09:24:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 02:24:13 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of hugo.m.palma@gmail.com designates 209.85.132.246 as permitted sender) Received: from [209.85.132.246] (HELO an-out-0708.google.com) (209.85.132.246) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Apr 2007 02:24:06 -0700 Received: by an-out-0708.google.com with SMTP id b36so1736279ana for ; Mon, 16 Apr 2007 02:23:44 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=OvPNPcR+aeG5PoOiNS5Ni8VZfhHYBGFCY1kyD9FJ9yN8f/eCeSYL74sJO5E/7Cbrm6pqH61CahBiKpUxLGSz54AZ2aZgH1U3jyKveTX2sfBOl4ifxP4ubQ7ncuE0X8zKKyKf341KXLmauqubadkFKUhw31lcLcdLOhJOeRR86AI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Ro9QECYo7nF7jSnMvEH/fUFc+bHxZl9QkcpVI4SZtYNV+DJB71PgU6PW+WYxn7kxc/KLK3yTtVhW9wcxtj9sfkcIpdr+pU99bMmhF8W2bBpJqP/s043vQA3/EQiIUz+gViGESgbE6xr3bRMj3t8nWpMEIftDfHi+nyya40ehZkU= Received: by 10.114.148.1 with SMTP id v1mr1819355wad.1176715423950; Mon, 16 Apr 2007 02:23:43 -0700 (PDT) Received: by 10.114.57.9 with HTTP; Mon, 16 Apr 2007 02:23:43 -0700 (PDT) Message-ID: Date: Mon, 16 Apr 2007 10:23:43 +0100 From: "Hugo Palma" To: user@hivemind.apache.org Subject: Re: JMX in weblogic 8 In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_39006_18536464.1176715423869" References: <461FAAB2.8050901@gmx.de> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_39006_18536464.1176715423869 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Right now i'm just trying to find them using MC4J JMX console...... On 4/14/07, Achim H=FCgen wrote: > > Actually, there is no success logging, so the registration > probably was successful. > How do you access the mbeans? > > Achim > > Am Fri, 13 Apr 2007 19:42:09 +0200 schrieb Hugo Palma > : > > > me again :o) > > > > I found this log from MBeanRegistry: > > > > "Trying to register MBean hivemind:id=3DLogManagementMBean,module=3D > > hivemind.management.log4j,type=3Dservice" > > > > although i get no success log after this. > > > > > > > > On 4/13/07, Hugo Palma wrote: > >> > >> i also can't find any logs made by the LogManagementMBean. Is there an= y > >> way i can know if it gets registered ? > >> > >> On 4/13/07, Hugo Palma < hugo.m.palma@gmail.com> wrote: > >> > > >> > Not quite :o) > >> > > >> > I don't get any errors logged but i also don't see any new MBean > >> > registered. > >> > Here's my hivemodule: > >> > > >> > > >> > > >> > > >> > > >> > > >> > >> > hivemind.management.connector.JMXConnectorServerMBean " > >> > start-method=3D"start"/> > >> > >> service-id=3D"hivemind.management.log4j.LogManagementMBean > >> > "/> > >> > > >> > > >> > >> > hivemind.management.log4j.ManagedLog4jLoggers "> > >> > > >> > > >> > > >> > Any ideas ? again..... > >> > > >> > Thanks, > >> > > >> > Hugo > >> > > >> > On 4/13/07, Hugo Palma wrote: > >> > > > >> > > That was it.... > >> > > Thanks > >> > > > >> > > On 4/13/07, Achim H=FCgen < achim.huegen@gmx.de> wrote: > >> > > > > >> > > > Hugo, > >> > > > > >> > > > the rmi registry probably gets created because you have these > >> lines > >> > > > in > >> > > > your descriptor: > >> > > > > >> > > > > >> > > > >> > > > hivemind.management.connector.NamingServiceMBean" > >> > > > start-method=3D"start" /> > >> > > > > >> > > > > >> > > > Just leave the NamingServiceMBean out of the config and the > >> running > >> > > > rmi > >> > > > registry should be used. > >> > > > > >> > > > There might be problems with jmx 1.0 when the MBeanServerFactory > >> is > >> > > > located or created > >> > > > and I don't expect the jsr 160 connectors to work, but just give > >> it > >> > > > a try. > >> > > > > >> > > > Achim > >> > > > > >> > > > Hugo Palma schrieb: > >> > > > > Hi all, > >> > > > > > >> > > > > i'm trying to use hivemind-jmx in weblogic 8. > >> > > > > I'm getting the following error below when i try to register > the > >> > > > > NamingServiceMBean. It seems to me that it's trying to create > >> > > > another > >> > > > > rmi server. > >> > > > > The question is, why doesn't it connect to the existing server > >> > > > instead > >> > > > > of trying to register a new one ? > >> > > > > > >> > > > > Also, weblogic 8 JMX implementation is version 1.0. Could that > >> be > >> > > > the > >> > > > > cause ? > >> > > > > > >> > > > > java.rmi.server.ExportException : internal error: ObjID alread= y > >> in > >> > > > use > >> > > > > at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.jav= a > >> > > > :168) > >> > > > > at sun.rmi.transport.Transport.exportObject (Transport.jav= a > >> > > > :69) > >> > > > > at sun.rmi.transport.tcp.TCPTransport.exportObject > >> > > > > (TCPTransport.java:190) > >> > > > > at > >> > > > > sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.jav= a > >> > > > :382) > >> > > > > at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116= ) > >> > > > > at sun.rmi.server.UnicastServerRef.exportObject > >> > > > > (UnicastServerRef.java:145) > >> > > > > at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java > >> :92) > >> > > > > at sun.rmi.registry.RegistryImpl. (RegistryImpl.java:78) > >> > > > > at > >> > > > > java.rmi.registry.LocateRegistry.createRegistry( > >> > > > LocateRegistry.java :164) > >> > > > > at > >> > > > > org.apache.hivemind.management.mbeans.NamingService.start ( > >> > > > NamingService.java:80) > >> > > > > ... 56 more > >> > > > > > >> > > > > > >> > > > > Thanks, > >> > > > > > >> > > > > Hugo > >> > > > > >> > > > > >> > > > >> > > >> > > > ------=_Part_39006_18536464.1176715423869 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Right now i'm just trying to find them using MC4J JMX console......
=

On 4/14/07, Achim H=FCgen <achim.= huegen@gmx.de > wrote:
Actually, there is no success logging, so the registration
probably= was successful.
How do you access the mbeans?

Achim

Am Fri, 13 Apr 2007 1= 9:42:09 +0200 schrieb Hugo Palma
<hugo.m.palma@gmail.com>:

> me again :o)
>
> I found this log from MBeanRegistry:
>
> "Trying to r= egister MBean hivemind:id=3DLogManagementMBean,module=3D
> hivemind.m= anagement.log4j,type=3Dservice"
>
> although i get no succ= ess log after this.
>
>
>
> On 4/13/07, Hugo Palma <hugo.m.palma@gmail.com> wrote:
>>= ;
>> i also can't find any logs made by the LogManagementMBean= . Is there any
>> way i can know if it gets registered ?
>>
>>= On 4/13/07, Hugo Palma < hugo= .m.palma@gmail.com> wrote:
>> >
>> > Not qui= te :o)
>> >
>> > I don't get any errors logged but i = also don't see any new MBean
>> > registered.
>> &= gt; Here's my hivemodule:
>> >
>> >  =    <contribution configuration-id=3D" hivemind.EagerLoad">
>> >     =     <load service-id=3D" hivemind.management.MBeanRe= gistry"/>
>> >     </contributio= n>
>> >
>> >     <contrib= ution configuration-id=3D" hivemind.management.MBeans">
>> >   &nbs= p;     <mbean service-id=3D"
>> > h= ivemind.management.connector.JMXConnectorServerMBean "
>> >= ; start-method=3D"start"/>
>> >         <mbean
= >> service-id=3D"hivemind.management.log4j.LogManagementMBean>> > "/>
>> >     </co= ntribution>
>> >
>> >     &l= t;contribution configuration-id=3D"
>> > hivemind.management.log4j.ManagedLog4jLoggers "><= br>>> >         <logger= name=3D"*"/>
>> >     </co= ntribution>
>> >
>> > Any ideas ? again.....
>> >
>> > Thanks,
>> >
>> >= ; Hugo
>> >
>> > On 4/13/07, Hugo Palma <hugo.m.palma@gmail.com> wrote: >> > >
>> > > That was it....
>> > &= gt; Thanks
>> > >
>> > > On 4/13/07, Achim H= =FCgen < achim.huegen@gmx.de&= gt; wrote:
>> > > >
>> > > > Hugo,
>> &g= t; > >
>> > > > the rmi registry probably gets crea= ted because you have these
>> lines
>> > > > in
>> > > > your descriptor:
>> > > >
= >> > > > <contribution configuration-id=3D"hivemind.= management.MBeans">
>> > > >   &nb= sp;<mbean service-id=3D"
>> > > > hivemind.management.connector.NamingServiceMBea= n"
>> > > >       star= t-method=3D"start" />
>> > > > </contribu= tion>
>> > > >
>> > > > Just leave the NamingServiceMBean out of the co= nfig and the
>> running
>> > > > rmi
>>= > > > registry should be used.
>> > > >
>> > > > There might be problems with jmx 1.0 when the MBean= ServerFactory
>> is
>> > > > located or created<= br>>> > > > and I don't expect the jsr 160 connectors to= work, but just give
>> it
>> > > > a try.
>> > > >= ;
>> > > > Achim
>> > > >
>> &= gt; > > Hugo Palma schrieb:
>> > > > > Hi all,
>> > > > >
>> > > > > i'm tr= ying to use hivemind-jmx in weblogic 8.
>> > > > > I&#= 39;m getting the following error below when i try to register the
>&g= t; > > > > NamingServiceMBean. It seems to me that it's try= ing to create
>> > > > another
>> > > > > rmi ser= ver.
>> > > > > The question is, why doesn't it co= nnect to the existing server
>> > > > instead
>>= > > > > of trying to register a new one ?
>> > > > >
>> > > > > Also, webl= ogic 8 JMX implementation is version 1.0. Could that
>> be
>= > > > > the
>> > > > > cause ?
>>= > > > >
>> > > > > java.rmi.server.ExportException : internal= error: ObjID already
>> in
>> > > > use
>= > > > > >     at sun.rmi.transport.Objec= tTable.putTarget (ObjectTable.java
>> > > > :168)
>> > > &g= t; >     at sun.rmi.transport.Transport.exportObject= (Transport.java
>> > > > :69)
>> > > >= >     at sun.rmi.transport.tcp.TCPTransport.exportO= bject
>> > > > > (TCPTransport.java:190)
>> > &= gt; > >     at
>> > > > > su= n.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java
>> &= gt; > > :382)
>> > > > >     at sun.rmi.transpo= rt.LiveRef.exportObject(LiveRef.java:116)
>> > > > >&n= bsp;    at sun.rmi.server.UnicastServerRef.exportObject
&= gt;> > > > > (UnicastServerRef.java :145)
>> > > > >     at sun.rmi.re= gistry.RegistryImpl.setup(RegistryImpl.java
>> :92)
>> &g= t; > > >     at sun.rmi.registry.RegistryImpl.= (RegistryImpl.java:78)
>> > > > >   &n= bsp; at
>> > > > > java.rmi.registry.LocateRegistry.createReg= istry(
>> > > > LocateRegistry.java :164)
>> >= ; > > >     at
>> > > > >= org.apache.hivemind.management.mbeans.NamingService.start (
>> > > > NamingService.java:80)
>> > > = > >     ... 56 more
>> > > > &g= t;
>> > > > >
>> > > > > Thanks,<= br>>> > > > >
>> > > > > Hugo
>> > > >
>>= ; > > >
>> > >
>> >
>>

=

------=_Part_39006_18536464.1176715423869--