While starting the bamboo server I get the exception:
12-Apr-2019 10:43:29.952 SEVERE [main] org.apache.catalina.valves.AccessLogValve.open Failed to open access log file [C:\Program Files\Bamboo\logs\access_log.2019-04-12]
java.io.FileNotFoundException: C:\Program Files\Bamboo\logs\access_log.2019-04-12 (Access is denied)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(FileOutputStream.java:298)
at java.base/java.io.FileOutputStream.<init>(FileOutputStream.java:237)
at org.apache.catalina.valves.AccessLogValve.open(AccessLogValve.java:651)
at org.apache.catalina.valves.AccessLogValve.startInternal(AccessLogValve.java:685)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.StandardPipeline.startInternal(StandardPipeline.java:182)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
System:
Win10
Bamboo Server Edition
Version : 6.8.1
JAVA_HOME "C:\Program Files\Java\jdk-12" contains spaces. Please change to a location without spaces if this causes problems.
If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+Bamboo+on+Windows
Using CATALINA_BASE: "C:\Program Files\Bamboo"
Using CATALINA_HOME: "C:\Program Files\Bamboo"
Using CATALINA_TMPDIR: "C:\Program Files\Bamboo\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk-12"
Using CLASSPATH: "C:\Program Files\Bamboo\bin\bootstrap.jar;C:\Program Files\Bamboo\bin\tomcat-juli.jar"
NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Hi
in the shared log there is a "Access is denied" message.
Did you check that the user, that bamboo runs as, has the right permissions to C:\Program Files\Bamboo\ and the folders below
See also
Cheers
Kurt
I agree with @Kurt Klinner also be aware that this usually gets reset after performing an upgrade to the Bamboo Server, so if you had the server running as a user with the correct permissions then recently upgraded the version of Bamboo you might need to set the service to run as the correct user again. I've been caught by that one a couple of times now.
-James
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I added my user to have modify permision bud the setup process doesn't finish
@Jimmy SeddonI don't start the bamboo server as a service I use the start-bamboo.bat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sven-Maurice,
The start-bamboo.bat file is calling 'net start Bamboo'. Because part of the installer process is the run the InstallAsService.bat which is located in the same directory.
If you check the Windows Services installed on the Bamboo server you should see one listed with the display name "Atlassian Bamboo" (or something close to that).
If you edit the properties of that service and change the Log On account to the one that has access, you can still use the StopBamboo.bat & StartBamboo.bat files to turn it on and off you should just be running with the correct user account at this point.
I hope that helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thanks , I fixed the Access Violation Issues bud there are more exception
it begins with org.apache.catalina.LifecycleException: Failed to initialize component [Connector[HTTP/1.1-8443]]
then
Unable to instantiate Action, com.atlassian.bamboo.ww2.actions.setup.SetupDefaultsAction, defined for 'setupDefaultGeneral' in namespace '/setup'Error creating bean with name 'reloadableBeanFactories' defined in class path resource [applicationContextPlugin.xml]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.config.internalTransactionAdvisor': Cannot resolve reference to bean 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0' while setting bean property 'transactionAttributeSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.transaction.annotation.AnnotationTransactionAttributeSource#0': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'customBuildCompleteActionAdvisor' defined in class path resource [applicationContextManagers.xml]: Cannot resolve reference to bean 'hibernateInterceptor' while setting bean property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateInterceptor' defined in class path resource [applicationContextPersistence.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [applicationContextPersistence.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException - action - file:/C:/Program%20Files/Bamboo/atlassian-bamboo/WEB-INF/classes/struts.xml:429:124
the rest is in the logfile
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.
Might not be a bad idea for anyone else searching for the issue you are running into now.
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.