Hi Janos,
Thanks for reporting this issue. May be you can do some quick search in
[1] and [2], if you
don't see any similar bug, please go ahead file one.
I assume you hit this exception when running an application, right ?
Will you be able to provide app to recreate this issue ?
I wonder if update from b66 to b70 caused this issue, or a fresh install
of b70 and run your app can also hit this issue ?
[1] ejb container open bugs
<
https://glassfish.dev.java.net/issues/query.cgi?Submit%20query=Submit%20query&issue_type=DEFECT&component=glassfish&subcomponent=ejb_container&subcomponent=entity-persistence&issue_status=UNCONFIRMED&issue_status=NEW&issue_status=STARTED&issue_status=REOPENED&version=V3&emailtype1=exact&emailassigned_to1=1&emailtype2=exact&emailreporter2=1&issueidtype=include&chfieldto=Now&short_desc_type=fulltext&long_desc_type=fulltext&issue_file_loc_type=fulltext&status_whiteboard_type=fulltext&keywords_type=anytokens&field0-0-0=noop&type0-0-0=noop&cmdtype=doit&order=Reuse%20same%20sort%20as%20last%20time>
[2] v3 open bugs
<
https://glassfish.dev.java.net/issues/buglist.cgi?Submit+query=Submit+query&issue_type=DEFECT&component=glassfish&issue_status=UNCONFIRMED&issue_status=NEW&issue_status=STARTED&issue_status=REOPENED&version=V3&email1=&emailtype1=exact&emailassigned_to1=1&email2=&emailtype2=exact&emailreporter2=1&issueidtype=include&issue_id=&changedin=&votes=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=fulltext&long_desc=&long_desc_type=fulltext&issue_file_loc=&issue_file_loc_type=fulltext&status_whiteboard=&status_whiteboard_type=fulltext&field0-0-0=noop&type0-0-0=noop&value0-0-0=&cmdtype=doit&order=Reuse+same+sort+as+last+time>
Thanks :-)
Judy
Janos Cserep wrote:
> I've upgraded a production server to b70 and noticed a new issue with
> EclipseLink I had not seen before:
>
> Caused by: java.lang.IllegalStateException: Attempting to execute an
> operation on a closed EntityManager.
> at org.eclipse.persistence.internal.jpa.EntityManagerImpl.verifyOpen(EntityManagerImpl.java:1430)
> at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setFirstResult(EJBQueryImpl.java:779)
> at org.eclipse.persistence.internal.jpa.EJBQueryImpl.setFirstResult(EJBQueryImpl.java:71)
> at hu.metaprime.cms.dao.BaseJpaDao.find(BaseJpaDao.java:57)
>
> The exception seems to occur in methods where an injected/JNDI looked
> up EntityManager is used without a JTA transaction (mostly finder and
> query methods).
>
> When only a single thread is active (during development) I didn not
> see the issue, but when I hit glassfish simulteanously with multiple
> threads, there's a chance of this occuring.
>
> Before the upgrade the server was running b66 - I quickly reverted to
> a pre-upgrade ZFS snapshot on the server.
>
> Is this a known issue, or should I file a bug?
>
> Janos
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>