Subject: [Pljava-dev] Errors running pljava test
Date: Thu, 08 Sep 2005 08:23:41 +0200
Message-ID: <thhal-0cHH7A5XG8LQZHxeJ4SmKeUxzX0KYy1@mailblocks.com> (raw)
In-Reply-To: <431FBC71.5060803@tokuii.com>
References: <431FBC71.5060803@tokuii.com>
<431FD8ED.9050502@mailblocks.com>
<thhal-0cHH7A5PG8LQxk2Nv1nWW2ejTEXji1F@mailblocks.com>
The first test you run tests the security. The error you get is proof
that the security works. Other tests are jogging the meta-data feature
and some features are not yet implemented. The output you see is to be
expected when running the tests. It shouldn't hang though. Are you sure
it does? Some tests take a long time to run.
I see you got past the previous problem? Was it a problem with the JDBC
driver?
Regards,
Thomas Hallgren
kstian wrote:
> Hi,
>
> I was running pljava test. The test hung in the middle and I found
> the following errors in postgresql.log file.
>
> What else have I missed?
>
> Thank you so much for help.
>
> Regards,
> Kong
>
>
> ==================================================================
> LOG: Exception
> LOG: in thread "main"
> java.lang.SecurityException: write on /tmp/pljava25013.test
> at
> org.postgresql.pljava.internal.Backend$2.assertPermission(Backend.java:187)
>
> at
> org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.nonRecursiveCheck(Backend.java:128)
>
> at
> org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.checkPermission(Backend.java:106)
>
> at java.lang.SecurityManager.checkWrite(SecurityManager.java:954)
> at java.io.File.checkAndCreate(File.java:1306)
> at java.io.File.createTempFile(File.java:1402)
> at java.io.File.createTempFile(File.java:1439)
> at
> org.postgresql.pljava.example.Security.createTempFile(Security.java:26)
> ERROR: java.lang.SecurityException: write on /tmp/pljava25013.test
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: getAttributes
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: getAttributes
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTables
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTables
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTypes
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTypes
> LOG: Exception
> LOG: in thread "main"
> java.lang.SecurityException: write on /tmp/pljava25015.test
> at
> org.postgresql.pljava.internal.Backend$2.assertPermission(Backend.java:187)
>
> at
> org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.nonRecursiveCheck(Backend.java:128)
>
> at
> org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.checkPermission(Backend.java:106)
>
> at java.lang.SecurityManager.checkWrite(SecurityManager.java:954)
> at java.io.File.checkAndCreate(File.java:1306)
> at java.io.File.createTempFile(File.java:1402)
> at java.io.File.createTempFile(File.java:1439)
> at
> org.postgresql.pljava.example.Security.createTempFile(Security.java:26)
> ERROR: java.lang.SecurityException: write on /tmp/pljava25015.test
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: getAttributes
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: getAttributes
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTables
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTables
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTypes
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTypes
> LOG: Exception
> LOG: in thread "main"
> java.lang.SecurityException: write on /tmp/pljava25017.test
> at
> org.postgresql.pljava.internal.Backend$2.assertPermission(Backend.java:187)
>
> at
> org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.nonRecursiveCheck(Backend.java:128)
>
> at
> org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.checkPermission(Backend.java:106)
>
> at java.lang.SecurityManager.checkWrite(SecurityManager.java:954)
> at java.io.File.checkAndCreate(File.java:1306)
> at java.io.File.createTempFile(File.java:1402)
> at java.io.File.createTempFile(File.java:1439)
> at
> org.postgresql.pljava.example.Security.createTempFile(Security.java:26)
> ERROR: java.lang.SecurityException: write on /tmp/pljava25017.test
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: getAttributes
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: getAttributes
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTables
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTables
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTypes
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTypes
> LOG: Exception
> LOG: in thread "main"
> java.lang.SecurityException: write on /tmp/pljava25019.test
> at
> org.postgresql.pljava.internal.Backend$2.assertPermission(Backend.java:187)
>
> at
> org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.nonRecursiveCheck(Backend.java:128)
>
> at
> org.postgresql.pljava.internal.Backend$PLJavaSecurityManager.checkPermission(Backend.java:106)
>
> at java.lang.SecurityManager.checkWrite(SecurityManager.java:954)
> at java.io.File.checkAndCreate(File.java:1306)
> at java.io.File.createTempFile(File.java:1402)
> at java.io.File.createTempFile(File.java:1439)
> at
> org.postgresql.pljava.example.Security.createTempFile(Security.java:26)
> ERROR: java.lang.SecurityException: write on /tmp/pljava25019.test
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: getAttributes
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: getAttributes
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTables
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTables
> LOG: Exception
> LOG: in thread "main"
> java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTypes
> at
> org.postgresql.pljava.example.MetaDataTest.<init>(MetaDataTest.java:101)
> at
> org.postgresql.pljava.example.MetaDataTest.callMetaDataMethod(MetaDataTest.java:22)
>
> ERROR: java.sql.SQLException:
> org.postgresql.pljava.jdbc.UnsupportedFeatureException: Feature not
> supported: DatabaseMetaData.getSuperTypes
> ERROR: invalid regular expression: quantifier operand invalid
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pljava-dev@postgresql.org
Subject: Re: [Pljava-dev] Errors running pljava test
In-Reply-To: <thhal-0cHH7A5XG8LQZHxeJ4SmKeUxzX0KYy1@mailblocks.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox