Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,523
Community Members
 
Community Events
176
Community Groups

The session manager failed to start org.apache.catalina.LifecycleException

Hi,

have anyone already faced that issue with start of Bitbucket service?

I'm getting following error in catalina.out log file. 

08-Oct-2019 21:53:50.782 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.startInternal The session manager failed to start
org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.session.StandardManager[/bitbucket]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5253)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [org.apache.catalina.util.StandardSessionIdGenerator@c9a539]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
at org.apache.catalina.session.ManagerBase.startInternal(ManagerBase.java:620)
at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:456)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 8 more
Caused by: java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.FileSystems$DefaultFileSystemHolder
at java.nio.file.FileSystems.getDefault(FileSystems.java:176)
at java.io.File.toPath(File.java:2234)
at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:190)
at sun.security.provider.SeedGenerator$1.run(SeedGenerator.java:168)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.provider.SeedGenerator.getSystemEntropy(SeedGenerator.java:168)
at sun.security.provider.SecureRandom$SeederHolder.<clinit>(SecureRandom.java:201)
at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:221)
at java.security.SecureRandom.nextBytes(SecureRandom.java:468)
at java.security.SecureRandom.next(SecureRandom.java:491)
at java.util.Random.nextInt(Random.java:329)
at org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom(SessionIdGeneratorBase.java:237)
at org.apache.catalina.util.SessionIdGeneratorBase.getRandomBytes(SessionIdGeneratorBase.java:174)
at org.apache.catalina.util.StandardSessionIdGenerator.generateSessionId(StandardSessionIdGenerator.java:34)
at org.apache.catalina.util.SessionIdGeneratorBase.generateSessionId(SessionIdGeneratorBase.java:167)
at org.apache.catalina.util.SessionIdGeneratorBase.startInternal(SessionIdGeneratorBase.java:256)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 11 more

 

We are currently using following version of OpenJDK

openjdk version "1.8.0_191"
OpenJDK Runtime Environment (build 1.8.0_191-b12)
OpenJDK Server VM (build 25.191-b12, mixed mode)

The execution of startup.sh skript is not throwing any errors:

Using BITBUCKET_HOME: /kunden/xxx/atlassian/bitbucket
Using CATALINA_BASE: /kunden/xxx/ms_appl/atlassian-bitbucket-4.4.1
Using CATALINA_HOME: /kunden/xxx/ms_appl/atlassian-bitbucket-4.4.1
Using CATALINA_TMPDIR: /kunden/xxx/ms_appl/atlassian-bitbucket-4.4.1/temp
Using JRE_HOME: /opt/jdk1.8
Using CLASSPATH: /kunden/xxx/ms_appl/atlassian-bitbucket-4.4.1/bin/bitbucket-bootstrap.jar:/kunden/xxx/ms_appl/atlassian-bitbucket-4.4.1/bin/bootstrap.jar:/kunden/xxx/ms_appl/atlassian-bitbucket-4.4.1/bin/tomcat-juli.jar
Using CATALINA_PID: /kunden/xxx/serverboot/pid/bitbucket
Tomcat started.

 

I can see the Java Tomcat process running, but the Bitbucket server is not running at all and brings me HTTP error 404 by attempt to access the login page

Thanks in advance!

1 answer

Hi Illya Shamis
Did you solve that problem?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events