LeRoy Michaelson

Greenhorn
+ Follow
since Jun 12, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by LeRoy Michaelson

This seems like it should be really simple, but I'm not getting it. I want to have a page with several panels. Initially the panels wouldn't have any functional data. After the page loads, I would like to fetch the contents of each panel asynchronously. That way, if the contents of one panel has data latency issues, the page and the other panels will not be blocked.

At page load, the structure might look like this.

<rich anel id="one">
Nothing Yet
</rich anel>

<rich anel id="two">
Nothing Yet
</rich anel>

I suppose I could use <a4j oll> and load it only once, but that seems kludgy.

Help for the simple minded, please!!
14 years ago
JSF
I am new to using MQ, but need to do the seemingly simplest task. I need a Java client program to make a MQ connection and send a string over that connection to a server.

Here is what I know.

- I have installed the MQ Client v5.3 on Windows XP.
- I have received a .tab file from the server group.
- I have configured the environment properly, enabling me to use amqsputc to successfully send a message to the server.

Now comes the rub. I have been trying to use the sample MSender.java to write that same message from a Java program, but can't get to first base. If I try the following:

qMgr = new MQQueueManager( qManagerName );

I get the following error:

java.lang.UnsatisfiedLinkError: no mqjbnd05 in java.library.path

The file mqjbnd05 doesn't come with the client distribution, it comes with the full distribution. So I tried the following:

java.util.Hashtable props = new java.util.Hashtable();
props.put(MQC.TRANSPORT_PROPERTY, MQC.TRANSPORT_MQSERIES_CLIENT);
qMgr = new MQQueueManager( qManagerName, props );

Now it doesn't look for the server libraries, but I get a different error:

MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
MQJE001: An MQException occurred: Completion Code 2, Reason 2059
MQJE011: Socket connection attempt refused
WMQ exception occurred : Completion code 2 Reason code 2059

I've been pulling my hair out for weeks, and can't get this to work. If anyone could help me get the simplest "Hello MQ World" to work, I would be grateful.
16 years ago