You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Tatsuya Noyori <no...@gmail.com> on 2008/04/01 14:48:09 UTC

Re: org.apache.openjpa.persistence.PersistenceException: null

Hello,

I have had the same exception. The bug of the OpenJPA exception is
managed on the following URL.

    https://issues.apache.org/jira/browse/OPENJPA-366

The bug was fixed at OpenJPA 1.0.2. So I would like to suggest that
you update OpenJPA library to ver 1.0.2 in Roller and set a parameter
of "openjpa.Multithreaded=true" on file of "JPAEMF.properties".

After this changing, Roller seems to be stable on my PC.

> Hi folks,
>
> I have a lot of the following messages in my log. Don't know when it
> happens. Maybe someone has an idea.
>
>
> Roller 4.0
> Apache Tomcat/5.5.20
> JVM: 1.5.0_03-b07 Sun Microsystems Inc.
> OS: Red Hat Linux 2.6.9-42.0.3.ELsmp i386
> Oracle 10.2
>
> Here:
>
> ERROR 2008-03-26 11:39:07,751 StandardWrapperValve:invoke -
> Servlet.service() for servlet default threw exception
> <0.9.7-incubating fatal general error>
> org.apache.openjpa.persistence.PersistenceException: null
>         at org.apache.openjpa.kernel.BrokerImpl.endOperation(BrokerImpl.java:1747)
>         at org.apache.openjpa.kernel.BrokerImpl.isActive(BrokerImpl.java:1695)

-- 
Tatsuya Noyori (^o^)/

Re: org.apache.openjpa.persistence.PersistenceException: null

Posted by Ernst Bammer <he...@gmail.com>.
Thanks very much for your answers. I will try it soon!

- Ernst

On Tue, Apr 1, 2008 at 3:23 PM, Dave <sn...@gmail.com> wrote:
> On Tue, Apr 1, 2008 at 8:48 AM, Tatsuya Noyori <no...@gmail.com> wrote:
>  >  I have had the same exception. The bug of the OpenJPA exception is
>  >  managed on the following URL.
>  >
>  >     https://issues.apache.org/jira/browse/OPENJPA-366
>  >
>  >  The bug was fixed at OpenJPA 1.0.2. So I would like to suggest that
>  >  you update OpenJPA library to ver 1.0.2 in Roller and set a parameter
>  >  of "openjpa.Multithreaded=true" on file of "JPAEMF.properties".
>  >
>  >  After this changing, Roller seems to be stable on my PC.
>
>  Yes, I think we should upgrade as soon as possible. Unfortunately, the
>  upgrade will apparently require code changes because the unit tests
>  fail if you simply replace 0.9.7 with 1.0.2.
>
>  - Dave
>

Re: org.apache.openjpa.persistence.PersistenceException: null

Posted by Dave <sn...@gmail.com>.
On Tue, Apr 1, 2008 at 8:48 AM, Tatsuya Noyori <no...@gmail.com> wrote:
>  I have had the same exception. The bug of the OpenJPA exception is
>  managed on the following URL.
>
>     https://issues.apache.org/jira/browse/OPENJPA-366
>
>  The bug was fixed at OpenJPA 1.0.2. So I would like to suggest that
>  you update OpenJPA library to ver 1.0.2 in Roller and set a parameter
>  of "openjpa.Multithreaded=true" on file of "JPAEMF.properties".
>
>  After this changing, Roller seems to be stable on my PC.

Yes, I think we should upgrade as soon as possible. Unfortunately, the
upgrade will apparently require code changes because the unit tests
fail if you simply replace 0.9.7 with 1.0.2.

- Dave