cancel
Showing results for 
Search instead for 
Did you mean: 

AVMRemote from remote

paolocandelo
Champ in-the-making
Champ in-the-making
Hi,

as I understood, AVMRemote should give the capability to access the content repository from remote, outside Alfresco server/virt-server.
The examples I found are of the following type:


JNDIPath jndiPath = new JNDIPath(AVMFileDirContext.getAVMFileDirMountPoint(), getRealPath(path));

avmPath = jndiPath.getAvmPath();

entries = avmRemote.getDirectoryListing(-1, avmPath);

This works fine if running within Alfresco but, if not running within Alfresco, getAVMFileDirMountPoint() call returns NULL and I get an exception from the JNDIPath constructor.

I have correctly configured alfresco-virtserver.properties to create a CIFS mount, but I really don't understand how it could work even on a remote machine!

Thank you.
1 REPLY 1

sacco
Champ in-the-making
Champ in-the-making