Okay, I lied. Here is the AR config:
activerecord default-lazy=true
config
add key=connection.driver_class
value=NHibernate.Driver.SqlClientDriver /
add key=dialect value=NHibernate.Dialect.MsSql2005Dialect /
add key=connection.provider
Castle trunk has three concrete implementations of IThreadScopeInfo:
ThreadScopeInfo, WebThreadScopeInfo and HybridThreadScopeInfo. I assume
that because I do not have isWeb=²true² I am using the ThreadScopeInfo.
Should I add isWeb=²true², and do you think that will solve it? Do I need
to write
I think that you need to write one that will use the WCF call context to
keep the session
On Wed, Jan 28, 2009 at 9:46 AM, Tim Scott tsc...@lunaversesoftware.comwrote:
Castle trunk has three concrete implementations of IThreadScopeInfo:
ThreadScopeInfo, WebThreadScopeInfo and
Because if you are also using WCF, the HTTP context is not ensured.
On Wed, Jan 28, 2009 at 12:28 PM, hammett hamm...@gmail.com wrote:
Why? IsWeb=true should be enough.. albeit I dont see how transactions
will be involved in thread switches..
On Wed, Jan 28, 2009 at 6:49 AM, Ayende Rahien
I saw that about compatibility mode. More about it here:
http://msdn.microsoft.com/en-us/library/aa702682.aspx
Is there a down side to that, assuming I will always to use HTTP and
host in IIS?
On Jan 28, 2:03 pm, Eric Hauser ewhau...@gmail.com wrote:
It is if you run in compatibility mode:
Not with this amount of information. What's the machinery (AR, NH,
other)? What kind of app? Have you configured a custom activity
manager?
On Tue, Jan 27, 2009 at 3:51 PM, Tim Scott tsc...@lunaversesoftware.com wrote:
Any thoughts on how this exception might occur?
On Jan 27, 5:26 pm,
The app uses Rhino.Commons and its RepositoryT, underlying which is
NHibernate. I use ActiveRecord attributes for mapping only. The
application is a Rhino.Commons' UnitOfWorkApplication.
My service classes are decorated with [Transactional] and the methods with
[Transaction].
I know you are
I can't tell.. can you try to switch the default activity manager to
use the call context one and see what happens?
On Tue, Jan 27, 2009 at 4:46 PM, Tim Scott tsc...@lunaversesoftware.com wrote:
The app uses Rhino.Commons and its RepositoryT, underlying which is
NHibernate. I use
The only config I have for AR is in Binsor:
component active_record_repository, IRepository, ARRepository
component active_record_unit_of_work, IUnitOfWorkFactory,
ActiveRecordUnitOfWorkFactory:
assemblies = (Assembly.Load(MyApp.MyCore),)
Is this what you are asking for?
On 1/27/09 8:43