This is very strange. In SQLBaseProperty.java:43 it can only fail if
the property in question is flagged read-only.
But ecm:binaryText is not read-only, as defined in Model.java:890.
Is this problem reproducible?
Florent
On 16 Apr 2009, at 19:11, ericdes wrote:
Publishing a document will fail on this system:
DISTRIB_DESCRIPTION="Ubuntu 8.10"
2.6.27-11-generic i686
java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b02)
Java HotSpot(TM) Client VM (build 1.5.0_16-b02, mixed mode, sharing)
Apache Ant version 1.7.1 compiled on October 3 2008
Maven version: 2.0.9
Java version: 1.5.0_16
JBoss_4_2_3_GA (I compiled it)
Nuxeo EP 5.2 (I compiled it)
Eric.
Here's what JBoss outputs:
22:32:56,031 WARN [JDBCExceptionReporter] Database '/opt/
jboss-4.2.3.GA/server/default/data/derby/nuxeo' not created,
connection made to existing database instead.
22:32:59,230 WARN [JDBCExceptionReporter] SQL Warning: 10000,
SQLState: 01J01
22:32:59,242 WARN [JDBCExceptionReporter] Database '/opt/
jboss-4.2.3.GA/server/default/data/derby/nuxeo' not created,
connection made to existing database instead.
22:32:59,321 ERROR [NotificationEventListener] Couldn't find user:
administrators to send her a mail.
22:32:59,340 ERROR [NotificationEventListener] Couldn't find user:
members to send her a mail.
22:32:59,428 ERROR [BinaryTextListener] Couldn't set fulltext on:
fcf79475-a0ff-428f-b9e3-f020fd36f54d
org.nuxeo.ecm.core.api.DocumentException: Cannot write property:
ecm:binaryText
at
org
.nuxeo
.ecm
.core
.storage
.sql.coremodel.SQLBaseProperty.checkWritable(SQLBaseProperty.java:43)
at
org
.nuxeo
.ecm
.core
.storage
.sql.coremodel.SQLSimpleProperty.setValue(SQLSimpleProperty.java:63)
at
org
.nuxeo
.ecm
.core
.storage.sql.coremodel.SQLDocument.setSystemProp(SQLDocument.java:184)
at
org
.nuxeo
.ecm
.core.api.AbstractSession.setDocumentSystemProp(AbstractSession.java:
2596)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun
.reflect
.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun
.reflect
.DelegatingMethodAccessorImpl
.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
at
org
.jboss
.ejb3
.interceptor
.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
at
org
.jboss
.ejb3
.interceptor
.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:
63)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.ejb3
.entity
.ExtendedPersistenceContextPropagationInterceptor
.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.ejb3
.entity
.TransactionScopedEntityManagerInterceptor
.invoke(TransactionScopedEntityManagerInterceptor.java:54)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.nuxeo
.jboss
.interceptors
.NXSessionSynchronizationInterceptor
.invoke(NXSessionSynchronizationInterceptor.java:153)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.ejb3
.AllowedOperationsInterceptor
.invoke(AllowedOperationsInterceptor.java:47)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
at org.jboss.aspects.tx.TxInterceptor
$Required.invoke(TxInterceptor.java:195)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.aspects
.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.ejb3
.stateful
.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:
83)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.aspects
.security
.RoleBasedAuthorizationInterceptor
.invoke(RoleBasedAuthorizationInterceptor.java:166)
at
org
.jboss
.ejb3
.security
.RoleBasedAuthorizationInterceptor
.invoke(RoleBasedAuthorizationInterceptor.java:115)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.aspects
.security
.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
at
org
.jboss
.ejb3
.security
.Ejb3AuthenticationInterceptor
.invoke(Ejb3AuthenticationInterceptor.java:110)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.ejb3
.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.ejb3
.asynchronous
.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
at
org
.jboss
.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at
org
.jboss
.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:
206)
at
org
.jboss
.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
at $Proxy203.setDocumentSystemProp(Unknown Source)
at
org
.nuxeo
.ecm
.core
.storage
.sql
.coremodel.BinaryTextListener.handleEvent(BinaryTextListener.java:114)
at org.nuxeo.ecm.core.event.impl.AsyncEventExecutor
$Job.run(AsyncEventExecutor.java:109)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:650)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:675)
at java.lang.Thread.run(Thread.java:595)
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm
--
Florent Guillaume, Head of R&D, Nuxeo
Open Source, Java EE based, Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm