Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Adobe Employee
Sep 19, 2018 7:00 PM UTC

Hi,

the replication errors are not related to your problem.

The fact, that you have only this small number of entries in the /system/console/slinglog screen (only 1 logger and 1 appender) is interesting, because a default AEM comes with some more entries (it writes a request.log, an access.log, update.log etc). So either you have messed with the default configuration (I would never remove loggers, but only add new ones) or the system you are working is in a way broken.

The exception "org.osgi.service.cm.ConfigurationException: oauth.config.id : Config Id must be unique" shows me that you have played with this instance quite a bit, so maybe rebuilding it from scratch is much faster than diagnosing strange issues which arose out of experiments with AEM.

Jörg

12 replies

arunpatidar
Community Advisor
Community Advisor
Sep 18, 2018 12:25 PM UTC

Hi,

When you are getting error, I mean which state?

Please check below as well.

[FELIX-522] Configuration Admin allows configuration keys with illegal characters - ASF JIRA

Translate
Arun Patidar
AdobeID24
AdobeID24Author
Level 5
Sep 18, 2018 12:32 PM UTC

Thanks for the reply ..I checked all possible links by copy pasting erroe in google but did not get any solution.

I am just trying to see create log file normally Just adding new logger for my component very basic idea of putting logs for my component.

My log consol is looking like below there is some problem with my log suuport console or ned to restrart any particular log bundle?

Translate
VeenaVikraman
Community Advisor
Community Advisor
Sep 18, 2018 1:37 PM UTC

There could be a chance of possibly some issue in the instance . Did you try restarting ? What is the AEM version ?

Translate
AdobeID24
AdobeID24Author
Level 5
Sep 18, 2018 2:38 PM UTC

Hi Veena ..Thanks for your reply

Yeah I restarted the instance but was getting the same error

Yeah this problem is related to instance it seems ..I attacheed the screenshot also like my log console is looking like that only which is not normal I am getting error .

Translate
smacdonald2008
Level 10
Sep 18, 2018 3:57 PM UTC

Try on a fresh instance. Also try this artilce to create a custom log - Creating a custom log file for an Adobe Experience Manager project

Translate
VeenaVikraman
Community Advisor
Community Advisor
Sep 18, 2018 6:24 PM UTC

Yeah I also recommend checking in a fresh instance.

Translate
joerghoh
Adobe Employee
Adobe Employee
Sep 18, 2018 8:05 PM UTC

Do you find anything in the error.log or in the stdout.log file?

Jörg

Translate
AdobeID24
AdobeID24Author
Level 5
Sep 19, 2018 2:43 PM UTC

18.09.2018 22:12:57.135 *INFO* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish * Auth User: admin

18.09.2018 22:12:57.135 *INFO* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish * HTTP Version: 1.1

18.09.2018 22:12:57.135 *INFO* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending POST request to http://localhost:4503/bin/receive?sling:authRequestLogin=1

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Error while sending request: java.net.ConnectException: Connection refused: connect

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Replication (DELETE) of /content/mymsmfolder not successful: java.net.ConnectException: Connection refused: connect Conversation follows

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish ------------------------------------------------

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish Sending message to localhost:4503

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> POST /bin/receive HTTP/1.0

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Action: Delete

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Path: /content/mymsmfolder

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Handle: /content/mymsmfolder

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Referer: about:blank

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Content-Length: 0

18.09.2018 22:12:58.137 *ERROR* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish >> Content-Type: application/octet-stream

18.09.2018 22:12:58.137 *INFO* [pool-11-thread-5-com_day_cq_replication_job_publish(com/day/cq/replication/job/publish)] com.day.cq.replication.Agent.publish.queue Job for agent publish processed in 1002ms. Failed.

These are last ;lines of error.log file which is generated automatically.

Translate
AdobeID24
AdobeID24Author
Level 5
Sep 19, 2018 2:46 PM UTC

If fresh instance means new instance then I will loose my code which i made in my instance and i need to replicate the same in new instance.

Which will take so much time ...

Is there any other way like restarting any particular bundle related to this ?

Translate
smacdonald2008
Level 10
Sep 19, 2018 2:49 PM UTC

Reason why that was asked was becasue we can tell if issue is with your project or something is corrupt on the system. If it successfully works in a DEV sandbox instance - then we know its not something specific to your project. You should be able to deploy your project as a package and deploy very fast.

Translate