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 2011/02/24 22:54:38 UTC
[jira] Updated: (DERBY-4824) replication tests hang with classpath
entry with parentheses
[ https://issues.apache.org/jira/browse/DERBY-4824?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Myrna van Lunteren updated DERBY-4824:
--------------------------------------
Urgency: Urgent
Labels: derby_triage10_8 (was: )
> replication tests hang with classpath entry with parentheses
> -------------------------------------------------------------
>
> Key: DERBY-4824
> URL: https://issues.apache.org/jira/browse/DERBY-4824
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.7.1.1
> Environment: Windows 7 Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
> Reporter: Lily Wei
> Labels: derby_triage10_8
>
> If the CLASSPATH has parentheses, the replication test will hang. NetworkServer will failed to start due to the parentheses in the CLASSPATH.
> I reproduce this problem with the following script:
> c:/sun/sdk/jdk1.6.0/jre/bin/java -Dderby.system.home=c:/derby3/trunk/testtmp/db_
> master -Dderby.infolog.append=true -cp .\;c:/derby3/trunk/tools/java/junit.jar\;
> c:/derby3/trunk/jars/sane/derbyrun.jar\;c:/derby3/trunk/jars/sane/derbyTesting.j
> ar\;c:/derby3/trunk/tools/java/jakarta-oro-2.0.8.jar\;C:\Program Files (x86)\Qui
> ckTime\QTSystem\QTJava.zip org.apache.derby.drda.NetworkServerControl start -h 0
> .0.0.0 -p 1527 -noSecurityManager
> This is the error from the script:
> /c/Users/lily/bin/replstart.sh: line 1: syntax error near unexpected token `('
> /c/Users/lily/bin/replstart.sh: line 1: `c:/sun/sdk/jdk1.6.0/jre/bin/java -Dderb
> y.system.home=c:/derby3/trunk/testtmp/db_master -Dderby.infolog.append=true -cp
> .\;c:/derby3/trunk/tools/java/junit.jar\;c:/derby3/trunk/jars/sane/derbyrun.jar\
> ;c:/derby3/trunk/jars/sane/derbyTesting.jar\;c:/derby3/trunk/tools/java/jakarta-
> oro-2.0.8.jar\;C:\Program Files (x86)\QuickTime\QTSystem\QTJava.zip org.apache.d
> erby.drda.NetworkServerControl start -h 0.0.0.0 -p 1527 -noSecurityManager'
> In the context of the test, you do not see the syntax error. The test just hangs. It will be good if the replication tests also printed the error when networkServer failed to start and it should not hang.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira