Hi Amzath,

It sounds like you have a threading problem. You're probably best asking in the user's group:
http://groups.google.com/group/nhusers

You might also have luck in either the Castle users group, or the NServiceBus group.

The key thing to check for is to have a single ISessionFactory (process-wide), and a single ISession per thread (ISession is not thread-safe).

Regards,
   Richard

--------------------------------------------------
From: "Amzath" <[email protected]>
Sent: Thursday, August 26, 2010 8:06 PM
To: "nhibernate-development" <[email protected]>
Subject: [nhibernate-development] Re: NService bus handler and NHibernate errors

Also we are using Castle NHibernate Facility

On Aug 26, 12:53 pm, "Richard Brown \(gmail\)"
<[email protected]> wrote:
Hi Amzath,

Which version of NHibernate are you using?

--------------------------------------------------
From: "Amzath" <[email protected]>
Sent: Thursday, August 26, 2010 7:29 PM
To: "nhibernate-development" <[email protected]>
Subject: [nhibernate-development] NService bus handler and NHibernate errors



> NService bus handler messages are failing due to error in NHibernate.
> I am getting the following errors.

> System.InvalidOperationException: Internal connection fatal error.
> System.ObjectDisposedException: Session is closed!
> Object name: 'ISession'.
> System.InvalidOperationException: There is already an open DataReader
> associated with this Command which must be closed first.
> Invalid attempt to call FieldCount when reader is closed.
> System.IndexOutOfRangeException: Portfoli1_24_0_

> My Scenario is
> NService bus message handler in a WCF service
> WCF Service bus is running in F5 - networks LTM
> But when not running in Cluster, we are not getting this error.

> Can any one help on this?- Hide quoted text -

- Show quoted text -

Reply via email to