Author |
Message
|
Bravo |
Posted: Sun Oct 30, 2005 10:23 pm Post subject: JText Issue |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
Hi All,
a) When trying to deploy the Message Broker Workspace using JText.I am getting the following error message while selecting the parameters.
Deployment Failed
XML schema deployer (importer) was not found.
Specify the importer path in System Manager preferences/broker settings
I have also checked Namespace aware and selected long for XML namespace format.
b) How can I achieve getting a data from txt file and putting a modified message in MQ using JText.
For eg :
i/p AAAA ==> txt file
o/p AAAABBBB ==> QUEUE
Any help!!!! _________________ Bravo |
|
Back to top |
|
 |
recallsunny |
Posted: Mon Oct 31, 2005 9:55 am Post subject: |
|
|
 Disciple
Joined: 15 Jun 2005 Posts: 163 Location: Massachusetts
|
|
Back to top |
|
 |
Bravo |
Posted: Mon Oct 31, 2005 10:51 pm Post subject: |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
Thank you so much.
That was a good document and I am going thur. _________________ Bravo |
|
Back to top |
|
 |
Bravo |
Posted: Mon Nov 07, 2005 1:59 pm Post subject: |
|
|
Centurion
Joined: 03 Oct 2005 Posts: 146
|
Hi Sunny,
The documents helped me a lot and successfully execute the Message flow with Name value using JText.
Right now I am facing another problem cozz of the requirement.
I getting another file with data
5567 TEST STOCKBROKER
Since I have already MO with Namevalue, now I want to execute above data also.
I approached fixed width and file is failed.
This is what I did..
I created new datahandler with fixedwidth,MO_JTextConnector_Employee and added both object to JText supported BO.
Now JText connector is polling on two separate dir.One is for Name value and other is for fixed width. Both files are polled perfectly.Name value is processed successfully but fixed width file is getting failed.
The input dat is
BusinessObject=FIXED
Verb=Create
EMP=5567 TEST STOCKBROKER
<EndBO:FIXED>
In datahandler BO size is 75 and rest all default.I am getting the following error.
[Time: 2005/11/07 11:02:18.578] [System: ConnectorAgent] [SS: JTextConnector] [Thread: Jtext-FileParser (#1087004541)] [Type: Warning] [MsgID: 106005] [Mesg: **** WARNING :: Internal error: Exception :: java.lang.Exception: Already reached end of BO while expecting more token
at com.crossworlds.DataHandlers.text.fixedwidth.getNextToken(fixedwidth.java:571)
at com.crossworlds.DataHandlers.text.fixedwidth.getBOFromString(fixedwidth.java:434)
at com.crossworlds.DataHandlers.text.fixedwidth.getBO(fixedwidth.java:355)
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:567)
]
[Time: 2005/11/07 11:02:18.578] [System: ConnectorAgent] [SS: JTextConnector] [Thread: Jtext-FileParser (#1087004541)] [Type: Error] [MsgID: 103007] [Mesg: **** WARNING :: Formatting failed. Reason :: Already reached end of BO while expecting more token ]
Am I missing some thing. _________________ Bravo |
|
Back to top |
|
 |
recallsunny |
Posted: Tue Nov 08, 2005 2:41 pm Post subject: |
|
|
 Disciple
Joined: 15 Jun 2005 Posts: 163 Location: Massachusetts
|
The point which is unclear from your explanation here is how your fixed width input data looks like.
Quote: |
The input dat is
BusinessObject=FIXED
Verb=Create
EMP=5567 TEST STOCKBROKER
<EndBO:FIXED>
|
If this is your fixed width input, it will certainly fail. Match your fixed width format as shown in this below link
http://publib.boulder.ibm.com/infocenter/wbihelp/index.jsp?topic=/com.ibm.wbia_developer.doc/doc/data_handler/datahand58.htm
It should look something like this:
Code: |
FIXED CREATE 5567 TEST STOCKBROKER |
However if your FW data does not contain the business object name and verb then a datahandler customization may be required. |
|
Back to top |
|
 |
|