Quantcast
Channel: Adobe Community: Message List
Viewing all 88739 articles
Browse latest View live

Re: ACS- Delivery without storing in DB.


Re: Including clientlib with async/defer, but ensuring it's included only once?

$
0
0

We can have multiple options in terms of loading the clientlibs for components -

1. all component clientlibs loaded separately - more number of requests , less size

2. having a single clientlibs combining all component clientlibs and loaded on the template level. - more size, but less size

 

Is there any reason you are not going through the bundling way (option 2 - Using Client-Side Libraries ) and going through async and defer for that one. Keen to understand more about it.

Fix for "New main PID does not belong to service, and PID file is not owned by root. Refusing." error

$
0
0

Hello there,

 

In the last couple weeks, the nlserver6 service fails to start with the following error:

 

systemd[1]: Starting LSB: Neolane Communication Suite...
...
...
nlserver6[...]: Starting nlserver6: [  OK  ]
systemd[1]: New main PID <nlserver_watchdog_pid> does not belong to service, and PID file is not owned by root. Refusing.
systemd[1]: New main PID <nlserver_watchdog_pid> does not belong to service, and PID file is not owned by root. Refusing.
systemd[1]: Failed to start LSB: Neolane Communication Suite.
systemd[1]: Unit nlserver6.service entered failed state.
systemd[1]: nlserver6.service failed.

 

Upon investigation, it is found that this was caused by a recent systemd package update to version systemd-219-67.el7_7.1.x86_64/systemd-219-67.el7_7.2.x86_64 which includes the following change which in turn introduced stricter PID files and MAINPID handling (as /var/run/nlserver6.pid is owned by 'neolane' user, but systemd expects it to be owned by root).

 

