Jira is not loggin neither it is starting the server

Jon Belyew August 2, 2015

Hi,

I am using JIRA 6.7

My intent was to enable https with self signed certificates, so i used the below link 

https://confluence.atlassian.com/display/JIRA/Running+JIRA+over+SSL+or+HTTPS

Since i do not have a gui and operate solely on ssl connection, i followed the server side configuration of editing the conf/server.xml and web.xml. These changes were not taken up hence i thought of reverting the configurations back. But on restoring the files back, it did work for the first time. Then i thought of giving it a try the second time by doing some modifications on the keystore. But that did not work. So i thought this might need some more working. So i just restored the files back and did a JIRA restart. Hence after this time JIRA never came back. the log trace is below. Moreover after looking around for some time. I tried doing force stop and start but nothing worked moreover the log did not have any updates either. whats going on

 

*********************************************************************************

Atlassian GreenHopper v6.7.7 #ef860f27337eb601 built 2015-07-10T09:13:08.680Z - plugin stopped

*********************************************************************************

 

2015-08-02 16:39:40,066 Timer-2 INFO      [plugins.dvcs.scheduler.DvcsScheduler] DvcsScheduler job handler unregistered

2015-08-02 16:39:40,073 Timer-2 INFO      [plugins.dvcs.listener.DvcsAddUserListener] Attempting to unregister listener ... 

2015-08-02 16:39:40,073 Timer-2 INFO      [plugins.dvcs.listener.DvcsAddUserListener] Listener unregistered ...

2015-08-02 16:39:41,914 Timer-2 INFO      [jira.plugins.monitor.MonitoringScheduler] Unscheduling metrics collector...

2015-08-02 16:39:41,920 Timer-2 INFO      [jira.plugins.monitor.MonitorLauncher] Stopped JIRA monitoring

2015-08-02 16:39:41,988 Timer-2 ERROR      [atlassian.event.internal.AsynchronousAbleEventDispatcher] There was an exception thrown trying to dispatch event [com.atlassian.plugin.event.events.PluginModuleUnavailableEvent@1cf1156a] from the invoker [SingleParameterMethodListenerInvoker{method=public void com.atlassian.plugin.manager.DefaultPluginManager.onPluginModuleUnavailable(com.atlassian.plugin.event.events.PluginModuleUnavailableEvent), listener=com.atlassian.jira.plugin.JiraPluginManager@242ba447}]

java.lang.RuntimeException: service proxy has been destroyed

 at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:54)

 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:48)

 at com.google.common.util.concurrent.MoreExecutors$SameThreadExecutorService.execute(MoreExecutors.java:253)

 at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:107)

 at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)

 at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)

 at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:84)

 at com.atlassian.plugin.osgi.factory.UnrecognizedModuleDescriptorServiceTrackerCustomizer.removedService(UnrecognizedModuleDescriptorServiceTrackerCustomizer.java:141)

 at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:922)

 at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:351)

 at org.osgi.util.tracker.ServiceTracker$Tracked.serviceChanged(ServiceTracker.java:865)

 at org.apache.felix.framework.util.EventDispatcher.invokeServiceListenerCallback(EventDispatcher.java:864)

 at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:732)

 at org.apache.felix.framework.util.EventDispatcher.fireServiceEvent(EventDispatcher.java:662)

 at org.apache.felix.framework.Felix.fireServiceEvent(Felix.java:3726)

 at org.apache.felix.framework.Felix.access$000(Felix.java:80)

 at org.apache.felix.framework.Felix$2.serviceChanged(Felix.java:717)

 at org.apache.felix.framework.ServiceRegistry.unregisterService(ServiceRegistry.java:135)

 at org.apache.felix.framework.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:129)

 at org.springframework.osgi.service.exporter.support.internal.support.ServiceRegistrationDecorator.unregister(ServiceRegistrationDecorator.java:65)

 at org.springframework.osgi.util.OsgiServiceUtils.unregisterService(OsgiServiceUtils.java:41)

 at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.unregisterService(OsgiServiceFactoryBean.java:372)

 at org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean.unregisterService(OsgiServiceFactoryBean.java:362)

 at org.springframework.osgi.service.exporter.support.AbstractOsgiServiceExporter.destroy(AbstractOsgiServiceExporter.java:84)

 at org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:151)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:462)

 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:430)

 at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:853)

 at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.destroyBeans(AbstractOsgiBundleApplicationContext.java:204)

 at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:831)

 at org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.doClose(AbstractOsgiBundleApplicationContext.java:197)

 at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$501(AbstractDelegatedExecutionApplicationContext.java:69)

 at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$2.run(AbstractDelegatedExecutionApplicationContext.java:214)

 at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)

 at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalClose(AbstractDelegatedExecutionApplicationContext.java:210)

 at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:374)

 at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.doClose(AbstractDelegatedExecutionApplicationContext.java:236)

 at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:794)

 at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$1.run(ContextLoaderListener.java:522)

 at org.springframework.osgi.extender.internal.util.concurrent.RunnableTimedExecution$MonitoredRunnable.run(RunnableTimedExecution.java:60)

 at org.springframework.scheduling.timer.DelegatingTimerTask.run(DelegatingTimerTask.java:66)

 at java.util.TimerThread.mainLoop(Timer.java:555)

 at java.util.TimerThread.run(Timer.java:505)

