The problem is that you are using an old version of MTS.   When using STAX 
V3.3.0 or later, you must use MTS V3.1.0 or later.  Please download MTS 
V3.1.0 from the AIS website.  Once you're using MTS V3.1.0 instead of MTS 
V3.0.0, you won't have this issue.


History Log for MTS

-------------------------------------------------------------------------------

Version 3.1.0: 10/02/2007

  + Added support for STAX V3.3.0 in the MTS STAX extensions and provided
    line#/file/machine information in error messages for easier debugging.
    This version of MTS requires STAX V3.3.0 or later. (Feature #84817)
 
-------------------------------------------------------------------------------

Note that questions regarding MTS (and other IBM internal only STAF/STAX 
extensions) should only be posted via the IBM internal STAF/STAX/AIS 
forums, not via the STAF SourceForge forums.  See 
http://ais.austin.ibm.com/xwiki/bin/view/Community/Forums for more 
information on these forums.

--------------------------------------------------------------
Sharon Lucas
IBM Austin,   [EMAIL PROTECTED]
(512) 838-8347 or Tieline 678-8347




"Ahmed Mostafa" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
05/02/2008 11:43 AM

To
STAF <[email protected]>
cc

Subject
[staf-users] MTS STAX Extensions not working






Hello,

I fail to run the sample MTS STAX jobs bundled with MTS (attached too), I 
get the following error for all of them:
RC:4001
Caught com.ibm.staf.service.stax.STAXInvalidXMLAttributeException: 
manual-test: _ln
EXECUTE file :44:C:\STAF\services\mts\samples\mts_sample3.xml TEST

Here are the relevant lines of my STAF.cfg file:
# Register the MTS service
service mts library JSTAF execute C:/STAF/services/mts/MTS.jar

# Register the STAX service
service stax library JSTAF execute c:/staf/services/stax/STAX.jar \
    PARMS  "PythonOutput    JobUserLogAndMsg \
            ClearLogs        Enabled \
            EXTENSION        C:/STAF/services/extensions/ExtDelay.jar \
            EXTENSION        C:/STAF/services/mts/ManualTestExt.jar"

So what is the problem with the STAX jobs?

Thanks
-- 
Ahmed Mostafa
0123919750
Software Developer
IBM Egypt, Cairo Technology Development Center 
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users

Attachment: mts_sample1.xml
Description: Binary data

Attachment: mts_sample2.xml
Description: Binary data

Attachment: mts_sample3.xml
Description: Binary data

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users

Reply via email to