roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Johnson" <snoopd...@gmail.com>
Subject Re: Hibernate Error - lazy init
Date Mon, 24 Jul 2006 14:21:27 GMT
I'm not sure what could cause that problem, but I suppose it is
possible that one of the Roller filters is being skipped.

What app server / servlet container (and version number) are you running?

- Dave


On 7/19/06, Garrett Hunter <garrett.hunter@spe.sony.com> wrote:
>
> I'm getting two hibernate errors in succession when I click on the Main Menu
> link when logged in as an ADMIN user. The only thing we did to Roller was
> modify the taglibs to use 1.0 and not 1.1.2. Any suggestions on where I
> should look to resolve these?
>
> First
> ERROR 2006-07-19 09:26:30,788 LazyInitializationException:<init> - failed to
> lazily initialize a collection of role:
> org.apache.roller.pojos.WebsiteData.permissions, no session or session was
> closed
> org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.apache.roller.pojos.WebsiteData.permissions, no
> session or session was closed
>
> Second
> ERROR 2006-07-19 09:08:29,947 InsertTag$InsertHandler:doEndTag -
> ServletException in '/website/YourWebsites.jsp':
> javax.servlet.jsp.JspException: An error occurred while evaluating custom
> action attribute "test" with value "${perms.permissionMask == 0 ||
> perms.permissionMask == 1 || perms.website.adminUserCount > 1 }": An error
> occurred while getting property "adminUserCount" from an instance of class
> org.apache.roller.pojos.WebsiteData
> (org.hibernate.LazyInitializationException: failed to lazily in itialize a
> collection of role: org.apache.roller.pojos.WebsiteData.permissions, no
> session or session was closed)
> javax.servlet.ServletException: javax.servlet.jsp.JspException: An error
> occurred while evaluating custom action attribute "test" with value
> "${perms.permissionMask == 0 || perms.permissionMask == 1 ||
> perms.website.adminUserCount > 1 }": An error occu
> rred while getting property "adminUserCount" from an instance of class
> org.apache.roller.pojos.WebsiteData
> (org.hibernate.LazyInitializationException: failed to lazily initialize a
> collection of role: org.apache.roller.pojos.WebsiteData.permissions, no
>  session or session was closed)
>
> --
> View this message in context: http://www.nabble.com/Hibernate-Error---lazy-init-tf1967657s12275.html#a5400493
> Sent from the Roller - User forum at Nabble.com.
>
>

Mime
View raw message