Hi,

no problem ;)

Regards
JB

On 07/15/2014 08:56 PM, jhammer03 wrote:
Thanks for the confirmation, JB.

I had newbishly/foolishly assumed that any jar dropped in the
$KARAF_HOME/lib directory would be auto-magically added to the classpath.
One of the things that tripped me up was the less-than-informative message:
"Exception instantiating lock class...", which I was receiving from Karaf
when I started debugging.

I was able to get my class loaded by prefacing the name of my jar with
"karaf-", and also by appending the name of the jar to the $CLASSPATH
variable in the $KARAF_HOME/bin/karaf script.

Thanks again,

- j




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Custom-karaf-main-lock-Lock-implementation-is-it-possible-tp4034214p4034228.html
Sent from the Karaf - User mailing list archive at Nabble.com.


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to