karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5355) The scripts triggered with {{scheduler::schedule}} command fail to execute
Date Mon, 11 Sep 2017 09:21:00 GMT

    [ https://issues.apache.org/jira/browse/KARAF-5355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160963#comment-16160963
] 

ASF GitHub Bot commented on KARAF-5355:
---------------------------------------

GitHub user gnodet opened a pull request:

    https://github.com/apache/karaf/pull/354

    [KARAF-5355] The scripts triggered with {{scheduler::schedule}} comma…

    …nd fail to execute

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gnodet/karaf KARAF-5355

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/karaf/pull/354.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #354
    
----
commit af16cb353be58d8c417b8037e30e344e88182a76
Author: Guillaume Nodet <gnodet@gmail.com>
Date:   2017-09-11T09:15:22Z

    [KARAF-5355] The scripts triggered with {{scheduler::schedule}} command fail to execute

----


> The scripts triggered with {{scheduler::schedule}} command fail to execute
> --------------------------------------------------------------------------
>
>                 Key: KARAF-5355
>                 URL: https://issues.apache.org/jira/browse/KARAF-5355
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-scheduler
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>
> See the following exception
> {code}
> 2017-09-08 07:46:49,818 | WARN  | null_Worker-1    | ScriptJob                      
 | 35 - org.apache.karaf.scheduler.core - 4.2.0.SNAPSHOT | Error executing script
> java.lang.IllegalStateException: A job is already in foreground
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl$JobImpl.foreground(CommandSessionImpl.java:643)
[28:org.apache.karaf.shell.core:4.2.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.CommandSessionImpl$JobImpl.start(CommandSessionImpl.java:760)
[28:org.apache.karaf.shell.core:4.2.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:295) [28:org.apache.karaf.shell.core:4.2.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:168) [28:org.apache.karaf.shell.core:4.2.0.SNAPSHOT]
> 	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:148) [28:org.apache.karaf.shell.core:4.2.0.SNAPSHOT]
> 	at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand$VersatileFunction.execute(SecuredCommand.java:107)
[28:org.apache.karaf.shell.core:4.2.0.SNAPSHOT]
> 	at org.apache.karaf.scheduler.command.support.ScriptJob.execute(ScriptJob.java:43) [35:org.apache.karaf.scheduler.core:4.2.0.SNAPSHOT]
> 	at org.apache.karaf.scheduler.core.QuartzJobExecutor.execute(QuartzJobExecutor.java:52)
[35:org.apache.karaf.scheduler.core:4.2.0.SNAPSHOT]
> 	at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [35:org.apache.karaf.scheduler.core:4.2.0.SNAPSHOT]
> 	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [35:org.apache.karaf.scheduler.core:4.2.0.SNAPSHOT
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message