Expand my Community achievements bar.

kgio
kgio
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hello, We have been working with AEM 6.0SP2 and are now moving into AEM 6.1.During our upgrade from CQ 5.6.1 to AEM 6.0SP2 we converted over all our uses of admin sessions (via resourceResolver.loginAdministrative()) to use service users instead. Here's a snippet of how we get a service user: try { ...

    Type

    Questions

    Views

    5.0K

    Likes

    0

    Replies

    10
  • Typically, any code in which a resource resolver is not tied to a request, you will need to create/close. So, for example, if you have a service running in the background; one thats maybe on a schedule.There's no request whose resource-resolver you can re-use, so you create one manually directly fro...

    Type

    Questions

    Views

    3.8K

    Likes

    0

    Replies

    0
  • I see the exact same issue<dependency> <groupId>com.day.cq</groupId> <artifactId>cq-quickstart</artifactId> <version>6.1.0</version> <scope>provided</scope> <classifier>apis</classifier> </dependency> I've tried deleting the repository, fetching other dependencies and plugins from maven central inst...

    Type

    Questions

    Views

    2.0K

    Likes

    0

    Replies

    0
Top badges earned by kgio
Customize the badges you want to showcase on your profile