2018

DEPLOYING QUARKXPRESS SERVER MANAGER
12 | Getting Started with QuarkXPress Server 2018
createWebApplicationContext(ServletContext servletContext,
ApplicationContext parent)
{
return
super.createWebApplicationContext(servletContext, parent);
}
}
}
Create a file named “applicationContext.xml” in webapps/qxpsm/WEB-INF 5.
and fill it with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
"http://www.springframework.org/dtd/spring-beans.dtd">
<beans default-lazy-init="false" default-autowire="no"
default-dependency-check="none">
</beans>
Open the QuarkXPress Server Manager “web.xml” file and update 6.
contextConfigLocation and listener-class as follows:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
<listener>
<listener-class>CustomContextLoaderListener</listener-class>
</listener>
If the existing application is already using Spring’s 7.
PropertyPlaceholderConfigurer, open “ManagerContainerConfig.xml”
and specify the parent in the placeholderConfig bean as follows:
<bean id=" placeholderConfig " parent="placeholderConfig"
class="org.springframework.beans.factory.config.PropertyPlaceh
olderConfigurer">