Skip to main content
Chandra_gupta
Level 4
Oct 16, 2015 2:27 AM UTC
Solved

Where is web.xml and server.xml in AEM 5.6.1

I can't find web.xml and server.xml file in AEM 5.6.1.. i need to make some external setting in those xml???????

Thanks Chandra

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
JustinEd3Accepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

These files aren't used in CQ/AEM unless you are deploying into an App Server.

8 replies

smacdonald2008
Level 10
Oct 16, 2015 2:27 AM UTC

Sham and Justin are correct -- with CQ you are not creating J2EE Enterprise beans such as session or entity beans or configuring it like a J2EE or even Spring Java application. You are working with OSGi components, Sling, and the JCR. 

Translate
Sham_HC
Level 10
Oct 16, 2015 2:27 AM UTC

Sorry I could not understand what you are exactly looking. Generally that you would configure in server.xml (most option should be availble in felix console http service in 5.6.1) & web.xml you would add like filters. You can bridge that gap with implementing [1].  

[1]   http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html

Translate
Adobe Employee
Oct 16, 2015 2:27 AM UTC

CQ is not a JavaEE container. It can run in a JavaEE container, but does not provide one.

If you provide the specific XML you are referring to, perhaps someone can tell you how to achive something similar in CQ.

Translate
Chandra_gupta
Level 4
Oct 16, 2015 2:27 AM UTC

There is some hook  (XML Entry )for Introspect. typically any j2ee application... those hooks are added that enabled to send message to extremal monitoring application .

In case AEm 5.6.1 i am not sure where i can put that xml where i can inject that hook.

Translate
Sham_HC
Level 10
Oct 16, 2015 2:27 AM UTC

Please elaborate what are you trying to achieve? 

Translate
Chandra_gupta
Level 4
Oct 16, 2015 2:27 AM UTC

I am surprised.,. how j2ee application without these configurations..I have to inject introspect xml into those..

Translate
JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

These files aren't used in CQ/AEM unless you are deploying into an App Server.

Translate
Oct 16, 2015 2:27 AM UTC

Hi Chandra,

as I imagine you need to add a 'filter' configuration into the web.xml. In
CQ you need to do this programatically and send the events to the
introscope classes. In other words, you need an adapter to introscope. Or
maybe this would help: http://forums.adobe.com/thread/1212573
 

Translate