Jira not starting with appdynamics agent

I am using Jira version: "atlassian-jira-software-7.5.0-x64.bin" and trying to monitor it with App dynamics agent.

For which I changed JIRA tomcat server Catalina.sh to start the java-agent on Linux machine as by adding below loop

if [ -z "$LOGGING_MANAGER" ]; then

LOGGING_MANAGER="-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager"else JAVA_OPTS="$JAVA_OPTS $LOGGING_MANAGER"

fi

if [ "$1" = "start" -o "$1" = "run" ]; thenexport JAVA_OPTS="$JAVA_OPTS -javaagent:/opt/appdynamics/appagent/javaagent.jar"

fi

Also

Tried changing this in setenv.sh to map javaagent with CATALINA_OPTS = javaagent:/opt/appdynamics/appagent/javaagent.jar"

 

With the above changes I am able to register the Agents in Appdynamics SAAS version. But Jira is not starting up.

In both cases I am getting same issue

 

DASHBOARD ERROR==================================

JIRA access problem

System plugins failed to start: We haven't been able to start all the required system plugins

We couldn't start the following plugins:

 

  • JIRA Projects Plugin (com.atlassian.jira.jira-projects-plugin)
  • Atlassian OAuth Consumer Plugin (com.atlassian.oauth.consumer)
  • Atlassian Navigation Links Plugin (com.atlassian.plugins.atlassian-nav-links-plugin)
  • Atlassian JIRA - Plugins - OAuth Service Provider SPI (com.atlassian.jira.oauth.serviceprovider)
  • Atlassian JIRA - Plugins - Project Config Plugin (com.atlassian.jira.jira-project-config-plugin)
  • Applinks - Plugin - Core (com.atlassian.applinks.applinks-plugin)
  • Atlassian OAuth Service Provider Plugin (com.atlassian.oauth.serviceprovider)
  • Embedded Gadgets Plugin (com.atlassian.gadgets.embedded)
  • Gadget Directory Plugin (com.atlassian.gadgets.directory)
  • Atlassian Plugins - JavaScript libraries (com.atlassian.plugin.jslibs)
  • Atlassian JIRA - Plugins - Gadgets Plugin (com.atlassian.jira.gadgets)
  • Atlassian JIRA - Plugins - Global Issue Navigator (com.atlassian.jira.jira-issue-nav-plugin)
  • Atlassian JIRA - Plugins - File viewer plugin (com.atlassian.jira.jira-fileviewer-plugin)
  • Atlassian Pretty URLs Plugin (com.atlassian.prettyurls.atlassian-pretty-urls-plugin)
  • Atlassian JIRA - Plugins - Quick Edit Plugin (com.atlassian.jira.jira-quick-edit-plugin)
  • Atlassian OAuth Admin Plugin (com.atlassian.oauth.admin)
  • Atlassian REST - Module Types (com.atlassian.plugins.rest.atlassian-rest-module)
  • Atlassian JIRA - Plugins - REST Plugin (com.atlassian.jira.rest)
  • Opensocial Plugin (com.atlassian.gadgets.opensocial)
  • atlassian-servlet-plugin (com.atlassian.web.atlassian-servlet-plugin)
  • Atlassian JIRA - Plugins - Look And Feel Logo Upload Plugin (com.atlassian.jira.lookandfeel)
  • Gadget Spec Publisher Plugin (com.atlassian.gadgets.publisher)
  • Atlassian JIRA - Plugins - OAuth Consumer SPI (com.atlassian.jira.oauth.consumer)
  • Atlassian JIRA - Plugins - SAL Plugin (com.atlassian.sal.jira)
  • Gadget Dashboard Plugin (com.atlassian.gadgets.dashboard)

 ===========================

JIRA LOGS===============================

