Ошибка при запуске Kie-Server в Tomcat 9.0.21 - PullRequest
0 голосов
/ 26 июня 2019

Приложение Kie-server не запускается в Apache Tomcat 9.0.21

Я устанавливаю Kie-Server (я пытаюсь установить последнюю версию 7.23) в Apache Tomcat 9.0.21 в соответствии с инструкциями, указанными впо следующей ссылке.https://raw.githubusercontent.com/kiegroup/droolsjbpm-integration/master/kie-server-parent/kie-server-wars/kie-server/src/main/webc-resources/README.md

Я пытаюсь установить последнюю версию, т.е. 7.23 сервера kie.

Я использовал следующие версии библиотек - slf4j-api-1.7.22.jar, slf4j-jdk14-1.7.22, javax.security.jacc-api-1.6, kie-tomcat-integration-7.23.0.Final В качестве последнего шага я скопировал jar-файл kie-server из установочного каталога jbpm - standalone \ deployments\ kie-server.war в каталог apache-omcat-9.0.21 \ webapps.Я не уверен, что этот шаг правильный или мне нужно скопировать другую версию kie-server.war (для Tomcat),

Я ожидаю, что приложение Kie-Server будет запущено.Однако при запуске kie-сервера возникает исключительная ситуация.

Я получаю следующую ошибку.

24-Jun-2019 20:42:30.740 SEVERE [main] 
org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [org.kie.server.remote.rest.common.Bootstrap]
java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/apache/catalina/loader/ParallelWebappClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of java/net/URLClassLoader) for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature
  at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:418)
  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
  at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
  at org.kie.server.remote.rest.common.Bootstrap.<clinit>(Bootstrap.java:34)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  at java.lang.reflect.Constructor.newInstance(Unknown Source)
  at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:151)
  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4604)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5143)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:717)
  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:690)
  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)
  at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:978)
  at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1849)
  at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  at java.util.concurrent.FutureTask.run(Unknown Source)
  at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
  at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:773)
  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1576)
  at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:309)
  at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123)
  at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423)
  at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366)
  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:936)
  at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1384)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1374)
  at java.util.concurrent.FutureTask.run(Unknown Source)
  at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
  at java.util.concurrent.AbstractExecutorService.submit(Unknown Source)
  at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:909)
  at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
  at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  at java.lang.reflect.Method.invoke(Unknown Source)
  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344)
  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475)
24-Jun-2019 20:42:30.740 SEVERE [main] org.apache.catalina.core.StandardContext.listenerStart Skipped installing application listeners due to previous error(s)
24-Jun-2019 20:42:31.198 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextInitialized()
24-Jun-2019 20:42:31.198 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextInitialized()
24-Jun-2019 20:42:31.200 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: attributeAdded('StockTicker', 'async.Stockticker@c4e27f8')
24-Jun-2019 20:44:30.843 INFO [main] org.apache.catalina.core.ApplicationContext.log SessionListener: contextDestroyed()
24-Jun-2019 20:44:30.843 INFO [main] org.apache.catalina.core.ApplicationContext.log ContextListener: contextDestroyed()
...