dev@glassfish.java.net

JMS Service Type Question

From: Jason Lee <jasondlee_at_sun.com>
Date: Wed, 23 Sep 2009 17:12:49 -0500

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