On Feb 9, 2007, at 5:09 PM, Prasad Kashyap wrote:
On 2/9/07, Jacek Laskowski <[EMAIL PROTECTED]> wrote:
On 2/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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