Posts tagged "taskmanager"

LiveCycle ES: TaskPermissionsException using TaskManager.getTaskInfo()

Issue

When you use the LiveCycle ES APIs to access tasks through the TaskManager.getTaskInfo() method, LiveCycle may return the following error:

TaskPermissionsException User: A50D7ECD-15F5-6B60-9619-44F68536EC32 does have access to get the data for the task: 560701.

You may be using code similar to the following when trying to access the tasks:

TaskManager taskManager = TaskManagerClientFactory.getTaskManager(connectionFactory.getAlcServerConnection());

TaskInfo taskInfo = taskManager.getTaskInfo(new Long(taskId)); 

If you do not have the right permissions for the user context running this code, then you will receive the exception above.

Solution

To execute this method with a user other than the super administrator, manually add the Workflow Process Administrator Role to that user. You can add this role to the user account in the adminui (Home > Settings > User Management > Role Management).

reference: (181498712)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 10.0/10 (1 vote cast)

LiveCycle ES: ALC-DSC-504-000 TaskManager DSC not installed error

Issue

 When attempting to import an LCA archive in the adminui you may receive the following exception:

2008-03-18 09:23:11,808 ERROR [org.jboss.ejb.plugins.LogInterceptor] RuntimeException in method: 
public abstract java.lang.Object com.adobe.idp.dsc.transaction.impl.ejb.adapter.
EjbTransactionCMTAdapterLocal.doRequiresNew(com.adobe.idp.dsc.transaction.TransactionDefinition,
com.adobe.idp.dsc.transaction.TransactionCallback) throws 
com.adobe.idp.dsc.DSCException:ALC-DSC-504-000: 
com.adobe.idp.dsc.registry.DataTypeNotFoundException: 
DataType: com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance version:0.0 not found
 at com.adobe.idp.dsc.registry.datatype.impl.DataTypeRegistryImpl$1.doInTransaction(DataTypeRegistryImpl.java:94)
 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:336)
 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequired(EjbTransactionCMTAdapterBean.java:259)
 at sun.reflect.GeneratedMethodAccessor295.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)

Reason

This exception occurs when the TaskManager DSC service is not deployed. ProcessManagement usually installs this TaskManager component.

Solution

You should check the deployment directory for your application server and confirm that the file “adobe-taskmanager-dsc.jar” is deployed.  Then goto the adminui and ensure the service is running under Services > Applications and Services.

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 1.0/10 (1 vote cast)