Forums

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

JVM error during jira tomcat server startup

Preethi Lakshmanan January 4, 2021

Unrecognized VM option 'PrintGCDateStamps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Java HotSpot(TM) 64-Bit Server VM warning: Ignoring option MaxPermSize; support was removed in 8.0

3 answers

0 votes
Daniel Ebers
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 6, 2021

Hi @Preethi Lakshmanan

while you state you are still using Java 8 we see no evidence as from your posting nowhere a version number can be seen.

The following knowledge base article, indeed, states clearly this is happening when applying the parameter "PrintGCDateStamps" on Java 11.

https://confluence.atlassian.com/jirakb/garbage-collection-log-settings-for-jira-when-using-java-version-11-981148994.html

Without deeper knowledge of your system I don't believe further analysis will be possible except from stating the above.

Best guess: check your setenv.sh file for occurrence of the "PrintGCDateStamps" flag and remove it accordingly - at least for a test.

Regards,
Daniel

0 votes
Gonchik Tsymzhitov
Community Champion
January 4, 2021

Hi! 

on which version did you start your jira? 8 or 11 ? 

Please, be aware the parameters was changed for the Java 9

https://confluence.atlassian.com/jirakb/garbage-collection-log-settings-for-jira-when-using-java-version-11-981148994.html

 

image.png

Preethi Lakshmanan January 4, 2021

Java 8

Gonchik Tsymzhitov
Community Champion
January 4, 2021

So please share the ps aux | grep java 

or startup parameters 

Preethi Lakshmanan January 4, 2021

preethi@Preethis-MacBook-Pro bin % ps

  PID TTY           TIME CMD

60102 ttys000    0:00.19 -zsh

62936 ttys000    0:00.03 /bin/bash ./okrapp up

63153 ttys000    0:41.13 docker-compose up

62371 ttys001    0:00.17 -zsh

65890 ttys001    1:55.45 ./ngrok start --all

63366 ttys002    0:00.16 -zsh

65167 ttys003    0:00.22 -zsh

66329 ttys004    0:00.16 -zsh

preethi@Preethis-MacBook-Pro bin % grep

usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]

[-e pattern] [-f file] [--binary-files=value] [--color=when]

[--context[=num]] [--directories=action] [--label] [--line-buffered]

[--null] [pattern] [file ...]

preethi@Preethis-MacBook-Pro bin % 

Preethi Lakshmanan January 5, 2021

any updates?

0 votes
Bastian Stehmann
Community Champion
January 4, 2021

Hi @Preethi Lakshmanan ,

It seems that you have configured the startup options in a way that is not supported by the java you are using.

Please check https://confluence.atlassian.com/adminjiraserver/setting-properties-and-options-on-startup-938847831.html

For more information. 

Preethi Lakshmanan January 4, 2021

This solution didn't resolve the issue. 

Suggest an answer

Log in or Sign up to answer