APM
APM copied to clipboard
APM Down on cloudservice
Hi, Recently we are facing ConstraintViolationException while creating a property under the script file.
This was working fine before
- Install the package , check the installation Active logs console in the package manager .
- Manually create a property under a file with name "apm:launchRunModes".
The same works fine in SDK as well as with Rapid Dev environment
Stack trace: [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED 14.08.2023 14:27:09.663 [cm-p35702-e148937-aem-author-65944dfdc9-r2qrt] ERROR [92.29.91.38 [1692023229659] POST /bin/apm/scripts/upload HTTP/1.1] com.cognifide.apm.core.scripts.ScriptStorageImpl No matching property definition: apm:launchRunModes = [] javax.jcr.nodetype.ConstraintViolationException: No matching property definition: apm:launchRunModes = [] at org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.setProperty(NodeDelegate.java:514) [org.apache.jackrabbit.oak-jcr:1.52.0.T20230629133256-25c01b8] at org.apache.jackrabbit.oak.jcr.session.NodeImpl$39.perform(NodeImpl.java:1495) [org.apache.jackrabbit.oak-jcr:1.52.0.T20230629133256-25c01b8] ....
Passed to adobe as well, could you please assist?
Hi, please add following details:
- which version do you use
- APM dependency part from pom.xml
- steps to reproduce
Hey, here you are
APM Version latest : https://github.com/wttech/APM/releases/tag/apm-5.6.25
AEM Cloud Version : 2023.7.12874.20230726T072051Z
Steps to reproduce : The latest APM version should be installed on AEM cloud sandbox instance (NOT on local SDK or RDE), and try to create new script file, and the save fails with 500 error request in the console.
Do you use this dependency?
<dependency>
<groupId>com.cognifide.apm.crx</groupId>
<artifactId>apm-ui.apps.cloud</artifactId>
<version>5.6.26</version>
<type>zip</type>
</dependency>
We are using 5.6.25, as 5.6.26 is a prerelease version. Thanks
W dniu wt., 22.08.2023 o 11:38 Dominik Przybyl @.***> napisał(a):
Do you use this dependency?
com.cognifide.apm.crx apm-ui.apps.cloud 5.6.26 zip — Reply to this email directly, view it on GitHub https://github.com/wttech/APM/issues/405#issuecomment-1687835375, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATZVSRSBM6CQWVTY2NU6HILXWR4ZFANCNFSM6AAAAAA3SHRBJI . You are receiving this because you authored the thread.Message ID: @.***>
-- Kind regards, Adam Zwoniarski
Hey, Seems the root cause for this issue is the bold one below is missing in cloud env, and exists in local.
It is there in the repoinit configs of APM package but it's not getting updated to the cloud env.
[apm:Script] mixin
- apm:launchEnabled (boolean)
- apm:launchMode (string)
- apm:launchEnvironment (string) - apm:launchRunModes (string) multiple
- apm:launchHook (string)
- apm:launchSchedule (date)
- apm:lastExecuted (date)
- apm:checksum (string)
- apm:verified (string)