Magnolia 5.5 reached end of life on November 15, 2019. This branch is no longer supported, see End-of-life policy.
Included in the Magnolia bundle, Apache Tomcat application server provides an environment where the Magnolia application is executed.
To install Tomcat:
C:\Program Files\Apache Software Foundation and installed Tomcat version 6.0.32. The subdirectory apache-tomcat-6.0.32 is created from the archive.To verify installation:
cd C:\Program Files\Apache Software Foundation\apache-tomcat-8.5.50Start Tomcat. bin\startup.bat
A second command prompt window is displayed for Tomcat. The following lines appear when the server has started:
org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/66 config=null org.apache.catalina.startup.Catalina start INFO: Server startup in 2238 ms
Open a browser and go to http://localhost:8080. The message "If you're seeing this page via web browser, it means you've setup Tomcat successfully." indicates success.
Type bin\shutdown.bat in the first command prompt window to stop Tomcat.
2 Comments
biseraivanovska
I am having project running mangolia 5.5.6. If tomcat 8.5.5 is recommend to be used, then why when I start the application I get lot's of warnings and when I try to edit the page, I get this error?
jul. 05, 2018 9:13:03 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [default] in context with path [/vzd-wcms] threw exception
java.lang.IllegalArgumentException: An invalid domain [.*] was specified for this cookie
at org.apache.tomcat.util.http.Rfc6265CookieProcessor.validateDomain(Rfc6265CookieProcessor.java:183)
at org.apache.tomcat.util.http.Rfc6265CookieProcessor.generateHeader(Rfc6265CookieProcessor.java:125)
at org.apache.catalina.connector.Response.generateCookieString(Response.java:989)
at org.apache.catalina.connector.Response.addCookie(Response.java:937)
at org.apache.catalina.connector.ResponseFacade.addCookie(ResponseFacade.java:386)
at javax.servlet.http.HttpServletResponseWrapper.addCookie(HttpServletResponseWrapper.java:58)
at javax.servlet.http.HttpServletResponseWrapper.addCookie(HttpServletResponseWrapper.java:58)
at javax.servlet.http.HttpServletResponseWrapper.addCookie(HttpServletResponseWrapper.java:58)
how to resolve this?
Thanks in advance,
Bisera
biseraivanovska
Problem solved
the context.xml file has to be updated by configuring the new cookieprocessor: