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 » General IBM MQ Support » not allowed to throw jtext out

Post new topic  Reply to topic
 not allowed to throw jtext out « View previous topic :: View next topic » 
Author Message
jhoninck
PostPosted: Tue Aug 16, 2005 9:09 am    Post subject: not allowed to throw jtext out Reply with quote

Novice

Joined: 20 Jun 2005
Posts: 11

If I could have I would have send this software to the moon,
unfortunately I am not allowed to.
Manuals are very very very bad and mix object orientation, hierarchical structures and procedural processing in one big pot.

What I try to do is really really really simple.
In my honoust opninion Jtext is way to complicated to do it,
but there is the mandate to use it.

1. Have got a file with various fixed width fields which I am processing inside WBI.
2. Every WMQ-message in my file is seperated by a simple delimiter (##)
3. Every line in the file has got a fixed length of 850 characters and is terminated by an EOL character. If at all possible the EOL delimiters are thrown away and only the fixed width is left over in the message (a bit of code on the WBI side can take care of the delimiter anyway if it has to)

What I tried to do is the following:
1. use the Delimited DataHandler with the character EOL as the delimiter
2. use the string "##" as the EndBODelimiter

Also tried various other options with FixedWidth and NameValue config.
Whatever I do JText is being the smart guy and comes up with a name for which it cannot find the business object definition. Something like this:
Code:

[Time: 2005/08/16 18:46:46.461] [System: ConnectorAgent] [SS: JTextSiraxDConnector] [Thread: Jtext-FileParser (#1156763900)] [Type: Warning] [MsgID: 106005] [Mesg: **** WARNING :: Internal error: Exception :: java.lang.Exception: Unable to find version "*.*.*" of business object definition "
2".
        at com.crossworlds.connectors.jtext.FileParser.createAndFormatWorkUnit(FileParser.java:850)
        at com.crossworlds.connectors.jtext.FileParser.run(FileParser.java:624)
        at java.lang.Thread.run(Thread.java:567)
]
[Time: 2005/08/16 18:46:46.461] [System: ConnectorAgent] [SS: JTextSiraxDConnector] [Thread: Jtext-FileParser (#1156763900)] [Type: Error] [MsgID: 103007] [Mesg: **** WARNING :: Formatting failed. Reason :: Unable to find version "*.*.*" of business object definition "
2".]


Is it true that JText cannot just copy the string and just ignor the contents ??

If not is there anybody out there that can help me to make JText behave on the "stupid" level and not go and sneak inside the data and try to find business objects and be clever (and completely waste my time).
Back to top
View user's profile Send private message
sagis_raj
PostPosted: Tue Aug 16, 2005 10:00 am    Post subject: Reply with quote

Novice

Joined: 28 Jul 2005
Posts: 23

Hi Jhon,

Just Check wheater did you give the MO_DataHandler_default in Supported Business Objects TAB and add Agents supports to it.
Back to top
View user's profile Send private message Send e-mail
hopsala
PostPosted: Tue Aug 16, 2005 2:09 pm    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Also, the JText adapter requires an MO buisness object with a very specific name. In your adapter is called JTEXT then your MO has to be called "MO_JTEXTConnector_Default" or anything starting with "MO_JTEXTConnector".
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 » General IBM MQ Support » not allowed to throw jtext out
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.