Hi,
Has anyone tried to install either confluence-5.5-OD-31-009 or confluence-5.6-OD-34-014 on a Mac with OS X Yosemite? I have successfully done this in the past on the older OS X Mavericks. I'm experiencing two different problems on Yosemite, e.g. for confluence-5.5-OD-31-009, I couldn't unzip it, but once unzipped, I could easily run it. For confluence-5.6-OD-34-014, I could unzip and install, but I'm getting strange errors in the catalina.out log, when trying to run it:
"Error: A fatal exception has occurred. Program will exit.
Invalid file name for use with -Xloggc: Filename can only contain the characters [A-Z][a-z][0-9]-_.%[p|t] but it has been /Users/emmarun/Atlassian/confluence-5.6-OD-34-014/logs/gc-2014-11-04_13:14:56.log
Note %p or %t can only be used once"
The "gc-2014-11-04_13:14:56.log", doesn't actually exists, so this isn't making sense.
Best regards,
Emma Rún
I worked around this by altering setenv.sh like this. Change this line:
#CATALINA_OPTS="$CATALINA_OPTS -Xloggc:$LOGBASEABS/logs/gc-`date +%F_%T`.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M"
To this:
CATALINA_OPTS="$CATALINA_OPTS -Xloggc:$LOGBASEABS/logs/gc-`date +%F_%T|sed -e 's/://g'`.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=2M"
However it still won't start, it is now complaining about:
2014-11-15 10:11:26,078 WARN [localhost-startStop-1] [atlassian.config.bootstrap.DefaultAtlassianBootstrapManager] init Unable to set up application config: no home set
Followed by reams of java errors
I was also hit by the error with the invalid file name, but on Debian.
Installation details:
The question was posted on SO, I wrote a comment with a workaround there. http://stackoverflow.com/questions/26745701/confluence-giving-weird-exception-invalid-file-name-for-use-with-xloggc-while
I assume the problem is the missing file the format of the filename.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.