05-07-2012 11:07 AM
I first started Nuxeo 5.5 EP with my oracle database configured with OWNER rights. Then I wanted to connect it with USER rights, USER has synonyms so USER does not have rights to CREATE table.
All the tables are there in database, but when I started the nuxeo server it gave me errors like the following:
2012-05-07 08:00:28,691 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] Unsuccessful: create table RECM_USER.NXP_LOGS (LOG_ID integer not null, LOG_EVENT_CATEGORY varchar2(255 char), LOG_EVENT_COMMENT varchar2(1024 char), LOG_DOC_LIFE_CYCLE varchar2(255 char), LOG_DOC_PATH varchar2(1024 char), LOG_DOC_TYPE varchar2(255 char), LOG_DOC_UUID varchar2(255 char), LOG_EVENT_DATE timestamp, LOG_EVENT_ID varchar2(255 char) not null, LOG_PRINCIPAL_NAME varchar2(255 char), LOG_REPO_ID varchar2(255 char), primary key (LOG_ID))
2012-05-07 08:00:28,691 ERROR [org.hibernate.tool.hbm2ddl.SchemaUpdate] ORA-01031: insufficient privileges
I referred to this: http://doc.nuxeo.com/display/ADMINDOC/VCS+Configuration
and set the
but nuxeo server again tries to create tables; and the errors persists.
Where am I wrong..
05-07-2012 01:40 PM
How did you set noDDL to true: which file(s) did you change?
Did you precisely write <noDDL>
and not <noddl>
(in lowercase)?
Note with INFO level on "org.nuxeo.ecm.core.storage.sql.jdbc", if no DDL was properly set, you would see a log line stating that JDBCBackend is "Skipping database creation".
05-08-2012 03:00 AM
Julien thanks for the reply,
05-08-2012 10:05 AM
Julien, the no DDL property is successfully set as Im able to see the following line in my logs
05-07-2012 02:19 PM
<noDDL>
only controls VCS, but given the error message you show your problem comes from Hibernate.
In any case if you want a kind of "noDDL" for hibernate you still must create the tables by hand before starting Nuxeo, it needs them.
05-08-2012 03:02 AM
Florent, all the table are setup in my oracle database, for the above error I mentioned, NXP_LOGS exists in my oracle database.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.