XMLFormService error in AEM 6.0

273 views
Skip to first unread message

Armaghan

unread,
Mar 13, 2015, 7:21:35 PM3/13/15
to live...@googlegroups.com
Hey guys,

Im stumped. I have 2 installations of AEM Forms with different configurations and both of them error out with the same error message ( please see below). The binaries were downloaded directly from Adobe and are the latest ones. Please note that the rest of the AEM components work without any issues. Its only the components that use FormService that are the issue here ( Output and Forms).Here are the details:

Server 1:

OS: Windows 2012 R2
Application Server: WebLogic 12c
Java: Oracle JRocket

Components: 
  1. Output 
  2. PDFG 
  3. Reader extension
  4. CRX Repository ( Author Instance)

Server 2:

OS: Windows 2012 R2
Application Server: WebLogic 12c
Java: Oracle Jrocket

Components: 
  1. Process Management 
  2. Forms 
  3. CRX Repository (author instance)

ERROR Message on both configurations:

<ALC-OUT-002-004: Unable to find service: XMLFormService, error: Service XMLFormService: error locating native and persistent directories.> 

Can anyone provide any insight into this ?

Thanks,

Armaghan

Armaghan

unread,
Mar 17, 2015, 2:04:21 PM3/17/15
to live...@googlegroups.com

Fixed the issue.

Even though its not documented anywhere and the configuration manager doesn't tell you, you MUST install CRX-Repository in-order to use Output or Forms.

Seems like the "XMLFormService" has been packaged as an OSGI bundle. It used to be in the deployed EAR files before. 

Thanks,

Armaghan.

Aditya Shah

unread,
Mar 17, 2015, 2:35:18 PM3/17/15
to live...@googlegroups.com
Armaghan,

Could you please elaborate on the steps involved.

Aditya

--
You received this message because you are subscribed to the Google Groups "Adobe LiveCycle Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to livecycle+...@googlegroups.com.
To post to this group, send email to live...@googlegroups.com.
Visit this group at http://groups.google.com/group/livecycle.
For more options, visit https://groups.google.com/d/optout.

Armaghan

unread,
Mar 17, 2015, 3:45:44 PM3/17/15
to live...@googlegroups.com, adi...@gmail.com
Hey Aditya,

Here is what needs to be done:
  1. Ensure that the CRX-Repository checkbox is selected in the "Component Selection" screen ( Forms, Output)
  2. Create the EAR files.
  3. Deploy the EAR Files ( ensure that the "cq-author.ear" is deployed ( takes a while to deploye it).
  4. Ensure that under the CRX repository folder, the ear files has created the <CRX-Repository location>bedrock\svc<folders>  ( as I said it takes a while for the ear file to deploy everything).
  5. Use FormsIVS or OutputIVS to verify that AEM Forms is able to find and run "XMLFormService".
Let me know if you have any other questions.

Thanks,
Armaghan.

Sherif Abdelzaher

unread,
Mar 18, 2015, 12:14:15 AM3/18/15
to live...@googlegroups.com
Hi Armaghan, 

I would like to add one more thing to the steps you mentioned, make sure to set the JVM heap size to 4GB or higher because CRX utilize a lot of memory during configuration and deployment. I noticed that crx utilize a lot of cpu usage even after installation, it will need more debugging.

Sincerely,

Armaghan

unread,
Mar 18, 2015, 6:53:15 AM3/18/15
to live...@googlegroups.com
Hey Sherif,

The settings on the machine (environment) are a separate topic of discussion from the actual issue being discussed here. The primary discussion resolves around the fact that AEM Forms 6.0 Feature Pack1 has different requirements when it comes down to using Forms and Output.

You can start a separate thread on the forum on the optimal environment and everyone can provide their thoughts on it.

Thanks,
Armaghan.
Reply all
Reply to author
Forward
0 new messages