Issue
When trying to add a User, a Document, or make any change that involves manipulating the Database the following error is displayed.
com.xerox.docushare.db.DatabaseException: Creating object; nested exception is:
com.xerox.docushare.db.DatabaseException: Not licensed for SQLServer at com.xerox.docushare.db.jdbc.DbConnectionJDBC.createObjects(DbConnectionJDBC.java:2247) at com.xerox.docushare.db.jdbc.DbConnectionJDBC.createObject(DbConnectionJDBC.java:2010) at com.xerox.docushare.impl.server.BackendSessionImpl.createUser(BackendSessionImpl.java:5196) at com.xerox.docushare.impl.server.BackendSessionImpl.createUser(BackendSessionImpl.java:4920) 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)
Reason / Possible Cause
A customer is using a demo license received via the automated 30-day license key generator and their DocuShare demo install connects to SQLServer instead of SQL Express. The trial license only allows for installations with SQLExpress.
Note: You can see this in the License page under Services Enabled. If it is enabled for SQLServer there would be a service called “External Database Service“ listed.
Solution
Contact DocuShare Licensing Department and request another License Key with the External Database Service enabled and any other service you may want to test with.
Solution Published: November 22nd, 2012
Solution ID: 1230