Do you need to reboot the Axon Ivy Engine after you deploy your Axon Ivy Projects? This should not be the case and we treat it as a bug if this needs to be done. This could be a bug in Axon Ivy Engine, which may need to invalidate more caches, but it could be also a problem in your Axon Ivy Projects which may holds things which won't be invalidated after deployment.
We try to fix all this kind of issues, so please report it us 🙆♂, as it best with a demo project so that we can properly reproduce it.
Recently, a customer has reported such a bug. If you change the interface definition cc:interface
of an XHTML component (e.g. adding a new cc:attribute
), then you will need to make a restart so that changes affects.
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:cc="http://xmlns.jcp.org/jsf/composite"
xmlns:ic="http://ivyteam.ch/jsf/component"
xmlns:p="http://primefaces.org/ui"
xmlns:pe="http://primefaces.org/ui/extensions">
<cc:interface componentType="IvyComponent">
<cc:attribute name="showSecondPanel" default="true"></cc:attribute>
</cc:interface>
<cc:implementation>
<h1>Test component from custom project V2.</h1>
<p:panel
rendered="true">
<h:outputText value="Paneltext" />
</p:panel>
<p:panel
rendered="#{cc.attrs.showSecondPanel}">
<h:outputText value="Paneltext 2" />
</p:panel>
</cc:implementation>
</html>
With the upcoming releases (8.0.36, 10.0.13, 11.2) an Axon Ivy Engine restart is no longer needed.