Hi,

I'm getting an JDO/Nucleus exception when running 2 synchronous
requests on different ids of an object:
org.datanucleus.exceptions.NucleusUserException: Object Manager has
been closed

-----------
This is how my getById looks like:

                PersistenceManager pm = getPM();
                Stream stream = null;
                try {
                        Stream tmp = pm.getObjectById(Stream.class, id);
                        stream = pm.detachCopy(tmp);
                } finally {
                        pm.close(); // here the exception occurs
                }
                return stream;

-----------

It works fine on single request, but fails on 2 or more.
anyone know how to get around this?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to