ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » JDBC Error in Adapter

Post new topic  Reply to topic
 JDBC Error in Adapter « View previous topic :: View next topic » 
Author Message
Sarags
PostPosted: Wed Sep 06, 2006 11:03 am    Post subject: JDBC Error in Adapter Reply with quote

Newbie

Joined: 17 Mar 2006
Posts: 6

Hi all,

I'm new to the WBI Adapter Framework. I want to insert data in oracle database. for that i configured JDBC connector.
The connector has to pick the data from the JDBCConnector/REQUESTQueue. The Connector picks the msg from the queue and it shows the following error

[Time: 2006/09/06 14:29:55.062] [System: ConnectorAgent] [SS: JDBCConnector] [Th
read: JDBCCONNECTOR/REQUESTQUEUEJmsThreadPool.thread3 (#1138578540)] [Type: Trac
e] [Mesg: :Receiver.processMsg(msg) received message:
JMS Message class: jms_text
JMSType: mcd://mrm/I7JIF28002001/BOEMPLOYEE?format=CwXML
JMSDeliveryMode: 1
JMSExpiration: 0
JMSPriority: 0
JMSMessageID: ID:414d51205742524b365f44454641554cf692fe4420005b0e
JMSTimestamp: 1157567376620
JMSCorrelationID:null
JMSDestination: null
JMSReplyTo: queue://WBRK6_DEFAULT_QUEUE_MANAGER/JDBCCONNECTOR/RESPONSEQUE
UE

<?xml version="1.0"?><NS1:BOEMPLOYEE xmlns:NS1="http://www.ibm.com/websphere/cro
ssworlds/2002/BOSche
Another 252 character(s) omitted]
[Time: 2006/09/06 14:29:55.062] [System: ConnectorAgent] [SS: JDBCConnector] [Th
read: JDBCCONNECTOR/REQUESTQUEUEJmsThreadPool.thread3 (#1138578540)] [Type: Trac
e] [Mesg: :Converting the Bomo to String -- <?xml version="1.0"?><NS1:BOEMPLOYEE
xmlns:NS1="http://www.ibm.com/websphere/crossworlds/2002/BOSchema/BOEMPLOYEE" x
mlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XM
LSchema-instance" version="1.0.0" delta="0" verb="Create"><q1><EMPNO>222</EMPNO>
<ENAME>RAAGA</ENAME><ESAL>1.06000000000000E+004</ESAL></q1></NS1:BOEMPLOYEE>]
[Time: 2006/09/06 14:29:55.281] [System: Server] [Thread: JDBCCONNECTOR/REQUESTQ
UEUEJmsThreadPool.thread3 (#1138578540)] [Type: Error] [MsgID: 0] [Mesg: String
index out of range: -1]
[Time: 2006/09/06 14:29:55.281] [System: ConnectorAgent] [SS: JDBCConnector] [Th
read: JDBCCONNECTOR/REQUESTQUEUEJmsThreadPool.thread3 (#1138578540)] [Type: Erro
r] [MsgID: 9068] [Mesg: The received message cannot be converted to BO Message.
The message is not valid and is NOT processed. The response will be sent to the
ReplyToQueue if it is set. Otherwise, the message will be sent to the fault queu
e.
Message ID: ID:414d51205742524b365f44454641554cf692fe4420005b0e]
[Time: 2006/09/06 14:29:55.297] [System: ConnectorAgent] [SS: JDBCConnector] [Th
read: JDBCCONNECTOR/REQUESTQUEUEJmsThreadPool.thread3 (#1138578540)] [Type: Trac
e] [Mesg: :Sending response message:
JMS Message class: jms_text
JMSType: mcd://mrm/I7JIF28002001/BOEMPLOYEE?format=CwXML
JMSDeliveryMode: 1
JMSExpiration: 0
JMSPriority: 0
JMSMessageID: ID:414d51205742524b365f44454641554cf692fe4420005b0e
JMSTimestamp: 1157567376620
JMSCorrelationID:ID:414d51205742524b365f44454641554cf692fe4420005b0e
JMSDestination: null
JMSReplyTo: queue://WBRK6_DEFAULT_QUEUE_MANAGER/JDBCCONNECTOR/RESPONSEQUE
UE
JMSRedelivered: false
Status:-1
RequestType:Response
Description:The received message cannot be converted to BO. The message is not
valid.
<null>]

Thanks
Sarags
Back to top
View user's profile Send private message
vk
PostPosted: Fri Sep 15, 2006 6:54 am    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

The XML message which you put into the request queue should have an RFH header having the BO name which corresponds to the application table into which data needs to be inserted.

Also the XML should have proper namespace settings. Please check the XML which you are sending to the connector.

Regards,
VK.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » JDBC Error in Adapter
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.