Purpose:

I am calling a scheduler command class & 
creating a huge content node structure inside a folder "MyFolder" in data 
repository.

After saving this huge structure successfully I need to retrieve a data node 
below a content node 
& update it.

JCR query I am using for it:

select * from nt:base where jcr:path like '/MyFolder/MyContent'

Problem:
returning me zero nodes but content node is there.


select * from nt:base where jcr:path like '%/MyContent'
and contains(id,'211')

Problem:
The data node id is there with this id but still its returning me zero nodes.

Exception I am getting in tomcat console:

While saving the huge content node structure I am getting an exception below:
Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread" 
java.lang.OutOfMemoryError: Java heap space
        at java.util.TreeMap.key(TreeMap.java:1206)
        at java.util.TreeMap.firstKey(TreeMap.java:267)
        at java.util.TreeSet.first(TreeSet.java:377)
        at 
org.quartz.simpl.RAMJobStore.acquireNextTrigger(RAMJobStore.java:1232)
        at 
org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:263)
2012-09-04 18:43:36,058 ERROR 
.jackrabbit.core.observation.ObservationDispatcher: Synchronous EventConsumer 
threw exception.
java.lang.OutOfMemoryError: Java heap space
        at java.util.LinkedHashMap.createEntry(LinkedHashMap.java:424)
        at java.util.LinkedHashMap.addEntry(LinkedHashMap.java:406)
        at java.util.HashMap.put(HashMap.java:385)

Magnolia version :  Magnolia Community Edition 4.5.3

Please help me out in solving this.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=b276fafd-16cb-4594-a701-8b4156e754a7


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to