<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic errors when run activiti-rest.war by tomcat7 in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/errors-when-run-activiti-rest-war-by-tomcat7/m-p/11948#M5272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I putted the source code of activiti-webapp-rest2 into idea ,and tried to run it by tomcat7.The db.properties like this&lt;/P&gt;&lt;PRE style="background-color: #2b2b2b; color: #a9b7c6; font-family: 'Consolas'; font-size: 11.3pt;"&gt;&lt;SPAN style="color: #cc7832;"&gt;db&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;mysql&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;jdbc.driver&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;com.mysql.jdbc.Driver&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;jdbc.url&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;jdbc:mysql://127.0.0.1:3306/dumii_activiti?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;zeroDateTimeBehavior=convertToNull&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;jdbc.username&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;root&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;jdbc.password&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;root&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;#db=h2&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;#jdbc.driver=org.h2.Driver&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;#jdbc.url=jdbc:h2:mem:activiti;DB_CLOSE_DELAY=-1&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;#jdbc.username=sa&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;#jdbc.password=&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;When i use db of h2,it can start successful,but when i use mysql,it give errors like this:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;三月 06, 2018 11:20:36 上午 org.apache.catalina.core.StandardContext startInternal&lt;BR /&gt;11:20:36,218 [RMI TCP Connection(3)-127.0.0.1] INFO&amp;nbsp; org.activiti.rest.servlet.WebConfigurer&amp;nbsp; - Destroying Web application&lt;BR /&gt;严重: One or more listeners failed to start. Full details will be found in the appropriate container log file&lt;BR /&gt;三月 06, 2018 11:20:36 上午 org.apache.catalina.core.StandardContext startInternal&lt;BR /&gt;严重: Context [] startup failed due to previous errors&lt;BR /&gt;[2018-03-06 11:20:36,246] Artifact activiti-webapp-rest2:war exploded: Error during artifact deployment. See server log for details.&lt;BR /&gt;三月 06, 2018 11:20:43 上午 org.apache.catalina.startup.HostConfig deployDirectory&lt;BR /&gt;信息: Deploying web application directory E:\Development\apache-tomcat-7.0.85\webapps\manager&lt;BR /&gt;三月 06, 2018 11:20:44 上午 org.apache.catalina.startup.TldConfig execute&lt;BR /&gt;信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.&lt;BR /&gt;三月 06, 2018 11:20:44 上午 org.apache.catalina.startup.HostConfig deployDirectory&lt;BR /&gt;信息: Deployment of web application directory E:\Development\apache-tomcat-7.0.85\webapps\manager has finished in 181 ms&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;then i tried to run it by mvn tomcat7:run,it gives errors like this:&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;严重: Error listenerStart&lt;BR /&gt;三月 06, 2018 11:26:48 上午 org.apache.catalina.core.StandardContext startInternal&lt;BR /&gt;严重: Context [/activiti-rest] startup failed due to previous errors&lt;BR /&gt;三月 06, 2018 11:26:48 上午 org.apache.catalina.core.StandardContext listenerStop&lt;BR /&gt;严重: Exception sending context destroyed event to listener instance of class org.activiti.rest.servlet.WebConfigurer&lt;BR /&gt;java.lang.IllegalStateException: No WebApplicationContext found: no ContextLoaderListener registered?&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.springframework.web.context.support.WebApplicationContextUtils.getRequiredWebApplicationContext(WebApplicationContextUtils.java:83)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.activiti.rest.servlet.WebConfigurer.contextDestroyed(WebConfigurer.java:92)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4980)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5626)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.util.concurrent.FutureTask.run$$$capture(FutureTask.java:262)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.util.concurrent.FutureTask.run(FutureTask.java)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;at java.lang.Thread.run(Thread.java:745)&lt;/P&gt;&lt;P&gt;--------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Who can help me with it,thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 03:28:21 GMT</pubDate>
    <dc:creator>时光机</dc:creator>
    <dc:date>2018-03-06T03:28:21Z</dc:date>
    <item>
      <title>errors when run activiti-rest.war by tomcat7</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/errors-when-run-activiti-rest-war-by-tomcat7/m-p/11948#M5272</link>
      <description>I putted the source code of activiti-webapp-rest2 into idea ,and tried to run it by tomcat7.The db.properties like thisdb=mysqljdbc.driver=com.mysql.jdbc.Driverjdbc.url=jdbc:mysql://127.0.0.1:3306/dumii_activiti?useUnicode=true&amp;amp;characterEncoding=UTF-8&amp;amp;zeroDateTimeBehavior=convertToNulljdbc.u</description>
      <pubDate>Tue, 06 Mar 2018 03:28:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/errors-when-run-activiti-rest-war-by-tomcat7/m-p/11948#M5272</guid>
      <dc:creator>时光机</dc:creator>
      <dc:date>2018-03-06T03:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: errors when run activiti-rest.war by tomcat7</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/errors-when-run-activiti-rest-war-by-tomcat7/m-p/11949#M5273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you paste a full log with errors please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 07:48:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/errors-when-run-activiti-rest-war-by-tomcat7/m-p/11949#M5273</guid>
      <dc:creator>andrakula</dc:creator>
      <dc:date>2018-03-06T07:48:40Z</dc:date>
    </item>
  </channel>
</rss>

