On Jul 9, 2009, at 5:12 PM, Lloyd Chambers wrote:
> Jason,
>
> I don't know the answer here.
>
> Presumably domain.xml is going to have to have configuration for
> what the JMXServiceURL should be.
Based on what Linda said, it doesn't seem to. From a fresh
installation, here are all the references to JMS or JMX:
</iiop-service>
<admin-service system-jmx-connector-name="system" type="das-and-
server">
<jmx-connector port="8686" address="0.0.0.0" security-
enabled="false" name="system" auth-realm-name="admin-realm" />
<das-config dynamic-reload-enabled="true" autodeploy-dir="$
{com.sun.aas.instanceRoot}/autodeploy" autodeploy-enabled="true" />
<property name="adminConsoleContextRoot" value="/admin" />
<property name="adminConsoleDownloadLocation" value="$
{com.sun.aas.installRoot}/lib/install/applications/admingui.war" />
<property name="ipsRoot" value="$
{com.sun.aas.installRoot}/.." />
</admin-service>
<jms-service default-jms-host="default_JMS_host" type="EMBEDDED">
<jms-host host="localhost" name="default_JMS_host" />
</jms-service>
No mention of the 7676 that Linda said I should expect, if that means
anything.
> If it's in proces, you can use @Inject MBeanServer or
> ManagementFactory.getPlatformMBeanServer().
It could be in process, but I think we support out-of-process brokers
as well, though I'd be happy to be corrected if I'm wrong.
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