In order to use new features introduced in 11.2, you must update
several bean definitions in the
assembler-context.xml file.
To update
assembler-context.xml:
Navigate to the Assembler context file for your application,
WEB-INF/assembler-context.xml.Add the
userStateproperty to three bean definitions.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ BEAN: CartridgeHandler_ContentInclude ~ Used by the assembler service when keyword redirects are not enabled --> <bean id="CartridgeHandler_ContentInclude" class="com.endeca.infront.content.ContentIncludeHandler" scope="prototype"> <property name="contentSource" ref="contentSource" /> <property name="siteState" ref="siteState"/> <property name="userState" ref="${user.state.ref}"/> </bean>Repeat step 3 for the
CartridgeHandler_RedirectAwareContentIncludeandNavigationCartridgeHandlerbean definitions.
Update the Store Factory bean.
In 11.2, all store factory configurations (for both staging and production environments) must use FileStoreFactory.
Optionally update the ID to
storeFactory. This is recommended but not required.Ensure the class name is
com.endeca.infront.content.source.FileStoreFactory.<bean id="storeFactory" class="com.endeca.infront.content.source.FileStoreFactory" init-method="init" destroy-method="destroy"> <property name="configurationPath" value="${repository.configuration.path}"/> <property name="isAuthoring" value="${preview.enabled}"/> <property name="appName" value="${workbench.app.name}" /> <property name="host" value="${workbench.host}" /> <property name="clientPort" value="${workbench.publishing.clientPort}"/> <property name="serverPort" value="${workbench.publishing.serverPort}"/> </bean>
Update all references to the
ecrStoreFactorybean tostoreFactory, or the ID used in theFileStoreFactorybean.Update references to the
ecrStoreFactorybean.<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~ Administration Service --> <bean id="adminService" class="com.endeca.infront.assembler.servlet.admin.AdministrationService"> <property name="storeFactory" ref="storeFactory"/> </bean>Repeat step 5 for the
siteManagerandcontentSourcebean definitions.
Add the
appNameproperty to the Store Factory bean and themdexResourcebean:<property name="appName" value="${workbench.app.name}" />
Repeat this procedure for all of your applications.

