Re: Error when running tests

2017-08-16 Thread Rick Hillegas
Hi Lashan, I am unable to reproduce the behavior you are seeing. The tests start running when I wire those code sources into a CLASSPATH and execute that java command. Can you include the output from the following command: echo $CLASSPATH Thanks, -Rick On 8/16/17 6:19 AM, Lashan Faliq wro

Error when running tests

2017-08-16 Thread Lashan Faliq
I have set $CLASSPATH to include the following jars: • derbyTesting.jar • derbyrun.jar • junit.jar • trunk/classes still when I run java org.apache.derbyTesting.functionTests.harness.RunSuite derbyall I get the error Error: Could not find or load main class org.apache.derbyTesting.function

[jira] [Closed] (DERBY-6697) Failures when running tests with JaCoCo

2014-08-11 Thread Knut Anders Hatlen (JIRA)
://builds.apache.org/job/Derby-jacoco/ was successful. Closing the issue. > Failures when running tests with JaCoCo > --- > > Key: DERBY-6697 > URL: https://issues.apache.org/jira/browse/DERBY-6697 > Project: Derb

[jira] [Commented] (DERBY-6697) Failures when running tests with JaCoCo

2014-08-11 Thread ASF subversion and git services (JIRA)
mmit 1617240 from [~knutanders] in branch 'code/trunk' [ https://svn.apache.org/r1617240 ] DERBY-6697: Failures when running tests with JaCoCo Add permissions needed by JaCoCo to MissingPermissionTest's custom policy file. Make BaseTestCase.execJavaCmd() propagate the empty jacoco

[jira] [Updated] (DERBY-6697) Failures when running tests with JaCoCo

2014-08-11 Thread Knut Anders Hatlen (JIRA)
without JaCoCo. > Failures when running tests with JaCoCo > --- > > Key: DERBY-6697 > URL: https://issues.apache.org/jira/browse/DERBY-6697 > Project: Derby > Issue Type: Bug >

[jira] [Commented] (DERBY-6697) Failures when running tests with JaCoCo

2014-08-08 Thread Knut Anders Hatlen (JIRA)
when the tests run under JaCoCo. This is too broad, and DBOAccessTest doesn't get the AccessControlException it expects. Instead, it fails with another exception further down the road. > Failures when running tests with JaCoCo > --- > >

[jira] [Assigned] (DERBY-6697) Failures when running tests with JaCoCo

2014-08-08 Thread Knut Anders Hatlen (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen reassigned DERBY-6697: - Assignee: Knut Anders Hatlen > Failures when running tests with JaC

[jira] [Commented] (DERBY-6697) Failures when running tests with JaCoCo

2014-08-08 Thread Knut Anders Hatlen (JIRA)
st JaCoCo version (0.7.1). > Failures when running tests with JaCoCo > --- > > Key: DERBY-6697 > URL: https://issues.apache.org/jira/browse/DERBY-6697 > Project: Derby > Issue Type: B

[jira] [Created] (DERBY-6697) Failures when running tests with JaCoCo

2014-08-08 Thread Knut Anders Hatlen (JIRA)
Knut Anders Hatlen created DERBY-6697: - Summary: Failures when running tests with JaCoCo Key: DERBY-6697 URL: https://issues.apache.org/jira/browse/DERBY-6697 Project: Derby Issue Type

Re: Need pointers on running tests on built versoin of trunk

2013-09-26 Thread Myrna van Lunteren
Hi, You're not the first to trip over our slow progress of moving to junit. The README.htm belonged to the old harness of master-based tests. We've been slowly converting tests to junit, and usually new tests are written in junit. engine/ErrorStreamTest is a junit test. For instructions on ho

Need pointers on running tests on built versoin of trunk

2013-09-26 Thread Bergquist, Brett
I am trashing about trying to figure out how to correctly run the tests after building the trunk code. I want to run the engine/ErrorStreamTest as a single test. How do I go about doing that? I followed the procedure on http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/README.htm?

[jira] [Closed] (DERBY-5917) NoClassDefFoundErrors when running tests without derbynet.jar and derbyclient.jar

2012-09-10 Thread Knut Anders Hatlen (JIRA)
. > NoClassDefFoundErrors when running tests without derbynet.jar and > derbyclient.jar > - > > Key: DERBY-5917 > URL: https://issues.apache.org/jira

[jira] [Updated] (DERBY-5917) NoClassDefFoundErrors when running tests without derbynet.jar and derbyclient.jar

2012-09-10 Thread Knut Anders Hatlen (JIRA)
spath). > NoClassDefFoundErrors when running tests without derbynet.jar and > derbyclient.jar > - > > Key: DERBY-5917 > URL: https://issues.apache.org/jira/browse/DERBY-591

[jira] [Commented] (DERBY-5917) NoClassDefFoundErrors when running tests without derbynet.jar and derbyclient.jar

2012-09-07 Thread Knut Anders Hatlen (JIRA)
est fails because it checks if the connection is a client.am.Connection instance in order to find out if it's running with the client. > NoClassDefFoundErrors when running tests without derbynet.jar and

[jira] [Commented] (DERBY-5917) NoClassDefFoundErrors when running tests without derbynet.jar and derbyclient.jar

2012-09-07 Thread Knut Anders Hatlen (JIRA)
2032. > NoClassDefFoundErrors when running tests without derbynet.jar and > derbyclient.jar > - > > Key: DERBY-5917 > URL: https://issues.apache.org/

[jira] [Updated] (DERBY-5917) NoClassDefFoundErrors when running tests without derbynet.jar and derbyclient.jar

2012-09-06 Thread Knut Anders Hatlen (JIRA)
sion suite (with client/server jars). > NoClassDefFoundErrors when running tests without derbynet.jar and > derbyclient.jar > - > > Key: DERBY-5917 > UR

[jira] [Created] (DERBY-5917) NoClassDefFoundErrors when running tests without derbynet.jar and derbyclient.jar

2012-09-05 Thread Knut Anders Hatlen (JIRA)
Knut Anders Hatlen created DERBY-5917: - Summary: NoClassDefFoundErrors when running tests without derbynet.jar and derbyclient.jar Key: DERBY-5917 URL: https://issues.apache.org/jira/browse/DERBY-5917

[jira] [Closed] (DERBY-5609) Prepare old test harness for running tests on Java 8

2012-02-09 Thread Knut Anders Hatlen (Closed) (JIRA)
1242294. > Prepare old test harness for running tests on Java 8 > > > Key: DERBY-5609 > URL: https://issues.apache.org/jira/browse/DERBY-5609 > Project: Derby >

[jira] [Updated] (DERBY-5609) Prepare old test harness for running tests on Java 8

2012-02-08 Thread Knut Anders Hatlen (Updated) (JIRA)
backport the fix to 10.8. > Prepare old test harness for running tests on Java 8 > > > Key: DERBY-5609 > URL: https://issues.apache.org/jira/browse/DERBY-5609 >

[jira] [Updated] (DERBY-5609) Prepare old test harness for running tests on Java 8

2012-02-08 Thread Knut Anders Hatlen (Updated) (JIRA)
ssing. > Prepare old test harness for running tests on Java 8 > > > Key: DERBY-5609 > URL: https://issues.apache.org/jira/browse/DERBY-5609 > Project: Derby >

[jira] [Created] (DERBY-5609) Prepare old test harness for running tests on Java 8

2012-02-08 Thread Knut Anders Hatlen (Created) (JIRA)
Prepare old test harness for running tests on Java 8 Key: DERBY-5609 URL: https://issues.apache.org/jira/browse/DERBY-5609 Project: Derby Issue Type: Improvement Components

RE: Need help in running tests

2011-08-03 Thread Bergquist, Brett
this file, sections 1 onwards apply to running tests using the old harness which still applies to a significant number of tests. Currently to run the complete set of tests two runs are required, run the harness based tests decribed in this document and then running all the JUnit bases tests. I

Re: Need help in running tests

2011-08-03 Thread Dag H. Wanvik
This is a comment from build.xml, maybe it will help: In my case, I am able to run "ant junit-all" without any setting in my CLASSPATH after building with "ant all buildjars". Dag

Re: Need help in running tests

2011-08-03 Thread Rick Hillegas
Hi Brett, You can also run the tests outside of ant. Here's what I do: 1) Set up my classpath to include the following: - the jars in tools/java (including the junit jar) - the derby jars which I have built - the xalan jars 2) Then issue the following command: java -XX:MaxPermSize=12

Need help in running tests

2011-08-02 Thread Bergquist, Brett
I am trying to run the current test using the ant target "junit-all", but all tests fail. Obviously I have not setup something in my environment. For example in one test, I see the following: java.lang.ClassNotFoundException: org.apache.derbyTesting.functionTests.tests.demo._Suite at

Re: could use help in running tests on ubuntu/sun 1.6 jvm

2010-06-29 Thread Mike Matrigali
Thanks, all, the recommended settings worked for me. /mikem Dag H. Wanvik wrote: Bryan Pendleton writes: Are there any test specific settings, or recommended size settings? My current Ubuntu magic incantation is: java org.apache.derbyTesting.functionTests.harness.RunSuite derbyall; java -Xm

Re: could use help in running tests on ubuntu/sun 1.6 jvm

2010-06-29 Thread Dag H. Wanvik
Bryan Pendleton writes: >> Are there any test specific settings, or recommended size settings? > > My current Ubuntu magic incantation is: > > java org.apache.derbyTesting.functionTests.harness.RunSuite derbyall; > java -Xmx512m -XX:MaxPermSize=128m junit.textui.TestRunner FWIW, I use the same s

Re: could use help in running tests on ubuntu/sun 1.6 jvm

2010-06-28 Thread Bryan Pendleton
Are there any test specific settings, or recommended size settings? My current Ubuntu magic incantation is: java org.apache.derbyTesting.functionTests.harness.RunSuite derbyall; java -Xmx512m -XX:MaxPermSize=128m junit.textui.TestRunner org.apache.derbyTesting.functionTests.suites.All >junitAl

Re: could use help in running tests on ubuntu/sun 1.6 jvm

2010-06-28 Thread Nirmal Fernando
Hi Mike, Try like this java -Xmx512m -XX:MaxPermSize=128morg.apache.derbyTesting.functionTests.harness.RunSuite derbyall Hope this help. On Mon, Jun 28, 2010 at 10:14 PM, Mike Matrigali wrote: > I am setting up an ubuntu environment. I am just trying to get > a clean nightly run on trunk wi

could use help in running tests on ubuntu/sun 1.6 jvm

2010-06-28 Thread Mike Matrigali
I am setting up an ubuntu environment. I am just trying to get a clean nightly run on trunk with no changes. So far I keep running out of memory in the test in the junit run. The machine has plenty - almost 4 gig. I tried bumpting the Mx but still ran of permspace? I tried bumping -XX:MaxPerm

[jira] Assigned: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-26 Thread A B (JIRA)
ersion running tests via ant > > > Key: DERBY-3148 > URL: https://issues.apache.org/jira/browse/DERBY-3148 > Project: Derby >

[jira] Resolved: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-26 Thread A B (JIRA)
le trying to find > Xalan version running tests via ant > > > Key: DERBY-3148 > URL: https://issues.apache.org/jira/browse/DERBY-3148 &

[jira] Commented: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-25 Thread Daniel John Debrunner (JIRA)
ion: Malformed \u encoding while trying to find > Xalan version running tests via ant > > > Key: DERBY-3148 > URL: https://issues.apache.org/jira

[jira] Updated: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-25 Thread A B (JIRA)
your suggestions. There is still a chance for failure if the a user has "version.xalan2_2=" in his/her classpath, but this is hopefully an improvement over the current behavior... > IllegalArgumentException: Malformed \u encoding while trying to find > Xalan version

[jira] Commented: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-24 Thread Daniel John Debrunner (JIRA)
ot;) [note the equals] would be safer? > IllegalArgumentException: Malformed \u encoding while trying to find > Xalan version running tests via ant > > >

[jira] Commented: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-24 Thread Daniel John Debrunner (JIRA)
default encoding of the platform, and then read using ISO-8859-1. Whichever encoding is used, it needs to be consistent on read and write. > IllegalArgumentException: Malformed \u encoding while trying to find > Xalan version running tests v

[jira] Commented: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-24 Thread A B (JIRA)
up in the classpath, that'll fail, too. > IllegalArgumentException: Malformed \u encoding while trying to find > Xalan version running tests via ant > > >

[jira] Updated: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-24 Thread A B (JIRA)
Properties and instead just does a plain old string search for the line containing the target property. This seems to have solved the problem... Is this too naive of a solution? > IllegalArgumentException: Malformed \u encoding while trying to find > Xalan version running tests v

[jira] Assigned: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-24 Thread Daniel John Debrunner (JIRA)
ion: Malformed \u encoding while trying to find > Xalan version running tests via ant > > > Key: DERBY-3148 > URL: https://issues.apache.org

[jira] Commented: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-24 Thread Daniel John Debrunner (JIRA)
ath (on windows) has elements which include '\utils' which Properties.load is trying to interpret as a unicode escape sequence (\u). > IllegalArgumentException: Malformed \u encoding while trying to find >

[jira] Created: (DERBY-3148) IllegalArgumentException: Malformed \uxxxx encoding while trying to find Xalan version running tests via ant

