From: | thhal at mailblocks(dot)com (Thomas Hallgren) |
---|---|
To: | |
Subject: | [Pljava-dev] Errors running pljava test |
Date: | 2005-09-08 06:23:41 |
Message-ID: | thhal-0cHH7A5XG8LQZHxeJ4SmKeUxzX0KYy1@mailblocks.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pljava-dev |
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
From | Date | Subject | |
---|---|---|---|
Next Message | kstian | 2005-09-08 06:57:47 | [Pljava-dev] Errors running pljava test |
Previous Message | kstian | 2005-09-08 04:22:09 | [Pljava-dev] Errors running pljava test |