cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS issues

paul_jacobs
Champ in-the-making
Champ in-the-making
I've installed Alfreso/JBoss with no trouble.  The Web client runs fine.  I've gotten CIFS running on one installation for testing. 

I can't get it running on a second install.  The second one is part of a domain, but I can't change the domain in file-server-custom.xml.  Any changes I make there don't appear to take affect.

There is another thread :

http://forums.alfresco.com/viewtopic.php?t=4937&sid=35f67d151459bdea082603ec4e04de1f

That describes what I think is the same problem but I can't see the files where they are described here.

Has anyone had this issue?
2 REPLIES 2

rivetlogic
Champ on-the-rise
Champ on-the-rise
Hi,

You need to remove the .sample from network-protocol-context.xml.sample.

In JBoss you would find this file under:

JBOSS_HOME\server\<config-name>\conf\alfresco\extension\

Hope this helps,

–Aladdin

prototribe
Champ in-the-making
Champ in-the-making
Paul,

Based on the referenced thread, there are two file-server-custom.xml files. One in the standard "extension" directory that should be there and one that appears accidentally (maybe intentionally) bundled into the aldresco.war file. Actually there may be three if your jboss explodes war files upon deployment.

You can cheat and just edit "file-servers.xml" file, though most will say not to do that (by the time you upgrade you will have forgotten that you made that change, plus a re-deploy of the war could over-write the file).

The second is removing the offending file entirely. The exact jar commands maybe a bit off as i'm going by memory.
1. Find "alfresco.war".
2a. On unix extract the archive with "jar -xvf alfresco.war" this assumes you have your path correctly set to run the jar command.
2b. On windows, open the archive the same way via a command prompt or use an archive tool like 7-zip (my preference when I have to windows).
3. Find the file "file-server-custom.xml" and delete it.
4a. On unix re-create the alfresco.war file with "jar -cvf alfresco.war alfresco"
4b.  On windows if using jar see step 4a otherwise just close the archive in 7-zip and it will prompt then save the updated version.
5. Restart jboss.

The offending path will be "alfresco\WEB-INF\classes\alfresco\extension\file-server-custom.xml" in the webapp root of jboss.

That should do the trick.
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.