Hi all
I try tu use Slide API to add and remove file to a file
repository :
when I try to remove a node in structure I get :
23 Mar 2007 15:13:29 -
org.apache.slide.security.ACLSecurityImpl -
WARNING - permission [object=/documents,
subject=/roles/user,
action=/actions/write, ->GRANT, INHERITABLE]
23 Mar 2007 15:13:29 -
org.apache.slide.security.ACLSecurityImpl -
WARNING - permission=[object=/documents,
subject=/roles/user,
action=/actions/write, ->GRANT, INHERITABLE], match=true
23 Mar 2007 15:13:29 -
org.apache.slide.store.impl.rdbms.PostgresRDBMSAdapter -
ERROR -
org.postgresql.util.PSQLException: ERROR: update or delete
on
"version_history" violates foreign key constraint
"$1" on "properties"
org.postgresql.util.PSQLException: ERROR: update or delete
on
"version_history" violates foreign key constraint
"$1" on "properties"
at
org.postgresql.util.PSQLException.parseServerError(PSQLExcep
tion.java:139)
at
org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.ja
va:152)
at
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java
:100)
at
org.postgresql.core.QueryExecutor.execute(QueryExecutor.java
:43)
at
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(Abstract
Jdbc1Statement.java:517)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(Abstract
Jdbc2Statement.java:50)
at
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(Ab
stractJdbc1Statement.java:273)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeU
pdate(DelegatingPreparedStatement.java:101)
at
org.apache.slide.store.impl.rdbms.PostgresRDBMSAdapter.remov
eObject(PostgresRDBMSAdapter.java:93)
at
org.apache.slide.store.impl.rdbms.AbstractRDBMSStore.removeO
bject(AbstractRDBMSStore.java:458)
at
org.apache.slide.store.AbstractStore.removeObject(AbstractSt
ore.java:803)
at
org.apache.slide.store.ExtendedStore.removeObject(ExtendedSt
ore.java:684)
Here is my call to structure.remove
at
org.apache.slide.structure.StructureImpl.remove(StructureImp
l.java:547)
at
sas.slideAPI.serveur.GestionDeContenuImpl.supprimeDocument(G
estionDeContenuImpl.java:653)
at
sas.slideAPI.commun.corba.GestionDeContenuPOATie.supprimeDoc
ument(GestionDeContenuPOATie.java:53)
at
sas.slideAPI.commun.corba.GestionDeContenuPOA._invoke(Gestio
nDeContenuPOA.java:101)
at
sas.slideAPI.commun.corba.GestionDeContenuPOA._invoke(Gestio
nDeContenuPOA.java:41)
at
com.inprise.vbroker.poa.POAImpl.invoke(POAImpl.java:2822)
at
com.inprise.vbroker.poa.ActivationRecord.invoke(ActivationRe
cord.java:186)
at
com.inprise.vbroker.poa.ServerInterceptorManager$ARWrapper.i
nvoke(ServerInterceptorManager.java:111)
at
com.inprise.vbroker.GIOP.GiopProtocolAdapter.doRequest(GiopP
rotocolAdapter.java:838)
at
com.inprise.vbroker.IIOP.ServerProtocolAdapter.doRequest(Ser
verProtocolAdapter.java:68)
at
com.inprise.vbroker.GIOP.GiopProtocolAdapter.dispatchMessage
(GiopProtocolAdapter.java:1120)
at
com.inprise.vbroker.orb.TPDispatcherImpl$TPDispatcher.run(TP
DispatcherImpl.java:100)
at
com.inprise.vbroker.orb.ThreadPool$PoolWorker.run(ThreadPool
.java:76)
23 Mar 2007 15:13:29 -
sas.slideAPI.serveur.GestionDeContenuImpl - ERROR
- org.apache.slide.common.ServiceAccessException: Service
org.apache.slide.store.impl.rdbms.JDBCStore 79b177
access error : ERROR:
update or delete on "version_history" violates
foreign key constraint
"$1" on "properties"
I joined my source code and the complete stack trace
Does anyBody can help me I can't manage this problem !
Regards B DOREL
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
|