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 » Parent-Child in FixedWidth Jtext Adapter

Post new topic  Reply to topic
 Parent-Child in FixedWidth Jtext Adapter « View previous topic :: View next topic » 
Author Message
valentine
PostPosted: Fri Dec 08, 2006 5:03 am    Post subject: Parent-Child in FixedWidth Jtext Adapter Reply with quote

Newbie

Joined: 07 Dec 2006
Posts: 8

Hi,

I need to configure a Fixed-Width file adapter which has one header and mulitple childs records. I have set the Cardinality of the child to N.
When I set the EndBODelimiter to EOF I get one parent and one child record even thought there are mulitple child records. And when I set the When I set the EndBODelimiter to EOL I get the following error message:-
[Type: Warning] [MsgID: 106005] [Mesg: **** WARNING :: Internal error: Exception :: java.lang.Exception: Already reached end of BO while expecting more token
at com.wbi.DataHandlers.text.custfixedwidth.getNextToken(custfixedwidth.java:615)
at com.wbi.DataHandlers.text.custfixedwidth.parseAttributeList(custfixedwidth.java:808)
at com.wbi.DataHandlers.text.custfixedwidth.getBOFromString(custfixedwidth.java:505)
at com.wbi.DataHandlers.text.custfixedwidth.getMultipleCard(custfixedwidth.java:923)
at com.wbi.DataHandlers.text.custfixedwidth.parseAttributeList(custfixedwidth.java:789)
at com.wbi.DataHandlers.text.custfixedwidth.getBOFromString(custfixedwidth.java:505)
at com.wbi.DataHandlers.text.custfixedwidth.getBO(custfixedwidth.java:315)
at com.crossworlds.DataHandlers.DataHandler.getBO(DataHandler.java:570)
at com.crossworlds.connectors.jtext.FileParser.createAndFormatWorkUnit(FileParser.java:816)
at com.crossworlds.connectors.jtext.FileParser.run(FileParser.java:624)
at java.lang.Thread.run(Thread.java:568)

From the trace file it seems that the adapter is still trying to parse the child record assuming its a parent BO.

Any ideas what needs to be done to resolve the issue.


Thanks,
Valentine
Back to top
View user's profile Send private message
vk
PostPosted: Fri Dec 08, 2006 7:11 am    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

Quote:
I need to configure a Fixed-Width file adapter which has one header and mulitple childs records.


Not clear what you are trying to do. Are you trying to read a file having one header and multiple detail records? Or are you trying to writre a message having one header and multiple detail records into a file?

Can you provide more details on your BO structures?

Regards,
VK.
Back to top
View user's profile Send private message
valentine
PostPosted: Sun Dec 10, 2006 8:28 pm    Post subject: Reply with quote

Newbie

Joined: 07 Dec 2006
Posts: 8

Hi,

I want to read a file which is a dump of SAP. It has one header line and multiple child lines.

Thanks,
Valentine
Back to top
View user's profile Send private message
vk
PostPosted: Sun Dec 10, 2006 9:24 pm    Post subject: Reply with quote

Partisan

Joined: 20 Sep 2005
Posts: 302
Location: Houston

What version of JText adapter are you using? The base version 5.6.0 had an issue in processing event file with multiple BOs -

Quote:
CR71317/JR23325
A parsing error when JText polls input file contain multiples business objects separated by a multiple business object EndofBODelimiters. The fix now enables the adapter to process an event file that has multiple business objects and is separated by multiple business object delimiters.


This issue was fixed in fixpack 5.6.3 for the JText adapter. If you are not at fixpack 3, then retest after installing the same.

Regards,
VK.
Back to top
View user's profile Send private message
valentine
PostPosted: Mon Dec 11, 2006 4:55 am    Post subject: Reply with quote

Newbie

Joined: 07 Dec 2006
Posts: 8

Now I am getting the following error message:-
[Mesg: **** WARNING :: Internal error: Exception :: java.lang.Exception: Unable to find version "*.*.*" of business object definition


Thanks
Valentine.
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 » Parent-Child in FixedWidth Jtext 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.