Posted: Tue Aug 16, 2005 9:09 am Post subject: not allowed to throw jtext out
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).
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".
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