Unable to enlist in a distributed transaction with NHibernate?

It seems to me this has to do with your Oracle database configuration.

It seems to me this has to do with your Oracle database configuration. Do you use the same database server in both environments (I assume not)? Which version of the database do you use (I'll take 10g)?

Here is what I could find based on these assumptions : Check Tuning Microsoft Transaction Server Performance. The default value for the ORAMTS_NET_CACHE_MAXFREE parameter is set to 5, which may be related to your problem. Read the whole page before taking any action, though (you could try to increase the SESSIONS and PROCESSES parameters too).

You could enable tracing on Oracle MTS to see what is really happening there. If still stuck, I guess you could enable tracing on MSDTC to try to get more insight.

Version numbers are in the comment above. I'm connecting to the same database server when running the tests on my dev machine and when running on the build machine. The maxfree parameter is the same between my dev box and the build machine, so I don't think it's causing the issue.

Thanks for the links, I'm going to try enabling the Oracle MTS tracing. – Niall Connaughton Jun 19 '09 at 10:49 The error appearing in the trace is: enlistInMSDTCTxn() - error enlisting 0x8004d00e. I'm having a dig about this error number and might have a look at MSDTC tracing as well.

– Niall Connaughton Jun 19 '09 at 11:23.

You may find an answer here: Avoiding Leaking Connections.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions