Author |
Message |
Topic: Websphere MQ pooled JMS session in Weblogic |
meetgaurav
Replies: 1 Views: 4641
|
Forum: IBM MQ Java / JMS Posted: Fri Jun 25, 2010 3:53 am Subject: Websphere MQ pooled JMS session in Weblogic |
We are getting this error some time.. while the mdb is trying to read the message from the mq queue,
The pooled JMS session is enlisted in another transaction and may not be used elsewhere
The exc ... |
Topic: JMSCMQ0001: WebSphere MQ call failed with compcode '2' |
meetgaurav
Replies: 6 Views: 19786
|
Forum: IBM MQ Java / JMS Posted: Sat Mar 20, 2010 9:26 am Subject: JMSCMQ0001: WebSphere MQ call failed with compcode '2' |
Say for example If I suppose added u unix user id. Then how can I access that user id from windows.
Otherwise I need to install the application server in unix. But currently we don't have that faci ... |
Topic: JMSCMQ0001: WebSphere MQ call failed with compcode '2' |
meetgaurav
Replies: 6 Views: 19786
|
Forum: IBM MQ Java / JMS Posted: Sat Mar 20, 2010 3:41 am Subject: JMSCMQ0001: WebSphere MQ call failed with compcode '2' |
I tried
setmqaut -m QMGR_NAME -t qmgr -p MeetGauravF +all (I executed this command in Unix machine where my Mq is insatlled and "MeetGauravF" is the windows username were the WAS is ins ... |
Topic: JMSCMQ0001: WebSphere MQ call failed with compcode '2' |
meetgaurav
Replies: 6 Views: 19786
|
Forum: IBM MQ Java / JMS Posted: Fri Mar 19, 2010 4:49 am Subject: JMSCMQ0001: WebSphere MQ call failed with compcode '2' |
Hi
I have a websphere APP Server(7.0 trail) installed in my local machine and the MQ installed in Unix machine.
While adding Queue connection factory I am getting below error. Please assit me.
... |
Topic: MQ encoding of messages |
meetgaurav
Replies: 5 Views: 4290
|
Forum: IBM MQ Java / JMS Posted: Fri Oct 23, 2009 3:51 am Subject: MQ encoding of messages |
Got it. You mean while creating the bindings I need to set it rite ?
Something like
def qcf(queue.connection.factory) QMANAGER(queue.manager) TRANSPORT(client) HOSTNAME(127.0.0.1) CHANNEL(MY.CLI ... |
Topic: MQ encoding of messages |
meetgaurav
Replies: 5 Views: 4290
|
Forum: IBM MQ Java / JMS Posted: Wed Oct 21, 2009 10:00 pm Subject: MQ encoding of messages |
FJB_Saper,
This is fine while the MDB is replying the response message, since we creating the connection factory.
But for incoming we are not creating any connection factory. Simply receiving th ... |
Topic: MQ encoding of messages |
meetgaurav
Replies: 5 Views: 4290
|
Forum: IBM MQ Java / JMS Posted: Wed Oct 21, 2009 3:43 am Subject: MQ encoding of messages |
Hi
I have a MDB service deployed in OC4J picking messages from a MQ. Currently we are planning to deploy the service for different regions. An also we have different languages.
In C language we ... |
Topic: Setting Message ID in Java |
meetgaurav
Replies: 4 Views: 4673
|
Forum: IBM MQ Java / JMS Posted: Wed Oct 21, 2009 1:31 am Subject: Setting Message ID in Java |
New Baby try this conversion logic
This may help you out.
[code] public static byte[] toByteArray(String hexStr)
{
byte msgId[] = new byte[hexStr.length()/2];
for(int i= ... |
Topic: MQ and Weblogic |
meetgaurav
Replies: 1 Views: 3839
|
Forum: IBM MQ Java / JMS Posted: Wed Jul 15, 2009 10:44 pm Subject: MQ and Weblogic |
Hi
1. What is the difference between MQ server version and client version ?
2. If suppose my MQ server version is in a Unix Box and the Weblogic Server is in Different Unix box. Then I need the M ... |
Topic: JAVA API MSG ID |
meetgaurav
Replies: 8 Views: 7477
|
Forum: IBM MQ Java / JMS Posted: Wed Dec 31, 2008 2:06 am Subject: JAVA API MSG ID |
Actually in real time I will get message Id's as NSC and BSC followed by some numbers. According to this ID my backend packages and procedures will work..
Now everytime am hardcoding the message I ... |
Topic: JAVA API MSG ID |
meetgaurav
Replies: 8 Views: 7477
|
Forum: IBM MQ Java / JMS Posted: Wed Dec 31, 2008 12:52 am Subject: JAVA API MSG ID |
Hi FJ
I tried to set the message ID as BSC and NSC(For testing Purpose).. But I was not able to set. Could you plz assist me.
public static byte[] toByteArray(String hexStr)
{
by ... |
Topic: Printing changing the correlation-Id from Byte to String |
meetgaurav
Replies: 8 Views: 9104
|
Forum: General Discussion Posted: Thu Dec 18, 2008 10:47 pm Subject: Printing changing the correlation-Id from Byte to String |
I tried but this is not working.. Could you please assist me
byte [] test = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x ... |
Topic: JAVA API Reply Message |
meetgaurav
Replies: 4 Views: 4452
|
Forum: IBM MQ Java / JMS Posted: Thu Dec 18, 2008 7:43 am Subject: JAVA API Reply Message |
Thanks Let me check |
Topic: JAVA API Reply Message |
meetgaurav
Replies: 4 Views: 4452
|
Forum: IBM MQ Java / JMS Posted: Thu Dec 18, 2008 5:53 am Subject: JAVA API Reply Message |
Right now am in Development stage.. So am not connected with remote machine. And the remote machine is receiving the message and the message was suppose to be reply message. Am not getting any error.. ... |
Topic: JAVA API Reply Message |
meetgaurav
Replies: 4 Views: 4452
|
Forum: IBM MQ Java / JMS Posted: Thu Dec 18, 2008 4:32 am Subject: JAVA API Reply Message |
In JAVA API. How to set the message as a reply message.
I tried .. Is this correct
msg.messageType = MQC.MQMT_REPLY;
The receiving machine will identify this as reply message |