Jira sandbox failing

Hi all,

I am trying to create a sandbox from JIRA 7.2.6 and every time I try I get the following in the logs:

(I create the sandbox by making a copy of the DB and each directory {/opt/atlassian/ /var/atlassian/} on another machine and I was able to do this with all the previous versions?!?)

2017-03-12 13:07:25,035 JIRA-Bootstrap ERROR [c.a.jira.startup.LauncherContextListener] Unable to start JIRA.
com.google.common.util.concurrent.ExecutionError: java.lang.NoClassDefFoundError: com/atlassian/jira/util/log/RateLimitingLogger
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
at com.google.common.cache.LocalCache$LocalLoadingCache.getUnchecked(LocalCache.java:4830)
at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:107)
at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(CoreFactory.java:34)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.configureOfbiz(DatabaseConfigurationManagerImpl.java:215)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(DatabaseConfigurationManagerImpl.java:295)
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseConfigured(DatabaseConfigurationManagerImpl.java:199)
at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(DefaultJiraLauncher.java:130)
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(DefaultJiraLauncher.java:101)
at com.atlassian.jira.util.devspeed.JiraDevSpeedTimer.run(JiraDevSpeedTimer.java:31)
at com.atlassian.jira.startup.DefaultJiraLauncher.start(DefaultJiraLauncher.java:99)
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(LauncherContextListener.java:149)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: com/atlassian/jira/util/log/RateLimitingLogger
at com.atlassian.jira.ofbiz.JiraSQLInterceptorFactory.newSQLInterceptor(JiraSQLInterceptorFactory.java:23)
at org.ofbiz.core.entity.jdbc.SQLInterceptorSupport.getNonNullSQLInterceptor(SQLInterceptorSupport.java:63)
at org.ofbiz.core.entity.jdbc.SQLInterceptorSupport.getNonNullDelegate(SQLInterceptorSupport.java:86)
at org.ofbiz.core.entity.jdbc.SQLInterceptorSupport.getNonNullSQLConnectionInterceptor(SQLInterceptorSupport.java:81)
at org.ofbiz.core.entity.jdbc.interceptors.connection.ConnectionTracker.informInterceptor(ConnectionTracker.java:73)
at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.trackConnection(DBCPConnectionFactory.java:317)
at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.getConnection(DBCPConnectionFactory.java:108)
at org.ofbiz.core.entity.ConnectionFactory.tryGenericConnectionSources(ConnectionFactory.java:69)
at org.ofbiz.core.entity.transaction.JNDIFactory.getConnection(JNDIFactory.java:164)
at org.ofbiz.core.entity.TransactionFactory.getConnection(TransactionFactory.java:136)
at org.ofbiz.core.entity.ConnectionFactory.getConnection(ConnectionFactory.java:59)
at org.ofbiz.core.entity.ConnectionFactory$1.getConnection(ConnectionFactory.java:52)
at org.ofbiz.core.entity.jdbc.DatabaseUtil.getConnection(DatabaseUtil.java:133)
at org.ofbiz.core.entity.jdbc.DatabaseUtil.getTableNames(DatabaseUtil.java:904)
at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:167)
at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:145)




1 answer

Hi Robert!

Your approach is still doable and I do it frequently. Look at the stack trace available all points lead to your database. Check your dbconfig.xml and verify you can connect and do all the necessary operations/permission with that user.

Br, Niclas

Even with JIRA version 7.2?   The database should be good as with the same user on the same system I was doing it with 6.4.7, and it worked like a champ.     I went into my grants and they looked good, I then redid the grants.  still exact same error.

I've done it recently on 7.2 like last week. 7.1 and 7.3 during the month wink

Windows and Linux so I'm quite certain it should work.

Looking at the stack again it clearly states:

Caused by: java.lang.NoClassDefFoundError: com/atlassian/jira/util/log/RateLimitingLogger

This doesn't ring any bells you done something with this class?

Found a KB:


Right I could find nothing on RateLimitingLogger.  I saw the above link and so I put Production JIRA into safe mode first took a clean snapshot and still the exact same problem.  I opened a case with support.atlassian.com ...   If anyone know what RateLimitingLogger and why my sandbox cannot find it I would be very interested.



So nothing stands out in the log before the crash when trying safe mode? Maybe your copy wasn't complete for some reason? I know this is vague but apparently your source is working.

Thanks I finally got it going.  It was my rsync of the server it did not happen corectly.    Which is strange as I redid it multiple times, but must have just made the same mistake each time.

Hi @Robert G. Nadon,

I believe I know what failed you - you have probably `--exclude='log/**'`, which just so happens to also exclude content in *all* dirs called `log` - including content in `jira-atlassian/WEB-INF/classes/com/atlassian/jira/util/log/`, where RateLimitingLogger.class resides ;-)

Like 1 person likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

827 views 3 9
Read article

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