users@glassfish.java.net

Re: toplink-persistence : creating several EMFs simulatenously Java SE mod

From: Sahoo <Sahoo_at_Sun.COM>
Date: Thu, 09 Aug 2007 14:19:54 +0530

There is another issue that can potentially affect you. It's
https://glassfish.dev.java.net/issues/show_bug.cgi?id=3457. But, I see
that issue has already been addressed in b58.

Can you tell where is your persistence.xml located? Is it packaged in
each web app separately?
If no, you must do so.
If yes, are you sure that the contextClassLoader of the thread that's
calling createEMF is locating persistence.xml corresponding to each
application? You should be able to test it by temporarily changing the
PU name, that should cause an exception to be thrown if things are
correctly set up.

If it is not clear as to what is happening, describe your test case with
more details; that will help us analyze the issue.

Thanks,
Sahoo

glassfish_at_javadesktop.org wrote:
> Tried. Same error with the V2 build 58.
> [Message sent by forum member 'cprashantreddy' (cprashantreddy)]
>
> http://forums.java.net/jive/thread.jspa?messageID=230196
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>