I updated a system to use the RQ oneway RSB. the service is working, but it
produces a large number of errors in the application event log
1. waring from asp.net
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2/7/2011 2:11:20 PM
Event time (UTC): 2/7/2011 7:11:20 PM
Event ID: fc55d949631f439a8250048fea9a640b
Event sequence: 517
Event occurrence: 1
Event detail code: 0
Application information:
Application domain: [app domain]
Trust level: Full
Application Virtual Path: /MySystem
Application Path: [my application path]\
Machine name: SBIFPSVR
Process information:
Process ID: 2056
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: EsentErrorException
Exception message: Error FileAccessDenied (JET_errFileAccessDenied,
Cannot access file, the file is locked or in use)
at Microsoft.Isam.Esent.Interop.Api.Fail(Int32 err)
at Microsoft.Isam.Esent.Interop.Api.JetTerm2(JET_INSTANCE instance,
TermGrbit grbit)
at Rhino.Queues.Storage.QueueStorage.Dispose()
at Rhino.Queues.QueueManager.Dispose()
at
Rhino.ServiceBus.RhinoQueues.RhinoQueuesTransport.DisposeQueueManager()
at Rhino.ServiceBus.RhinoQueues.RhinoQueuesTransport.Dispose()
at
Castle.MicroKernel.LifecycleConcerns.DisposalConcern.Apply(ComponentModel
model, Object component)
at
Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.ApplyConcerns(IEnumerable`1
steps, Object instance)
at
Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.ApplyDecommissionConcerns(Object
instance)
at
Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalDestroy(Object
instance)
at
Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Destroy(Object
instance)
at Castle.MicroKernel.Lifestyle.SingletonLifestyleManager.Dispose()
at Castle.MicroKernel.Handlers.AbstractHandler.Dispose()
at Castle.MicroKernel.DefaultKernel.DisposeHandler(IHandler handler)
at Castle.MicroKernel.DefaultKernel.DisposeAndRemoveComponent(String key,
Boolean ensureDisposed)
at Castle.MicroKernel.DefaultKernel.DisposeHandlers()
at Castle.MicroKernel.DefaultKernel.Dispose()
at Castle.Windsor.WindsorContainer.Dispose()
at StockBook.Web.Global.Application_End(Object sender, EventArgs e)
Request information:
Request URL:
Request path:
User host address:
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 17
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at Microsoft.Isam.Esent.Interop.Api.Fail(Int32 err)
at Microsoft.Isam.Esent.Interop.Api.JetTerm2(JET_INSTANCE instance,
TermGrbit grbit)
at Rhino.Queues.Storage.QueueStorage.Dispose()
at Rhino.Queues.QueueManager.Dispose()
at
Rhino.ServiceBus.RhinoQueues.RhinoQueuesTransport.DisposeQueueManager()
at Rhino.ServiceBus.RhinoQueues.RhinoQueuesTransport.Dispose()
at
Castle.MicroKernel.LifecycleConcerns.DisposalConcern.Apply(ComponentModel
model, Object component)
at
Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.ApplyConcerns(IEnumerable`1
steps, Object instance)
at
Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.ApplyDecommissionConcerns(Object
instance)
at
Castle.MicroKernel.ComponentActivator.DefaultComponentActivator.InternalDestroy(Object
instance)
at
Castle.MicroKernel.ComponentActivator.AbstractComponentActivator.Destroy(Object
instance)
at Castle.MicroKernel.Lifestyle.SingletonLifestyleManager.Dispose()
at Castle.MicroKernel.Handlers.AbstractHandler.Dispose()
at Castle.MicroKernel.DefaultKernel.DisposeHandler(IHandler handler)
at Castle.MicroKernel.DefaultKernel.DisposeAndRemoveComponent(String key,
Boolean ensureDisposed)
at Castle.MicroKernel.DefaultKernel.DisposeHandlers()
at Castle.MicroKernel.DefaultKernel.Dispose()
at Castle.Windsor.WindsorContainer.Dispose()
at StockBook.Web.Global.Application_End(Object sender, EventArgs e)
Custom event details:
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
2. error from esent
w3wp (4328) [my application
path]\one_way.esentdd4eef33-4a8b-408b-b7fb-7b5a0bc70fa8: An attempt to open
the file "[my application path]\one_way.esent\system\edb.chk" for read /
write access failed with system error 5 (0x00000005): "Access is denied. ".
The open file operation will fail with error -1032 (0xfffffbf8).
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
3. error from esent
w3wp (4328) [my application
path]\one_way.esentdd4eef33-4a8b-408b-b7fb-7b5a0bc70fa8: Unable to write a
shadowed header for file [my application path]\one_way.esent\system\edb.chk.
Error -1032.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Errors 2 & 3 are continually entered every few seconds. The application logs
become a "sea of red".
Previously I was using the full ESB because that was the only option with
RQ. I switched over to oneway to reduce the overhead required for the
website. The website runs on our company intranet. I also checked my local
box and staging box logs but didn't see this error.
Has anyone else had this problem? Any ideas where to start debugging this
type of error? I'm at a loss at this point.
RSB is using Esent.Interop 1.6.0.0. The hash key from GitHub is 83ed796. Not
sure if that is helpful.
--
You received this message because you are subscribed to the Google Groups
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rhino-tools-dev?hl=en.