manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fuad Efendi" <>
Subject RE: Strange Classloader Problem
Date Mon, 04 Apr 2011 16:52:12 GMT
Hi Karl,

I have hbase.jar file in connector-lib folder, and it seems it is loaded
except hbase-default.xml file inside this hbase.jar file;

1. java -jar start.jar
Caused by: java.lang.RuntimeException: hbase-default.xml file seems to be
for and old version of HBase (null), this version is 0.90.1

2. Explicit "test' command such as this one works just fine (so that nothing
wrong with hbase.jar/hbase-default.xml):
java -cp

Putting hbase.jar into "lib" doesn't help; it should be inside
"connector-lib"; and ManifoldCF doesn't see this hbase-default.xml file...

-----Original Message-----
From: Karl Wright [] 
Sent: April-04-11 12:36 PM
Subject: Re: Strange Classloader Problem

The ManifoldCF class loader is used for loading classes, not for loading XML
files.  The only XML files ManifoldCF uses are its properties.xml file and
its connectors.xml.  There should be no reason to use a special class loader
to get these files, since they are needed to bootstrap the whole system.

Where are you trying to load XML files, and for what purpose?  The place you
access a file is where you would need to add support for loading it via the
class loader.


On Mon, Apr 4, 2011 at 12:30 PM, Fuad Efendi <> wrote:
> Hi,
> I am developing output connector to HBase.
> After many hours it seems to me ManifoldCF class loader doesn't see 
> any config files (*.XML) inside connector-lib/*.jar, and I can't even 
> manage it via explicit -classpath variable. is that true?
> Thanks,
> Fuad

View raw message