Hello everyone,


I'm having a problem with a workflow. Whenever i try to deploy
it from Designer i get the error:
*com.novell.admin.common.exceptions.UniqueSPIExcep tion: (Error -166) An
attempt was made to access a file that was already in use.*

This is the full java stack:


Code:
--------------------
com.novell.admin.common.exceptions.UniqueSPIExcept ion: (Error -166) An attempt was made to access a file that was already in use.

com.novell.admin.common.exceptions.UniqueSPIExcept ion.newException(UniqueSPIException.java:103)
com.novell.admin.ns.nds.jclient.NDSNamespaceImpl.r esolveSPIException(NDSNamespaceImpl.java:5538)
com.novell.admin.ns.nds.jclient.NDSNamespaceImpl.a ddStreamValue(NDSNamespaceImpl.java:7639)
com.novell.admin.ns.nds.jclient.NDSNamespaceImpl.s etAttributeImpl(NDSNamespaceImpl.java:10483)
com.novell.admin.ns.nds.jclient.NDSNamespaceImpl.u pdateImpl(NDSNamespaceImpl.java:3281)
com.novell.admin.ns.nds.jclient.NDSNamespaceImpl.u pdate(NDSNamespaceImpl.java:3155)
com.novell.prov.importdeploy.ProvObjectEntryWriter .setTrustees(ProvObjectEntryWriter.java:614)
com.novell.prov.importdeploy.ProvObjectEntryWriter .modify(ProvObjectEntryWriter.java:485)
com.novell.prov.importdeploy.ProvObjectEntryWriter .writeObjectEntry(ProvObjectEntryWriter.java:172)
com.novell.prov.pal.importdeploy.ProvDeployer.depl oyObject(ProvDeployer.java:500)
com.novell.prov.pal.importdeploy.ProvDeployedItems DeployRunnable.deployDeployedItem(ProvDeployedItem sDeployRunnable.java:563)
com.novell.prov.pal.importdeploy.ProvDeployedItems DeployRunnable.runImpl(ProvDeployedItemsDeployRunn able.java:238)
com.novell.prov.pal.importdeploy.ProvDeployedItems DeployRunnable.run(ProvDeployedItemsDeployRunnable .java:217)
org.eclipse.jface.operation.ModalContext.runInCurr entThread(ModalContext.java:464)
org.eclipse.jface.operation.ModalContext.run(Modal Context.java:372)
org.eclipse.jface.dialogs.ProgressMonitorDialog.ru n(ProgressMonitorDialog.java:507)
com.novell.prov.pal.ui.actions.handler.ProvActionH andler.handleDeployDigestObjects(ProvActionHandler .java:1047)
com.novell.prov.pal.ui.actions.handler.ProvActionH andler.handleDeployAction(ProvActionHandler.java:5 91)
com.novell.prov.pal.ui.actions.handler.ProvActionH andler.handleAction(ProvActionHandler.java:240)
com.novell.prov.pal.ui.actions.BaseProvAction.run( BaseProvAction.java:115)
org.eclipse.ui.internal.PluginAction.runWithEvent( PluginAction.java:251)
org.eclipse.jface.action.ActionContributionItem.ha ndleWidgetSelection(ActionContributionItem.java:58 3)
org.eclipse.jface.action.ActionContributionItem.ac cess$2(ActionContributionItem.java:500)
org.eclipse.jface.action.ActionContributionItem$5. handleEvent(ActionContributionItem.java:411)
org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:84)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1003)
org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:3823)
org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3422)
org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2384)
org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2348)
org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2200)
org.eclipse.ui.internal.Workbench$5.run(Workbench. java:495)
org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:288)
org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:490)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
com.novell.idm.rcp.DesignerApplication.start(Desig nerApplication.java:118)
org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:193)
org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:386)
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:549)
org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:504)
org.eclipse.equinox.launcher.Main.run(Main.java:12 36)
org.eclipse.equinox.launcher.Main.main(Main.java:1 212)Cause: novell.jclient.JCException: modifyEntry -166 DSERR_ALREADY_IN_USE
--------------------


I tried deploying the workflow in several different occasions with no
success. Eventho i can't deploy this WF in particular i was able to
update another one without any issues.

Any and all help will be appreciated.


Thanks!


--
EPedros
------------------------------------------------------------------------
EPedros's Profile: https://forums.netiq.com/member.php?userid=5531
View this thread: https://forums.netiq.com/showthread.php?t=49797