I'm trying to expose ws for rules created in openL .
Getting below error while starting tomcat. Error:
R [WARN ] 21:55:31.018 [main] org.springframework.context.support.ClassPathXmlAp
plicationContext - Exception encountered during context initialization - cancell
ing refresh attempt: org.springframework.beans.factory.BeanCreationException: Er
ror creating bean with name 'ruleServiceInstantiationFactory' defined in class p
ath resource [openl-ruleservice-core-beans.xml]: Cannot resolve reference to bea
n 'ruleServiceLoader' while setting bean property 'ruleServiceLoader'; nested ex
ception is org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'ruleServiceLoader' defined in class path resource [openl-rule
service-loader-beans.xml]: Cannot resolve reference to bean 'datasourceConfigure
rFactoryBean' while setting constructor argument; nested exception is org.spring
framework.beans.factory.BeanCreationException: Error creating bean with name 'da
tasourceConfigurerFactoryBean': FactoryBean threw exception on object creation;
nested exception is org.springframework.beans.factory.BeanCreationException: Err
or creating bean with name 'deployClasspathJarsBean' defined in class path resou
rce [openl-ruleservice-datasource-beans.xml]: Cannot resolve reference to bean '
rulesDeployerService' while setting bean property 'rulesDeployerService'; nested
exception is org.springframework.beans.factory.BeanCreationException: Error cre
ating bean with name 'rulesDeployerService' defined in class path resource [open
l-ruleservice-datasource-beans.xml]: Cannot resolve reference to bean 'repositor
y' while setting constructor argument; nested exception is org.springframework.b
eans.factory.BeanCreationException: Error creating bean with name 'repository' d
efined in class path resource [openl-ruleservice-datasource-beans.xml]: Bean ins
tantiation via factory method failed; nested exception is org.springframework.be
ans.BeanInstantiationException: Failed to instantiate [org.openl.rules.repositor
y.api.Repository]: Factory method 'newRepository' threw exception; nested except
ion is java.lang.IllegalStateException: Failed on method 'class org.openl.rules.
repository.db.JdbcDBRepositoryFactory.initialize()' call.
09-May-2021 21:55:31.034 SEVERE [main] org.apache.catalina.core.StandardContext.
startInternal One or more listeners failed to start. Full details will be found
in the appropriate container log file
followed below steps: Deployed openl-tablets-ws-all-5.24.1.war file in tomcat Added below values in application.properties file
* ruleservice.dattasource.type=jcr
* production-repository.factory=org.openl.rules.repository.db.JdbcDBRepositoryFactory
* production-repository.uri=****
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
Unfortunately, we're not able to identify the root case of the webservice failure by the peace of logs you've provided. Is it possible for you to share more logs?
Also, please pay attention that the property " ruleservice.dattasource.type" is obsolete
See the migration notes: http://openl-tablets.org/migration-notes
Best Regards,
Alena.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to expose ws for rules created in openL .
Getting below error while starting tomcat.
Error:
R [WARN ] 21:55:31.018 [main] org.springframework.context.support.ClassPathXmlAp
plicationContext - Exception encountered during context initialization - cancell
ing refresh attempt: org.springframework.beans.factory.BeanCreationException: Er
ror creating bean with name 'ruleServiceInstantiationFactory' defined in class p
ath resource [openl-ruleservice-core-beans.xml]: Cannot resolve reference to bea
n 'ruleServiceLoader' while setting bean property 'ruleServiceLoader'; nested ex
ception is org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'ruleServiceLoader' defined in class path resource [openl-rule
service-loader-beans.xml]: Cannot resolve reference to bean 'datasourceConfigure
rFactoryBean' while setting constructor argument; nested exception is org.spring
framework.beans.factory.BeanCreationException: Error creating bean with name 'da
tasourceConfigurerFactoryBean': FactoryBean threw exception on object creation;
nested exception is org.springframework.beans.factory.BeanCreationException: Err
or creating bean with name 'deployClasspathJarsBean' defined in class path resou
rce [openl-ruleservice-datasource-beans.xml]: Cannot resolve reference to bean '
rulesDeployerService' while setting bean property 'rulesDeployerService'; nested
exception is org.springframework.beans.factory.BeanCreationException: Error cre
ating bean with name 'rulesDeployerService' defined in class path resource [open
l-ruleservice-datasource-beans.xml]: Cannot resolve reference to bean 'repositor
y' while setting constructor argument; nested exception is org.springframework.b
eans.factory.BeanCreationException: Error creating bean with name 'repository' d
efined in class path resource [openl-ruleservice-datasource-beans.xml]: Bean ins
tantiation via factory method failed; nested exception is org.springframework.be
ans.BeanInstantiationException: Failed to instantiate [org.openl.rules.repositor
y.api.Repository]: Factory method 'newRepository' threw exception; nested except
ion is java.lang.IllegalStateException: Failed on method 'class org.openl.rules.
repository.db.JdbcDBRepositoryFactory.initialize()' call.
09-May-2021 21:55:31.034 SEVERE [main] org.apache.catalina.core.StandardContext.
startInternal One or more listeners failed to start. Full details will be found
in the appropriate container log file
followed below steps:
Deployed openl-tablets-ws-all-5.24.1.war file in tomcat
Added below values in application.properties file
* ruleservice.dattasource.type=jcr
* production-repository.factory=org.openl.rules.repository.db.JdbcDBRepositoryFactory
* production-repository.uri=****
Hello,
Unfortunately, we're not able to identify the root case of the webservice failure by the peace of logs you've provided. Is it possible for you to share more logs?
Also, please pay attention that the property " ruleservice.dattasource.type" is obsolete
See the migration notes: http://openl-tablets.org/migration-notes
Best Regards,
Alena.