dev@glassfish.java.net

Re: JMS Service Type Question

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Thu, 24 Sep 2009 09:22:12 -0700

Will fix.

https://glassfish.dev.java.net/issues/show_bug.cgi?id=9726

On Sep 23, 2009, at 3:12 PM, Jason Lee wrote:

> I'm looking into this issue and I'm a bit confused: https://glassfish.dev.java.net/issues/show_bug.cgi?id=9196
>
> My domain.xml issue looks like this:
>
> <jms-service default-jms-host="default_JMS_host"
> type="EMBEDDED">
> <jms-host host="localhost" name="default_JMS_host" />
> </jms-service>
>
> Just as the issue describes. When I query AMX for the configuration
> information, I get this map:
>
> {Parent=amx:pp=/domain/configs,type=config,name=server-config,
> AddresslistIterations=3, Type=jms-service, MqService=null,
> DefaultJmsHost=default_JMS_host, Property=
> [Ljavax.management.ObjectName;@1b1acdc3, Children=
> [Ljavax.management.ObjectName;@38ae5d26,
> ReconnectIntervalInSeconds=5, StartArgs=null, Name=,
> InitTimeoutInSeconds=60, ReconnectAttempts=3, ReconnectEnabled=true,
> JmsHost=[Ljavax.management.ObjectName;@3f6586dc, MqScheme=null,
> AddresslistBehavior=random}
>
> Note that the Type attribute is "jms-service." In looking at the
> object in jconsole, I don't see any of the possible valid values
> ("EMBEDDED", "LOCAL", "REMOTE").
>
> I've done my best to trace the execution down through the innards of
> AMX, hoping to find some special handling with the "type" parameter
> since it's used in the AMX query string, but I didn't see anything
> obvious. Can someone familiar with this area shed some light on this?
>
>
> Jason Lee
> Senior Java Developer
> GlassFish Administration Console
>
> Sun Microsystems, Inc.
> Phone x31197/+1 405-343-1964
> Email jasondlee_at_sun.com
> Blog http://blogs.sun.com/jasondlee
> Blog http://blogs.steeplesoft.com
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team