AEM Forms 6.5.18 installation on Linux fails to deploy ear files
hi all,
I'm currently installing the latest AEM Forms 6.5.18 on a RHEL server ("Experience Manager 6.5.18.0 Forms installer for JBoss EAP and Linux").
I already installed java 11.0.21 and made it available in bash and set the JAVA_HOME environment variable.
I successfully ran the install.bin script after unpacking the installer zip file.
We had to add a JAVA_TOOL_OPTIONS environment variable in order to run the install.bin
export JAVA_TOOL_OPTIONS=-Djdk.util.zip.disableZip64ExtraFieldValidation=true
After the successful installation, I unzipped the jboss from the third_party folder.
JBoss can startup completly using the bin/standalone.sh
The next step is to create the ear files for adobe livecycle, I use the ConfigurationManagerCLI.sh to do this.
/ConfigurationManagerCLI.sh configureLiveCycle -f cli_aemforms_config.txtI exclude all solutioncomponents except for ALC-LFS-Output.
This generates 3 ear files:
- adobe-livecycle-jboss.ear
- adobe-livecycle-native-jboss-x86_linux.ear
- adobe-output-ivs-jboss.ear
I copy those files to the jboss/standalone/deployments directory and start jboss.
But this results in multiple error messages.
The adobe-livecycle-native-jboss-x86_linux.ear produces the following error:
Caused by: java.lang.ClassNotFoundException: javax.management.j2ee.statistics.Stats from [Module "deployment.adobe-livecycle-native-jboss-x86_linux.ear.CommonNatives.war" from Service Module Loader]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:255)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:410)
at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398)
at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:116)
... 32 moreThe ear file is missing a dependency.
I can resolve this error by manually unzipping the ear file and including the javax.management.j2ee.api dependency in META-INF/jboss-deployment-structure.xml
The other ear file:
- adobe-livecycle-jboss.ear
Throws errors that dependencies are missing
14:50:48,592 INFO [org.jboss.as.server] (ServerService Thread Pool -- 42) WFLYSRV0010: Deployed "adobe-livecycle-jboss.ear" (runtime-name : "adobe-livecycle-jboss.ear")
14:50:48,600 INFO [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0184: New missing/unsatisfied dependencies:
service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."AACComponent.jar".beanmanager (missing) dependents: [service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."AACComponent.jar".weld.weldClassIntrospector, service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."AACComponent.jar".batch.artifact.factory]
service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."AACComponent.jar".deploymentCompleteService (missing) dependents: [service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."TrustStoreComponent.jar".INSTALL, service jboss.deployment.unit."adobe-livecycle-jboss.ear".deploymentCompleteService]
service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."AACComponent.war".beanmanager (missing) dependents: [service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."AACComponent.war".batch.artifact.factory]
service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."AACComponent.war".deploymentCompleteService (missing) dependents: [service jboss.deployment.unit."adobe-livecycle-jboss.ear".deploymentCompleteService, service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."TrustStoreComponent.war".INSTALL]
service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."CoreSystemConfigComponent.jar".beanmanager (missing) dependents: [service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."CoreSystemConfigComponent.jar".batch.artifact.factory, service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."CoreSystemConfigComponent.jar".weld.weldClassIntrospector]
service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."CoreSystemConfigComponent.jar".deploymentCompleteService (missing) dependents: [service jboss.deployment.unit."adobe-livecycle-jboss.ear".deploymentCompleteService, service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."adobe-wkf-admin.jar".INSTALL]
service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."CoreSystemConfigComponent.war".beanmanager (missing) dependents: [service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."CoreSystemConfigComponent.war".batch.artifact.factory]
service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."CoreSystemConfigComponent.war".deploymentCompleteService (missing) dependents: [service jboss.deployment.subunit."adobe-livecycle-jboss.ear"."adobe-docmanager-init.war".INSTALL, service jboss.deployment.unit."adobe-livecycle-jboss.ear".deploymentCompleteService]
Do I need to deploy additional files or libraries and where can I find those?
Thank you!