Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: MB-955
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Susan Javurek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
FUSE Message Broker

ActiveMQ visualization plugin creates dot files that throw syntax errors in Windows version of Graphviz, causing them not to be able to be viewed

Created: 07/Sep/11 09:30 PM   Updated: 07/Sep/11 09:33 PM
Component/s: None
Affects Version/s: 5.5.0-fuse-00-53
Fix Version/s: None


 Description  « Hide
Hi,

Per the Visualization Guide Graphviz can be used to read the generated .dot files from ActiveMQ when using this plugin:

<plugins>
                <connectionDotFilePlugin />
                <destinationDotFilePlugin />
        </plugins>

The .dot files generated by ActiveMQ can be opened on the Mac using Graphviz but not on Windows. Opening the Connection file results in the following error:

working on C:/sue/Fuse/activemq/5.5.0/apache-activemq-5.5.0-fuse-00-53/apache-activemq-5.5.0-fuse-00-53/bin/ActiveMQConnections.dot
Error: <gvedit>:3: syntax error near line 3
context: label="ActiveMQ Broker: >>> ID:VMSJAVUREK-1209-1315430177788-0:1"] <<< ;
Warning: <gvedit>:11: ambiguous "-1_" splits into two names: "-1" and "_"
Warning: <gvedit>:12: ambiguous "-1_" splits into two names: "-1" and "_"
Warning: <gvedit>:13: ambiguous "-1_" splits into two names: "-1" and "_"

I can work around this by editing the file and removing the "=" in line 3, e.g.

label="ActiveMQ Broker: ID:VMSJAVUREK-1209-1315430177788-0:1"];

The destination file out of the box works ok but not for the customer who actually has destinations configured.

working on Z:/VMShare/prod-895/ActiveMQDestinations.dot
Error: <gvedit>:21: syntax error near line 21
context: queue_Root_queue_xpath > >>> queue_Root_queue_xpath_CM <<< ASM-NOTF;
Warning: The use of "subgraph temp", line 61, without a body is deprecated.
This may cause unexpected behavior or crash the program.
Please use a single definition of the subgraph within the context of its parent graph "ActiveMQ Destinations"
Warning: The use of "subgraph temp", line 101, without a body is deprecated.
This may cause unexpected behavior or crash the program.

I'm afraid I don't see what's wrong with this one.

Please use a single definition of the subgraph within the context of its parent graph "ActiveMQ Destinations"



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.