<?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 Re: Activiti initial fail when deploy war to JBoss 6.2 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195247#M148377</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the same DB driver in JBoss and Tomcat 7?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Apr 2015 11:15:12 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2015-04-01T11:15:12Z</dc:date>
    <item>
      <title>Activiti initial fail when deploy war to JBoss 6.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195242#M148372</link>
      <description>I'm trying to deploy an activiti based bpm application to JBoss 6.2, but unfortunately when start JBoss, it is failed due to the sql statement13:50:35,867 INFO&amp;nbsp; [stdout] (Thread-94) ### Cause: com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near the keyword 'where'.13:50:35,867 INF</description>
      <pubDate>Tue, 31 Mar 2015 02:33:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195242#M148372</guid>
      <dc:creator>huntter</dc:creator>
      <dc:date>2015-03-31T02:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti initial fail when deploy war to JBoss 6.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195243#M148373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;And from the activiti guide, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;databaseType: it’s normally not necessary to specify this property as it is automatically analyzed from the database connection meta data. Should only be specified in case automatic detection fails. Possible values: {h2, mysql, oracle, postgres, mssql, db2}. This property is required when not using the default H2 database. This setting will determine which create/drop scripts and queries will be used. See the supported databases section for an overview of which types are supported.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;It is mentioned the &lt;/SPAN&gt;&lt;STRONG&gt;databaseType&lt;/STRONG&gt;&lt;SPAN&gt; configuration, In general it is automatially analyzed from the database connection meta data, and I have tried to give the dedicate value &lt;/SPAN&gt;&lt;STRONG&gt;mssql&lt;/STRONG&gt;&lt;SPAN&gt; in the activiti configuration. but still encounter the same issue when startup.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 02:45:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195243#M148373</guid>
      <dc:creator>huntter</dc:creator>
      <dc:date>2015-03-31T02:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti initial fail when deploy war to JBoss 6.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195244#M148374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm using the JBoss datasource, maybe this is caused by the activiti cannot parse the datasouce and get the real dataType.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 07:07:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195244#M148374</guid>
      <dc:creator>huntter</dc:creator>
      <dc:date>2015-03-31T07:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti initial fail when deploy war to JBoss 6.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195245#M148375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;&amp;gt; I'm using the JBoss datasource, maybe this is caused by the activiti cannot parse the datasouce and get the real dataType.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hmm could be it, althought the metadata returned should be the same. Did you try setting the db type?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 09:26:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195245#M148375</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-03-31T09:26:00Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti initial fail when deploy war to JBoss 6.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195246#M148376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, I set the databaseType to mssql in the spring confgiration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;code&amp;gt;&amp;lt;property name="databaseType" value="mssql" /&amp;gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And I have tried with a simple jsp file, it can return the correct database type from the JBoss datasource. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%@ page import="javax.naming.InitialContext" %&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%@ page import="javax.sql.DataSource" %&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%@ page import="java.sql.Connection" %&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%@ page import="java.sql.DatabaseMetaData" %&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pageEncoding="ISO-8859-1" %&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "&lt;/SPAN&gt;&lt;A href="http://www.w3.org/TR/html4/loose.dtd" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/TR/html4/loose.dtd&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;title&amp;gt;Insert title here&amp;lt;/title&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;body&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitialContext context = new InitialContext();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DataSource dataSource = (DataSource) context.lookup("jdbc/activitiDB");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Connection connection = dataSource.getConnection();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DatabaseMetaData metaData = connection.getMetaData();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; String databaseProductName = metaData.getDatabaseProductName();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; out.print(databaseProductName);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;%&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/body&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 09:15:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195246#M148376</guid>
      <dc:creator>huntter</dc:creator>
      <dc:date>2015-04-01T09:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti initial fail when deploy war to JBoss 6.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195247#M148377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you using the same DB driver in JBoss and Tomcat 7?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 11:15:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195247#M148377</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2015-04-01T11:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti initial fail when deploy war to JBoss 6.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195248#M148378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Really sorry about it. now I have found the root cause, this is not activiti issue or JBoss issue, in our application, they defined another datasource which only used for the data migration, and I didn,t update the databaseType to mssql consistently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks guys for all your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 01:27:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195248#M148378</guid>
      <dc:creator>huntter</dc:creator>
      <dc:date>2015-04-02T01:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti initial fail when deploy war to JBoss 6.2</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195249#M148379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No prob, thanks for posting back your solution. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 12:49:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-initial-fail-when-deploy-war-to-jboss-6-2/m-p/195249#M148379</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-04-07T12:49:11Z</dc:date>
    </item>
  </channel>
</rss>

