Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

This page is no longer applicable to current releases. Current documentation for is now kept on the website, see http://qpid.apache.org/documentation.html for more details.

...

Here are a list of commonly asked questions and answers. Click on the the bolded questions for the answer to unfold. If you have any questions which are not on this list, please email our qpid-user list.

Contents

...

1

Getting Started

...

If you get a java.lang.reflect.InvocationTargetException on startup, wrapped as ConfigurationException like this:

...

.. then it means you have a missing password file.

...

To do this, you need to edit the passwordDir element for the broker, which may have a comment to that effect:

...

...

The file should be named passwd by default but if you want to you can change this by editing this element:

...

...

Cannot locate configuration source null/virtualhosts.xml

...

Queue names may consist of any mixture of digits, letters, and underscores.

The bindingurlformat BindingURLFormat is described in more detail on it's own page.

...

How do I connect to the broker using JNDI

see How to use Use JNDI

I'm using Spring and Weblogic - can you help me with the configuration for moving over to Qpid

...

How do I configure the logging level for Qpid

The system property

...

can be used to configure the logging level.
For the broker, you can use the environment variable AMQJ_LOGGING_LEVEL which is picked up by the qpid-run script (called by qpid-server to start the broker) at runtime.

For client code that you've written, simply pass in a system property to your command line to set it to the level you'd like i.e.

...

...

The log level for the broker defaults to INFO if the env variable is not set, but you may find that your log4j properties affect this. Setting the property noted above should address this.

...

For more detailed information on configuration, please see Qpid Design - Configuration AnchorWhat_ports_does_the_broker_use

What_ports_does_the_broker_use

What ports does the broker use?

...

The following command line options are available:

...

...

QpidBrokerCommandLineOptions

...

How do I authenticate with the broker and What user id & password should I use

...

So, if you're using a queue called 'devqueue' you can ensure that it is created at startup by using an entry something like this:

...

...

Note that the name (in thie example above the name is 'test') element should match the virtualhost that you're using to create connections to the broker. This is effectively a namespace used to prevent queue name clashes etc. You can also see that we've set the 'test' virtual host to be the default for any connections which do not specify a virtual host (in the <default> tag).

...

Setting either of these variables to the special value PID will introduce the process id of the java process into the file name as a prefix or suffix as specified**

...

My client application appears to have hung

...

If you get a stack trace like this when you try to publish, then you may have typo'd the exchange type in your queue or topic declaration. Open your virtualhosts.xml and check that the

...

...

is set to amq.direct for the <queue/> element you're trying to publish to.

...

...

Why is there a lot of AnonymousIoService threads

...

You have not configured the console's SSL trust store properly, see Management Console Security for more details.

...

Client

...

keeps

...

throwing

...

'Server

...

did

...

not

...

respond

...

in

...

a

...

timely

...

fashion'

...

[error

...

code

...

408:

...

Request

...

Timeout

...

].

Wiki MarkupCertain operations wait for a response from the Server. One such operations is commit. If the server does not respond to the commit request within a set time a Request Timeout \ [error code: 408\] exception is thrown (Server did not respond in a timely fashion). This is to ensure that a server that has hung does not cause the client process to be come unresponsive.

However, it is possible that the server just needs a long time to process a give request. For example, sending a large persistent message when using a persistent store will take some time to a) Transfer accross the network and b) to be fully written to disk.

...