Hi Team ,
I started with the “Hello World” plugin tutorial. I’ve added some REST Dependencies like httpcore,httpclient in order to call some REST API’s. I’m tried to build the plugin by using the command “atlas-mvn clean package” and it was build successfully . When I installed the JAR file in confluence , it is getting installed but entering into disabled mode by default and not getting enabled.
When I try to enable it manually by clicking on the corresponding enable button , it says “This app failed to enable. Refer to the logs for more information.”.
In application logs file, it says :
2024-05-21 10:58:31,032 ERROR [http-nio2-8090-exec-24 url: /confluence/rest/plugins/1.0/com.atlassian.tutorial.myConfluenceMacro-key; user: ] [plugin.osgi.factory.OsgiPluginInstalledHelper] availableForTraversal Cannot determine required plugins, cannot resolve bundle ‘com.atlassian.tutorial.myConfluenceMacro’
-- url: /confluence/rest/plugins/1.0/com.atlassian.tutorial.myConfluenceMacro-key | userName: | referer: https://confluenceURLEndpoint/confluence/plugins/servlet/upm | traceId: 8cd57846a8f62b33
2024-05-21 11:03:31,067 ERROR [http-nio2-8090-exec-24 url: /confluence/rest/plugins/1.0/com.atlassian.tutorial.myConfluenceMacro-key; user: ] [atlassian.plugin.manager.PluginEnabler] actualEnable Unable to start the following plugins due to timeout while waiting for plugin to enable: com.atlassian.tutorial.myConfluenceMacro
-- url: /confluence/rest/plugins/1.0/com.atlassian.tutorial.myConfluenceMacro-key | userName: | referer: https://confluenceURLEndpoint/confluence/plugins/servlet/upm | traceId: 8cd57846a8f62b33
2024-05-21 11:03:34,763 WARN [http-nio2-8090-exec-22 url: /confluence/rest/plugins/1.0/notifications/e4f2d0a8780bd40f017820157b06005d; user: ] [confluence.util.profiling.DefaultActivityMonitor] close Exceeded the threshold of 60000 ms: ActivitySnapshot{startTime=1716288794460, threadId=1112, threadName='http-nio2-8090-exec-22 url: /confluence/rest/plugins/1.0/notifications/', userId='', type='web-request', summary='/rest/plugins/1.0/notifications/'}
-- url: /confluence/rest/plugins/1.0/notifications/ | userName: | referer: https://confluenceURLEndpoint/confluence/plugins/servlet/upm | traceId: 5c0aa7d7d58dcb84
2024-05-21 11:03:42,147 ERROR [http-nio2-8090-exec-24 url: /confluence/rest/plugins/1.0/com.atlassian.tutorial.myConfluenceMacro-key; user: ] [confluence.cluster.hazelcast.HazelcastClusterManager] lambda$publishEventImmediately$0 Timeout while publishing event to cluster
-- url: /confluence/rest/plugins/1.0/com.atlassian.tutorial.myConfluenceMacro-key | userName: | referer: https://confluenceURLEndpoint/confluence/plugins/servlet/upm | traceId: 8cd57846a8f62b33
java.util.concurrent.TimeoutException: Waited 10000 milliseconds (plus 79334 nanoseconds delay) for ListFuture@48f4ee7e[status=PENDING, info=[futures=[SettableFuture@afac826[status=PENDING]]]]
at com.google.common.util.concurrent.AbstractFuture.get(AbstractFuture.java:531)..
I’m not sure how to resolve this error. How does one approach debugging this? Can someone provide a little guidance, please?
Thanks in advance!