you need to be into a transaction to call create/store/retrieve method of
Structure or Content.
[code]
NamespaceAccessToken nat;
...
Structure structure = nat.getStructureHelper();
nat.begin();
structure.create(slideToken, new SubjectNode("/content"), folder);
nat.commit();
[/code]
Le jeudi 9 D�cembre 2004 23:59, Manishi Mehta a �crit�:
> I am trying to create a folder under node "content" using following method
>
> structure.create(slideToken, new SubjectNode("/content"), folder);
>
>
> It's giving me following error, can anyone tell me what wrong I am doing.
>
> WARNING - WARNING: No active transaction
>
> org.apache.slide.store.txfile.AbstractTxFileStoreService
> - WARNING - Thread Thread[main,5,main] marked transaction branch null for
> rollba ck. Cause: Not inside tx
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
Honor� David
----------------------------
"The evolution of languages: FORTRAN is a non-typed language. C is a weakly
typed language. Ada is a strongly typed language. C++ is a strongly hyped
language." - Ron Sercely
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]