COnfluence start up issue

[confluence@JIRA_6 confluence]$ bin/start-confluence.sh

To run Confluence in the foreground, start the server with start-confluence.sh -fg
executing as current user
If you encounter issues starting up Confluence, please see the Installation guide at http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide

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/catalina.pid
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
/opt/java/jre1.7.0/bin/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..

Hello,

 

After removing GC options from setenv.sh, 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: http://10.0.20.100:8090/setup/setuppaths.action | 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.

 

Thanks

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 24, 2018 in Confluence

Atlassian Research opportunity with Confluence templates

Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time!   We're looking for people to participate in a   remote 1-hr workshop...

1,059 views 16 14
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