Hi,
I am trying to reproduce the problem (
https://issues.apache.org/jira/browse/DERBY-4091) on my local setup. I have
checked out the code and able to build from the source and run the junit
tests by executing "ant junit-all".
I am following the steps as mentioned in the README.txt of mailjdbc test
package[1] to reproduce the problem. It has described that the test can be
executed by running 'java org.apache.derbyTesting.system.mailjdbc.MailJdbc
embedded'.

From, the classes directory of the source I am executing the above command
and getting the following error:

java.sql.SQLSyntaxErrorException: GRANT not allowed unless database
property derby.database.sqlAuthorization has value 'TRUE'.
at
org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:103)

I have also copied the derby.properties with
'derby.database.sqlAuthorization' already set to true.

Could you please let me know if this is expected or is there anything that
I am missing while running the test?

[1]
https://svn.apache.org/repos/asf/db/derby/code/trunk/java/testing/org/apache/derbyTesting/system/mailjdbc/README.txt

Reply via email to