SwiftMQ 7.5.2: CLI tries to connect to X11 server

View: New views
2 Messages — Rating Filter:   Alert me  

SwiftMQ 7.5.2: CLI tries to connect to X11 server

by Dirk Grosskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

We are experiencing the following problem when running CLI on our production system that does not have a X11 server running. After starting cli in a terminal we connect to the message router and receive the following stack trace:

Welcome to SwiftMQ!

Username:
Password:
Trying to connect ... connected
Router 'mm7msgrouter1' is available for administration.
Type 'help' to get a list of available commands.
> java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
        at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:81)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:141)
        at java.awt.Toolkit$2.run(Toolkit.java:748)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:739)
        at java.awt.Toolkit.getEventQueue(Toolkit.java:1519)
        at java.awt.EventQueue.invokeLater(EventQueue.java:792)
        at javax.swing.SwingUtilities.invokeLater(SwingUtilities.java:1170)
        at com.swiftmq.admin.cli.v750.RequestProcessor.serviceRequest(Unknown Source)
        at com.swiftmq.tools.requestreply.RequestServiceRegistry.dispatch(Unknown Source)
        at com.swiftmq.admin.mgmt.v750.EndpointImpl.onMessage(Unknown Source)
        at com.swiftmq.jms.v750.MessageConsumerImpl.invokeMessageListener(Unknown Source)
        at com.swiftmq.jms.v750.MessageConsumerImpl.invokeConsumer(Unknown Source)
        at com.swiftmq.jms.v750.SessionImpl$SessionDeliveryQueue.process(Unknown Source)
        at com.swiftmq.tools.queue.SingleProcessorQueue.dequeue(Unknown Source)
        at com.swiftmq.jms.v750.SessionImpl$SessionTask.run(Unknown Source)
        at com.swiftmq.client.thread.PoolExecutor.run(Unknown Source)

 If additional credentials are needed (authenticate <password>) the same error message comes after submitting it

Any help except upgrade to 7.5.3?

Thanks Dirk

Re: SwiftMQ 7.5.2: CLI tries to connect to X11 server

by IIT Software :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

See the last reply here.