incubator-connectors-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Connectors Framework > FAQ
Date Mon, 31 Jan 2011 02:36:00 GMT
Space: Apache Connectors Framework (https://cwiki.apache.org/confluence/display/CONNECTORS)
Page: FAQ (https://cwiki.apache.org/confluence/display/CONNECTORS/FAQ)
Comment: https://cwiki.apache.org/confluence/display/CONNECTORS/FAQ?focusedCommentId=25200281#comment-25200281

Comment added by Karl Wright:
---------------------------------------------------------------------

I've seen this before and it is supposedly fixed in RC8.  But apparently this is incorrect.

The $1 is something internal to PostgreSQL, and probably represents a bug.
The error you are seeing appears intermittently; I've been able to create the database without
issue, but sometimes it does not seem to work.

The easy way around is to create the postgresql user yourself.  Use psql -U <superusername>
to get into the master database, and do the following:

create user manifoldcf password 'local_pg_passwd';
\q

After that, ManifoldCF should start just fine.


In reply to a comment by Nicolas Max:
hello again,

I have configure manifoldcf to work with postgreSQL.


<property name="org.apache.manifoldcf.databaseimplementationclass" value="org.apache.manifoldcf.core.database.DBInterfacePostgreSQL"/>
<property name="org.apache.manifoldcf.dbsuperusername" value="bahout"/>
<property name="org.apache.manifoldcf.dbsuperuserpassword" value="*******"/>

but after sudo java \-jar start.jar

*I have the folowing error :*

Configuration file successfully read
org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database exception: Exception doing
query: ERROR: syntax error at or near "$1"
_Configuration file successfully read_
_org.apache.manifoldcf.core.interfaces.ManifoldCFException: Database exception: Exception
doing query: ERROR: syntax error at or near "$1"_
_at org.apache.manifoldcf.core.database.Database.executeViaThread(Database.java:461)..._

*I supposed it means that the database has not be created but why?*

( I can create manually a database) !ScreenShot006.jpg|border=1!
Thanks

*Nicolas*

Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action

Mime
View raw message