8 Replies Latest reply on Dec 1, 2008 9:06 AM by BPM user

    An error occurred creating the form (task 2346, form 0). (ALC-WKS-007-040) error

    BPM user Level 1
      Hi all,
      I am a newbie to adobe livecycle process. I am trying to prepopulate the data like the users info when the form is originated in the workspace.
      I did use the samples example for form render service but added to variables called first and lastname as i want these fields to be populated.I am also using an xmlvariable which stores the xml data-(first name and last name) from the form (i got the xml data from the jDBC service usingquery multiple rows by quering edcpricnipal entity). I have followed the steps from http://www.roland-lopez.com/blog/index.cfm?event=showEntry&entryId=ECB034DA-3048-5304-BA9 BB7B0DEDC725A.
      Now I am trying to use the sevice in my application. hennce I created a input variable called app_info of type xfa form and in advanced settings I called the render service which is created before. I am using a PDF file in resources.
      When I try to open the form in workspace I get the error
      An error occurred creating the form (task 2348, form 0). (ALC-WKS-007-040)

      In the erroe log I get the the following error -
      message = ALC-WKS-005-028: A problem occurred in the Render Service. Please review the render orchestration for this process.
      details = null
      rootCause = ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
      body = null
      extendedData = {message=ALC-WKS-005-028, cause=com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException}
      2008-11-23 18:55:11,138 INFO [STDOUT] [Flex] Error handling message: flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service. Please review the render orchestration for this process.
      incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
      operation = render
      clientId = BE816575-BA0E-55AB-43D6-53511DE9544A
      destination = task-actions
      messageId = 995C15F0-9EE8-20A7-7378-CBC737C22D1A
      timestamp = 1227484510810
      timeToLive = 1227484510810
      body = null
      hdr(DSEndpoint) = workspace-polling-amf
      hdr(DSId) = BE810559-3C1E-B9CC-BB02-DAD2017E1CB6
      errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
      clientId = BE816575-BA0E-55AB-43D6-53511DE9544A
      correlationId = 995C15F0-9EE8-20A7-7378-CBC737C22D1A
      destination = task-actions
      messageId = BE816896-820E-9C32-0CC9-22149F2E7879
      timestamp = 1227484511138
      timeToLive = 0
      body = null
      code = Server.Processing

      Can someone please help me with this.

      Thanks a tonn in advance.
        • 1. Re: An error occurred creating the form (task 2346, form 0). (ALC-WKS-007-040) error
          Jasmin Charbonneau Level 4
          You can't put a PDF in a xfaForm variable. Use either an XDP or switch to a Document Form variable.

          Jasmin
          • 2. Re: An error occurred creating the form (task 2346, form 0). (ALC-WKS-007-040) error
            BPM user Level 1
            Hi Jasmin,
            Thanks for your reply. I have changed the variable type in the main application from xfa to document type as suggested. But when I try to open the file in workspace I get the sameerror. but in the error log the error is as follows

            INFO [STDOUT] [Flex] Error handling message: flex.messaging.MessageException: com.thoughtworks.xstream.mapper.CannotResolveClassException : com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance : No ClassLoaders found for: com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance
            incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
            operation = render
            clientId = C750393C-201C-717C-FCD5-6C61E56457A8
            destination = task-actions
            messageId = 8F8A2B82-2778-A08E-6D8A-CF62CE975DD3
            timestamp = 1227545038368
            timeToLive = 1227545038368
            body = null
            hdr(DSEndpoint) = workspace-polling-amf
            hdr(DSId) = C74FE532-741B-7AD1-6240-601872F82B0D
            errorReply: Flex Message (flex.messaging.messages.ErrorMessage)
            clientId = C750393C-201C-717C-FCD5-6C61E56457A8
            correlationId = 8F8A2B82-2778-A08E-6D8A-CF62CE975DD3
            destination = task-actions
            messageId = C7503B9E-7A0B-28E0-59DC-ACD49B49B722
            timestamp = 1227545038618
            timeToLive = 0
            body = null
            code = Server.Processing
            message = com.thoughtworks.xstream.mapper.CannotResolveClassException : com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance : No ClassLoaders found for: com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance
            details = null
            rootCause = com.thoughtworks.xstream.mapper.CannotResolveClassException: com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance : No ClassLoaders found for: com.adobe.idp.taskmanager.form.impl.xfa.XFARepositoryFormInstance
            body = null
            extendedData = null
            2008-11-24 11:44:01,321 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl retrieveEvent
            INFO: retrieving active event for 6052
            2008-11-24 11:44:01,321 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl retrieveEvent
            INFO: retrieved active event for 6052
            2008-11-24 11:44:01,337 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl sendNotifications
            INFO: Total subscriptions retrieved = 2 for event id6052
            2008-11-24 11:44:01,353 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl createNotifications
            INFO: Now creating notifications.
            2008-11-24 11:44:01,353 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl createNotifications
            INFO: Created 2 notifications.
            2008-11-24 11:44:01,353 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl retrieveEvent
            INFO: retrieving active event for 6052
            2008-11-24 11:44:01,353 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl retrieveEvent
            INFO: retrieved active event for 6052
            2008-11-24 11:44:01,431 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl deliverNotificationToService
            INFO: Now delivering notification to service RemoteEvents
            2008-11-24 11:44:01,431 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl deliverNotificationToService
            INFO: Now delivering notification to service operation onEvent
            2008-11-24 11:44:01,431 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl deliverNotificationToService
            INFO: Now delivering notification to service operation parameters {eventType=TaskCreated}
            2008-11-24 11:44:01,431 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl deliverNotificationToService
            INFO: Now delivering notification to service OrchestrationEventHandler
            2008-11-24 11:44:01,446 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl deliverNotificationToService
            INFO: Now delivering notification to service operation onEvent
            2008-11-24 11:44:01,446 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl deliverNotificationToService
            INFO: Now delivering notification to service operation parameters {eventTemplateId=STRT_ER1172599333679, serviceName=Task Assignment, eventTemplateType=eventReceiveAsStartTemplate, eventTypeName=TaskCreated}
            2008-11-24 11:44:01,446 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl deliverNotificationToService
            INFO: Notifications delivered
            2008-11-24 11:44:01,446 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl disableNotification
            INFO: Attempting to disable the notification after delivery.
            2008-11-24 11:44:01,446 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.workflow.dsc.service.OrchestrationEventListenerService onAsynchronousEvent
            INFO: ProcessManagerSerice:onAsynchronousEvent()
            2008-11-24 11:44:01,446 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl disableNotification
            INFO: Attempting to disable the notification after delivery.
            2008-11-24 11:44:01,462 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.util.EventDBHelper getActiveEventByPrimaryKey
            INFO: Event with id 6052 is already disabled, EventService will not deliver notification.
            2008-11-24 11:44:01,462 INFO [com.adobe.workflow.AWS] Invoking action synchronously
            2008-11-24 11:44:01,462 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.livecycle.notification.TaskNotificationServiceImpl taskAssignment
            INFO: TaskNotificationService called taskAssignment: 2350
            2008-11-24 11:44:01,462 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.livecycle.notification.TaskNotificationServiceImpl handleNotificationEvent
            INFO: TaskNotificationService called handleAssignmentOrReminderEvent: 2350
            Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl updateEventStatus
            INFO: Event with id 6052 is already inactive.Event instance with id 6052 is inactive for TaskCreated
            2008-11-24 11:44:01,478 INFO [com.adobe.livecycle.remoteevents.client.RemoteEventClient] message received type: event
            2008-11-24 11:44:01,478 INFO [com.adobe.livecycle.remoteevents.client.RemoteEventClient] message received part 1: {data=[B@1d766ce, event=TaskCreated}
            2008-11-24 11:44:01,556 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl deliverNotificationToService
            INFO: Notifications delivered
            2008-11-24 11:44:01,556 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl disableNotification
            INFO: Attempting to disable the notification after delivery.
            2008-11-24 11:44:01,556 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl disableNotification
            INFO: Attempting to disable the notification after delivery.
            2008-11-24 11:44:01,556 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.util.EventDBHelper getActiveEventByPrimaryKey
            INFO: Event with id 6052 is already disabled, EventService will not deliver notification.
            2008-11-24 11:44:01,556 INFO [STDOUT] Nov 24, 2008 11:44:01 AM com.adobe.idp.event.notification.NotificationManagerImpl updateEventStatus
            INFO: Event with id 6052 is already inactive.Event instance with id 6052 is inactive for TaskCreated

            Thanks for your reply!
            • 4. Re: An error occurred creating the form (task 2346, form 0). (ALC-WKS-007-040) error
              BPM user Level 1
              Hi jasmin ,
              Thanks again. I did change it to documnet form and I get the same error. By mistake I mentiond as documnet in my previous post, But i did change the variable to document Type.

              Thanks again!
              • 5. Re: An error occurred creating the form (task 2346, form 0). (ALC-WKS-007-040) error
                BPM user Level 1
                Oops somehow I get it as documnet type --I changed it to doucmnet Form
                • 6. Re: An error occurred creating the form (task 2346, form 0). (ALC-WKS-007-040) error
                  BPM user Level 1
                  Can someone please help me out with this. We need the project to be done and we are held at this point.

                  Thanks!
                  • 7. Re: An error occurred creating the form (task 2346, form 0). (ALC-WKS-007-040) error
                    Jasmin Charbonneau Level 4
                    You have a problem with the render service.

                    message = ALC-WKS-005-028: A problem occurred in the Render Service.

                    Please indicate what variable type you are using along with the Render service an all its properties. Also if you're using a PDF or XDP.

                    Jasmin
                    • 8. Re: An error occurred creating the form (task 2346, form 0). (ALC-WKS-007-040) error
                      BPM user Level 1
                      Hi Jasmin,
                      Thanks for your responnse again.
                      I am using the following variables in form to render process
                      firstname- string
                      lastname- string
                      formurl-string
                      form_to_render-string
                      outformdoc-documnet
                      targeturl-string
                      urlspec- Urlspec
                      useragent-string
                      userid-string
                      xmldata - xml. - I am saving the firstname and last last in the xml data element.
                      Now, I am using this process and invoking this in the main process. There i am usng the following variables.
                      abcd_doc- xfa form -
                      In the Templete Url /ABCDforms/Forms/Abdc.pdf.
                      In advanced settings Browsed to form to render and said invoke.
                      form URL- formdata
                      form_to_render (literal) - /ABCDforms/Forms/Abdc.pdf
                      indocdata (task)-formdata
                      targeturl (custom configuration)-target url
                      useragent (useragent)- useragent
                      userid (task) - userid's
                      service output:
                      outformdoc (task) - documnent.

                      This is all i am using in the process. Please help me out.
                      Thanks for youur help.