xml - How to modify Tomcat related changes in GGTS -
I have a grails app project and it needs to be run in GGTS via run-app command. I want to change the context of In-Bermate Tomcat. MML which uses GGTS / Gallery.
For example, I want to add sessionCookiePath = "/" in context.xml to share the session. I can not find the location of XML files. I checked folders (undergrades), where some belong to TomKit, but I am not able to find related files in Tomcat cone.
What is the session's cookiespath = "/" to add via Config.groovy app project ?? Or can I get it in the real context of actually built biscuits? Or should I take a completely different approach ?? In fact, I used the link suggested by Time_Actets and was able to configure sessionCookiePath if any If the session is looking for an answer to set a session cookie, use it.
- Under the presentations-> script-> Elliots- groovy (_Events.groovy create))
-
Configure the event below Add the tab
eventConfigureTomcat = {tomcat - & gt; If (GrailsUtil.environment == 'development') {def ctx = tomcat.host.findChild (serverContextPath) // serverContextPath is auto-injection or you can use the actual server context for example, "/ app1" ctx.sessionCookiePath = '/'}}
Comments
Post a Comment