Plugins issue when staging uses an embedded DB and Prod uses a real DB

This question is in reference to Atlassian Documentation: Establishing Staging Server Environments for JIRA

As I can not get a real DB in the staging environment I am using a 'Embebed Local DB'.

I am using a zip from prod (for the files in the install, and home directories), with a DB created from a fresh install.

I then Import a (xml) backup of prod to copy the data across.

When I import the xml backup into staging I get lots of ClassNotFound errors even though the plugins have been copied across.

What is the best way to ensure all plugins are exactly the same version as the Prod system and all are licensed and loaded correctly? And/or what is the recomened approach to refreshing staging when it uses an embeded DB.

Thanks

Dwane

 


 Example ClassNotFound messages:

  Caused by: java.lang.ClassNotFoundException: Class 'com.atlassian.jira.util.CreateSubtask' not found.

  Caused by: java.lang.ClassNotFoundException: Class 'com.atlassian.jira.util.PriorityListener' not found.

  Caused by: java.lang.ClassNotFoundException: Class 'org.hakanai.jira.plugins.order.listener.IssueOrderIssueListener' not found.

  Caused by: java.lang.ClassNotFoundException: Class 'org.hakanai.jira.plugins.order.service.IssueOrderQueueService' not found.

 

 

1 answer

1 accepted

This widget could not be displayed.

This was sorted by editing the entities.xml file contained in the backup to remove the offending entries.

These seem to be left over from plugins that were installed, then uninstalled in production.

The exact result of deleteing these lines could not be determined, but at the IDs in the lines seemed not to be used else where it seemed safe enough for staging.

Suggest an answer

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

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

172 views 1 3
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