This content has been marked as final.
Show 2 replies
-
1. Re: DestinationManager JMX createQueue FAILS
jaikiran Feb 2, 2010 2:59 AM (in response to rl)rl wrote:
name = new ObjectName("jboss.mq:service=DestinationManager");
JBoss:
[ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 34s:742ms
JBossMQ isn't available in JBoss AS-5. JBoss AS-5 uses JBoss Messaging. So that MBean isn't available in AS-5.
I am not an expert on JBoss Messaging, but i see that there is a MBean jboss.message:service=ServerPeer which has operations like deployQueue/deployTopic which take params like the name and the jndi name of the queue/topic. You might want to give those a try.
-
2. Re: DestinationManager JMX createQueue FAILS
rl Feb 2, 2010 4:26 PM (in response to jaikiran)Jaikran:
You are 100% correct.
As a side note for those looking to deploy a solution like this remember to do the following:
- Install RMISecurityManager to allow downloading of remote classes
- System.setSecurityManager(new RMISecurityManager());
- Add a new permission that allows the VM to open a socket connection to your RMI/JMX server.
- Add the following permission: permission java.net.SocketPermission "127.0.0.1", "connect,resolve";
- Change the default policy located in your JRE/JDK installation
- Add the following command line argument to your VM -D java.security.policy=<your policy name>
- Add the following permission: permission java.net.SocketPermission "127.0.0.1", "connect,resolve";
Jaikran thank you!
- Install RMISecurityManager to allow downloading of remote classes