2024-04-24 14:51:23,683 INFO [localhost-startStop-1] [BootstrapLoaderListener] Starting BootstrapLoaderListener
2024-04-24 14:51:23,683 INFO [localhost-startStop-1] [lifecycle] *******************************
2024-04-24 14:51:23,683 INFO [localhost-startStop-1] [lifecycle] * Bamboo is starting up *
2024-04-24 14:51:23,683 INFO [localhost-startStop-1] [lifecycle] *******************************
2024-04-24 14:51:23,683 INFO [localhost-startStop-1] [ServletContextHolder] Setting servlet context: Bamboo
2024-04-24 14:51:23,759 INFO [localhost-startStop-1] [lifecycle] atlassian.org.osgi.framework.bootdelegation set to javax.servlet,javax.servlet.*,javax.xml.*,sun.*,com.sun.*,org.w3c.dom.*,org.apache.xerces.*,org.jboss.byteman.*,jdk.internal.reflect
2024-04-24 14:51:23,814 INFO [localhost-startStop-1] [BootstrapLoaderListener] App classloader is the same as web app classloader
2024-04-24 14:51:24,664 INFO [localhost-startStop-1] [lifecycle] Starting Bamboo 8.2.9 (build #80215 Fri May 12 10:17:00 BST 2023) using Java 11.0.22 from Red Hat, Inc.
2024-04-24 14:51:24,664 INFO [localhost-startStop-1] [lifecycle] Real path of servlet context: /home/atlassian-bamboo-8.2.9/atlassian-bamboo/
2024-04-24 14:51:24,719 INFO [localhost-startStop-1] [lifecycle] Bamboo home directory: /home/atlassian-bamboo-8.2.9
2024-04-24 14:51:24,719 INFO [localhost-startStop-1] [lifecycle] Default charset: UTF-8, file name ecoding: UTF-8
2024-04-24 14:51:24,726 INFO [localhost-startStop-1] [UpgradeLauncher] Upgrades not performed since the application has not been set up yet.
2024-04-24 14:51:24,740 INFO [localhost-startStop-1] [CompressingFilter] CompressingFilter has initialized
2024-04-24 14:51:25,203 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2024-04-24 14:51:25,961 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2024-04-24 14:51:26,017 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2024-04-24 14:51:26,522 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2024-04-24 14:51:26,619 INFO [localhost-startStop-1] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2024-04-24 14:51:26,667 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
And When I try to curl on localhost:8085, I get [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'.
Tried changing the JVM settings as suggested in https://community.atlassian.com/t5/Bamboo-questions/http-nio-8085-exec-1-JohnsonFilter-The-application-is-not-yet/qaq-p/1744862 , but no luck.
I got the same error.
In my case:
By just enable the proxy option this error is solved and i have installed bamboo correct.
<Connector
port="8085"
protocol="HTTP/1.1"
maxThreads="150" minSpareThreads="25"
connectionTimeout="20000"
disableUploadTimeout="true"
acceptCount="100"
enableLookups="false"
maxHttpHeaderSize="8192"
useBodyEncodingForURI="true"
URIEncoding="UTF-8"
proxyName="****************.eu-west-1.elb.amazonaws.com"
proxyPort="443"
scheme="https"
redirectPort="8443">
<UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" />
</Connector>
Hi @Pratik N Rumale ,
Thanks for reaching out to Atlassian Community!
From the provided logs, we could not point to any particular error as to why the application failed to start.
Do you see any particular errors in the <Bamboo-home>/logs/atlassian-bamboo.log file before these logs?
Please also check <Bamboo-install>/logs/catalina.out file reporting any errors for application startup.
From the provided logs, I see the Bamboo-home directory is pointed to "/home/atlassian-bamboo-8.2.9". Can you please check if this is the correct Bamboo home path?
Could you please provide us with the error screenshot you were receiving while trying to open the Bamboo UI?
Please also let us know if this is the new installation of Bamboo or upgrading the Bamboo.
Best Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First of all thank you so much for taking time to help me out, really appreciate it.
As for your questions:
1. There are no errors in the atlassian-bamboo.log which are getting logged here, the installation just stops at this step: 2024-04-24 14:51:26,667 INFO [localhost-startStop-1] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
and then when I try curl http://localhost:8085, this error is thrown; [JohnsonFilter] The application is not yet setup. Redirecting request from '/start.action' to '/bootstrap/selectSetupStep.action'.
2. PFB the logs from catalina.out. There are certain errors logged here, but are these causing the issue?
25-Apr-2024 08:41:54.767 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The Apache Tomcat Native library which allows using OpenSSL was not found on the java.library.path: [/usr/java/packages/lib:/usr/lib64:/lib64:/lib:/usr/lib]
25-Apr-2024 08:41:54.794 INFO [main] org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol The ["http-nio-8085"] connector has been configured to support HTTP upgrade to [h2c]
25-Apr-2024 08:41:54.794 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8085"]
25-Apr-2024 08:41:54.812 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 397 ms
25-Apr-2024 08:41:54.835 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
25-Apr-2024 08:41:54.836 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/8.5.87]
25-Apr-2024 08:42:03.357 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...
25-Apr-2024 08:42:06.728 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8085"]
25-Apr-2024 08:42:06.742 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 11929 ms
3. As for Bamboo Home path, I believe thats the correct path, as my Bamboo is starting up, as well as all the logs are being logged, so I dont think there is an issue with the PATH. However, please note this path is actually the Bamboo Installation Directory, as when I give any path apart from this, my Bamboo itself doesn't start up, and no logs are logged in atlassain-bamboo.log file.
4. The URL itself is not reachable, hence I have not even yet got a chance to see the UI.
5. This is a new Bamboo Installation for the first time, as I am trying to create a POC for my organisation for them to see how bamboo works, if its successful, then we buy Bamboo at organisational level for all projects, hence this POC is important for me, to demonstrate the use of Bamboo to my senior management.
Note: I have also decreased the JVM heap size to 64m, and also, the server configurations, are well above the requirements mentioned on the official website.
I hope I answered all your questions, any help or direction is appreciated.
Thanks and Regards
Pratik N Rumale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response @Pratik N Rumale .
I don't see any issues in the provided Bamboo server logs or Catalina logs, which could stop the application.
I would suggest increasing the JVM heap size to a minimum of 1GB for the initial startup.
After starting the Bamboo service from the server using <Bamboo-Install>/bin/start-bamboo.sh folder, it will create a configuration file "bamboo.cfg.xml" in <Bamboo-Home> folder. Can you please check if this exists in your Bamboo-home folder? the user running the Bamboo service(check using ps -ef|grep -I bamboo) should have complete access to both Bamboo-Home and Bamboo-Install folders.
If you have the correct access for <Bamboo-Home>/bamboo.cfg.xml file and the folders, you should be able to access the Bamboo URL(http://localhost:8085) from the UI and need to setup the application with the license, database and other configuration details as mentioned in the below document. https://confluence.atlassian.com/bamboo0802/running-the-setup-wizard-1103432740.html
Once the setup is completed, you should be able to access the application.
Please let us know if this helps.
Best Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you so much for your response.
As per your suggestion I have increased the JVM heap space to 1GB.
Unfortunately this file itself is not getting created "bamboo.cfg.xml". I think its not even reaching the creation step.
777 access have been given on the directory level itself.
Is there anything else I am missing here?
Regards
Pratik N Rumale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please check the Bamboo.home property defined in the <Bamboo-Install>/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties and change it to a different new directory with a full absolute path something like the below:
bamboo.home=/var/bamboo/bamboo-home
please make sure this directory exists and Bamboo user has complete access to the folder.
Then try to start the Bamboo.
Best Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your response, and apologies for bothering so much, and I really appreciate you helping me out.
PFB the code snippets of the init file, with Bamboo-home path, and along with permissions.
My bamboo did not even boot up, after keeping the path you suggested. It still shows logs from yesterday.
The bamboo.cfg.xml is being created apologies, for the last reply. I have added the output which has been created so far in that config-xml.
I have given all the snippets for your reference.
Thank you for your help!
Bamboo config xml:
<application-configuration>
<setupStep>setupLicense</setupStep>
<setupType>custom</setupType>
<buildNumber>80215</buildNumber>
<properties>
<property name="bamboo.jms.broker.client.uri">failover:(XXXXXX?wireFormat.maxInactivityDuration=300000)?maxReconnectAttempts=10&initialReconnectDelay=15000</property>
<property name="bamboo.jms.broker.uri">nio://0.0.0.0:54663</property>
</properties>
</application-configuration>
Bamboo Home Path : bamboo.home=/var/bamboo/bamboo-home
Access:
drwxrwxrwx. 21 root root 4096 var
drwxrwxrwx 17 root root 4096 atlassian-bamboo-9.6.1
Startup Args:
Using CATALINA_BASE: /home/atlassian-bamboo-9.6.1
Using CATALINA_HOME: /home/atlassian-bamboo-9.6.1
Using CATALINA_TMPDIR: /home/atlassian-bamboo-9.6.1/temp
Using JRE_HOME: /usr/lib/jvm/jre-17-openjdk-17.0.11.0.9-2.el9.x86_64/
Using CLASSPATH: /home/atlassian-bamboo-9.6.1/bin/bootstrap.jar:/home/atlassian-bamboo-9.6.1/bin/tomcat-juli.jar
Using CATALINA_OPTS: -Xms1024m -Xmx1024m -XX:+UseG1GC --add-opens java.base/java.security=ALL-UNNAMED
Tomcat started.
atlassian-bamboo.out
2024-04-25 11:10:14,370 INFO [main] [StdSchedulerFactory] Quartz scheduler 'nodeHeartbeat.quartz' initialized from an externally provided properties instance.
2024-04-25 11:10:14,370 INFO [main] [StdSchedulerFactory] Quartz scheduler version: 2.3.2
2024-04-25 11:10:14,370 INFO [main] [QuartzScheduler] JobFactory set to: com.atlassian.bamboo.quartz.AutowiringJobFactory@23c78284
2024-04-25 11:10:14,403 INFO [main] [JavaVersionIsSupported] Detected Java version 17.0.11, your version is supported.
2024-04-25 11:10:14,403 INFO [main] [lifecycle] Starting Bamboo 9.6.1 (build #90602 Wed Apr 10 20:57:23 BST 2024) using Java 17.0.11 from Red Hat, Inc.
2024-04-25 11:10:14,403 INFO [main] [lifecycle] Real path of servlet context: /home/atlassian-bamboo-9.6.1/atlassian-bamboo/
2024-04-25 11:10:14,551 INFO [main] [DeserializationFilterConfigurator] Global serial filter set to JDK 11 DeserializationFilter
2024-04-25 11:10:14,560 INFO [main] [lifecycle] Bamboo home directory: /home/atlassian-bamboo-9.6.1
2024-04-25 11:10:14,561 INFO [main] [lifecycle] Default charset: UTF-8, file name encoding: UTF-8
2024-04-25 11:10:14,570 INFO [main] [UpgradeLauncher] Upgrades not performed since the application has not been set up yet.
2024-04-25 11:10:14,591 INFO [main] [CompressingFilter] CompressingFilter has initialized
2024-04-25 11:10:15,066 INFO [main] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2024-04-25 11:10:15,695 INFO [main] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2024-04-25 11:10:15,740 INFO [main] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2024-04-25 11:10:16,129 INFO [main] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
2024-04-25 11:10:16,198 INFO [main] [Dispatchers] Dispatcher org.apache.struts2.dispatcher.Dispatcher initialised
2024-04-25 11:10:16,226 INFO [main] [SpringObjectFactoryProxy] Deferring initialisation of com.atlassian.bamboo.plugin.xwork.SpringObjectFactoryProxy
Regards,
Pratik N Rumale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pratik N Rumale ,
No worries at all and no need to apologise. We are happy to help you.
From the shared details, I have a feeling that bamboo.home set in the bamboo-init.properties is not able to refer to the exact path given which is bamboo.home=/var/bamboo/bamboo-home.
That is why Bamboo bootstrap failing and not able to create the logs folder or bamboo.cfg.xml in the new bamboo.home path(/var/bamboo/bamboo-home) provided.
Can you "cd" to "var/bamboo/bamboo-home" and run the "pwd" command to get the absolute path of the directory. I think it exists inside the /home directory, if I am not wrong, as from the provided logs and details.
If it is right, then you need to provide the complete path(output of "pwd" command) for bamboo.home parameter in the bamboo-init.properties as "/home/var/bamboo/bamboo-home" and restart the Bamboo service.
Then, it should be able to create a logs folder, bamboo.cfg.xml and the required necessary folders in the given bamboo.home path.
Best Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried both the paths,
1. Bamboo_Home=/var/bamboo/bamboo-home.
2. Bamboo_Home=/home/var/bamboo/bamboo-home
[prumale@XXXX bamboo-home]$ pwd
/var/bamboo/bamboo-home
Just to let you know "Then, it should be able to create a logs folder, bamboo.cfg.xml and the required necessary folders in the given bamboo.home path." This is already happening.
The only thing which happens when I keep this as my Bamboo_Home path, that there are no logs then logged under atlassiam-bamboo.log in the <Bamboo-Installation>/logs folder. The bamboo doesn't even start up.
The only time I am bale to see logs being logged in atlassiam-bamboo.log file, when I keep the Bamboo_Home as <Bamboo_Installation> directory. so the in the current scenario only when the path is kept as "/home/atlassian-bamboo-9.6.1 " I am able to see bamboo booting up and logs being recorded in atlassiam-bamboo.log.
Please note that there are no error being logged in Catelina.out.
Thank you for your help.
Regards,
Pratik N Rumale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pratik N Rumale ,
Just to be clear, the atlassian-bamboo.log file will be created under the <Bamboo-home>/logs folder(which is defined in bamboo-init.properties file) and not under <Bamboo-Installation>/logs folder.
As you defined the Bamboo-home path as <Bamboo_Installation> directory, atlassian-bamboo.log has been created there previously.
I suggest you delete old folders(both Bamboo-install Bamboo-home) and, stop the old Bamboo service and run a fresh Bamboo installation.
I am just rewriting the steps for Bamboo installation just to be sure we are both pages. Below are the steps to be followed for Bamboo Installation:
1. Download the required version of Bamboo from https://www.atlassian.com/software/bamboo/download
2. Create a dedicated user to run Bamboo.
3. Create a Bamboo installation folder and copy the downloaded Bamboo tar file to the Install directory.
4. Create a Bamboo home directory different from the Installation directory always.
4. Uncomment the bamboo.home line and update the absolute path of bamboo home in the <Bamboo installation directory
>/atlassian-bamboo/WEB-INF/classes/bamboo-init.properties.
5. Start Bamboo service from <Bamboo-Install>/bin/start-bamboo.sh
6. Check the Bamboo service using (ps -ef|grep -i bamboo). There should be only one service. Make sure to kill all the old Bamboo services if any running.
7. Once it is up and running, access the Bamboo URL.
8. You should be able to see screen to setup license and setup winzard following steps here https://confluence.atlassian.com/bamboo/running-the-setup-wizard-289276851.html
Best Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good Morning, Thank you for the steps, I followed the steps as you had mentioned, but I still was not able to have bamboo running.
Nonetheless, I then shifted to a windows server, and followed the steps, and apparently it worked.
I was able to follow through most of the steps as mentioned in the official documentation, but now I am stuck on the database part.
My database connection is okay, I have crossed checked and also tested the connection, however I am not getting this error
io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException: Cannot invoke "com.atlassian.bamboo.plugin.OsgiServiceProxyFactory.createNonIsolatingProxy(java.lang.Class, long)" because "this.this$0.osgiServiceProxyFactory" is null at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:156) at io.atlassian.util.concurrent.LazyReference.get(LazyReference.java:116) at com.atlassian.bamboo.ww2.BambooFreemarkerManagerSoyHelpers$SoyHelper.renderNoCache(BambooFreemarkerManagerSoyHelpers.java:98) at com.atlassian.bamboo.ww2.BambooFreemarkerManagerSoyHelpers$SoyHelper.render(BambooFreemarkerManagerSoyHelpers.java:88) at com.atlassian.bamboo.ww2.BambooFreemarkerManagerSoyHelpers$SoyHelper.render(BambooFreemarkerManagerSoyHelpers.java:80) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1553) at freemarker.ext.beans.ReflectionCallableMemberDescriptor.invokeMethod(ReflectionCallableMemberDescriptor.java:56) at freemarker.ext.beans.MemberAndArguments.invokeMethod(MemberAndArguments.java:51) at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:64) at freemarker.core.MethodCall._eval(MethodCall.java:75) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) at freemarker.core.DollarVariable.accept(DollarVariable.java:63) at freemarker.core.Environment.visit(Environment.java:347) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.process(Environment.java:326) at freemarker.template.Template.process(Template.java:383) at com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter.applyDecorator(FreemarkerRequestDispatcherPageFilter.java:123) at org.apache.struts2.sitemesh.TemplatePageFilter.applyDecorator(TemplatePageFilter.java:116) at com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter.access$000(FreemarkerRequestDispatcherPageFilter.java:46) at com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter$BambooSitemeshDecorator.render(FreemarkerRequestDispatcherPageFilter.java:245) at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:33) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.SessionCreationForAnonymousUserFilter.doFilter(SessionCreationForAnonymousUserFilter.java:40) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.NewRelicTransactionNamingFilter.doFilter(NewRelicTransactionNamingFilter.java:28) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.ww2.StrutsPrepareFilter$1.doFilter(StrutsPrepareFilter.java:72) at org.apache.struts2.dispatcher.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:96) at com.atlassian.bamboo.ww2.StrutsPrepareFilter.handleRequest(StrutsPrepareFilter.java:46) at com.atlassian.bamboo.ww2.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.BambooProfilingFilter.doFilter(BambooProfilingFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:50) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:93) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:17) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:59) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:148) at com.atlassian.seraph.filter.BambooLoginFilter.doFilter(BambooLoginFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:50) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.BambooCompressingFilter.doFilter(BambooCompressingFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.ClickjackingAndMimeTypeSniffingPreventionFilter.doFilter(ClickjackingAndMimeTypeSniffingPreventionFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:50) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.TrafficThroughPrimaryNodeOnlyFilter.doFilter(TrafficThroughPrimaryNodeOnlyFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:185) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:670) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1786) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:842) Caused by: java.lang.NullPointerException: Cannot invoke "com.atlassian.bamboo.plugin.OsgiServiceProxyFactory.createNonIsolatingProxy(java.lang.Class, long)" because "this.this$0.osgiServiceProxyFactory" is null at com.atlassian.bamboo.ww2.BambooFreemarkerManager$1.get(BambooFreemarkerManager.java:127) at com.atlassian.bamboo.ww2.BambooFreemarkerManager$1.get(BambooFreemarkerManager.java:124) at io.atlassian.util.concurrent.Lazy$Strong.create(Lazy.java:98) at io.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:332) at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:150) ... 115 more
Continuous integration powered by Atlassian Bamboo version 9.6.1 build 90602 - io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException: Cannot invoke "com.atlassian.bamboo.plugin.OsgiServiceProxyFactory.createNonIsolatingProxy(java.lang.Class, long)" because "this.this$0.osgiServiceProxyFactory" is null at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:156) at io.atlassian.util.concurrent.LazyReference.get(LazyReference.java:116) at com.atlassian.bamboo.ww2.BambooFreemarkerManagerSoyHelpers$SoyHelper.renderNoCache(BambooFreemarkerManagerSoyHelpers.java:98) at com.atlassian.bamboo.ww2.BambooFreemarkerManagerSoyHelpers$SoyHelper.render(BambooFreemarkerManagerSoyHelpers.java:88) at com.atlassian.bamboo.ww2.BambooFreemarkerManagerSoyHelpers$SoyHelper.render(BambooFreemarkerManagerSoyHelpers.java:80) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1553) at freemarker.ext.beans.ReflectionCallableMemberDescriptor.invokeMethod(ReflectionCallableMemberDescriptor.java:56) at freemarker.ext.beans.MemberAndArguments.invokeMethod(MemberAndArguments.java:51) at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:64) at freemarker.core.MethodCall._eval(MethodCall.java:75) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) at freemarker.core.DollarVariable.accept(DollarVariable.java:63) at freemarker.core.Environment.visit(Environment.java:347) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.visit(Environment.java:389) at freemarker.core.Environment.invokeMacroOrFunctionCommonPart(Environment.java:889) at freemarker.core.Environment.invokeMacro(Environment.java:825) at freemarker.core.UnifiedCall.accept(UnifiedCall.java:87) at freemarker.core.Environment.visit(Environment.java:347) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.include(Environment.java:2955) at freemarker.core.Include.accept(Include.java:171) at freemarker.core.Environment.visit(Environment.java:347) at freemarker.core.Environment.visit(Environment.java:353) at freemarker.core.Environment.process(Environment.java:326) at freemarker.template.Template.process(Template.java:383) at com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter.applyDecorator(FreemarkerRequestDispatcherPageFilter.java:123) at org.apache.struts2.sitemesh.TemplatePageFilter.applyDecorator(TemplatePageFilter.java:116) at com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter.access$000(FreemarkerRequestDispatcherPageFilter.java:46) at com.atlassian.bamboo.ww2.FreemarkerRequestDispatcherPageFilter$BambooSitemeshDecorator.render(FreemarkerRequestDispatcherPageFilter.java:245) at com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:33) at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.SessionCreationForAnonymousUserFilter.doFilter(SessionCreationForAnonymousUserFilter.java:40) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.NewRelicTransactionNamingFilter.doFilter(NewRelicTransactionNamingFilter.java:28) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.ww2.StrutsPrepareFilter$1.doFilter(StrutsPrepareFilter.java:72) at org.apache.struts2.dispatcher.filter.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:96) at com.atlassian.bamboo.ww2.StrutsPrepareFilter.handleRequest(StrutsPrepareFilter.java:46) at com.atlassian.bamboo.ww2.StrutsPrepareFilter.doFilter(StrutsPrepareFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.BambooProfilingFilter.doFilter(BambooProfilingFilter.java:73) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:50) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.AccessLogFilter.doFilter(AccessLogFilter.java:93) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.BambooAcegiProxyFilter.doFilter(BambooAcegiProxyFilter.java:17) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:59) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:88) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:148) at com.atlassian.seraph.filter.BambooLoginFilter.doFilter(BambooLoginFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:50) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.persistence.BambooSessionInViewFilter.doFilterInternal(BambooSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.BambooCompressingFilter.doFilter(BambooCompressingFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.ClickjackingAndMimeTypeSniffingPreventionFilter.doFilter(ClickjackingAndMimeTypeSniffingPreventionFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.CookieCacheControlFilter.doFilter(CookieCacheControlFilter.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:37) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:50) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at com.atlassian.bamboo.filter.TrafficThroughPrimaryNodeOnlyFilter.doFilter(TrafficThroughPrimaryNodeOnlyFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:179) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:154) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:168) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.valves.StuckThreadDetectionValve.invoke(StuckThreadDetectionValve.java:185) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:670) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:346) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:928) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1786) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:63) at java.base/java.lang.Thread.run(Thread.java:842) Caused by: java.lang.NullPointerException: Cannot invoke "com.atlassian.bamboo.plugin.OsgiServiceProxyFactory.createNonIsolatingProxy(java.lang.Class, long)" because "this.this$0.osgiServiceProxyFactory" is null at com.atlassian.bamboo.ww2.BambooFreemarkerManager$1.get(BambooFreemarkerManager.java:127) at com.atlassian.bamboo.ww2.BambooFreemarkerManager$1.get(BambooFreemarkerManager.java:124) at io.atlassian.util.concurrent.Lazy$Strong.create(Lazy.java:98) at io.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:332) at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:150) at io.atlassian.util.concurrent.LazyReference.get(LazyReference.java:116) at com.atlassian.bamboo.ww2.BambooFreemarkerManagerSoyHelpers$SoyHelper.renderNoCache(BambooFreemarkerManagerSoyHelpers.java:98) at com.atlassian.bamboo.ww2.BambooFreemarkerManagerSoyHelpers$SoyHelper.render(BambooFreemarkerManagerSoyHelpers.java:88) at com.atlassian.bamboo.ww2.BambooFreemarkerManagerSoyHelpers$SoyHelper.render(BambooFreemarkerManagerSoyHelpers.java:80) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at freemarker.ext.beans.BeansWrapper.invokeMethod(BeansWrapper.java:1553) at freemarker.ext.beans.ReflectionCallableMemberDescriptor.invokeMethod(ReflectionCallableMemberDescriptor.java:56) at freemarker.ext.beans.MemberAndArguments.invokeMethod(MemberAndArguments.java:51) at freemarker.ext.beans.OverloadedMethodsModel.exec(OverloadedMethodsModel.java:64) at freemarker.core.MethodCall._eval(MethodCall.java:75) at freemarker.core.Expression.eval(Expression.java:101) at freemarker.core.DollarVariable.calculateInterpolatedStringOrMarkup(DollarVariable.java:100) at freemarker.core.DollarVariable.accept(DollarVariable.java:63) ... 99 more
My JAVA_HOME is C:\Program Files\Java\jdk-17.
Please let me know if I am missing something.
Please note that I have jre-1.8 at location C:\Program Files\Java
But I have not set JRE_HOME explicitly, cause if Set the JRE_PATH to C:\Program Files\Java\jre-1.8, then my tomcat doesn't start up and I get JAVA_HOME contains spaces. Please change to a location without spaces if this causes problems. Error
Any help is appreciated.
Regards,
Pratik N Rumale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After renaming the bamboo-config.xml, I tried doing everything again, but now the error which stopped the installation was :
"message": "The secondary node does not handle requests. Route the request to the primary node. If you suspect the primary node has failed, wait until a secondary node takes over.".
Regards
Pratik N Rumale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pratik N Rumale ,
Could you please confirm what you mean by renaming the bamboo-config.xml? I am not completely sure about this.
Regards the error,
Best Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. I am not, its just 1 node.
3. The Contents of Config File:
<properties>
<property name="bamboo.artifacts.directory">${bambooSharedHome}\artifacts</property>
<property name="bamboo.config.directory">${bambooSharedHome}\configuration</property>
<property name="bamboo.h2.version">2.2.224</property>
<property name="bamboo.jms.broker.client.uri">failover:(ssl://nhst-auto-02.tnhs.tayside.scot.nhs.uk:54663?socket.verifyHostName=false&wireFormat.maxInactivityDuration=90000)?initialReconnectDelay=15000&maxReconnectAttempts=10</property>
<property name="bamboo.jms.broker.uri">ssl://0.0.0.0:54663</property>
<property name="bamboo.project.directory">${bambooSharedHome}\builds</property>
<property name="bamboo.repository.logs.directory">${bambooSharedHome}\repository-specs</property>
<property name="buildWorkingDir">${bambooHome}\local-working-dir</property>
<property name="hibernate.connection.autocommit">false</property>
<property name="hibernate.connection.driver_class">com.microsoft.sqlserver.jdbc.SQLServerDriver</property>
<property name="hibernate.connection.password">password</property>
<property name="hibernate.connection.provider_class">org.hibernate.hikaricp.internal.HikariCPConnectionProvider</property>
<property name="hibernate.connection.url">jdbc:sqlserver://localhost:1433;databaseName=bamboo</property>
<property name="hibernate.connection.username">bamboouser2</property>
<property name="hibernate.dialect">com.atlassian.bamboo.hibernate.SQLServerIntlDialect</property>
<property name="hibernate.hikari.connectionTimeout">30000</property>
<property name="hibernate.hikari.idleTimeout">120000</property>
<property name="hibernate.hikari.leakDetectionThreshold">0</property>
<property name="hibernate.hikari.maximumPoolSize">170</property>
<property name="hibernate.hikari.minimumIdle">3</property>
<property name="hibernate.hikari.registerMbeans">true</property>
<property name="license.string">AAABug0ODAoPeNp1klGTmjAUhd/5Fcz0pX3ABVRcnWGmCFFRQBbs7nTGl4hXSQvBJsFd9tcviIztj n3MTfKdnHPyZcaIbJ2YrBuyOppo48lAl21nI+uqPpBsBliQgjpYgNlMFHWg6Ia0w/muKHo4EeQMp mAldKOgzHfA1ofpZekVCc6sI1DBTUWTPJIA5YDeToRVfzGHDTMudzxh5NTotUh0xlmJb+urxJWyq U4Q4BxMe+37KLJdy+tO1Ghs16LA2otZe2OBeWr69qs9mxsPj8MERm9j9V0LI+tluXp+F/PoIT1Y6 RNeZblvaceXH+FyTvs4rqxxuZy5f8jr1tyanQ3XMT3XiVGgeLWNoT7sa90DYoFZo37AGQcpBnYGV h+f6hpSpk8/V0qoLzxlFvpI+g3VMzDemNQMVR2pj/2aE5YsSTGHz8HXaua/ig7cUmtDl782/uU2g G/biXzLUfIxqacU0+Q/LdytMcwwvRR4dzeCvBBwbVlTVbXLu/OlS2t2xJTwtstgEcsbXHGyB8kuq Kh/EarflZm/ipT2GJC98Z2mvMeTQnzqHO3JBYGCDYrCyI1RR7j8hHuAD3Wy9NwwLQIUF4Mt4kl4/ /qukYBmdFEhjj2Yz20CFQCKpb3cXyv09wShS1D7G1Ew0dVhkg==X02l9</property>
<property name="serverId">B8KO-BL89-JBBU-9Q0Z</property>
<property name="serverKey">1013</property>
<property name="webwork.multipart.saveDir">${bambooHome}\temp</property>
</properties>
</application-configuration>
4> cluster-node.properties: I do not have athis file.
5: Error:
2024-04-29 12:58:31,120 INFO [performSetupDatabaseConnectionBackgroundThread] [BambooBrokerService] Creating new JMS keystore password
2024-04-29 12:58:31,121 INFO [performSetupDatabaseConnectionBackgroundThread] [BambooBrokerService] Temporarily storing the unencrypted JMS keystore password in the configuration file. It will be encrypted when the setup finishes
2024-04-29 12:58:31,157 INFO [performSetupDatabaseConnectionBackgroundThread] [JmsSslManagementUtils] Loading an existing key store from C:\atlassian-bamboo\shared\configuration\broker.ks
2024-04-29 12:58:31,195 INFO [performSetupDatabaseConnectionBackgroundThread] [BambooBrokerService] Cannot enable SSL on broker:
io.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.IllegalStateException: Unable to access key store
at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:156) ~[atlassian-util-concurrent-4.0.1.jar:?]
at io.atlassian.util.concurrent.LazyReference.get(LazyReference.java:116) ~[atlassian-util-concurrent-4.0.1.jar:?]
at io.atlassian.util.concurrent.ResettableLazyReference.get(ResettableLazyReference.java:95) ~[atlassian-util-concurrent-4.0.1.jar:?]
at com.atlassian.bamboo.amq.BambooBrokerService.modifyInitialBrokerSettings(BambooBrokerService.java:136) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:370) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:127) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1707) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1452) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:619) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:695) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:695) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:189) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) ~[spring-context-5.3.33.jar:5.3.33]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591) ~[spring-context-5.3.33.jar:5.3.33]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:399) ~[spring-web-5.3.33.jar:5.3.33]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:278) ~[spring-web-5.3.33.jar:5.3.33]
at com.atlassian.config.spring.BootstrappedContainerContext.refresh(BootstrappedContainerContext.java:24) ~[atlassian-config-1.2.0.jar:?]
at com.atlassian.bamboo.setup.DefaultHibernateConfigurator.refreshSpringContextAndCreateDatabase(DefaultHibernateConfigurator.java:127) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.bamboo.setup.DefaultHibernateConfigurator.configureDatabase(DefaultHibernateConfigurator.java:70) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.bootstrapDatabase(DefaultAtlassianBootstrapManager.java:223) ~[atlassian-config-1.2.0.jar:?]
at com.atlassian.bamboo.ww2.actions.setup.SetupUtilityBean.setupStandardDatabase(SetupUtilityBean.java:170) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.bamboo.ww2.actions.setup.SetupDatabaseConnectionAction.lambda$execute$0(SetupDatabaseConnectionAction.java:92) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.bamboo.setup.DefaultSetupPersister.executeSetupStep(DefaultSetupPersister.java:80) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.bamboo.ww2.actions.setup.SetupDatabaseConnectionAction.execute(SetupDatabaseConnectionAction.java:90) ~[atlassian-bamboo-web-9.6.1.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at ognl.OgnlRuntime.invokeMethodInsideSandbox(OgnlRuntime.java:1266) ~[ognl-3.1.29.jar:?]
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:1251) ~[ognl-3.1.29.jar:?]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1969) ~[ognl-3.1.29.jar:?]
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68) ~[ognl-3.1.29.jar:?]
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:98) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:90) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:2045) ~[ognl-3.1.29.jar:?]
at ognl.ASTMethod.getValueBody(ASTMethod.java:97) ~[ognl-3.1.29.jar:?]
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) ~[ognl-3.1.29.jar:?]
at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.1.29.jar:?]
at ognl.Ognl.getValue(Ognl.java:537) ~[ognl-3.1.29.jar:?]
at ognl.Ognl.getValue(Ognl.java:501) ~[ognl-3.1.29.jar:?]
at com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(OgnlUtil.java:531) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecuteMethod(OgnlUtil.java:583) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(OgnlUtil.java:529) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:438) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:293) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:55) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at java.lang.Thread.run(Thread.java:842) ~[?:?]
Caused by: java.lang.IllegalStateException: Unable to access key store
at com.atlassian.bamboo.amq.BambooBrokerService$2.create(BambooBrokerService.java:101) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at com.atlassian.bamboo.amq.BambooBrokerService$2.create(BambooBrokerService.java:91) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at io.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:185) ~[atlassian-util-concurrent-4.0.1.jar:?]
at io.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:332) ~[atlassian-util-concurrent-4.0.1.jar:?]
at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:150) ~[atlassian-util-concurrent-4.0.1.jar:?]
... 88 more
Caused by: java.io.IOException: keystore password was incorrect
at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2159) ~[?:?]
at sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:221) ~[?:?]
at java.security.KeyStore.load(KeyStore.java:1473) ~[?:?]
at com.atlassian.bamboo.security.BCKeyStoreFactory.loadKeyStore(BCKeyStoreFactory.java:95) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at com.atlassian.bamboo.security.JmsSslManagementUtils.getKeyStore(JmsSslManagementUtils.java:84) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at com.atlassian.bamboo.security.JmsSslManagementUtils.getBrokerKeyStore(JmsSslManagementUtils.java:53) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at com.atlassian.bamboo.amq.BambooBrokerService$2.create(BambooBrokerService.java:96) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at com.atlassian.bamboo.amq.BambooBrokerService$2.create(BambooBrokerService.java:91) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at io.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:185) ~[atlassian-util-concurrent-4.0.1.jar:?]
at io.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:332) ~[atlassian-util-concurrent-4.0.1.jar:?]
at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:150) ~[atlassian-util-concurrent-4.0.1.jar:?]
... 88 more
Caused by: java.security.UnrecoverableKeyException: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2159) ~[?:?]
at sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:221) ~[?:?]
at java.security.KeyStore.load(KeyStore.java:1473) ~[?:?]
at com.atlassian.bamboo.security.BCKeyStoreFactory.loadKeyStore(BCKeyStoreFactory.java:95) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at com.atlassian.bamboo.security.JmsSslManagementUtils.getKeyStore(JmsSslManagementUtils.java:84) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at com.atlassian.bamboo.security.JmsSslManagementUtils.getBrokerKeyStore(JmsSslManagementUtils.java:53) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at com.atlassian.bamboo.amq.BambooBrokerService$2.create(BambooBrokerService.java:96) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at com.atlassian.bamboo.amq.BambooBrokerService$2.create(BambooBrokerService.java:91) ~[atlassian-bamboo-agent-core-9.6.1.jar:?]
at io.atlassian.util.concurrent.ResettableLazyReference$InternalReference.create(ResettableLazyReference.java:185) ~[atlassian-util-concurrent-4.0.1.jar:?]
at io.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:332) ~[atlassian-util-concurrent-4.0.1.jar:?]
at io.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:150) ~[atlassian-util-concurrent-4.0.1.jar:?]
... 88 more
2024-04-29 12:58:32,927 INFO [performSetupDatabaseConnectionBackgroundThread] [GrpcCertificateUtils] Bouncy Castle provider already present
2024-04-29 12:58:38,046 INFO [performSetupDatabaseConnectionBackgroundThread] [BambooActiveMQConnectionFactory] Setting broker URL to 'vm://bamboo?create=false'
2024-04-29 12:58:39,591 INFO [performSetupDatabaseConnectionBackgroundThread] [StdSchedulerFactory] Using default implementation for ThreadExecutor
2024-04-29 12:58:39,593 INFO [performSetupDatabaseConnectionBackgroundThread] [SchedulerSignalerImpl] Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2024-04-29 12:58:39,593 INFO [performSetupDatabaseConnectionBackgroundThread] [QuartzScheduler] Quartz Scheduler v.2.3.2 created.
2024-04-29 12:58:39,593 INFO [performSetupDatabaseConnectionBackgroundThread] [RAMJobStore] RAMJobStore initialized.
2024-04-29 12:58:39,593 INFO [performSetupDatabaseConnectionBackgroundThread] [QuartzScheduler] Scheduler meta-data: Quartz Scheduler (v2.3.2) 'scheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
2024-04-29 12:58:45,532 ERROR [performSetupDatabaseConnectionBackgroundThread] [ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grpcServer': Invocation of init method failed; nested exception is java.io.IOException: Failed to bind to address 0.0.0.0/0.0.0.0:9090
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:440) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1796) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:620) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:209) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) ~[spring-context-5.3.33.jar:5.3.33]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:591) ~[spring-context-5.3.33.jar:5.3.33]
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:399) ~[spring-web-5.3.33.jar:5.3.33]
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:278) ~[spring-web-5.3.33.jar:5.3.33]
at com.atlassian.config.spring.BootstrappedContainerContext.refresh(BootstrappedContainerContext.java:24) ~[atlassian-config-1.2.0.jar:?]
at com.atlassian.bamboo.setup.DefaultHibernateConfigurator.refreshSpringContextAndCreateDatabase(DefaultHibernateConfigurator.java:127) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.bamboo.setup.DefaultHibernateConfigurator.configureDatabase(DefaultHibernateConfigurator.java:70) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.config.bootstrap.DefaultAtlassianBootstrapManager.bootstrapDatabase(DefaultAtlassianBootstrapManager.java:223) ~[atlassian-config-1.2.0.jar:?]
at com.atlassian.bamboo.ww2.actions.setup.SetupUtilityBean.setupStandardDatabase(SetupUtilityBean.java:170) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.bamboo.ww2.actions.setup.SetupDatabaseConnectionAction.lambda$execute$0(SetupDatabaseConnectionAction.java:92) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.bamboo.setup.DefaultSetupPersister.executeSetupStep(DefaultSetupPersister.java:80) ~[atlassian-bamboo-web-9.6.1.jar:?]
at com.atlassian.bamboo.ww2.actions.setup.SetupDatabaseConnectionAction.execute(SetupDatabaseConnectionAction.java:90) ~[atlassian-bamboo-web-9.6.1.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at ognl.OgnlRuntime.invokeMethodInsideSandbox(OgnlRuntime.java:1266) ~[ognl-3.1.29.jar:?]
at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:1251) ~[ognl-3.1.29.jar:?]
at ognl.OgnlRuntime.callAppropriateMethod(OgnlRuntime.java:1969) ~[ognl-3.1.29.jar:?]
at ognl.ObjectMethodAccessor.callMethod(ObjectMethodAccessor.java:68) ~[ognl-3.1.29.jar:?]
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethodWithDebugInfo(XWorkMethodAccessor.java:98) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.ognl.accessor.XWorkMethodAccessor.callMethod(XWorkMethodAccessor.java:90) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at ognl.OgnlRuntime.callMethod(OgnlRuntime.java:2045) ~[ognl-3.1.29.jar:?]
at ognl.ASTMethod.getValueBody(ASTMethod.java:97) ~[ognl-3.1.29.jar:?]
at ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:212) ~[ognl-3.1.29.jar:?]
at ognl.SimpleNode.getValue(SimpleNode.java:258) ~[ognl-3.1.29.jar:?]
at ognl.Ognl.getValue(Ognl.java:537) ~[ognl-3.1.29.jar:?]
at ognl.Ognl.getValue(Ognl.java:501) ~[ognl-3.1.29.jar:?]
at com.opensymphony.xwork2.ognl.OgnlUtil$3.execute(OgnlUtil.java:531) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.ognl.OgnlUtil.compileAndExecuteMethod(OgnlUtil.java:583) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.ognl.OgnlUtil.callMethod(OgnlUtil.java:529) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:438) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:293) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:55) ~[struts2-core-2.5.33-atlassian-1.jar:2.5.33-atlassian-1]
at java.lang.Thread.run(Thread.java:842) ~[?:?]
Caused by: java.io.IOException: Failed to bind to address 0.0.0.0/0.0.0.0:9090
at io.grpc.netty.shaded.io.grpc.netty.NettyServer.start(NettyServer.java:326) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.internal.ServerImpl.start(ServerImpl.java:185) ~[grpc-core-1.58.0.jar:1.58.0]
at io.grpc.internal.ServerImpl.start(ServerImpl.java:94) ~[grpc-core-1.58.0.jar:1.58.0]
at com.atlassian.bamboo.grpc.GrpcServer.startGrpcServer(GrpcServer.java:124) ~[atlassian-bamboo-core-9.6.1.jar:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) ~[spring-beans-5.3.33.jar:5.3.33]
at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ~[spring-beans-5.3.33.jar:5.3.33]
... 44 more
Caused by: java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method) ~[?:?]
at sun.nio.ch.Net.bind(Net.java:555) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.netBind(ServerSocketChannelImpl.java:337) ~[?:?]
at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:294) ~[?:?]
at io.grpc.netty.shaded.io.netty.channel.socket.nio.NioServerSocketChannel.doBind(NioServerSocketChannel.java:141) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.channel.AbstractChannel$AbstractUnsafe.bind(AbstractChannel.java:562) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.channel.DefaultChannelPipeline$HeadContext.bind(DefaultChannelPipeline.java:1334) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.invokeBind(AbstractChannelHandlerContext.java:600) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.channel.AbstractChannelHandlerContext.bind(AbstractChannelHandlerContext.java:579) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.channel.DefaultChannelPipeline.bind(DefaultChannelPipeline.java:973) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.channel.AbstractChannel.bind(AbstractChannel.java:260) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.bootstrap.AbstractBootstrap$2.run(AbstractBootstrap.java:356) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:569) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[grpc-netty-shaded-1.58.0.jar:1.58.0]
at io.grpc.netty.shaded.io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[grpc-netty-shaded-1.58.0.jar:1.58
6: I am able to access Bamboo setup from the UI.
Thanks and Regards
Pratik N Rumale
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Pratik N Rumale ,
May I know which Path you have configured for Java_Home on both Windows and Linux servers?
Is it the JRE or JDK path of Java?
For Bamboo to start, the JAVA_HOME environment variable should be pointing to the root directory of the JDK.
I see you are using an SQL server for the Database. Is it running on the same server where Bamboo is running?
Does the DB user provided for Bamboo have complete access on the Database schema used for Bamboo?
Regards,
Jyothi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.