Menu

Failure authenticating with BASIC 'Sling (Development)'

Issue: When we try to replicate anything from author to publisher I am getting below error. and not even on any replication it keep printing the log in error.log file automatically after an interval. What could be the cause of this? 


24.10.2019 11:31:05.942 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [34344, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED
24.10.2019 11:31:20.180 *INFO* [sling-default-2812-com.day.cq.replication.impl.ReverseReplicator.22529] org.apache.commons.httpclient.auth.AuthChallengeProcessor basic authentication scheme selected
24.10.2019 11:31:20.180 *INFO* [sling-default-2812-com.day.cq.replication.impl.ReverseReplicator.22529] org.apache.commons.httpclient.HttpMethodDirector Failure authenticating with BASIC 'Sling (Development)'@localhost:4503
24.10.2019 11:31:24.323 *INFO* [oak-repository-executor-1] com.adobe.granite.repository Service [34345, [org.apache.jackrabbit.oak.api.jmx.SessionMBean]] ServiceEvent REGISTERED


Resolution: This error message you are getting because, AEM author replication agent is unable to communicate with publisher instance due to bad credential (username and password). You might change the password of admin user in publisher and forget to update the password on default author agent. Once you will update the valid authentication credential in default author replication agent this error will be no more logged in the error.log file.

By default AEM system keep generating events and try to transport the same to publisher instance, every time it send the replication request to replication agent the authentication get failed thats why this log is get printed after a certain interval. 

Reference:

  1. https://helpx.adobe.com/in/experience-manager/6-3/sites/deploying/using/replication.html

How to put escape character in SQL query


SELECT * FROM SQL_TUTORIAL WHERE SQL_NAME like UPPER('%'||vSearchItem||'%')

Koi toh hai jo nizam-e-hasti chala raha hai

Koi toh hai, Koi toh hai jo nizam-e-hasti chala raha hai, 
Wahi khuda hai, wahi khuda hai


Dikhayi bhi na de jo nazar bhi, woh aa raha hai

Wahi khuda hai, wahi khuda hai


Nazar bhi rakhe sma'atein bhi,

Woh jan leta hain neeyatein bhi,
Jo khana-e-la Shaoor mein, 
Jagmagaa raha hai,
Wahi khuda hai, wohi khuda hai


Talash usko na kar buton mein, 

Woh hai badalti ruton mein


Jo din ko raat aur raat ko din banaa raha hai

Wahi khuda hai, wahi khuda hai


Koi hai toh hai jo nizame hasti chala raha hai

Wahi khuda hai, wohi khuda hai


Dikhayi bhi na de jo nazar bhi, woh aa raha hai

Wahi khuda hai, wahi khuda hai


Kisi ko tajo wakar bakshe,

Kisi ko zillat ke khar bakhshe,


Woh sab ke haathon pe,

Mohar-e-Qudrat laga raha hai
Wahi khuda hai, wohi khuda hai


Koi toh hai jo nizam-e - hasti chalaa raha hai

Khuda hai


Yeh chand taare hain noor usi ka

Hai har jagah pe zahoor usi ka
Yeh phool kaliyan 
Yeh sabze patte sajaa raha hai
Wahi khuda hai, wahi khuda hai


Koi toh hai jo nizam-e-hasti chala raha hai

Wahi khuda hai, wohi khuda hai


Koi toh hai jo nizame hasti chala raha hai



Kyun mangta hai tu is jahan se?

Tujhe milega khuda ke ghar se


Nabi sadqe jo apne haathon loota raha hai

Wahi khuda hai, wohi khuda hai


Dikhayi bhi na de jo nazar bhi woh aa raha hai

Wahi khuda hai


Koi toh hai jo nizame hasti chalaa raha hai 

Wahi khuda hai, Wohi khuda hai


Allahhumma salli ala muhammadin, 

Wa ala aalihi wa sahbihi wa sallim


Allahhumma salli ala muhammadin, 

Wa ala aalihi wa sahbihi wa sallim


Written by - Muzafar Warsi


-------------------------------------------------------
کوئی تو ہے جو نظام ہستی چلا رہا ہے، وہی خدا ہے
دکھائی بھی جو نہ دے نظر بھی جو آ رہا ہے، وہی خدا ہے 


تلاش اس کو نہ بتوں مے وہ ہے بدلتی ہوئی رتوں میں 
جو دن کو رات اور رات کو دن بنا رہا ہے، وہی خدا ہے


نظر بھی رکھے سماعتیں بھی وہ جان بھی لیتا ہے نیتیں بھی 
جو خانہ لاشعور میں جگمگا رہا ہے، وہی خدا ہے 


کسی کو تاج وقار بخشے کسی کو ذلّت کے غار بخشے
جو سب کے ماتھوں پہ مہر قدرت لگا رہا ہے، وہی خدا ہے 


سفید اس کا سیاہ اس کا نفس نفس ہے گواہ اس کا 
جو شعلہ جان جلا رہا ہے بجھا رہا ہے، وہی خدا ہے 


کوئی تو ہے جو نظام ہستی چلا رہا ہے، وہی خدا ہے 

- مظفر وارثی -
------------------------------------------------------
कोई तो है जो निज़ाम हस्ती चला रहा है वही खुदा है 
दिखाई भी जो न दे नज़र भी जो आ रहा है वही खुदा है 

तलाश उसको न कर बुतों रूतों वो है बदलती हुवे रूतों में 
जो दिन को रात और रात को दिन बना रहा है वही खुदा है 

नज़र भी रखे समाअतें भी वह जान भी लेता है नियतें भी 
जो खाना ला शऊर में जगमगा रहा है वही खुदा है 

किसी को ताज वक़ार बख्से किसी को ज़िल्लत के गार बख्से 
जो सब के माथों पे मेहर कुदरत लगा रहा है वही खुदा है 

सफ़ेद उसका सियाह उसका नफ़्स है गवाह उसका 
जो शोलाये जान जला रहा है बुझा रहा है वही खुदा है 


कोई तो है जो निज़ाम हस्ती चला रहा है वही खुदा है