Note: This applies to DocuShare v6.6.1 (patch 2).
Issue
Unable to add content after a fresh install, the admin user can log in and add user and group accounts, but cannot add any content to the existing top level collections. Site is running in 3 bit permission mode.
When adding new content, the following error is displayed:
Error code 9
Illegal value
Stack trace:
com.xerox.docushare.DSException: In three-bit permission mode, all of the read bits must be the same value as each other and all of the write bits must be the same value as each other
at com.xerox.docushare.impl.server.BackendSessionImpl.assureThreeBitACL(BackendSessionImpl.java:24119)
at com.xerox.docushare.impl.server.BackendSessionImpl.assureCreateObjectACL(BackendSessionImpl.java:24225)
at com.xerox.docushare.impl.server.BackendSessionImpl.createObject(BackendSessionImpl.java:4516)
at com.xerox.docushare.impl.server.BackendSessionImpl.createObject(BackendSessionImpl.java:4348)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
at sun.rmi.transport.Transport$1.run(Transport.java:159)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Solution
1. Open the properties of the a Top Level Collection. The View Properties page displays.
2. Select Permissions link on the left. The Permissions page displays.
3. Verify the Site Administrator (admin) account has reader, writer and manager rights assigned.
4. From the Options drop down menu, select apply all permissions to This container OR This container and its objects, including objects that appear in multiple locations. Since the site was new with no content, we choose to apply permissions to the container and its objects.
5. Click the Apply button.
6. Open a Command Prompt window.
7. Change into the \Xerox\Docushare\bin directory.
8. Type resetIndexes and press Enter.
Note: The resetIndexes command will rebuild the default set of DocuShare database indices. The resetIndexes command drops all DocuShare defined database indexes. Then reapplies them. When running, the command displays a log line for each drop and each add.
Solution Published: April 27th, 2012
Solution ID: 1103