En la versión 1.10.0.9 se esta ejecutando una alerta, pero el problema es que la primera vez que se ejecuta en teoría lo hace bien pero no devuelve nada de lo que el procedimiento debe devolver y por ende no aparece nada en la bandeja de inicio; entonces se ejecuta una segunda vez y es allí donde muestra el siguiente mensaje:

Aseinfo.Infrastructure.Base.Exceptions.ApplicationJobWindowsServiceException: La Alerta fue guardada correctamente, pero el servicio de ejecución de tareas no puedo iniciar la programación de la Alerta.
---> Quartz.JobPersistenceException: Couldn't store job: Unable to store Job with name: 'D18B93F9-0BC4-441B-BA5D-4394DB10E5B2' and group: 'AlertaEjecucionInmediata', because one already exists with this identification.

Server stack trace:

Exception rethrown at [0]: 
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Quartz.Simpl.IRemotableQuartzScheduler.ScheduleJob(SchedulingContext ctxt, JobDetail jobDetail, Trigger trigger)
at Quartz.Impl.RemoteScheduler.ScheduleJob(JobDetail jobDetail, Trigger trigger)
at Aseinfo.VH4.General.Controllers.AlertaController.ScheduleJob(Alerta alerta, Boolean ejecucionInmediata, Dictionary`2 valoresParametros) in C:\vh4\VH4\General\Controllers\AlertaController.cs:line 1119
--- End of inner exception stack trace ---
at Aseinfo.VH4.General.Controllers.AlertaController.ScheduleJob(Alerta alerta, Boolean ejecucionInmediata, Dictionary`2 valoresParametros) in C:\vh4\VH4\General\Controllers\AlertaController.cs:line 1130
at Aseinfo.VH4.General.Controllers.AlertaController.StartImmediateAlerta(String id, Dictionary`2 parametros, Boolean mostrandoEnDialogo, Boolean generacionAlerta) in C:\vh4\VH4\General\Controllers\AlertaController.cs:line 691
at lambda_method(Closure , ControllerBase , Object[] )
at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)

asked 22 Feb '17, 13:47

Josue%20Mancilla's gravatar image

Josue Mancilla
(suspended)
accept rate: 42%

Si se ejecuta inmediatamente la alerta corre bien, el problema era la configuracion por TODOS EXCEPTO, que lo teniamos mal por eso no mostraba nada en la bandeja de inicio, ahora el error da porque las alertas devuelven muchos registros, cuando se ejecuta una vez y corre bien, e inmediatamente se ejecuta otra vez y ahi da el error reportado por Josue. Es cierto esto normalmente no ocurrira ya programada la alerta, pero Deberia de dar este error? si se ejecuta dos veces seguidas?

(22 Feb '17, 14:01) FerdyB FerdyB's gravatar image

El error es simple y perfectamente entendible.

Quartz.JobPersistenceException: Couldn't store job: Unable to store Job with name: 'D18B93F9-0BC4-441B-BA5D-4394DB10E5B2' and group: 'AlertaEjecucionInmediata', because one already exists with this identification

Lo que dice es que no se puede programar dos veces la ejecución de la misma Alerta, para el grupo Ejecución Inmediata, y eso tiene que ver con que la segunda vez que se programa, aun no ha iniciado o no ha finalizado la ejecución anterior.

El servicio de ejecución está separado del WebSite y su ejecución es asincrónica, por lo que el WebSite no puede saber si la ejecución ya se inició o ya finalizó. Y lo único que le queda es tratar de programarla nuevamente.

Recorda que AppJob no solamente está ejecutando la Alerta en cuestión, sino que también está ejecutando finalizaciones de entidades, notificando vía correo por los flujos de autorización, etc. Entonces, es bien impredecible para el WebSite, cuando puede ejecutar nuevamente la misma Alerta.

link

answered 22 Feb '17, 14:41

Fernando%20Paz's gravatar image

Fernando Paz ♦♦
17.3k81635
accept rate: 51%

De todas formas se puso un Incidente para verificar si no existiera algún otro inconveniente.

https://aseinfo.atlassian.net/browse/EVO-3104

(22 Feb '17, 15:23) Fernando Paz ♦♦ Fernando%20Paz's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×25
×3

Asked: 22 Feb '17, 13:47

Seen: 1,729 times

Last updated: 22 Feb '17, 15:23

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática