since ‎11-01-2010
‎10-12-2019
ZygW
Level 2
Re: org.apache.sling.event.EventUtil api is depricated in AEM 6.2
Avatar

ZygW

ZygW
- Adobe Experience Manager
You could filter at the event handler level. If you're using annotations, add the filter line.@Properties({ @Property(name = "event.topics", value = "com/mycompany/app/eventname", propertyPrivate = true),@Property(name = EventConstants.EVENT_FILTER, value="(!(" + DEAConstants.PROPERTY_APPLICATION + "=*))")})If the event is a local event, the PROPERTY_APPLICATION is not available. If it is available, it contains the application (Sling ID) of the instance where the event originated.

Views

335

Like

1

Replies

0
Re: Upgrade Issues: AEM 6.0 to 6.2 Oak Migration
Avatar

ZygW

ZygW
- Adobe Experience Manager
Is your 6.0 instance crx2 or already crx3 (Oak)?

Views

634

Likes

0

Replies

0
Re: Upgrade Issues: AEM 6.0 to 6.2 Oak Migration
Avatar

ZygW

ZygW
- Adobe Experience Manager
Is your 6.0 instance crx2 or already crx3 (Oak)?

Views

634

Likes

0

Replies

0
Re: SQL2 Error on publish server
Avatar

ZygW

ZygW
- Adobe Experience Manager
Just a minor point. You're changing the data via a GET request. A GET is supposed to be idempotent and safe.

Views

464

Likes

0

Replies

0
Re: AEM 6.1: java.io.IOException: tmpFile.renameTo(classFile) failed
Avatar

ZygW

ZygW
- Adobe Experience Manager
What OS?  What JDK?  

Views

541

Likes

0

Replies

0
Re: DAM Offloading often choking up with high volume of uploads
Avatar

ZygW

ZygW
- Adobe Experience Manager
Have you taken any thread dumps when the system is slow/hung to see what thread(s) may be causing it? What does the heap look like? Is there a lot of GC activity?

Views

183

Likes

0

Replies

0
Re: [Maven]Getting Run time Error :java.lang.NoClassDefFoundError: org/apache/commons/ListUtils
Avatar

ZygW

ZygW
- Adobe Experience Manager
To add to Scott's reply. You have a provided dependency in your pom. This means that the runtime (JDK or a container) will provide the required dependency. AEM does not provide this OOTB, so you would have to embed it in your component, or deploy the acs-aem-commons-content package mentioned by Scott, since it provides the dependency.Zyg

Views

580

Likes

0

Replies

0
Re: AEM start up error
Avatar

ZygW

ZygW
- Adobe Experience Manager
Do you have Java installed, and is is associated with .jar?Zyg

Views

879

Likes

0

Replies

0
Re: Local AEM Publish is not working fine for siteadmin.
Avatar

ZygW

ZygW
- Adobe Experience Manager
Looks to me like you're trying this as an anonymous user. Anonymous user has read access to /content (and a few other dirs), so crx/de will show them. siteadmin requires that the user have permissions to access it. Try logging in as an administrator user.Zyg

Views

463

Likes

0

Replies

0
Re: Exporting AEM users, groups and ACL permissions and importing to a different instance
Avatar

ZygW

ZygW
- Adobe Experience Manager
Have you tried:https://adobe-consulting-services.github.io/acs-aem-commons/features/acl-packager.htmlPurposeFrequently, access control entries need to be copied from one environment to another without copying the actual content itself, just the access control entries. This user interface allows you to define and build packages containing access control entries for particular paths and/or particular principals.

Views

1.4K

Likes

0

Replies

0
Re: Question about AEM 6.1 Data Store Configuration
Avatar

ZygW

ZygW
- Adobe Experience Manager
Voon Siong wrote... Hi, We would like to run a clustered AEM 6.1 environment, which is backed by a clustered Mongo DB. We are able to do so, but only with both AEM 6.1 sharing the same Data Store. Is it possible to have each instance of AEM 6.1 use it's own data store? ..... We looked at https://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/data-store-config.html and failed to discern if it is possible to actually have each AEM use its own data store. Is this setup even valid? If it is, how is i...

Views

212

Likes

0

Replies

0
Re: Productio AEM Publisher Instances taking 4 hours to restart
Avatar

ZygW

ZygW
- Adobe Experience Manager
There is no information on the AEM version, but looking at the errors referencing Oak segment store it is a 6.0 with TarMK. Tar optimize does not work for TarMK, it is for TarPM, so the error from tar optimize is expected, though a more useful message would have been more helpful. As suggested already, opening a Daycare ticket is your best option.Offline compaction may work. Have a look at: http://docs.adobe.com/docs/en/aem/6-0/deploy/upgrade/microkernels-in-aem-6-0.html

Views

385

Likes

0

Replies

0
Re: Socke error : AEM with MongoDB
Avatar

ZygW

ZygW
- Adobe Experience Manager
What port is your Mongo instance on? Looks like AEM is trying port 49806 Default Mongo port is 27017 Zyg

Views

310

Likes

0

Replies

0
Re: Child pages are included while packaging the parent page
Avatar

ZygW

ZygW
- Adobe Experience Manager
You can use filters to control what is/is not included. See the adding Filter Definitions section in:http://dev.day.com/docs/en/crx/current/how_to/package_manager.htmlZyg

Views

494

Likes

0

Replies

0
Re: Error while starting the cq
Avatar

ZygW

ZygW
- Adobe Experience Manager
Are you using a 32bit or 64bit JVM? What heap settings, especially MaxHeap (-Xmx) are you using?

Views

266

Likes

0

Replies

0
Re: How to fetch Users of a group, through Java code.
Avatar

ZygW

ZygW
- Adobe Experience Manager
Pushp Dang wrote...And in my java class I want to get the list of users attached to the group, but somehow I am not able to find any API or some way to find it out. Finding the Group to which a user is attached I know, but dont know how to find out the list of users in a group in my java code. Any suggestion on this will be really appreciated. If you have the group, you can use group.getMembers() See: http://wiki.apache.org/jackrabbit/UserManagement fetch members from a group sectionZyg

Views

643

Likes

0

Replies

0
Re: sling context in bundles
Avatar

ZygW

ZygW
- Adobe Experience Manager
A good example of accessing the repository from a bundle can be found in:http://helpx.adobe.com/adobe-cq/using/persisting-cq-data-java-content.html Hope this is the information what you are after.

Views

229

Likes

0

Replies

0
Re: Dispatcher: Unable to create parent directory error
Avatar

ZygW

ZygW
- Adobe Experience Manager
apache runs as the user configured in httpd.conf in the user directive, and by default is 'apache'. It starts as root to bind to port 80/443 and immediately switches to the user defined in httpd.conf. What user do you have apache running as? Make sure the is writable by the user apache is running as (having it owned by that user is a good idea) and restart apache.

Views

1.4K

Likes

0

Replies

0
Likes from