core: be stricter when handling PID files and MAINPID sd_notify() messages (#1663143) -> https://github.com/systemd/systemd/commit/db256aab13d8a89d583ecd2bacf0aca87c66effc

 

Excerpt from https://github.com/systemd/systemd/commit/db256aab13d8a89d583ecd2bacf0aca87c66effc#diff-ab 78220e12703ee63fa1e6a2caa16beb wherein the above error originates from:

 

if (st.st_uid != 0) {    log_unit_error(UNIT(s), "New main PID "PID_FMT" does not belong to service, and PID file is not owned by root. Refusing.", pid);    return -EPERM;
}

 

Looks like a bug has been requested https://github.com/systemd/systemd/issues/8085 to fallback the above change as it breaks several daemons and a PR https://github.com/systemd/systemd/pull/8098 also made to relax the restriction. But, this doesn’t seem to be included in the CentOS 7.7.1908 update yet or probably planned in a future update and so we have downgraded systemd to the last version 219-62.el7_6.9 which doesn't include the above (PID restriction) change.

 

Steps to downgrade systemd to 219-62.el7_6.9 (from 219-67.el7_7.1/219-67.el7_7.2):

 

- Downgrade systemd to 219-62.el7_6.9:  >> yum downgrade http://vault.centos.org/7.6.1810/updates/x86_64/Packages/systemd-219-62.el7_6.9.x86_64.rpm http://vault.centos.org/7.6.1810/updates/x86_64/Packages/systemd-libs-219-62.el7_6.9.x86_64.rpm http://vault.centos.org/7.6.1810/updates/x86_64/Packages/systemd-sysv-219-62.el7_6.9.x86_64.rpm  Note: Downgrade other libs (like libgudev1) which requires latest systemd udpate (219-67.el7_7.1/219-67.el7_7.2)
- Disable systemd package on /etc/yum.conf:  # Disable systemd packages for install/update temporarily to workaround `core: be stricter when handling PID files and MAINPID sd_notify() messages (#1663143)` (https://github.com/systemd/systemd/commit/db256aab13d8a89d583ecd2bacf0aca87c66effc) included in 219-67.el7_7.1/219-67.el7_7.2  exclude=systemd*

 

Hope this helps for others who are facing the above issue.

 

Adobe Campaign Support Team - Suggest you to implement a fix for this on nlserver6 service script (possibly?) (/etc/init.d/nlserver6) as the above systemd PID file handling restriction is likely to be included in a future release again. Thanks!

 

Cheers,

Selva

Re: Inconsistent Rewriting of links /content/... into https://... off publishers

$
0
0

We had CSS causing the link rewriter to skip paths to be transformed.

Editable Template - Retrieve component dialog value

$
0
0

Hi All,

 

I would like to get a component dialog value from editable template ..how to get it?

 

Component  : /conf/AEMLearning64/settings/wcm/templates/testing-template/structure/jcr:content/root/na vigation

 

Below code :

 

ContentPolicyManager contentPolicyManager = getResourceResolver().adaptTo(ContentPolicyManager.class);

 

if(contentPolicyManager !=null) {

 

ContentPolicy contentPolicy = contentPolicyManager.getPolicy(getCurrentpage().getContentResource());   // or resource

 

if(contentPolicy != null) {

 

navigationPath = contentPolicy.getProperties().get("navigationRoot").toString();

}

}

 

Here , contentpolicy getting value as null.

 

 

Regards,

Sathya

Re: Problems with Analytics

Connect to repo.adobe.com:443 [repo.adobe.com/192.147.130.162] failed: Connection refused: connect

Re: Connect to repo.adobe.com:443 [repo.adobe.com/192.147.130.162] failed: Connection refused: connect

$
0
0

Try using proxy in m2 repository.xml and try building the package.


Re: Inconsistent Rewriting of links /content/... into https://... off publishers

$
0
0

Could you please add  a piece of code here which is not get transformed properly

Re: Adding lombok to the project causes compilation error

$
0
0

The problem isn't lombok, but rather this:

 

Caused by: org.apache.maven.plugin.compiler.CompilationFailureException: Compilation failure

cannot access aQute.bnd.annotation.ConsumerType

  class file for aQute.bnd.annotation.ConsumerType not found

 

I haven't found an dependency to an aqute artifact. Have you tried to add it (steal it from archetype 21).

RTE with WORD copy Paste problem

$
0
0

Hi Friends,

 

Having some problems while copy-pasting the word tables to AEM RTE. It is just removing all the styles adding the only table to the RTE.

 

anyone tried these options (I am trying but no luck)

 

"htmlPasteRules": { "allowBasics": { "italic": true, "link": true }, "allowBlockTags": [ "p", "h1", "h2", "h3" ], "list": { "allow": false, "ignoreMode": "paragraph" }, "table": { "allow": true, "ignoreMode": "paragraph" } } 

a little bit of help needed here on how to add these to RTE and make it work.

 

Thanks In Advance

Re: Connect to repo.adobe.com:443 [repo.adobe.com/192.147.130.162] failed: Connection refused: connect

Re: Migrating to s3 datastore

$
0
0

Can you share the final command you used for migration?

Re: Download assets or folders directly from DAM

Re: What are the limitations of Campaigns in AEM?

$
0
0

As far as I know, there is no limit for email/users in AEM. AEM uses Day CQ Mail Server to send emails. So, whatever load the email server(defined at Day CQ Mail Service) can handle, that will be the limit.


Re: Version Exception in AEM 6.1 for asset modification

Re: AEM- Personalization component missing from aem/start.html page

$
0
0

Can you go to <host>:<port>/crx/de and check if the personalization node at [1] is there?

 

Also, check if you have an overlayed "/libs/cq/core/content/nav" under /apps. Try to remove the overlay

 

[1] /libs/cq/core/content/nav/personalization

Re: Getting issue while accessing AEM tools on Internet explorer 11

$
0
0

Do you see the same issue on IE edge?

Re: com.adobe.granite.auth.saml.SamlAuthenticationHandler SAML error with reason: user_sync_failed detected

$
0
0

Do you see anything in the SAML logs?

 

You can set up a Logger in order to debug any issues that might arise from misconfiguring SAML. You can do this by:

 

  •  

    Search for and click on the entry called Apache Sling Logging Logger Configuration

     

  •  

    Create a logger with the following configuration:
    • Log Level: Debug
    • Log File: logs/saml.log
    • Logger: com.adobe.granite.auth.saml

     

cant load /apps/appname/components/structure/page/x.js in AEM publsher.

$
0
0

I have an external js file.i called it in main.html like <script type="text/javascript" src="/apps/appname/components/structure/page/x.js"></script>.But cant load it  in AEM publsher.In AEM author it is loading to the related js file.Purpose of doing this is I have a java script code for eloqua form submission which is inside main.html.Because of eloqua js is inside main.html as internal js it is affecting to page loading time.So i have to put that js as an external and call.Either this way <div data-sly-use.page="${'x.js'}"/> is not working because eloqua js is returning nothing.

Viewing all 88739 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>