mqseries

JBoss 5.1.0GA: "java.lang.IllegalStateException: Null beanMetaData" and "java.lang.RuntimeException: failed to initialize bean container"

Hi, I am trying to deploy a ear file, which was originally written for Jboss 4.0.3 SP1. The "upgrade" involved: use of javax.annotation.PostConstruct change activateConfig to activationConfig make sure the bean implements import javax.jms.MessageListener I believe the following stack trace is triggered by a MDB (one and only) withi...

How can an IBM WebSphere MQ's Queue Manager's local queues be enumerated?

I'm trying to write a simple tool for monitoring the state of a Queue Manager. One of the things I'd like to monitor is the current queue depth of each queue. I haven't been able to find a way to programmatically enumerate all of the queues on a particular Queue Manager, though. Do any of the MQ APIs provide this functionality? I'd p...

What are the minimum requirements for writing a Java client for MQSeries?

I need to write a simple MQSeries client in Java. The client just has to connect to the queue and pull off the next message. I have done this before a number of years ago and have all the sample code etc. All I remember needing are the three jar files: com.ibm.mq.iiop.jar com.ibm.mq.jar connector.jar I have been doing some reading...

With EJB 2.1, is declaring references to resources in ejb-jar.xml required?

I'm using Weblogic 9.2 with a lot of MDBs. These MDBs access JDBC DataSources and write to both locally and externally managed JMS Destinations using local and foreign XAConnectionFactorys, respectively. Each MDB demarcates a container-managed JTA transaction that should be distributed amongst all of these resources. Below is an excerpt...

Serializing DB/2 Triggers

We have a requirement to process transactions as an ordered sequence. Transactions are initiated on system 'A' and written to a DB/2 table. A DB/2 trigger then forwards the transaction via MQSeries to system 'B' where the transaction is completed. The problem we are having is that a race condition is established because execution of the...

IBM MQSeries Accessing Issue from .NET

I'm not extremely familiar with IBM MQSeries, but I am writing c# scripts which write and read files from my queue server. The problem is my read works but my write doesn't. Please notice that I am using the same queue so don't bother going in that direction. My code firstly accesses the MQserver with the following code: MQQueueManager...

IBM MQSeries Problem

I am trying to write to an IBM MQSeries host with: public void WriteMessage(string message) { queueMessage = new MQMessage(); queueMessage.WriteString(message); queueMessage.Format = MQC.MQFMT_STRING; queuePutMessageOptions = new MQPutMessageOptions(); queue.Put(queueMessage, queuePutMessageOptions); } My errorcat...

Creating IBM MQ queues from C# code.

Is is possable to create and delete queues using the amqdnet wrapper, or some other API from c# code? I'ld like to be able to create some queues as part of an automated test suite if required. Thanks. ...

SSIS and IBM MQ Series integration

I am in the process of exploring integration between SSIS and IBM MQ Series. Can some point me to some artical for integration. ...

Websphere MQ Authentication and Key Certificates

I would like to authenticate the user against the MQ Series before user places the Queue message in Queue manager. I am using the IBM MQ Series V7. I would like to know how does the authentication and Key certificate works in terms of validation. It will be great if i can get any helpful links on the same. ...

How to connect to local MQseries queue using Python?

I am new to mqseries and I started with IBM WebSphere MQ curses. There are examples with MQ_APPLE and MQ_ORANGE queue managers. I have no problem with sending messages to local or remote queue with MQ Explorer, but I wanted to send such message from code: Python or Java. I tried Python pymqi library with code like this: import pymqi qm...

IBM MQ Messages getting reposted

hi I am posting messages to an MQ and reading them into my application For some reason randomly some messages are getting reposted. The fist time they are corrupted but the second time they are fine. How can I handle this ? I want to ensure that a message gets posted only once. ...

WebSphere MQ .NET API

All, Is there a WebSphere MQ .NET API I can download ? I am basically trying to write a C# app that listens for messages in an MQ queue. Thanks, Marios ...

Can I open a clustered MQ queue for writing in Perl?

If I have a Websphere MQ queue defined on another queue manager in the cluster, is there a way I can open it for writing using the Perl interface? The code below brings back mqrc 2085. $messageQ = MQSeries::Queue->new ( QueueManager => $qMgr, Queue => $queue, Options ...

jms message not moving of the queue in websphere

I have a message driven bean that throws exception under certain conditions. When it throws an exception the message is not processed and put back on the queue. From what I understand with MQ and WAS (Websphere Application Server) the message should be marked as bad after x number of tries and removed from the queue. This is not happenin...

Getting error reason code 2059 on MQ client (C#) when reconnecting to QueueManager after awhile

I can't reconnect to MQQueueManager after a while as an exception (reason code 2059 - MQRC_Q_MGR_NOT_AVAILABLE) is thrown when I'm constructing new object of MQQueueManager. My client app is written in .NET/C# and I'm running it on Win2003. However I can connect to QM after I have restarted my client app. This would indicate that some s...

MQSeries and Delphi

Are there any (preferable free and open) components or examples out there for integrating to IBM MQSeries from Delphi? Edit Looks like IBM provide a unit http://www-01.ibm.com/support/docview.wss?uid=swg24007060 ...

How to monitor an existing queue from WebSphere MQ?

I have a .NET application that needs to monitor a queue in WebSphere MQ. I need to react to each message without impacting the current process. The client application can't explicity send me the same message. Can I read a message without removing it from the queue? Can I be notified for each message? Can I configure the MQ to duplicate ...

How do I move messages between queues in Websphere MQ 6

Is there a (Linux) command to move all messages from one queue in Websphere MQ 6 to another queue? I have a queue that has a defined backout queue, but I want to know how to transfer all the messages back to the original queue once the error preventing the messages from being processed has been corrected. Is there a GUI tool that can d...

get 2035 on connecting to the base queue

Hi all, I am running a simple Java client to connect to a remote MQ queue. When I run the Java code to read write messages with Alias queue name, it works fine. When i try to run the code on the same queue but witha a physical queue name (Because i wish to invoke getQueueDepth), I get a 2035 error at the point when the code tries to...