since ‎19-02-2017
‎10-12-2019
Nitiks25
Level 2
Specifying path for crx folder during startup
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
We are using a script to startup AEM using the standard java -jar .jar command. The script is located on a different path than the cq jar itself. Because of this, when the cmd is run, the crx-quickstart folder is created in the folder where script is located and not where the jar is. We want the crx folder to be created in the jar path. Anyway to achieve this? Because of certain limitations, we can't place the script file elsewhere.

Views

867

Likes

0

Replies

2
what can be defined as path for a sling servlet
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Is there any limitation as to what can be set as the path for a sling servlet?I need a custom sling servlet hosted at a path named "healthcheck" i.e. if I hit / healthcheck it should call that servlet but when I tried this It didn't work.Tried few other words too but still the same issue. Are single word paths not allowed?If I prefix the path with another word (e.g /services/...) then it works.Anybody have any inputs on this behavior?

Views

2.6K

Likes

0

Replies

3
Dam update asset workflow event not getting fired
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
In AEM 6.0, whenever the dam update asset workflow is run, an event is fired with the event.topic: "com/day/cq/workflow/event " and WorkFlowName as "DAM Update Asset". This can be seen in the event console(..system/console/events). But in 6.3, we don't see this event fired. A different event is fired instead with event.topic as "com/day/cq/dam" and type as "DAM_UPDATE_ASSET_WORKFLOW_COMPLETED". The same is not fired in 6.0.Is this expected ? Or it's a bug in 6.3?

Views

2.2K

Like

1

Replies

2
Workflow model outside /etc/workflow
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Hello,We have a few workflow models under apps which used to be triggered via code using startWorkflow in WorkflowSession WorkflowSession ("The Adobe AEM Quickstart and Web Application.").The workflow used to get called and started up fine in AEM 6.0 ..but not in AEM 6.3. The error in the logs is that the model at that path (/apps/myproject/..), etc. could not be found. The user used to create the session is an admin so permission should not be a problem. Does anybody have any insights as to why...

Views

815

Likes

0

Replies

1
I need to add properties with composite values to osgi .cfg files
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
I need to add properties with composite values to osgi .cfg files. Can anyone please tell how this can be done by adding a configuration file(.cfg ) in install folder.E.g. I want to add composite lines to Apache Sling Service User Mapper Service in config manager, I want to add Service mappings to this configuration by adding a file (.cfg ) to install folder.

Views

799

Likes

0

Replies