ERROR: Bundle org.eclipse.gemini.blueprint.extender [8] Error starting file:/opt/atlassian/infyjira/atlassian-jira/WEB-INF/osgi-framework-bundles/gemini-blueprint-extender-2.0.5.BUILD-atlassian-m002.jar (org.osgi.framework.BundleException: Activator start error in bundle org.eclipse.gemini.blueprint.extender [8].)2018-01-04 11:09:02,212 FelixDispatchQueue ERROR [c.a.p.o.container.felix.FelixOsgiContainerManager] Framework error in bundle org.eclipse.gemini.blueprint.extender2018-01-04 11:14:10,442 JIRA-Bootstrap ERROR [c.a.plugin.manager.PluginEnabler] Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.jira.jira-projects-plugin,com.atlassian.jira.jira-issue-link-web-plugin,tac.jira software.languages.sk_SK,com.atlassian.jira.oauth.serviceprovider,com.atlassian.streams.jira.inlineactions,com.atlassian.jira.jira-fileviewer-plugin,com.atlassian.scala.plugins.scala-2.10-provider-plugin,crowd-rest-application-management,com.atlassian.gadgets.directory,tac.jira core.languages.sk_SK,tac.jira software.languages.fr_FR,com.atlassian.upm.role-based-licensing-plugin,com.atlassian.whisper.atlassian-whisper-plugin,com.atlassian.auiplugin,com.atlassian.gadgets.embedded,com.atlassian.templaterenderer.api,com.atlassian.jira.collector.plugin.jira-issue-collector-plugin,com.atlassian.plugins.atlassian-nav-links-plugin,com.atlassian.upm.atlassian-universal-plugin-manager-plugin,com.atlassian.jira.jira-user-profile-plugin,com.atlassian.jira.plugins.jira-wiki-editor,com.atlassian.jira.jira-issue-link-applinks-common-plugin,tac.jira core.languages.da_DK,tac.jira core.languages.no_NO,tac.jira software.languages.ko_KR,com.atlassian.upm.upm-application-plugin,com.atlassian.jira.jira-onboarding-assets-plugin,com.atlassian.plugins.browser.metrics.browser-metrics-plugin,com.atlassian.analytics.analytics-client,com.atlassian.oauth.atlassian-oauth-consumer-spi,com.atlassian.jira.jira-languages.en_US,com.atlassian.jira.jira-my-home-plugin,tac.jira software.languages.de_DE,com.atlassian.jira.plugins.jira-importers-github-plugin,com.atlassian.jira.plugins.jira-importers-plugin,com.atlassian.applinks.applinks-trustedapps-plugin,com.atlassian.jira.plugins.webhooks.jira-webhooks-plugin,com.atlassian.sal.jira,com.atlassian.jira.plugins.jira-password-policy-plugin,com.atlassian.streams.actions,tac.jira software.languages.en_US,com.atlassian.plugins.atlassian-whitelist-api-plugin,com.atlassian.plugins.atlassian-plugins-webresource-rest,tac.jira core.languages.is_I...

2018-01-04 11:14:10,704 JIRA-Bootstrap ERROR [c.a.jira.startup.SystemPluginsEnabledHealthCheck] We couldn't start the following plugins:2018-01-04 11:14:10,715 JIRA-Bootstrap ERROR [c.a.jira.health.HealthChecks] We haven't been able to start all the required system plugins2018-01-04 11:14:10,715 JIRA-Bootstrap ERROR [c.a.jira.health.HealthChecks] We couldn't start the following plugins:2018-01-04 11:14:11,598 JIRA-Bootstrap ERROR [c.a.jira.startup.DefaultJiraLauncher] JIRA has failed to start because of the following errors: [(Event: Level = (EventLevel: fatal) , Key = (EventType: system-plugins) , Desc = We haven't been able to start all the required system plugins , Exception = We couldn't start the following plugins:<br/><ul><li>JIRA Projects Plugin (com.atlassian.jira.jira-projects-plugin)</li><li>Atlassian OAuth Consumer Plugin (com.atlassian.oauth.consumer)...

====================

Any Quick Replies or recommendations for this issue ???

1 answer

Got the solution

added below lines in start-jira.sh

export START_JIRA_JAVA_OPTS="-Datlassian.plugins.startup.options='${@}' -Datlassian.plugins.enable.wait=600 -Datlassian.org.osgi.framework.bootdelegation=META-INF.services,com.yourkit,com.singularity.*,com.jprofiler,com.jprofiler.*,org.apache.xerces,org.apache.xerces.*,org.apache.xalan,org.apache.xalan.*,sun.*,com.sun.jndi,com.icl.saxon,com.icl.saxon.*,javax.servlet,javax.servlet.*,com.sun.xml.bind.*"

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,959 views 19 22
Read article

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