Caused by: org.springframework.osgi.service.importer.ServiceProxyDestroyedException: service proxy has been destroyed

 at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor$ServiceLookUpCallback.doWithRetry(ServiceDynamicInterceptor.java:105)

 at org.springframework.osgi.service.importer.support.internal.support.RetryTemplate.execute(RetryTemplate.java:83)

 at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor.lookupService(ServiceDynamicInterceptor.java:430)

 at org.springframework.osgi.service.importer.support.internal.aop.ServiceDynamicInterceptor.getTarget(ServiceDynamicInterceptor.java:415)

 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)

 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)

 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)

 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)

 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

 at com.sun.proxy.$Proxy623.unregister(Unknown Source)

 at com.atlassian.jira.less.impl.DynamicLookAndFeelUriResolver.disabled(DynamicLookAndFeelUriResolver.java:49)

 at com.atlassian.plugins.less.UriResolverModuleDescriptor.disabled(UriResolverModuleDescriptor.java:29)

 at com.atlassian.plugin.manager.DefaultPluginManager.publishModuleDisabledEvents(DefaultPluginManager.java:2067)

 at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleDisabled(DefaultPluginManager.java:2054)

 at com.atlassian.plugin.manager.DefaultPluginManager.onPluginModuleUnavailable(DefaultPluginManager.java:719)  <+2> (DelegatingMethodAccessorImpl.java:43)

 at java.lang.reflect.Method.invoke(Method.java:497)

 at com.atlassian.event.internal.SingleParameterMethodListenerInvoker.invoke(SingleParameterMethodListenerInvoker.java:36)

 ... 43 more

4 answers

0 votes
Christoffer Karlsson March 1, 2016

Hi Jon,

did you ever managed to find a solution for this?

I'm stuck with the exact same errors as you have pasted here. I have activated SSL several times for JIRA and never had these errors before. But right now, I have stumbled upon this 2 installations in a row for 1 server. I'm installing JIRA 6.4.12.

Basically:

  1. Gets the JIRA 6.4.12 up and running
  2. Updating the server.xml and web.xml to get SSL working
  3. Hits into these problems
  4. Replacing my server.xml and web.xml with the original files.
  5. Still hit into these errors.

 

Regards

Christoffer

 

 

0 votes
Jon Belyew August 2, 2015

There is no activity after this.. what should i do

0 votes
Jon Belyew August 2, 2015

This is the the log of my last restart INFO: Starting service Catalina Aug 02, 2015 10:42:52 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.55 Aug 02, 2015 10:43:00 PM org.apache.catalina.startup.TaglibUriRule body INFO: TLD skipped. URI: webwork is already defined Aug 02, 2015 10:43:00 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler ["http-bio-8080"] Aug 02, 2015 10:43:00 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 8927 ms

0 votes
Robert Dzido
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 2, 2015

Please go to tomcat logs. atlassian-jira.log file is created after application is initiated. In your case probably tomcat container doesn't run properly. You can find the logs in your JIRA application directory, next to /conf it's: logs/catalina.out

Suggest an answer

Log in or Sign up to answer