Plugin with custom service via SAL scheduler blocks other services

Hi all,

I had successfully developed plugin, it worked great on test enviroment. After installing on production enviroment i have troubles.

- services works a little, than everyrhing stops
- mail queue not flushing automatically, no services works
- ServiceTrigger in Administration -> System ->Troubleshooting -> Scheduler shows past date
- no errors in logs after problem occurs

Here's my atlassian-plugin.xml

<?xml version="1.0" encoding="UTF-8"?>

<atlassian-plugin key="${project.groupId}.${project.artifactId}" name="${}" plugins-version="2">
    <vendor name="${}" url="${project.organization.url}"/>
<component-import key="Bus_pluginScheduler">
    <description>SAL Scheduler</description>
  <component key="BusS_heduler" class="croc.jira.service.SystemSensorShedulerImpl" system="true" public="true">
    <description>The plugin component that schedules the SystemSensor.</description>
<ao key="croc-activity">
    <description>The module configuring the Active Objects service used by this plugin</description>
  <component key="projectsentity-service" name="Projects table service" class="croc.jira.aodb.ProjectsEntityServiceImpl"/>
  <component key="bus-tx-processor" name="Transactional Annotation Processor" class="com.atlassian.activeobjects.external.TransactionalAnnotationProcessor">
    <decription>Processes @Transactional annotations.</decription>
  <component-import key="bus-ao" name="Active Objects service" interface="com.atlassian.activeobjects.external.ActiveObjects">
    <description>Component to access Active Objects functionality from the plugin</description>
<customfield-type name="ProjectsCf" i18n-name-key="Activity from bus" key="ProjectsCf" class="croc.jira.customfield.ProjectsCf">
<description key="Addsfieldfithsynchronisation">The activite field</description>
    <resource name="view" type="velocity" location="/templates/viewBusProjects.vm"/>
    <resource name="edit" type="velocity" location="/templates/editBusProjects.vm"/>
  <customfield-searcher key="proj-activity-searcher" name="Searcher" class="com.atlassian.jira.issue.customfields.searchers.TextSearcher">
    <description key="xxxxxxxx">Search for ProjectCf using a free text search.</description>
    <resource name="search" type="velocity" location="/templates/search-basictext.vm"/>
    <valid-customfield-type package="croc.jira.ActivityImport" key="ProjectsCf"/>
<resource type="i18n" name="i18n" location="croc.jira.ActivityImport"/>
<rest name="get Matching Projects" i18n-name-key="" key="get-matching-projects" path="/getmatchingprojects" version="1.0">
    <description key="get-matching-projects.description">The get Matching Projects Plugin</description>

1 answer

1 accepted

Service had endless method

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,189 views 13 19
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot