geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <kevan.mil...@gmail.com>
Subject Re: svn commit: r505518 - /geronimo/server/trunk/testsuite/enterprise-testsuite/jpa-tests/jpa-war/src/main/webapp/WEB-INF/web.xml
Date Sat, 10 Feb 2007 16:03:14 GMT

On Feb 9, 2007, at 5:09 PM, Prasad Kashyap wrote:

> On 2/9/07, Jacek Laskowski <jacek@laskowski.net.pl> wrote:
>> On 2/9/07, prasad@apache.org <prasad@apache.org> wrote:
>> > Author: prasad
>> > Date: Fri Feb  9 13:52:23 2007
>> > New Revision: 505518
>> >
>> > URL: http://svn.apache.org/viewvc?view=rev&rev=505518
>> > Log:
>> > * removed persistence-context-type. transaction is implied
>>
>> Did it cause any troubles? I wonder whether it could or not and don't
>> mind it's removed.
>
> Well, I got a deployment exception when it was there. Apparently, in
> the new schema, "Transactional" is not one of the enumeration
> elements. Also, if the value is not "extended", then transaction is
> implied.
>
> So after I removed it, the deployment went further ahead. It failed
> later with the OutOfMemoryError, a different problem all together.

A general note about OOME's. Sun's JRE had a problem with leaking  
ClassLoaders. The problem is fixed in the 1.5.0_10 version of the  
JRE. In versions prior to this, you'll leak a ClassLoader and  
associated Classes on every undeploy. Eventually, you'll run out of  
PermGen space.

--kevan 

Mime
View raw message