cancel
Showing results for 
Search instead for 
Did you mean: 

Erreur during bootstrap with alfresco 3.2r + postgresql

faxeur1986
Champ in-the-making
Champ in-the-making
Hi,

I have installed Alfresco 3.2r + Postgres on windows XP.

I have do step by step the instructions of link: http://wiki.alfresco.com/wiki/Database_Configuration#PostgreSQL_example.

But, during bootstrap, I have the following error:


Caused by: com.ibatis.common.jdbc.exception.NestedSQLException:  
— The error occurred in alfresco/ibatis/#resource.dialect#/content-common-SqlMap.xml. 
— The error occurred while applying a parameter map. 
— Check the alfresco.content.select_ContentUrlByKey-InlineParameterMap. 
— Check the statement (query failed). 
— Cause: org.postgresql.util.PSQLException: ERROR: relation "alf_content_url" does not exist
   at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:201)
   at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForObject(MappedStatement.java:120)
   at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:518)
   at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForObject(SqlMapExecutorDelegate.java:493)
   at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForObject(SqlMapSessionImpl.java:106)
   at org.springframework.orm.ibatis.SqlMapClientTemplate$1.doInSqlMapClient(SqlMapClientTemplate.java:244)
   at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:194)
   … 229 more
Caused by: org.postgresql.util.PSQLException: ERROR: relation "alf_content_url" does not exist
   at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1548)
   at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1316)
   at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:191)
   at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:452)
   at org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:351)
   at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:344)
   at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
   at org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
   at com.ibatis.sqlmap.engine.execution.SqlExecutor.executeQuery(SqlExecutor.java:229)
   at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteQuery(MappedStatement.java:221)
   at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:189)
   … 235 more

I have copied/pasted the last error line.

I don't know what I can do, please help me.
1 REPLY 1

faxeur1986
Champ in-the-making
Champ in-the-making
I use Alfresco 3.2r to develop extensions under maven.
The deployment is on JBOSS 4.2.

So this is a version of alfresco containing extensions developped.
I use version 8.2 of PostgreSQL as:
Dependency:
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>8.2-506.jdbc3</version>
</dependency>

is used to download the driver in the maven repo.

I hope I have answered all your questions and you will find a solution.

Thank you, in advance.