Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

COnfluence start up issue

shailesh ligade January 5, 2015

[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
Mahesh Navale
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!
January 5, 2015

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

 

Thanks

 

0 votes
shailesh ligade January 5, 2015

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?

0 votes
shailesh ligade January 5, 2015

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..

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 5, 2015

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)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events