Where can I found the AEM6.1 resource code | Community
Skip to main content
October 16, 2015
Solved

Where can I found the AEM6.1 resource code

  • October 16, 2015
  • 3 replies
  • 1690 views

Where can I found the AEM6.1 resource code ?

like this servlet : com.day.cq.replication.impl.servlets.CommandServlet  :  Which jar bag is he in?

 

I want to overwrite this servlet, but I don't know how to do it.if anyone knows

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Peter_Puzanovs

Hey Zheng,

 

This is AEM code, modifying it will cause lot's of really bad things to happen in your environment.

You can do it through:

Since AEM6 run's on apache felix, you can locate the jar by checking the number you see in the /system/console

As you can see the bundle has an id.

Now, you can navigate to your launchpad/felix/ location under your AEM6 installation.

Inside the felix folder you will see different bundles

You need to choose bundle(id) with the id of your bundle in the same way as it appears in system console.

Inside the bundle(id)/version(version) you will find your jar file.

 

Thanks,

Peter

3 replies

Peter_Puzanovs
Community Advisor
Peter_PuzanovsCommunity AdvisorAccepted solution
Community Advisor
October 16, 2015

Hey Zheng,

 

This is AEM code, modifying it will cause lot's of really bad things to happen in your environment.

You can do it through:

Since AEM6 run's on apache felix, you can locate the jar by checking the number you see in the /system/console

As you can see the bundle has an id.

Now, you can navigate to your launchpad/felix/ location under your AEM6 installation.

Inside the felix folder you will see different bundles

You need to choose bundle(id) with the id of your bundle in the same way as it appears in system console.

Inside the bundle(id)/version(version) you will find your jar file.

 

Thanks,

Peter

joerghoh
Adobe Employee
Adobe Employee
October 16, 2015

Hi,

Overwriting ootb servlets is normally a really a bad idea and very hard to implement. The classes are package private and not exported via OSGI, so you cannot inherit from these classes. Why do you want to tweak this servlet?

kind regards,
Jörg

Adobe Employee
October 16, 2015

Hi Zheng,

It would help if you could explain what your requirements are and why you think you need to overwrite the servlet.

Changing product code is never a good idea in any system.

Regards.