Hi Jorge. Can you post your persistent classes and the code you're using to
store and retrieve your entities? Also, can you post the contents of your
jdoconfig.xml file and tell me where it's located (it should be in
war/WEB-INF/classes/META-INF)? Also, which version of the SDK are you using?
- Jason

On Sun, Oct 18, 2009 at 3:32 PM, Jorge <athenas...@gmail.com> wrote:

>
> Hi Jason,
>
> I am retaking this thread because I am experiencing the same "Caused
> by: javax.jdo.JDOFatalUserException..." issue. I'm not using other
> frameworks than GAE. The IDE I'm using is NetBeans and I'm using Java.
> The PMF singleton is in place, just like explained in the docs.
>
> Thanks,
>
> Jorge Gonzalez
>
> On Oct 6, 2:05 pm, "Jason (Google)" <apija...@google.com> wrote:
> > Are you using any frameworks on top of App Engine for Java or are you
> using
> > a JVM-based language other than Java?
> > - Jason
> >
> > On Mon, Oct 5, 2009 at 1:47 AM, Omer Saatcioglu <osaatcio...@gmail.com
> >wrote:
> >
> >
> >
> > > Interestingly, I use Persistence Manager as singleton just like in the
> > > document. But I have the same error.
> >
> > > I do db operations in several methods. When I enter to the method I
> > > get the Persistence Manager from the singleton object and I close the
> > > persistence manager at the end of the method. When I call several
> > > methods that do this operation it crashes with exactly the same error.
> >
> > > Do you have any advise?
> >
> > > Omer
> >
> > > On Sep 25, 10:14 pm, "Jason (Google)" <apija...@google.com> wrote:
> > > > Make sure you're using a PMF singleton as described here:
> >
> > > >
> http://code.google.com/appengine/docs/java/datastore/usingjdo.html#Ge...
> >
> > > > Then you can call PMF.get().getPersistenceManager in all of your
> classes
> > > > instead of continually instantiating new PersistenceManagerFactory
> > > objects,
> > > > which is an expensive operation.
> >
> > > > - Jason
> >
> > > > On Wed, Sep 23, 2009 at 5:27 PM, Vatsa <vats...@gmail.com> wrote:
> >
> > > > > Hi,
> > > > >  I am a newbie to "Google App Engine".  We are trying to prototype
> a
> > > > > simple application to persist DTO which are read from a .csv file
> to
> > > > > the virtual data store.
> >
> > > > >  I get the following error (very descriptive) at the time of
> > > > > instantiating the Access Manager
> >
> > > > > Caused by: javax.jdo.JDOFatalUserException: Application code
> attempted
> > > > > to create a PersistenceManagerFactory named transactions-optional,
> but
> > > > > one with this name already exists!  Instances of
> > > > > PersistenceManagerFactory are extremely slow to create and it is
> > > > > usually not necessary to create one with a given name more than
> once.
> > > > > Instead, create a singleton and share it throughout your code.  If
> you
> > > > > really do need to create a duplicate PersistenceManagerFactory
> (such
> > > > > as for a unittest suite), set the
> > > > > appengine.orm.disable.duplicate.pmf.exception system property to
> avoid
> > > > > this error.
> >
> > > > > Thanks
> > > > > Vatsa
> >
>

--~--~---------~--~----~------------~-------~--~----~
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-java@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