Hi,
I am trying to upgrade from OpenKM v6.3.2 to v6.3.3 (community version) following the guide at "https://docs.openkm.com/kcenter/view/ok ... o-633.html". But, I am getting the following error in catalina.log.
I appreciate any suggestion to resolve this issue...
I am trying to upgrade from OpenKM v6.3.2 to v6.3.3 (community version) following the guide at "https://docs.openkm.com/kcenter/view/ok ... o-633.html". But, I am getting the following error in catalina.log.
I appreciate any suggestion to resolve this issue...
Code: Select all
And, here is the content of my OpenKM.xml
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: You cannot use a spring-security-2.0.xsd or spring-security-3.0.xsd schema with Spring Security 3.1. Please update your schema declarations to the 3.1 schema.
Offending resource: URL [file:/opt/tomcat/OpenKM.xml]
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:security="http://www.springframework.org/schema/security"
xmlns:task="http://www.springframework.org/schema/task"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.2.xsd
http://www.springframework.org/schema/task
http://www.springframework.org/schema/task/spring-task-3.1.xsd">
<!-- Security configuration -->
<security:authentication-manager alias="authenticationManager">
<security:authentication-provider>
<security:password-encoder hash="md5"/>
<security:jdbc-user-service
data-source-ref="dataSource"
users-by-username-query="select usr_id, usr_password, 1 from OKM_USER where usr_id=? and usr_active='T'"
authorities-by-username-query="select ur_user, ur_role from OKM_USER_ROLE where ur_user=?"/>
</security:authentication-provider>
</security:authentication-manager>
</beans:beans>