Cannot start JIRA, Catalina class not found

When I try to start JIRA 6.2.1 standalone (via the bin/startup.sh script) I get this in the catalina.out log (and nothing else) and it dies:

java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.apache.catalina.startup.Bootstrap.init(Bootstrap.java:236)
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:426)

Does anyone have any ideas?

4 answers

1 accepted

I opened a support case for this, and this turned out to be my fault. I was, during my upgrade procedure, overwriting catalina.properties, thus wiping out all the config that was already there.

I run the following command, and get the below output, but then it drops back to a prompt, and there are no JIRA processes running.

# /bin/su -m jira -c ../bin/startup.sh
                .....
          .... .NMMMD.  ...
        .8MMM.  $MMN,..~MMMO.
        .?MMM.         .MMM?.

     OMMMMZ.           .,NMMMN~
     .IMMMMMM. .NMMMN. .MMMMMN,
       ,MMMMMM$..3MD..ZMMMMMM.
        =NMMMMMM,. .,MMMMMMD.
         .MMMMMMMM8MMMMMMM,
           .ONMMMMMMMMMMZ.
             ,NMMMMMMM8.
            .:,.$MMMMMMM
          .IMMMM..NMMMMMD.
         .8MMMMM:  :NMMMMN.
         .MMMMMM.   .MMMMM~.
         .MMMMMN    .MMMMM?.

      Atlassian JIRA
      Version : 6.2.1
                  
Detecting JVM PermGen support...
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20110203_74623 (JIT enabled, AOT enabled)
PermGen switch is NOT supported and will NOT be set automatically.

If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide


Server startup logs are located in /data/opt/local/jira/current/logs/catalina.out
Using CATALINA_BASE:   /data/opt/local/jira/current
Using CATALINA_HOME:   /data/opt/local/jira/current
Using CATALINA_TMPDIR: /data/opt/local/jira/current/temp
Using JRE_HOME:        /usr/lib64/jvm/jre
Using CLASSPATH:       /data/opt/local/jira/current/bin/bootstrap.jar:/data/opt/local/jira/current/bin/tomcat-juli.jar
Using CATALINA_PID:    /data/opt/local/jira/current/work/catalina.pid

As I see you are using IBM J9 Java Virtual Machine with JRE 1.6.0 compatibility. Probably that is causing the issues that you see.

JIRA supports just Oracle JDK 1.7 (see https://confluence.atlassian.com/display/JIRA062/Supported+Platforms) as well as typically there are no problems with using OpenJDK 1.7 as well.

0 vote

Raimonds's suggestion is a valid one, Joshua. Given that, can you confirm if the change of JDK would change this behaviour?

Otherwise, since this could be caused by different factors such connection between the instance and the database or a corrupted data, would you mind to provide us the output from the timestamp of the startup in your atlassian-jira.log, so we can track other possible causes?

Cheers,

Giu

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,311 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot