COnfluence start up issue

[confluence@JIRA_6 confluence]$ bin/

To run Confluence in the foreground, start the server with -fg
executing as current user
If you encounter issues starting up Confluence, please see the Installation guide at

Server startup logs are located in /opt/atlassian/confluence/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/confluence
Using CATALINA_HOME: /opt/atlassian/confluence
Using CATALINA_TMPDIR: /opt/atlassian/confluence/temp
Using JRE_HOME: /opt/java/jre1.7.0
Using CLASSPATH: /opt/atlassian/confluence/bin/bootstrap.jar:/opt/atlassian/confluence/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/confluence/work/
Existing PID file found during start.
Removing/clearing stale PID file.
Tomcat started.


Unrecognized VM option 'UseGCLogFileRotation'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.



This is happening on a RH 64 bit VM. I teied various xms/xmx setting , so far no luck


current settings are


#CATALINA_OPTS="$CATALINA_OPTS -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -XX:+UseG1GC"
CATALINA_OPTS="$CATALINA_OPTS -Xms512m -Xmx1536m -XX:MaxPermSize=256m -XX:+UseG1GC"


Please advise

4 answers

0 votes

Sounds like you're using a version of Java that does not support that option.

What type and version are you using? (open jdk, oracle java etc, and the actual version.  java -v will tell you)

I am using oracle jre 1.7.0

[confluence@JIRA_6 confluence]$ which java
[confluence@JIRA_6 confluence]$ java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
[confluence@JIRA_6 confluence]$


This was working with 


CATALINA_OPTS="$CATALINA_OPTS -Xms256m -Xmx512m -XX:MaxPermSize=256m -XX:+UseG1GC"


However, after restart I am constantly getting this..



After removing GC options from, I was able to get confluence up. 


However during mysql database setup, I am getting


2015-01-05 13:51:09,506 INFO [http-bio-8090-exec-6] [atlassian.plugin.manager.DefaultPluginManager] lateStartup Plugin system lateStartup begun
2015-01-05 13:51:09,510 ERROR [http-bio-8090-exec-6] [confluence.setup.actions.SetupPathsAction] execute Unable to setup paths to system
-- referer: | url: /setup/setuppaths.action | userName: anonymous | action: setuppaths
java.lang.IllegalStateException: Cannot go from State: STARTED to: RESUMING


Any suggestions?

I got it to work with oracle jre 1.7.71. I guess 1.7.0 has issues.




Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

1,115 views 59 8
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you