Bug 1006315 - NoClassDefFoundError during migration
Summary: NoClassDefFoundError during migration
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Installer
Version: 4.9
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
: RHQ 4.9
Assignee: Stefan Negrea
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks: 951619
TreeView+ depends on / blocked
 
Reported: 2013-09-10 12:28 UTC by Armine Hovsepyan
Modified: 2015-09-03 00:01 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-09-24 19:08:45 UTC
Embargoed:


Attachments (Terms of Use)
migration.log (1.99 KB, text/x-log)
2013-09-10 12:28 UTC, Armine Hovsepyan
no flags Details
migration.png (41.27 KB, image/png)
2013-09-11 12:42 UTC, Armine Hovsepyan
no flags Details

Description Armine Hovsepyan 2013-09-10 12:28:04 UTC
Created attachment 795985 [details]
migration.log

Description of problem:
NoClassDefFoundError during migration

Version-Release number of selected component (if applicable):
f6efa70

How reproducible:
always

Steps to Reproduce:
1. install rhq 4.5
2. upgrade rhq 4.5 to 4.9
3. run rhq-data-migration.sh/bat

Actual results:
NoClassDefFoundError: org/rhq/core/util/obf
uscation/PicketBoxObfuscator

Expected results:
migration take part without issues

Additional info:
reproduced on both windows and linux envs
log attached

Comment 1 Jay Shaughnessy 2013-09-10 16:48:49 UTC
commit 4bef51991629aa65034b8798cb5eedff0bc8dafd
Author: Stefan Negrea <snegrea>
Date:   Tue Sep 10 11:27:34 2013 -0500

- added rhq-core-util to the list of module dependencies
- removed compression settings since the compression will not be available at all

Comment 2 Stefan Negrea 2013-09-10 17:06:06 UTC
There were two problems with the data migration tool after recent changes in the obfuscation code and Cassandra compression. First, the dependency on rhq-core-util was not correctly declared in the module.xml and also not packaged with the module by the build system. Second, the compression option was still left in the code even though it was completely disabled for the storage node. Fixed both problems with the commit above. Please retest.

Comment 3 Armine Hovsepyan 2013-09-11 12:40:55 UTC
verified
please get screen-shot attached

Comment 4 Armine Hovsepyan 2013-09-11 12:42:00 UTC
Created attachment 796359 [details]
migration.png

verification buildId:4bef519

Comment 5 Heiko W. Rupp 2013-09-24 19:08:45 UTC
Bulk closing of RHQ 4.9 verified items


Note You need to log in before you can comment on or make changes to this bug.