-
Jan 23rd, 2007, 05:56 PM
#1
Exporting a JMS Queue as a manageble attribute
Hi,
I'm using 1.5 annotations with spring JMX to export a JMS Queue, which is monitored through JConsole. I'm using Active MQ as my JMS provider......I could successfully register, but get the forrloing error,
Problem invoking getQueueName : java.rmi.UnMarshallException: Error unmarchalling return; nested exception is:
java.lang.ClassNOtFoundException:org.apache.active mq.command.ActiveMQQueue(no security manager : RMI class loader disabled)
If anyone has worked on exporting such an object and used Jconsole please reply.
I have a question. Is the ManagedAttribute annotation support only primitive data types only?. or we can export any object?. I was suspecting this.
Thansk & Rgds,
Rekha
-
Feb 13th, 2007, 11:52 AM
#2
With activemq I usually connect to the broker's JMX url or pid. I'm pretty sure you can turn on JMX in an embedded broker by using the url syntax "vm://localhost?useJmx=true"
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules