I am trying to connect to CRX repository using JCR API. I followed the instruction at http://wiki.apache.org/jackrabbit/RemoteAccess. If I write a plain java class and try to access the crx repository using
JcrUtils.getRepository("http://localhost:7402/crx/server");
it works perfect. If I create it as bundle and deploy it in Felix, it does not work. I have put all the required dependencies in there.