<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 36: Error on first postgres file access</title><link>https://sourceforge.net/p/clarion2java/bugs/36/</link><description>Recent changes to 36: Error on first postgres file access</description><atom:link href="https://sourceforge.net/p/clarion2java/bugs/36/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 06 Aug 2010 00:33:15 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/clarion2java/bugs/36/feed.rss" rel="self" type="application/rss+xml"/><item><title>Error on first postgres file access</title><link>https://sourceforge.net/p/clarion2java/bugs/36/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think this is the only part of the error file that is useful:&lt;/p&gt;
&lt;p&gt;Aug 5, 2010 9:52:53 PM org.jclarion.clarion.ClarionSQLFile setError&lt;br /&gt;
WARNING: SQLException : ERROR: permission denied for relation ingredients 42501&lt;br /&gt;
org.postgresql.util.PSQLException: ERROR: permission denied for relation ingredients&lt;br /&gt;
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)&lt;br /&gt;
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)&lt;br /&gt;
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)&lt;br /&gt;
at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)&lt;br /&gt;
at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)&lt;/p&gt;
&lt;p&gt;Happens on all three of the cookbook tables. &lt;/p&gt;
&lt;p&gt;My db.properties file looks like this:&lt;/p&gt;
&lt;p&gt;db.good=localhost\:postgres\:shaolin\:5432&lt;br /&gt;
db.good=127.0.0.1\:postgres\:shaolin\:5432&lt;br /&gt;
source.cookbook=127.0.0.1\:cookbook\:cookbook\:5432&lt;br /&gt;
altsource.cookbook=127.0.0.1\:cookbook\:cookbook\:5432&lt;/p&gt;
&lt;p&gt;which is the only way I could get past the database page, but:&lt;/p&gt;
&lt;p&gt;a) it should not be necessary to give the root user password to access the files (which are in piblic)&lt;br /&gt;
b) the password should not be stored in a plain text file&lt;br /&gt;
c) the java version seems (I think) to be looking for the tables in the cookbook database (which I do have set up properly), while for the clarion version, cookbook is the DSN name and it actually uses the data tables in the postgres/public schema (which also exist)&lt;br /&gt;
d) in the Database Manager: select cookbook screen, if I look in expert mode after giveing it the root user password, it shows two databases under the node: cookbook and phpwiki. It does not show the default postgres database.&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon Waterhouse</dc:creator><pubDate>Fri, 06 Aug 2010 00:33:15 -0000</pubDate><guid>https://sourceforge.net7c08678e28f1c7031b6a803e2c1e93ade4f8a3b7</guid></item></channel></rss>