1
Need to create system user programmatically
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
I am trying create a user using Jackrabbit UserManager API ( UserManager (Apache Jackrabbit 2.6.10 API​ ) . Is It possible to create system user using this API, if yes, then how?

Views

2.6K

Like

1

Replies

2
Re: Getting an exception org.osgi.dto.DTO not found.
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Hi Veena, Thanks for the response. We're using this to get an active/inactive state of OSGi components programmatically.Previously we could use ScrService and Component classes available in Felix.scr package in 6.0. But in newer versions, these packages are not available and we have to use ServiceComponentRuntime class instead.

Views

1.0K

Likes

0

Replies

0
Getting an exception org.osgi.dto.DTO not found.
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
I'm using ServiceComponentRuntime (http://javadox.com/org.osgi/osgi.cmpn/6.0.0/org/osgi/service/component/runtime/ServiceComponentRuntime.html ) to get Component configuration and description DTOs.But on building the project, I get the exception org.osgi.dto.DTO not found.I searched for this package in depth finder and was referred to org.apache.felix.framework.xml as the dependency that needs to be added to include this class. But if I search through this bundle it contains no inclusion of this...

Views

1.3K

Likes

0

Replies

3
Re-indexing kicks off when AEM is restated
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Hello,We have observed that whenever AEM is restarted, re-indexing is kicked off again. We keep seeing the asyncIndexUpdate messages in the log about indexing content and it goes on for 2-3 hours.Because of which the instance takes a long time to get back up. Is this normal? Is it expected for re-indexing to be done every restart? Or is it a platform issue? We're using AEM 6.0. If this is expected, any way to turn reindexing off during startup? Please note, the reindex property is set to false o...

Views

2.1K

Likes

2

Replies

6
Re: Adobe Share Package server not available
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Package share still does not work for me I have to assume its because of some firewall settings in my org. So the other way seems to be to get it from adobe cloud.But as I mentioned before I registered on that site and was suppose to receive a mail confirming the registration but I am still to receive it. Anybody knows why is that so ?

Views

1.1K

Likes

0

Replies

0
Re: Adobe Share Package server not available
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Thanks Smac,I am still getting that error. Wanted to ask that is there any configuration that I need to do to work on package share in AEM instance.

Views

1.1K

Likes

0

Replies

0
Re: WCMUsePojo dependency in AEM 6.0
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Thanks TechAspect Solutions,Just wanted to ask is there any dependency for WCMUsePojo that can be used in aem6.0. I am asking this because soon I will be moving to 6.2 so wanted to make sure that I am not using deprecated classes(WCMUse).

Views

976

Likes

0

Replies

0
Re: Adobe Share Package server not available
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
I logged in at given url, it says "you will be receiving a mail shortly". what's the usual time it takes to receive mail also do you always get it or you have to be certain kind of user to get it.

Views

1.1K

Likes

0

Replies

0
WCMUsePojo dependency in AEM 6.0
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Is WCMUsePojo available in AEM 6.0. If so, what is the maven dependency for it.

Views

1.6K

Like

1

Replies

5
Adobe Share Package server not available
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
HI all,I am trying to use AEM adobe package share feature but Its showing error that "share server not available".can anyone please help me to understand that why this error is coming and how I can use package share.

Views

2.4K

Likes

0

Replies

6
Getting error while running garbage collection on datastore
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
While running garbage collection on datastore on author instance I get below exception as warning:*WARN* [pool- 5 thread 5]org.apache.jachrabbit.oak.plugins.blob.datastore.DatastoreBlobstore error occurred while fetching data record for Identifier tmp12345.tmp org.apache.jachrabbit.core.data.DataException: Record tmp1233.tmp does not exists.It comes when tmp file is created in datastore, DataStore is configured as a file store to hold dam assets.Can anyone please help me to understand what these...

Views

1.3K

Likes

0

Replies

1
Re: Usage of @Via in sling models
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
I have tried @slingObject too but intermittently it returns a null response. And from what I understand from the documentation that is also not supposed to work since adaptable is not request. But weirdly @inject is working fine.

Views

3.8K

Likes

0

Replies

0
Re: Usage of @Via in sling models
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Thanks a lot Veena,yes, if you could let me know that will help a lotbecause as per the documentation injecting response object using @ inject when the adaptable is resource is not suppose to work but it is still working.

Views

3.8K

Likes

0

Replies

0
Re: Usage of @Via in sling models
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Thanks a lot Veena. Makes sense now. But I want clarification on one thing: I have the model adaptable as Resource. And I have injected slinghttpservletresponse object using just an @Inject i.e. @Inject SlingHttpServletResponse responseand a valid response object is being returned. As per documentation, this isn't supposed to happen since response object is only supposed to be available if model is set to sling request as adaptalbeI'm just wondering, how it is working then?

Views

3.8K

Likes

0

Replies

0
Re: Usage of @Via in sling models
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Thanks Smacdonald,From that page it is clear what the Via Type does i.e choose a different adaptable for a particular injection. It's also given an example of how to set Resource as the adaptable for an Injection if the adaptable model is sling request: @Inject @Via("resource") String getPropertyName();But what if the model level adaptable is 'Resource' and I need to choose request as the adaptable for an Injection? that's not given on that page. Is that even possible? Tried @Inject @Via("reques...

Views

3.8K

Likes

0

Replies

0
Usage of @Via in sling models
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
I understand from the documentation, that @Via is used to inject objects not available through the adaptable mapped to the model In that case, if my adaptable is Resource.class and I have to inject SlingHttpServletRequset or SlingHttpServletResponse. I will have to use @Inject @Via to fetch it from SlingHttpServletRequest adaptable?In that case, what is the parameter I have to pass to @Via?In case of resource, it will be @Via ("resource") - what will it be for slingRequest?

Views

13.0K

Likes

2

Replies

25
Usage of @Via in sling models
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
I understand from the documentation, that @Via is used to inject objects not available through the adaptable mapped to the model In that case, if my adaptable is Resource.class and I have to inject SlingHttpServletRequset or SlingHttpServletResponse. I will have to use @Inject @Via to fetch it from SlingHttpServletRequest adaptable?In that case, what is the parameter I have to pass to @Via?In case of resource, it will be @Via ("resource") - what will it be for slingRequest?

Views

1.7K

Like

1

Replies

1
Re: @SlingObject SlingHttpServletReponse is returning null value
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Or should be using @Inject @Via(SlingHttpServletRequest.class) SlingHttpServletResponse response

Views

991

Likes

0

Replies

0
Re: @SlingObject SlingHttpServletReponse is returning null value
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Thanks SmacDonald. I'm using Resource as the adaptable. From the documentation, I understand that response object may not be available if resource is used as the adaptable. Workaround would be to use @Via to get the response object from request adaptable. And @SlingObject is supposed to be a replacement of @Via so @SlingObject should be able to inject the response object too even if the adaptable is Resource. Am I right in my understanding?

Views

996

Likes

0

Replies

0
@SlingObject SlingHttpServletReponse is returning null value
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Hi All, I have a sling model and I am using @SlingObject SlingHttpServletReponse reponse to get a reference to the response objectsame works fine in author but in publisher the response object is nullAny thoughts on why this might be?

Views

1.9K

Likes

0

Replies

4
Re: AEM upgrade - fresh install
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Thanks a lot HemantIf I may, could you please elaborate on the '2 commands' you've mentioned in your post.

Views

1.4K

Likes

0

Replies

0
Re: AEM upgrade - fresh install
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
Thanks Opkarsince we are upgrading from 6.0 to 6.2 and it may have been using OAK in that case is there a need to use CRX2OAK tool?

Views

1.4K

Likes

0

Replies

0
AEM upgrade - fresh install
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
For upgrade, instead of following the steps given in the documentation (https://docs.adobe.com/docs/en/aem/6-2/deploy/upgrade.html), will it be enough if we just launch a fresh instance of the new version and package and install our application content (content, configurations, bundles, etc.) into the new version.Will any of the upgrade steps still have to be executed if we are going this route? Also, will repository migration (crx2oak) be required in this case?Any pros and cons that you are fam...

Views

4.8K

Likes

2

Replies

6
What changes does Aem6.2 brings in libraries or components(front-end)
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
The release notes of AEM 6.2 mainly discusses about the functionality changes or added in back-end. I wanted to know if any new functionalities are added or changes are made in libraries or components(front-end) of Aem6.2 as compared to Aem6.0

Views

789

Like

1

Replies

1
Upgrading AEM 6.0 to 6.2 on application server
Avatar

Nitiks25

Nitiks25
- Adobe Experience Manager
I want to upgrade AEM 6.0 to AEM 6.2 on the application server. The document which I followed (https://docs.adobe.com/docs/en/aem/6-2/deploy/upgrade.html) contains most of the description regarding up-gradation from AEM 5.6 to AEM 6.2. Can some one help me to find the documentation or set of instructions for upgrading AEM 6.0 to AEM 6.2.

Views

1.1K

Likes

0

Replies

1