You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Myrna van Lunteren (JIRA)" <ji...@apache.org> on 2007/12/17 21:58:43 UTC

[jira] Updated: (DERBY-3250) NetworkServerTestSetup will fail when starting the server as a process if any of the command line arguments contains a space

     [ https://issues.apache.org/jira/browse/DERBY-3250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Myrna van Lunteren updated DERBY-3250:
--------------------------------------

    Attachment: DERBY-3250.diff

Attaching an attempt to modify the NetworkServerTestSetup to use Runtime. exec(String[] cmdarray). 
Only ran derbynet.SSLTest. Input/review welcome.

> NetworkServerTestSetup will fail when starting the server as a process if any of the command line arguments contains a space
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3250
>                 URL: https://issues.apache.org/jira/browse/DERBY-3250
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.4.0.0
>            Reporter: Daniel John Debrunner
>            Priority: Minor
>         Attachments: DERBY-3250.diff
>
>
> I was seeing failures in derbynet._Suite since my CLASSPATH environment variable included a jar with a space, ie. a jar in the windows folder "Program Files".
> The command line argument built by NetworkServerTestSetup.startSeparateProcess() does not escape any of the arguments.
> Probably would be better to use Runtime. exec(String[] cmdarray) and not  Runtime.exec(String cmd)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.