Attribute Max Size? [message #758308] |
Tue, 22 November 2011 11:53  |
Eclipse User |
|
|
|
Hi,
during testing I pushed a fairly large block of XML data into an
Attribute (~1.5 MB of text). And I got the following exception:
2011-11-22 17:30:12,115 ERROR [ODEServerImpl-5
] engine.Contexts - Commit failed.
javax.transaction.RollbackException: Transaction timout
at
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:238)
at org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:114)
at
org.apache.ode.bpel.engine.BpelServerImpl$TransactedCallable.call(BpelServerImpl.java:968)
at
org.apache.ode.bpel.engine.BpelServerImpl$ServerCallable.call(BpelServerImpl.java:948)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
2011-11-22 17:30:12,123 FATAL [ODEServerImpl-5
] engine.BpelServerImpl - Internal Error
org.apache.ode.bpel.iapi.BpelEngineException: Commit failed.
at org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:117)
at
org.apache.ode.bpel.engine.BpelServerImpl$TransactedCallable.call(BpelServerImpl.java:968)
at
org.apache.ode.bpel.engine.BpelServerImpl$ServerCallable.call(BpelServerImpl.java:948)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: javax.transaction.RollbackException: Transaction timout
at
org.apache.geronimo.transaction.manager.TransactionImpl.commit(TransactionImpl.java:269)
at
org.apache.geronimo.transaction.manager.TransactionManagerImpl.commit(TransactionManagerImpl.java:238)
at org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:114)
... 7 more
Did I just hit the limits of SMILA? Or has something else had a timeout
and not the Lucene Index that I suspect as cause of this message (I use
the default SMILA.application).
I suppose it's better to store such an amount of data in an attachment?
Can I create an attachment from my pipelet?
Best Regards,
Stephan
--
Stephan Mehlhase
European Media Laboratory GmbH
Schloss-Wolfsbrunnenweg 35
69118 Heidelberg
Amtsgericht Mannheim / HRB 335719
Managing Partner: Dr. h. c. Dr.-Ing. E. h. Klaus Tschira, Scientific and
Managing
Director: Prof. Dr.-Ing. Andreas Reuter
http://www.eml-development.de
Testen Sie auch unsere neue Android Applikation zur Mediensteuerung:
http://market.android.com/search?q=pname:org.eml.upnp
|
|
|
Re: Attribute Max Size? [message #758416 is a reply to message #758308] |
Wed, 23 November 2011 03:17  |
Eclipse User |
|
|
|
Hi,
Am 22.11.2011, 17:53 Uhr, schrieb Stephan Mehlhase
<stephan.mehlhase@eml.org>:
> Hi,
>
> during testing I pushed a fairly large block of XML data into an
> Attribute (~1.5 MB of text). And I got the following exception:
> [...]Did I just hit the limits of SMILA? Or has something else had a
> timeout and not the Lucene Index that I suspect as cause of this message
> (I use the default SMILA.application).
I don't know what caused this. Hard to say if there are no additional log
entries.
No, there should be no limit on the size of an attribute apart from the
java.lang.String limit (2 billion characters, I suppose). However, you
probably
shouldn't configure the BPEL processor such that it adds such attributes to
the XML records which are pushed through the BPEL engine. But by default,
only the _recordid, _source and MimeType attributes are used for this, and
I suppose you didn't put the text in one of these (;
> I suppose it's better to store such an amount of data in an attachment?
No, not necessarily. But you can try.
> Can I create an attachment from my pipelet?
Yes, of course: blackboard.setAttachment(String recordId, String
attachmentName, byte[] data)
Regards,
Jürgen
|
|
|
Powered by
FUDForum. Page generated in 0.04885 seconds