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 "Øystein Grøvlen (JIRA)" <de...@db.apache.org> on 2006/09/29 10:23:53 UTC

[jira] Created: (DERBY-1901) Cryptic error message if connecting to database in a jar when temp directory cannot be accessed.

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.2.2.0, 10.3.0.0
         Environment: Windows NT, cygwin
            Reporter: Øystein Grøvlen
            Priority: Minor


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


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

       

[jira] Commented: (DERBY-1901) Cryptic error message if connecting to database in a jar when temp directory cannot be accessed.

Posted by "Laura Stewart (JIRA)" <de...@db.apache.org>.
    [ http://issues.apache.org/jira/browse/DERBY-1901?page=comments#action_12438751 ] 
            
Laura Stewart commented on DERBY-1901:
--------------------------------------

When the message is updated in the code, please make sure that someone updates the message in the docs.

> 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.2.2.0, 10.3.0.0
>         Environment: Windows NT, cygwin
>            Reporter: Øystein Grøvlen
>            Priority: Minor
>
> 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

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

       

[jira] Updated: (DERBY-1901) Cryptic error message if connecting to database in a jar when temp directory cannot be accessed.

Posted by "Øystein Grøvlen (JIRA)" <de...@db.apache.org>.
     [ 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