t31321
t31321

Reputation: 773

cant find server.xml on grails tomcat plugin

I have this code snippet on my app:

def listeners = grailsApplication.mainContext.servletContext.context.context.listeners

and the listeners list is empty (but there is a running tomcat instance).

So I guessed that the code is reading the server.xml file of tomcat but when I search it on the plugin directory I can not find it.

Upvotes: 0

Views: 908

Answers (1)

t31321
t31321

Reputation: 773

There is no server.xml in tomcat plugin actually. But there is a hook to it .

I found it here.

http://grails.1312388.n4.nabble.com/tomcat-plugin-where-is-server-xml-and-tomcat-users-xml-td1322273.html

Upvotes: 2

Related Questions