Missed Team ’24? Catch up on announcements here.

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

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

Illya Shamis
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 8, 2019

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

0 votes
전호성
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 23, 2022

Hi Illya Shamis
Did you solve that problem?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events