Changes to the XML(spring bean) configuration file are not reflected in the bonita

1
+1
-1

I am setting LDAP LogIn of bonita community 7.5.2, refering below URL
https://community.bonitasoft.com/questions-and-answers/steps-enable-acti...

I modified spring bean xml file, but the change to the xml file are not reflected in the bonita.

C:\BonitaBPMCommunity-7.5.2\workspace\tomcat\setup\platform_conf\initial\platform_engine\
bonita-platform-custom.xml:

<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">

    <bean id="authenticationService" class="org.bonitasoft.engine.authentication.impl.JAASAuthenticationServiceImpl" >
       <constructor-arg index="0" name="logger" ref="tenantTechnicalLoggerService" />
       <constructor-arg index="1" name="sessionAccessor" ref="sessionAccessor" />
    </bean>
    <bean id="tenantTechnicalLoggerService" class="org.bonitasoft.engine.log.technical.TechnicalLoggerSLF4JImpl">
        <constructor-arg name="tenantId" value="${tenantId}" />
    </bean>

</beans>

And, one time, I modified xml file(bonita-platform-custom.xml) and grep bonita installed folder, grep result showed below.
(I changed tenantTechnicalLoggerService to tenantTechnicalLoggerServiceAAA / BBB)

C:\BonitaBPMCommunity-7.5.2\workspace\tomcat\h2_database\bonita_journal.db.h2.db(2966,54)  [SJIS]:        <constructor-arg index="0" name="logger" ref="tenantTechnicalLoggerService" />

C:\BonitaBPMCommunity-7.5.2\plugins\org.bonitasoft.studio.console.libs_7.5.2.201707041124\tomcat\setup\platform_conf\initial\platform_engine\bonita-platform-custom.xml(6,54)  [SJIS]:        <constructor-arg index="0" name="logger" ref="tenantTechnicalLoggerServiceBBB" />
C:\BonitaBPMCommunity-7.5.2\plugins\org.bonitasoft.studio.console.libs_7.5.2.201707041124\tomcat\setup\platform_conf\initial\platform_engine\bonita-platform-custom.xml(34,15)  [SJIS]:     <bean id="tenantTechnicalLoggerServiceBBB" class="org.bonitasoft.engine.log.technical.TechnicalLoggerSLF4JImpl">

C:\BonitaBPMCommunity-7.5.2\workspace\tomcat\setup\platform_conf\initial\platform_engine\bonita-platform-custom.xml(6,54)  [SJIS]:        <constructor-arg index="0" name="logger" ref="tenantTechnicalLoggerServiceAAA" />
C:\BonitaBPMCommunity-7.5.2\workspace\tomcat\setup\platform_conf\initial\platform_engine\bonita-platform-custom.xml(34,15)  [SJIS]:     <bean id="tenantTechnicalLoggerServiceAAA" class="org.bonitasoft.engine.log.technical.TechnicalLoggerSLF4JImpl">

I think changing xml file does not work to h2 database of bonita.
How does changing xml file work?

Would you help me please.

No answers yet.
Notifications