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

This widget could not be displayed.

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.

This widget could not be displayed.
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

This widget could not be displayed.

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.

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

49 views 1 0
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