db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren" <m.v.lunte...@gmail.com>
Subject Re: [jira] Commented: (DERBY-1037) new test lang/ShutdownDatabase.java fails with j2ME
Date Thu, 23 Feb 2006 04:40:20 GMT
Yes, linked, new test. Thx for the references. :-)
Looking at closed.java it seems to me some of DERBY-949 has been done
already?
DERBY-993 I will make more generic to apply to all junit tests. I'm not sure
whether or not there are differences.
I will cross link these isues.


Myrna


On 2/22/06, Andrew McIntyre (JIRA) <derby-dev@db.apache.org> wrote:
>
>    [
> http://issues.apache.org/jira/browse/DERBY-1037?page=comments#action_12367460]
>
> Andrew McIntyre commented on DERBY-1037:
> ----------------------------------------
>
> Same issue as DERBY-949 and DERBY-993? Linking to DERBY-949, for sure.
>
> > new test lang/ShutdownDatabase.java fails with j2ME
> > ---------------------------------------------------
> >
> >          Key: DERBY-1037
> >          URL: http://issues.apache.org/jira/browse/DERBY-1037
> >      Project: Derby
> >         Type: Bug
> >   Components: Test
> >     Versions: 10.2.0.0
> >  Environment: J2ME / CDC / Foundation implementation with IBM wctme.
> >     Reporter: Myrna van Lunteren
> >     Priority: Minor
>
> >
> > The new test lang/ShutdownDatabase.java fails with:
> > java.lang.NoClassDefFoundError: java.sql.Driver
> > The test needs to be rewritten to take advantage of the TestUtil methods
> for getting a connection from a datasource or using a driver, similar to
> e.g. lang/closed.java.
> > The stack trace is like so:
> > java.lang.NoClassDefFoundError: java.sql.Driver
> >       at java.lang.ClassLoader.defineClassImpl(Native Method)
> >       at java.lang.ClassLoader.defineClass(ClassLoader.java:212)
> >       at java.security.SecureClassLoader.defineClass(
> SecureClassLoader.java:109)
> >       at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1026)
> >       at java.net.URLClassLoader$4.run(URLClassLoader.java:557)
> >       at java.security.AccessController.doPrivileged(
> AccessController.java:167)
> >       at java.net.URLClassLoader.findClass(URLClassLoader.java:555)
> >       at com.ibm.oti.vm.URLSystemClassLoader.findClass(
> URLSystemClassLoader.java:32)
> >       at java.lang.ClassLoader.loadClass(ClassLoader.java:602)
> >       at com.ibm.oti.vm.URLSystemClassLoader.loadClass(
> URLSystemClassLoader.java:65)
> >       at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
> >       at java.lang.Class.forNameImpl(Native Method)
> >       at java.lang.Class.forName(Class.java:116)
> >       at org.apache.derby.impl.tools.ij.util.loadDriver(util.java:837)
> >       at org.apache.derby.impl.tools.ij.util.startJBMS(util.java:492)
> >       at org.apache.derby.impl.tools.ij.util.startJBMS(util.java:573)
> >       at org.apache.derby.impl.tools.ij.util.startJBMS(util.java:554)
> >       at
> org.apache.derbyTesting.functionTests.tests.lang.ShutdownDatabase.openConnectionToNewDatabase
> (ShutdownDatabase.java:530)
> >       at
> org.apache.derbyTesting.functionTests.tests.lang.ShutdownDatabase.testOnlyTransactionWasCommited
> (ShutdownDatabase.java:151)
> >       at
> org.apache.derbyTesting.functionTests.tests.lang.ShutdownDatabase.testShutDownWithCommitedTransaction
> (ShutdownDatabase.java:116)
> >       at
> org.apache.derbyTesting.functionTests.tests.lang.ShutdownDatabase.main(
> ShutdownDatabase.java:86)
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
>   http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>   http://www.atlassian.com/software/jira
>
>

Mime
View raw message