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