db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Øystein Grøvlen (JIRA) <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1901) Cryptic error message if connecting to database in a jar when temp directory cannot be accessed.
Date Sun, 01 Oct 2006 19:14:22 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1901?page=all ]

Øystein Grøvlen updated DERBY-1901:
-----------------------------------

    Description: 
If the temporary directory, as specified by java.io.tmpdir, is not accessible, connecting
to a database in a jar will fail with the following error message:

ERROR XJ040: Failed to start database 'jar:(ina.jar)db7', see the next exception for details.
ERROR XBM0W: An exception was thrown while creating an instance of class class org.apache.derby.impl.io.JarStorageFactory
registered for identifier jar.

This does not give any indication of the real problem or how to solve it.

If the default temp-directory ($TEMP on cygwin) is not accessable, this problem can be reproduced
by the following tests: 

lang/dcl.sql
store/encryptDatabaseTest3.sql
store/encryptionKey_jar.sql


  was:
If the temporary directory, as specified by java.io.tmpdir, connecting to a database in a
jar will fail with the following error message:

ERROR XJ040: Failed to start database 'jar:(ina.jar)db7', see the next exception for details.
ERROR XBM0W: An exception was thrown while creating an instance of class class org.apache.derby.impl.io.JarStorageFactory
registered for identifier jar.

This does not give any indication of the real problem or how to solve it.

If the default temp-directory ($TEMP on cygwin) is not accessable, this problem can be reproduced
by the following tests: 

lang/dcl.sql
store/encryptDatabaseTest3.sql
store/encryptionKey_jar.sql



> Cryptic error message if connecting to database in a jar when temp directory cannot be
accessed.
> ------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-1901
>                 URL: http://issues.apache.org/jira/browse/DERBY-1901
>             Project: Derby
>          Issue Type: Improvement
>          Components: Store
>    Affects Versions: 10.2.1.5, 10.3.0.0, 10.2.2.0
>         Environment: Windows NT, cygwin
>            Reporter: Øystein Grøvlen
>            Priority: Minor
>
> If the temporary directory, as specified by java.io.tmpdir, is not accessible, connecting
to a database in a jar will fail with the following error message:
> ERROR XJ040: Failed to start database 'jar:(ina.jar)db7', see the next exception for
details.
> ERROR XBM0W: An exception was thrown while creating an instance of class class org.apache.derby.impl.io.JarStorageFactory
registered for identifier jar.
> This does not give any indication of the real problem or how to solve it.
> If the default temp-directory ($TEMP on cygwin) is not accessable, this problem can be
reproduced by the following tests: 
> lang/dcl.sql
> store/encryptDatabaseTest3.sql
> store/encryptionKey_jar.sql

-- 
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