IBM Support

PM84798: Launching command line exceeds the process creation command limit on Windows

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Abstract:
    
    Attempts to run a JUnit tests on Windows might result in an
    error 'CreateProcess=87, the parameter is incorrect'
    
    Problem:
    
    When you run JUnit tests, you might experience an error similar
    to the following:
    
    'Cannot run program
    'C:\IBM\SDP\runtimes\base_v7\java\jre\bin\javaw.exe'
    (in directory 'YourWorkspaceDirectory'): CreateProcess error=87,
    The parameter is incorrect.'
    
    For more technical information, see:
    
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=327193
    
    Local fix:
    
    Some work-arounds are documented in the underlying Eclipse
    defect:
    
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=327193
    
    The basic approach is to shorten the classpath containing the
    JAR files to run JUnit test-suites so that it is less than the
    Windows limit of 8100 characters.
    

Local fix

Problem summary

  • When you run JUnit tests, you might experience an error similar
    to the following:
    
    "Cannot run program
    "C:\IBM\SDP\runtimes\base_v7\java\jre\bin\javaw.exe"
    (in directory "YourWorkspaceDirectory"): CreateProcess error=87,
    The parameter is incorrect."
    

Problem conclusion

  • The fix for this APAR is included in Rational Application
    Developer v8.0.4.3.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM84798

  • Reported component name

    RATL APP DEV WI

  • Reported component ID

    5724J1901

  • Reported release

    804

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-03-14

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

  • 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

    RATL APP DEV WI

  • Fixed component ID

    5724J1901

Applicable component levels

  • R804 PSY

       UP



Document information

More support for: Rational Application Developer for WebSphere Software

Software version: 8.0.4

Reference #: PM84798

Modified date: 28 October 2013