From: thhal at mailblocks.com (Thomas Hallgren) Date: Thu, 08 Sep 2005 08:23:41 +0200 Subject: [Pljava-dev] Errors running pljava test In-Reply-To: <431FBC71.5060803@tokuii.com> References: <431FBC71.5060803@tokuii.com> <431FD8ED.9050502@mailblocks.com> Message-ID: 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.(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.(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.(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.(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.(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.(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.(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.(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.(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.(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.(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.(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