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

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

Could not load bootstrap from environment. Premature end of file.


Confluence version 7.4.6

auto reboot server confluence doesnt start



Descriptions: Could not load bootstrap from environment
Time: 2021-03-19 15:35:02

Level: fatal

Exception: BootstrapException: Unable to bootstrap application: Failed to parse config file: Error on line -1 of document : Premature end of file. Nested exception: Premature end of file.

log files from server:

2 answers

0 votes
Daniel Ebers Community Leader Apr 04, 2021

Hi @Виталий Фомин

I am not following by your last reply. Have you checked confluence.cfg.xml and it did not help, is this correct?

Please also review the basics of the server, for example if there is sufficient disk space available and permissions set right according to installation guide.

Is the error still coming up when you try to start Confluence? If so, is it the same error or do you meanwhile get another error message?

Please provide as many details as possible. Somebody from Community is then more likely being able to help.


0 votes
Pavel Junek Community Leader Mar 19, 2021

Hi @Виталий Фомин,

Welcome to Atlassian community!

You can try see this thread. There may be a problem with the file confluence.cfg.xml


It is How to Generate a New confluence.cfg.xml good instraction but need to add to configuration strings:

<property name="hibernate.connection.password">db_password</property>
<property name="hibernate.connection.url">jdbc:postgresql://localhost:5432/confluencedatabasename</property>
<property name="hibernate.connection.username">yourDBuser</property>

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,377 views 7 29
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