IBM Support

PK61864: SYNTAXERROR WHEN EXPORTING A .CAR FILE FROM AST V6.1 ON LINUX

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • WebSphere 6.1 toolkit on Linux. Try to export a CAR file for
    server and get this problem:
    
    WASX7357I: By request, this scripting client is not connected to
    any server process. Certain configuration and application
    operations will be available in local mode.
    Traceback (innermost last):
      (no code object) at line 0
      File "<input>", line 1
    'AdminTask.exportWasprofile('-archive \"
    /root/albert/workspace/WebSphereCAR/WRSProfile.car\"')'
                                           ^
    SyntaxError: Lexical error at line 1, column 40.  Encountered:
    "\"" (34), after : "\\"
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of the import/export CAR file to   *
    *                 a WebSphere Application Server in Rational   *
    *                 Application Developer v7.0 or WebSphere      *
    *                 Application Server Toolkit v6.1.1.           *
    ****************************************************************
    * PROBLEM DESCRIPTION: The import/export CAR file options      *
    *                      fail with a syntax error on a Linux     *
    *                      platform.                               *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following syntax error may occur when running the
    import/export CAR file actions against a WebSphere Application
    Server within Rational Application Developer or WebSphere
    Application Server Toolkit:
    
    (no code object) at line 0
    File "<input>", line 1
    'AdminTask.exportWasprofile('-archive
    \"/workspace/MyCARFile/MyProfile.car\"')'
    ^
    SyntaxError: Lexical error at line 1, column 40.  Encountered:
    "\"" (34), after : "\\"
    

Problem conclusion

  • The syntax for invoking the AdminTask.exportWasprofile or
    AdminTask.importWasprofile wsadmin tasks has been changed to
    use the following:
    
    AdminTask.exportWasprofile(['-archive','<path To CAR>'])
    AdminTask.importWasprofile(['-archive','<path To CAR>'])
    
    The fix for this APAR is currently scheduled for inclusion in
    the Rational Application Developer v7.0.0.7 and WebSphere
    Application Server Toolkit v6.1.1.7 fixpacks.  Please refer to
    the Recommended Updates page for WebSphere Application Server
    Toolkit delivery information:
    http://www.ibm.com/support/docview.wss?uid=swg27004980
    

Temporary fix

Comments

APAR Information

  • APAR number

    PK61864

  • Reported component name

    WEBAPP SERVER A

  • Reported component ID

    5724J0820

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-02-28

  • Closed date

    2008-02-29

  • Last modified date

    2008-03-11

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WEBAPP SERVER A

  • Fixed component ID

    5724J0820

Applicable component levels

  • R610 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
23 October 2021