It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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. java.lang.NoClassDefFoundError: com/atlassian/jira/util/log/RateLimitingLogger
at org.ofbiz.core.entity.GenericDelegator.getGenericDelegator(
at com.atlassian.core.ofbiz.CoreFactory.getGenericDelegator(
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.configureOfbiz(
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrEnqueue(
at com.atlassian.jira.config.database.DatabaseConfigurationManagerImpl.doNowOrWhenDatabaseConfigured(
at com.atlassian.jira.startup.DefaultJiraLauncher.postDbLaunch(
at com.atlassian.jira.startup.DefaultJiraLauncher.lambda$start$0(
at com.atlassian.jira.startup.DefaultJiraLauncher.start(
at com.atlassian.jira.startup.LauncherContextListener.initSlowStuff(
Caused by: java.lang.NoClassDefFoundError: com/atlassian/jira/util/log/RateLimitingLogger
at com.atlassian.jira.ofbiz.JiraSQLInterceptorFactory.newSQLInterceptor(
at org.ofbiz.core.entity.jdbc.SQLInterceptorSupport.getNonNullSQLInterceptor(
at org.ofbiz.core.entity.jdbc.SQLInterceptorSupport.getNonNullDelegate(
at org.ofbiz.core.entity.jdbc.SQLInterceptorSupport.getNonNullSQLConnectionInterceptor(
at org.ofbiz.core.entity.jdbc.interceptors.connection.ConnectionTracker.informInterceptor(
at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.trackConnection(
at org.ofbiz.core.entity.transaction.DBCPConnectionFactory.getConnection(
at org.ofbiz.core.entity.ConnectionFactory.tryGenericConnectionSources(
at org.ofbiz.core.entity.transaction.JNDIFactory.getConnection(
at org.ofbiz.core.entity.TransactionFactory.getConnection(
at org.ofbiz.core.entity.ConnectionFactory.getConnection(
at org.ofbiz.core.entity.ConnectionFactory$1.getConnection(
at org.ofbiz.core.entity.jdbc.DatabaseUtil.getConnection(
at org.ofbiz.core.entity.jdbc.DatabaseUtil.getTableNames(
at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(
at org.ofbiz.core.entity.jdbc.DatabaseUtil.checkDb(




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 ...   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 Bohdan Struk likes this

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

2,204 views 10 4
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you