-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Nhibernate1.2 - "Connection must be open for this Operation"
PostPosted: Wed Apr 25, 2012 8:14 am 
Newbie

Joined: Wed Apr 25, 2012 3:53 am
Posts: 1
Hi,
Nhibernate code from one of our WCF webservice is at times throwing "Connection must be open for this operation" on production server. This issue was not very regular - 999 out of 1000 executions work without error, and then suddenly “Connection must be open for this operation” error occurs. Also please note that there are no Network and Oracle RAC issues found when we encounter the above issue. Windows system admins cannot find any reasons for this. we were not able to re-produce the same error on developement environment using SOAP UI tool load test capabilities.

Does any one encountered similar issue? Any inputs on how to reproduce the issue is highly appriciated.

Below are execption details:

Type : System.InvalidOperationException, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
Message : Connection must be open for this operation
Source : Oracle.DataAccess

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
An exception of type 'NHibernate.ADOException' occurred and was caught.
Server stack trace:
at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) in C:\Documents and Settings\rharding\Desktop\NHibernate-1.2.1.GA-src\src\NHibernate\Loader\Loader.cs:line 1803
at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) in C:\Documents and Settings\rharding\Desktop\NHibernate-1.2.1.GA-src\src\NHibernate\Loader\Loader.cs:line 1745
at NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet querySpaces, IType[] resultTypes) in C:\Documents and Settings\rharding\Desktop\NHibernate-1.2.1.GA-src\src\NHibernate\Loader\Loader.cs:line 1733
at NHibernate.Impl.SessionImpl.Find(CriteriaImpl criteria, IList results) in C:\Documents and Settings\rharding\Desktop\NHibernate-1.2.1.GA-src\src\NHibernate\Impl\SessionImpl.cs:line 4963
at NHibernate.Impl.SessionImpl.Find[T](CriteriaImpl criteria) in C:\Documents and Settings\rharding\Desktop\NHibernate-1.2.1.GA-src\src\NHibernate\Impl\SessionImpl.cs:line 4914
at NHibernate.Impl.CriteriaImpl.List[T]() in C:\Documents and Settings\rharding\Desktop\NHibernate-1.2.1.GA-src\src\NHibernate\Impl\CriteriaImpl.cs:line 323

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Regards,
Kumar.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.