I've seen StackOverflow errors in the past when I've had collections
in toString, equals or hashCode methods. You might want to remove any
collections from these methods.
Matt
On Nov 11, 2007 5:18 AM, <[EMAIL PROTECTED]> wrote:
> On 10/20/07, Daniel Kibler <[EMAIL PROTECTED]> wrote:
> >
> > OK.
On 10/20/07, Daniel Kibler <[EMAIL PROTECTED]> wrote:
>
> OK. I found that there are two entries in web.xml for the lazyLoadingFilter.
> After uncommenting the second, the lazy loading is working.
>
Matt,
After uncommenting lazyLoadingFilter in web.xml, my Web service hit another
error as below.
Matt,
Thanks, to guide me so far.
Matt Raible-3 wrote:
>
> I don't know - if you're not using AppFuse it's very difficult for me
> to suggest solutions.
>
> Sorry,
>
> Matt
>
> On Nov 9, 2007, at 11:10 PM, thufail wrote:
>
>>
>> Hi,
>>
>> Matt, the same error of Lazy exis
I don't know - if you're not using AppFuse it's very difficult for me
to suggest solutions.
Sorry,
Matt
On Nov 9, 2007, at 11:10 PM, thufail wrote:
Hi,
Matt, the same error of Lazy exist, I dont know what to do please
suggest some thing.
Matt Raible-3 wrote:
jpaFil
Hi,
Matt, the same error of Lazy exist, I dont know what to do please
suggest some thing.
Matt Raible-3 wrote:
>
>
> jpaFilter
> /*
> REQUEST
> FORWARD
>
>
> On Nov 9, 2007, at 10:22 PM, thufail wrote:
>
>>
>> Hi,
>> I am not using Ap
jpaFilter
/*
REQUEST
FORWARD
On Nov 9, 2007, at 10:22 PM, thufail wrote:
Hi,
I am not using AppFuse. I am using JSF Facelets.
.. has to be added in the filter as init-
param or
where we have to add it. If i add it shows error.
mraible wrote:
Hi,
I am not using AppFuse. I am using JSF Facelets.
.. has to be added in the filter as init-param or
where we have to add it. If i add it shows error.
mraible wrote:
>
> Are you using AppFuse? If so, what version? The
> OpenEntityManagerInViewFilter should solve this issue for JPA. You m
Are you using AppFuse? If so, what version? The
OpenEntityManagerInViewFilter should solve this issue for JPA. You may
have to add FORWARD (and REQUEST) if you're
seeing this issue on a forward.
Matt
On Nov 9, 2007 9:29 PM, thufail <[EMAIL PROTECTED]> wrote:
>
> Hi Matt,
>
> Thanks for
Hi Matt,
Thanks for your reply. The problem i am facing is using JPA. In my
applicationContext.xml, i wont specify anythig like
sessionFactory(datasource, HibernateTransactionManager et.,) which is
specified in Hibernate, instead i use entityManagerFactory and jpa based
transactionManag
Try changing your url-pattern to /*
Matt
On 11/9/07, thufail <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a problem with LazyInitializationException.
>
> I am working with JSF+ Spring + JPA + Hibernate. I am using Web Service
> also.
>
> This problem occurs when i am trying to access the List f
Hi,
I have a problem with LazyInitializationException.
I am working with JSF+ Spring + JPA + Hibernate. I am using Web Service
also.
This problem occurs when i am trying to access the List from the service to
the Command class which is used by JSF. I iterated and printed the list of
objects in
OK. I found that there are two entries in web.xml for the lazyLoadingFilter.
After uncommenting the second, the lazy loading is working.
Thanks
Dan
Did you uncomment the filter-mapping in your web.xml?
Matt
--
View this message in context:
http://www.nabble.com/LazyInitializationException-
Is there another filter to uncomment besides the lazyLoadingFilter?
mraible wrote:
>
> Did you uncomment the filter-mapping in your web.xml?
>
> Matt
>
> On 10/19/07, Daniel Kibler <[EMAIL PROTECTED]> wrote:
>>
>> Appfuse2 + struts2 + hibernate
>>
>> I'm trying to display a list of related ob
Did you uncomment the filter-mapping in your web.xml?
Matt
On 10/19/07, Daniel Kibler <[EMAIL PROTECTED]> wrote:
>
> Appfuse2 + struts2 + hibernate
>
> I'm trying to display a list of related objects for the first time and
> receiving the dreaded LazyInitializationException.
>
> org.hibernate.Laz
Appfuse2 + struts2 + hibernate
I'm trying to display a list of related objects for the first time and
receiving the dreaded LazyInitializationException.
org.hibernate.LazyInitializationException: failed to lazily initialize a
collection of role: com.getrolling.cis.model.Region.tours, no session
15 matches
Mail list logo