There’s an issue with the string substitution, inside the deployment or compilation code for LC ES2 ; it’s not an obvious one to find either, as the symptoms don’t seem to point to anything at first.
When deploying LCA on LiveCycle ES2, you get an error in the Admin UI
“An error has occurred durring import or deploy. Please see error log for details.”
In the log, there are the following errors
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:
As an example, if there is component inside the LCA which is called “My”, the compilation of the LCA will generate a file called “MyService.component” which is located at full-path as below.
During the calculation of the location of the corresponding jar file associated with this component, an incorrect string substitution is used, replacing any occurrence of the explicit string “component” with the new string “compjar”
Component path "My/1.0/components/MyService.component"
Calculated path "My/1.0/compjars/MyService.compjar"
The solution then would be, in Workbench ES2, to rename any part of the path to something other than the string “component”. The result would then be, for example:
Component path "My/1.0/parts/MyService.component"
Calculated path "My/1.0/parts/MyService.compjar"