Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Access Violation Exception after installation/start and it prefends setup to complete

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

 

1 answer

@Sven-Maurice 

 

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

https://confluence.atlassian.com/bamkb/running-bambooconsole-bat-fails-on-windows-x64-with-java-io-filenotfoundexception-atlassian-bamboo-log-access-is-denied-232555366.html

 

Cheers

Kurt

Jimmy Seddon Community Leader Apr 14, 2019

@Sven-Maurice 

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

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

Jimmy Seddon Community Leader Apr 15, 2019

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!

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

LogFile on pastebin

should I start a new Thread for the next Issue?

Jimmy Seddon Community Leader Apr 16, 2019

Might not be a bad idea for anyone else searching for the issue you are running into now.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

190 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you