Where is web.xml and server.xml in AEM 5.6.1 | Community
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.
JustinEd3Accepted solution
Employee
October 16, 2015

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

8 replies

October 16, 2015

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
JustinEd3Accepted solution
Employee
October 16, 2015

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

Translate
Chandra_gupta
Level 4
October 16, 2015

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

Translate
Sham_HC
Level 10
October 16, 2015

Please elaborate what are you trying to achieve? 

Translate
Chandra_gupta
Level 4
October 16, 2015

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
Employee
October 16, 2015

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
Sham_HC
Level 10
October 16, 2015

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
smacdonald2008
Level 10
October 16, 2015

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