2007-10-24 Thread Daniel John Debrunner (JIRA)
IllegalArgumentException: Malformed \u encoding while trying to find Xalan version running tests via ant Key: DERBY-3148 URL: https

[jira] Updated: (DERBY-2269) running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

2007-05-14 Thread Myrna van Lunteren (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren updated DERBY-2269: -- Component/s: Test > running tests (derbyall, or suites.All) with weme6.1 (or wctme

[jira] Closed: (DERBY-2269) running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

2007-05-14 Thread Myrna van Lunteren (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren closed DERBY-2269. - Resolution: Fixed > running tests (derbyall, or suites.All) with weme6.1 (or wctme

[jira] Reopened: (DERBY-2269) running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

2007-05-14 Thread Myrna van Lunteren (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren reopened DERBY-2269: --- > running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) w

[jira] Closed: (DERBY-2269) running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

2007-01-30 Thread Myrna van Lunteren (JIRA)
revision 501337: http://svn.apache.org/viewvc?view=rev&revision=501337 > running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with > derbyrun.jar fails with NoClassDefFoundError: javax.naming.Ref

[jira] Commented: (DERBY-2269) running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

2007-01-29 Thread Daniel John Debrunner (JIRA)
wrong because it will mask situations where the class can not be loaded due to a bug. E.g. ClientDataSource depends on a class in derbytools.jar. > running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with > derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referen

[jira] Updated: (DERBY-2269) running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

2007-01-28 Thread Myrna van Lunteren (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren updated DERBY-2269: -- Derby Info: [Patch Available] > running tests (derbyall, or suites.All) with weme

[jira] Updated: (DERBY-2269) running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

2007-01-28 Thread Myrna van Lunteren (JIRA)
ting in loading of javax.naming.Referenceable down the line. I'd like input on which approach is preferable. Once I get that, I'll (re)run derbyall & suites.All. If I don't get any input, I'll go with approach b. > running tests (derbyall, or suites.All) with weme6.

[jira] Assigned: (DERBY-2269) running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

2007-01-28 Thread Myrna van Lunteren (JIRA)
[ https://issues.apache.org/jira/browse/DERBY-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Myrna van Lunteren reassigned DERBY-2269: - Assignee: Myrna van Lunteren > running tests (derbyall, or suites.All) w

[jira] Created: (DERBY-2269) running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

2007-01-24 Thread Myrna van Lunteren (JIRA)
running tests (derbyall, or suites.All) with weme6.1 (or wctme5.7) with derbyrun.jar fails with NoClassDefFoundError: javax.naming.Referenceable

[jira] Closed: (DERBY-2184) QuickStart section of java/testing/README.htm should contain Sun JDK6 as supported java version for running tests

2007-01-24 Thread Myrna van Lunteren (JIRA)
10.2 with revision 499604. (See: http://svn.apache.org/viewvc?view=rev&revision=499604). > QuickStart section of java/testing/README.htm should contain Sun JDK6 as > supported java version for run

[jira] Updated: (DERBY-2184) QuickStart section of java/testing/README.htm should contain Sun JDK6 as supported java version for running tests

2007-01-24 Thread Myrna van Lunteren (JIRA)
. Here's a .diff reflecting the adding of jdk16, and ibm15 jvms as supported jvms. (was already true, now also documented). > QuickStart section of java/testing/README.htm should contain Sun JDK6 as > supported java version for ru

[jira] Updated: (DERBY-2184) QuickStart section of java/testing/README.htm should contain Sun JDK6 as supported java version for running tests

2007-01-24 Thread Myrna van Lunteren (JIRA)
. > QuickStart section of java/testing/README.htm should contain Sun JDK6 as > supported java version for running tests > - > > Key: DERBY-2184 >

[jira] Updated: (DERBY-2184) QuickStart section of java/testing/README.htm should contain Sun JDK6 as supported java version for running tests

2007-01-24 Thread Myrna van Lunteren (JIRA)
htm should contain Sun JDK6 as > supported java version for running tests > - > > Key: DERBY-2184 > URL: https://issues.apache.org/jira

[jira] Commented: (DERBY-2184) QuickStart section of java/testing/README.htm should contain Sun JDK6 as supported java version for running tests

2007-01-24 Thread Myrna van Lunteren (JIRA)
. > QuickStart section of java/testing/README.htm should contain Sun JDK6 as > supported java version for running tests > - > > Key: DERBY-2184 >

[jira] Assigned: (DERBY-2184) QuickStart section of java/testing/README.htm should contain Sun JDK6 as supported java version for running tests

2007-01-24 Thread Myrna van Lunteren (JIRA)
htm should contain Sun JDK6 as > supported java version for running tests > - > > Key: DERBY-2184 > URL: https://issues.apache.org/jira

[jira] Created: (DERBY-2184) QuickStart section of java/testing/README.htm should contain Sun JDK6 as supported java version for running tests

2006-12-15 Thread Olav Sandstaa (JIRA)
QuickStart section of java/testing/README.htm should contain Sun JDK6 as supported java version for running tests - Key: DERBY-2184 URL: http

Re: Running tests both with and without sqlAuthorization=true

2006-11-03 Thread Bryan Pendleton
I would recommend trying to determine what value running the test in a different environment has. If the same test cases work and pass in both modes then probably no additional testing resulted due to the run in SQL authorization mode. I'm not sure I agree with that totally; I think I would sa

Re: Running tests both with and without sqlAuthorization=true

2006-11-03 Thread Daniel John Debrunner
Bryan Pendleton wrote: During the review for DERBY-1490, several reviewers noted that it would be useful to be able to run various tests in two configurations: - with sqlAuthorization=true - with sqlAuthorization=false A good example of this is the test suite lang/altertable.sql, which current

Running tests both with and without sqlAuthorization=true

2006-11-02 Thread Bryan Pendleton
During the review for DERBY-1490, several reviewers noted that it would be useful to be able to run various tests in two configurations: - with sqlAuthorization=true - with sqlAuthorization=false A good example of this is the test suite lang/altertable.sql, which currently runs with sqlAuthoriz

[jira] Updated: (DERBY-1941) CLASSPATH in 2.1 running tests section of test\README.htm should contain derbyrun.jar

2006-10-07 Thread James F. Adams (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1941?page=all ] James F. Adams updated DERBY-1941: -- Derby Info: [Patch Available] > CLASSPATH in 2.1 running tests section of test\README.htm should contain > derbyr

[jira] Updated: (DERBY-1941) CLASSPATH in 2.1 running tests section of test\README.htm should contain derbyrun.jar

2006-10-07 Thread James F. Adams (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1941?page=all ] James F. Adams updated DERBY-1941: -- Attachment: readme.patch.txt I have uploaded a patch that modifies the file java/testing/README.htm. > CLASSPATH in 2.1 running tests section of t

[jira] Assigned: (DERBY-1941) CLASSPATH in 2.1 running tests section of test\README.htm should contain derbyrun.jar

2006-10-07 Thread James F. Adams (JIRA)
[ http://issues.apache.org/jira/browse/DERBY-1941?page=all ] James F. Adams reassigned DERBY-1941: - Assignee: James F. Adams > CLASSPATH in 2.1 running tests section of test\README.htm should contain > derbyr

[jira] Created: (DERBY-1941) CLASSPATH in 2.1 running tests section of test\README.htm should contain derbyrun.jar

2006-10-07 Thread James F. Adams (JIRA)
CLASSPATH in 2.1 running tests section of test\README.htm should contain derbyrun.jar - Key: DERBY-1941 URL: http://issues.apache.org/jira/browse/DERBY-1941 Project

Re: Re: Classpath-dependent NPE at boot-time when running tests?

2006-07-19 Thread Andrew McIntyre
On 7/19/06, Army <[EMAIL PROTECTED]> wrote: Deepa Remesh wrote: > > I tried running a test with derbytools.jar preceding derby.jar in the > classpath and I see the same exception. Thank you for confirming this behavior, Deepa. I filed DERBY-1537 for this problem. I also ran into this problem

Re: Classpath-dependent NPE at boot-time when running tests?

2006-07-19 Thread Army
Deepa Remesh wrote: I tried running a test with derbytools.jar preceding derby.jar in the classpath and I see the same exception. Thank you for confirming this behavior, Deepa. I filed DERBY-1537 for this problem. Army

Re: Classpath-dependent NPE at boot-time when running tests?

2006-07-19 Thread Deepa Remesh
On 7/19/06, Army <[EMAIL PROTECTED]> wrote: Can anyone else reproduce this behavior, or do I have something amiss in my environment? If this is not just my problem, I'll file a Jira issue for it... I tried running a test with derbytools.jar preceding derby.jar in the classpath and I see the s

Classpath-dependent NPE at boot-time when running tests?

2006-07-19 Thread Army
I'm trying to run derbyall against sane jars built from a *clean* codeline. I have a script to set up the classpath and that script just happens to put derbytools.jar before derby.jar in my classpath. I didn't think this would be a big deal... It turns out that when derbytools.jar precedes d

Re: enabling tracing info while running tests

2006-07-18 Thread John Embretsen
John Embretsen wrote: Myrna van Lunteren wrote: -Djvmflags will do anything for NetworkServerControl, it only works with the test harness (org.apache.derbyTesting.functionTests.harness.RunTest or RunSuite). That is true. A "not" is missing from Myrna's statement above. What I meant to say w

Re: enabling tracing info while running tests

2006-07-18 Thread John Embretsen
clienttracing.html. I was not able to see any mention of such properties on the server side. And they had no effect when I tried them... To enable server side tracing, I found it easiest to follow the approach described by Knut Anders in http://www.nabble.com/Re%3A-enabling-tracing-info-whi

Re: enabling tracing info while running tests

2006-07-17 Thread Myrna van Lunteren
On 7/17/06, Mayuresh Nirhali <[EMAIL PROTECTED]> wrote: >>Hello, >> >>I am trying to get tracing info for a test run in standalone >>manner. The test runs fine, but I do not see the traceFile being >>created. I tried following but didn't get the trace file. java -cp $CLASSPATH -Djvmflags=derby.d

Re: enabling tracing info while running tests

2006-07-17 Thread Mayuresh Nirhali
Knut Anders Hatlen wrote: Mayuresh Nirhali <[EMAIL PROTECTED]> writes: Hello, I am trying to get tracing info for a test run in standalone manner. The test runs fine, but I do not see the traceFile being created. The command I use is as below, java -cp $CLASSPATH -Dframework=DerbyNetCli

Re: enabling tracing info while running tests

2006-07-14 Thread Myrna van Lunteren
On 7/14/06, Knut Anders Hatlen <[EMAIL PROTECTED]> wrote: Mayuresh Nirhali <[EMAIL PROTECTED]> writes: > Hello, > > I am trying to get tracing info for a test run in standalone > manner. The test runs fine, but I do not see the traceFile being > created. > > The command I use is as below, > > >

Re: enabling tracing info while running tests

2006-07-14 Thread Knut Anders Hatlen
Mayuresh Nirhali <[EMAIL PROTECTED]> writes: > Hello, > > I am trying to get tracing info for a test run in standalone > manner. The test runs fine, but I do not see the traceFile being > created. > > The command I use is as below, > > > java -cp $CLASSPATH -Dframework=DerbyNetClient > -DtestSpeci

enabling tracing info while running tests

2006-07-13 Thread Mayuresh Nirhali
Hello, I am trying to get tracing info for a test run in standalone manner. The test runs fine, but I do not see the traceFile being created. The command I use is as below, java -cp $CLASSPATH -Dframework=DerbyNetClient -DtestSpecialProps=derby.infolog.append=true^derby.drda.traceFile=./tra

Re: Running Tests

2006-07-10 Thread Kristian Waagan
Myrna van Lunteren wrote: On 7/10/06, Myrna van Lunteren <[EMAIL PROTECTED]> wrote: Hi Gokul, The test harness spawns off further java processes which may not inherit the classpath if you use -cp. Please see what you get when you add the classes dir, junit.jar and jakarta jar to an environment

Re: Running Tests

2006-07-10 Thread Andreas Korneliussen
Gokul Soundararajan wrote: Hi Kristian, Sorry for the late reply. I noticed that my code had some problems that wouldn't allow me to run unit tests. Hopefully, all bugs are fixed now. You were correct. JUnit was the problem and now the compile time errors are gone. I think I may be running the

Re: Running Tests

2006-07-10 Thread Myrna van Lunteren
On 7/10/06, Myrna van Lunteren <[EMAIL PROTECTED]> wrote: Hi Gokul, The test harness spawns off further java processes which may not inherit the classpath if you use -cp. Please see what you get when you add the classes dir, junit.jar and jakarta jar to an environment variable, then run the test

Re: Running Tests

2006-07-10 Thread Myrna van Lunteren
On 7/10/06, Gokul Soundararajan <[EMAIL PROTECTED]> wrote: Hi Kristian, Sorry for the late reply. I noticed that my code had some problems that wouldn't allow me to run unit tests. Hopefully, all bugs are fixed now. You were correct. JUnit was the problem and now the compile time errors are gon

Re: Running Tests

2006-07-10 Thread Gokul Soundararajan
Hi Kristian, Sorry for the late reply. I noticed that my code had some problems that wouldn't allow me to run unit tests. Hopefully, all bugs are fixed now. You were correct. JUnit was the problem and now the compile time errors are gone. I think I may be running the test incorrectly. I have post

Re: Running Tests

2006-07-02 Thread Kristian Waagan
Gokul Soundararajan wrote: Øystein Grøvlen <[EMAIL PROTECTED]> writes: Gokul Soundararajan wrote: 1. 1st set related to BaseJDBCTestCase with method assertTrue() 2. 2nd set related to BaseJDBCTestCase.java/ScrollResultSetTest.java with methods assertEquals(), assertTrue(), and assertF

Re: Running Tests

2006-07-02 Thread Gokul Soundararajan
Øystein Grøvlen <[EMAIL PROTECTED]> writes: > > Gokul Soundararajan wrote: > > > 1. 1st set related to BaseJDBCTestCase with method assertTrue() > > 2. 2nd set related to BaseJDBCTestCase.java/ScrollResultSetTest.java with > > methods assertEquals(), assertTrue(), and assertFalse() > > > > Thes

Re: Running Tests

2006-07-02 Thread Øystein Grøvlen
Gokul Soundararajan wrote: 1. 1st set related to BaseJDBCTestCase with method assertTrue() 2. 2nd set related to BaseJDBCTestCase.java/ScrollResultSetTest.java with methods assertEquals(), assertTrue(), and assertFalse() These errors seem related. Also, I get the same errors if I build from ${d

Re: Running Tests

2006-07-02 Thread Gokul Soundararajan
Hi Andrew, Thanks for your help. > The testing readme is in java/testing/README.htm. I'm using this document as a guide. > If you post the errors you are receiving at compile time and run time, > I can help you track the problem down further. I'm running ant inside java/testing/. I get 2 sets

Re: Running Tests

2006-07-01 Thread Andrew McIntyre
On 7/1/06, Gokul Soundararajan <[EMAIL PROTECTED]> wrote: In addition, when I make the derbyTesting package, I get several errors when compiling JDBC related files. Can someone point me to documentation on how to get the tests running? I don't need to run all of them. Just testing the cache ser

Running Tests

2006-07-01 Thread Gokul Soundararajan
Hi all, I'm working on improving the Cache Manager. I have a working trunk copy. I can run the ij tool and create/access databases. I want to run some tests to verify my new implementation. I saw that there were some unit tests for the cache service but I can't seem to get it running properly. The

Re: Running tests under security manager

2005-08-02 Thread Francois Orsini
Sounds great indeed - not sure the default should be to run tests with a Security Manager installed but at least having the option to do it would be neat for sure...Yes, running with or without a security manager installed looks the same but internally am thinking that there are behavioral differe

Re: Running tests under security manager

2005-08-02 Thread David Van Couvering
st harness. This then means that running tests under the security manager really only makes sense (or is a more stringent test) when running using jars (as opposed to the classes directory). I'm starting out by getting the embedded tests to run under the security manager by just passing pr

Running tests under security manager

2005-08-02 Thread Daniel John Debrunner
, say, the embedded engine is not incorrectly using a permission granted to the test harness. This then means that running tests under the security manager really only makes sense (or is a more stringent test) when running using jars (as opposed to the classes directory). I'm starting out by getti

Re: running tests with j9?

2005-05-17 Thread Daniel John Debrunner
Myrna van Lunteren wrote: > Well, I have a j9_foundation.java, and only needed 1 tiny change to > RunTest but when I tried to test, I found that ij still needs > java.sql.Driver. So I can't actually test this until I/you/someone > modifies ij... > > So, here is j9_foundation for now, please let m

Re: running tests with j9?

2005-05-16 Thread Myrna van Lunteren
Well, I have a j9_foundation.java, and only needed 1 tiny change to RunTest but when I tried to test, I found that ij still needs java.sql.Driver. So I can't actually test this until I/you/someone modifies ij... So, here is j9_foundation for now, please let me know if it doesn't work... Myrna

Re: running tests with j9?

2005-05-13 Thread Daniel John Debrunner
Myrna van Lunteren wrote: Note that with foundation, with wsdd5.6 there is no support for java.sql.* (you'll get an incompatible library error if you try) and with wctme5.7 foundation you are supposed to use jdbc.jar (again, database_enabler.jar will give incompatible library with

Re: running tests with j9?

2005-05-13 Thread Daniel John Debrunner
Myrna van Lunteren wrote: > After a night's sleep, I realize you probably need to have a jvm class > for j9_foundation for wctme5.7. We had such a jvm class in the harness > dir with earlier cloudscape versions for wsdd5.0 or wsdd5.5, but with > wsdd5.6 the combo jcl-java.sql was not supported, so

Re: running tests with j9?

2005-05-13 Thread Myrna van Lunteren
After a night's sleep, I realize you probably need to have a jvm class for j9_foundation for wctme5.7. We had such a jvm class in the harness dir with earlier cloudscape versions for wsdd5.0 or wsdd5.5, but with wsdd5.6 the combo jcl-java.sql was not supported, so I didn't contribute that class. I

Re: running tests with j9?

2005-05-12 Thread Myrna van Lunteren
On 5/12/05, Daniel John Debrunner <[EMAIL PROTECTED]> wrote: > Myrna van Lunteren wrote: > > > On 5/12/05, Daniel John Debrunner <[EMAIL PROTECTED]> wrote: > > > > >>One more question, how does the test harness map from the j9 vm to the > >>j9_13.java representation of the JVM? > > Any idea on t

Re: running tests with j9?

2005-05-12 Thread Daniel John Debrunner
Myrna van Lunteren wrote: > On 5/12/05, Daniel John Debrunner <[EMAIL PROTECTED]> wrote: > >>One more question, how does the test harness map from the j9 vm to the >>j9_13.java representation of the JVM? Any idea on this question? >> >>Onto CDC/Foundation ... > > Note that with foundation, wi

Re: running tests with j9?

2005-05-12 Thread Myrna van Lunteren
On 5/12/05, Daniel John Debrunner <[EMAIL PROTECTED]> wrote: > Myrna van Lunteren wrote: > > > Is it possible JAVA_HOME is pointing to another jvm? > > It would be one situation where you'd get the error you mention. > > Yep that was the problem, unsetting JAVA_HOME in my script fixed the > probl

Re: running tests with j9?

2005-05-12 Thread Daniel John Debrunner
Myrna van Lunteren wrote: > Is it possible JAVA_HOME is pointing to another jvm? > It would be one situation where you'd get the error you mention. Yep that was the problem, unsetting JAVA_HOME in my script fixed the problem. > And then it is required to add the bootclasspath to the location of

Re: running tests with j9?

2005-05-05 Thread Myrna van Lunteren
Is it possible JAVA_HOME is pointing to another jvm? It would be one situation where you'd get the error you mention. And then it is required to add the bootclasspath to the location of the java.sql classes (e.g. database_enabler.jar), which is an additional package, or you'll get java.sql.SQLExce

running tests with j9?

2005-05-05 Thread Daniel John Debrunner
The README file for the testing implies that the tests should run with IBM's wsdd5.6 (aka j9). Are there any examples on how to do this? I tried this, with my classpath just set to include the Derby stuff, but I get a java.lang.Object not found. c:/wsdd5.6/ive/bin/j9 -jcl:Max org.apache.derbyTes

  1   2   >