部署kie-wb-distribution-wars-6.0.1.Final-tomcat7的问题

时间:2014-05-14 09:18:46

标签: tomcat deployment jbpm guvnor kie

我在部署kie-wb-distribution-wars-6.0.1.Final-tomcat7时遇到了一些问题。 我跟着Michael Anstis的指南(README),但应用程序给出了一些问题。

我附上日志。

mag 13, 2014 9:46:31 AM org.apache.catalina.core.AprLifecycleListener init
Informazioni: Loaded APR based Apache Tomcat Native library 1.1.29 using APR version 1.4.8.
mag 13, 2014 9:46:31 AM org.apache.catalina.core.AprLifecycleListener init
Informazioni: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
mag 13, 2014 9:46:33 AM org.apache.catalina.core.AprLifecycleListener initializeSSL
Informazioni: OpenSSL successfully initialized (OpenSSL 1.0.1e 11 Feb 2013)
mag 13, 2014 9:46:34 AM org.apache.coyote.AbstractProtocol init
Informazioni: Initializing ProtocolHandler ["http-apr-8080"]
mag 13, 2014 9:46:34 AM org.apache.coyote.AbstractProtocol init
Informazioni: Initializing ProtocolHandler ["ajp-apr-8009"]
mag 13, 2014 9:46:34 AM org.apache.catalina.startup.Catalina load
Informazioni: Initialization processed in 4380 ms
mag 13, 2014 9:46:34 AM org.apache.catalina.core.StandardService startInternal
Informazioni: Starting service Catalina
mag 13, 2014 9:46:34 AM org.apache.catalina.core.StandardEngine startInternal
Informazioni: Starting Servlet Engine: Apache Tomcat/7.0.53
mag 13, 2014 9:46:34 AM org.apache.catalina.startup.HostConfig deployWAR
Informazioni: Deploying web application archive C:\Eclipse2\apache-tomcat-7.0.53\webapps\kie-wb-distribution-wars-6.0.1.Final-tomcat7.war
mag 13, 2014 9:46:35 AM bitronix.tm.integration.tomcat55.BTMLifecycleListener lifecycleEvent
Informazioni: Starting Bitronix Transaction Manager
mag 13, 2014 9:46:35 AM bitronix.tm.BitronixTransactionManager logVersion
Informazioni: Bitronix Transaction Manager version 2.1.4
mag 13, 2014 9:46:35 AM bitronix.tm.Configuration buildServerIdArray
Avvertenza: cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
mag 13, 2014 9:46:35 AM bitronix.tm.Configuration buildServerIdArray
Informazioni: JVM unique ID: <192.168.88.90>
mag 13, 2014 9:46:35 AM bitronix.tm.recovery.Recoverer run
Informazioni: recovery committed 0 dangling transaction(s) and rolled back 0 aborted transaction(s) on 0 resource(s) [] (restricted to serverId '192.168.88.90')
mag 13, 2014 9:47:40 AM org.apache.catalina.startup.TaglibUriRule body
Informazioni: TLD skipped. URI: http://jakarta.apache.org/taglibs/i18n-1.0 is already defined
mag 13, 2014 9:47:40 AM org.apache.catalina.core.NamingContextListener addResource
Avvertenza: Failed to register in JMX: javax.naming.NamingException: no resource registered with uniqueName 'jdbc/jbpm', available resources: []
mag 13, 2014 9:48:26 AM org.apache.catalina.core.StandardContext startInternal
Grave: Error listenerStart
mag 13, 2014 9:48:26 AM org.apache.catalina.core.StandardContext startInternal
Grave: Context [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] startup failed due to previous errors
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] appears to have started a thread named [pool-4-thread-1] but has failed to stop it. This is very likely to create a memory leak.
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] appears to have started a thread named [Thread-7] but has failed to stop it. This is very likely to create a memory leak.
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] appears to have started a thread named [pool-7-thread-1] but has failed to stop it. This is very likely to create a memory leak.
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] appears to have started a thread named [org.uberfire.backend.server.IOWatchServiceNonDotImpl(WatchService{FileSystem=git://localhost:9418/jbpm-playground
ssh://localhost:8001/jbpm-playground})] but has failed to stop it. This is very likely to create a memory leak.
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] appears to have started a thread named [org.uberfire.backend.server.IOWatchServiceNonDotImpl(WatchService{FileSystem=git://localhost:9418/uf-playground
ssh://localhost:8001/uf-playground})] but has failed to stop it. This is very likely to create a memory leak.
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] appears to have started a thread named [Git-Daemon-Accept] but has failed to stop it. This is very likely to create a memory leak.
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] appears to have started a thread named [IOServiceIndexedImpl(WatchService{FileSystem=git://localhost:9418/jbpm-playground
ssh://localhost:8001/jbpm-playground})] but has failed to stop it. This is very likely to create a memory leak.
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] appears to have started a thread named [IOServiceIndexedImpl(WatchService{FileSystem=git://localhost:9418/uf-playground
ssh://localhost:8001/uf-playground})] but has failed to stop it. This is very likely to create a memory leak.
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] created a ThreadLocal with key of type [org.jboss.errai.config.util.ClassScanner$1] (value [org.jboss.errai.config.util.ClassScanner$1@7d533f22]) and a value of type [java.lang.Boolean] (value [true]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
mag 13, 2014 9:48:26 AM org.apache.catalina.loader.WebappClassLoader checkThreadLocalMapForLeaks
Grave: The web application [/kie-wb-distribution-wars-6.0.1.Final-tomcat7] created a ThreadLocal with key of type [org.jboss.solder.servlet.beanManager.ServletContextAttributeProvider$1] (value [org.jboss.solder.servlet.beanManager.ServletContextAttributeProvider$1@64561175]) and a value of type [org.apache.catalina.core.ApplicationContextFacade] (value [org.apache.catalina.core.ApplicationContextFacade@4e944bc9]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
mag 13, 2014 9:48:27 AM bitronix.tm.integration.tomcat55.BTMLifecycleListener lifecycleEvent
Informazioni: Shutting down Bitronix Transaction Manager
mag 13, 2014 9:48:27 AM bitronix.tm.BitronixTransactionManager shutdown
Informazioni: shutting down Bitronix Transaction Manager
mag 13, 2014 9:48:27 AM org.apache.catalina.startup.HostConfig deployDirectory
Informazioni: Deploying web application directory C:\Eclipse2\apache-tomcat-7.0.53\webapps\docs
mag 13, 2014 9:48:28 AM org.apache.catalina.startup.HostConfig deployDirectory
Informazioni: Deploying web application directory C:\Eclipse2\apache-tomcat-7.0.53\webapps\examples
mag 13, 2014 9:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
Informazioni: Deploying web application directory C:\Eclipse2\apache-tomcat-7.0.53\webapps\host-manager
mag 13, 2014 9:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
Informazioni: Deploying web application directory C:\Eclipse2\apache-tomcat-7.0.53\webapps\manager
mag 13, 2014 9:48:29 AM org.apache.catalina.startup.HostConfig deployDirectory
Informazioni: Deploying web application directory C:\Eclipse2\apache-tomcat-7.0.53\webapps\ROOT
mag 13, 2014 9:48:30 AM org.apache.coyote.AbstractProtocol start
Informazioni: Starting ProtocolHandler ["http-apr-8080"]
mag 13, 2014 9:48:30 AM org.apache.coyote.AbstractProtocol start
Informazioni: Starting ProtocolHandler ["ajp-apr-8009"]
mag 13, 2014 9:48:30 AM org.apache.catalina.startup.Catalina start
Informazioni: Server startup in 115456 ms

对不起,但我疯了。

3 个答案:

答案 0 :(得分:3)

post将提供最佳建议。正如Ludovic所指出的那样,你的btm-config.properties文件没有被读取 - 这是显而易见的,因为消息“无法获取此JVM唯一ID”并且没有注册任何资源 - “可用资源:[]”。不幸的是,大多数文档都不适合Windows,因此需要进行一些调整。这是我使用的setenv.bat文件,必须放在tomcat_home / bin目录中:

set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_60
set CATALINA_HOME=C:\apache-tomcat-7.0.55
set CATALINA_OPTS=-Xmx512M -XX:MaxPermSize=512m -Dbtm.root=%CATALINA_HOME% -Dbitronix.tm.configuration=%CATALINA_HOME%\conf\btm-config.properties -Djbpm.tsr.jndi.lookup=java:comp/env/TransactionSynchronizationRegistry -Djava.security.auth.login.config=%CATALINA_HOME%\webapps\kie-wb\WEB-INF\classes\login.config -Dorg.jboss.logging.provider=jdk

请注意,如果您使用tomcat作为服务,则需要使用配置工具设置选项,如here所述。

答案 1 :(得分:0)

您能描述一下您遇到的问题吗?根据您粘贴的日志,那里没有太多信息可以清楚地看到这些日志的最终结果。

答案 2 :(得分:0)

问题是未部署应用程序。

我正在尝试在Tomcat上安装KIE-WB。 为了减少可能的错误,我首先尝试部署6.0.1版本,然后是6.1的最后一个版本。 在这两种情况下,我都试图遵循战争中的README,但在任何一种情况下我都有相同类型的错误。

也许我不明白确切的序列。

这是我在Windows下所做的: 1已下载apache-tomcat-7.0.53.tar

  1. 应用了请求的修改,我在此文件中将其压缩到dropbox上: dropbox.com/s/ajshfwjmeldtlmg/modFiles.zip 您只需复制tomact目录中的文件夹。

  2. 最后尝试部署kie-wb-distribution-wars-6.1.0-20140511.124239-177-tomcat7

  3. Dropbox zip文件适用于版本6.1,但6.0.1的日志相同,但之前进行了更多修改。

    这些问题来自:

    issues.jboss.org/browse/DROOLS-425 issues.jboss.org/browse/DROOLS-406

    和kie-wb-distribution-wars中的read-me应该是一种解决方法,但即使按照说明我仍然有内存泄漏错误。