<?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: Boundary Timer Event throwing SQLException - Invalid column in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109008#M76486</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your response.&amp;nbsp; I was finally able to return to this problem and try your suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the activiti.cfg.xml to explicitly define the databaseType rather than relying on the automatic detection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;The problem of the SQL Exception - Invalid Column Name went away.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, thank you for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jun 2012 17:56:25 GMT</pubDate>
    <dc:creator>ct1</dc:creator>
    <dc:date>2012-06-28T17:56:25Z</dc:date>
    <item>
      <title>Boundary Timer Event throwing SQLException - Invalid column</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109002#M76480</link>
      <description>Sirs:While trying to use a bounday timer event, I am getting "SQLException: Invalid column name 'TRUE'."I copied the loanrequest.bpmn20.xml file from the Activiti In Action source code into a project in Eclipse (Indigo Release 2).&amp;nbsp; I also put the Java program needed by the service task in the loanre</description>
      <pubDate>Wed, 30 May 2012 15:38:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109002#M76480</guid>
      <dc:creator>ct1</dc:creator>
      <dc:date>2012-05-30T15:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary Timer Event throwing SQLException - Invalid column</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109003#M76481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sirs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before you ask whether the Job Executor is turned on, here is a copy of the activiti.cfg.xml file on the classpath:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;lt;beans xmlns="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;" &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xsi:schemaLocation="&lt;A href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&amp;nbsp;&amp;nbsp; &lt;A href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Use these values for LUSR0989 –&amp;gt;&lt;BR /&gt;&amp;lt;!– &amp;lt;property name="jdbcUrl" value="jdbc:jtds:sqlserver://LUSR0989:1433/Workflow_DB1" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcDriver" value="net.sourceforge.jtds.jdbc.Driver"/&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUsername" value="yyyyyyyyyy" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcPassword" value="xxxxxxxxxx" /&amp;gt;&lt;BR /&gt; –&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Use these values for LUSR1506 –&amp;gt;&lt;BR /&gt;&amp;lt;!– &amp;lt;property name="jdbcUrl" value="jdbc:jtds:sqlserver://LUSR1506:1433/Workflow_DB1" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcDriver" value="net.sourceforge.jtds.jdbc.Driver"/&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUsername" value="yyyyyyyyyy" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcPassword" value="xxxxxxxxxx" /&amp;gt;&lt;BR /&gt; –&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!– Use these values for LUSR1315 –&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUrl" value="jdbc:jtds:sqlserver://LUSR1315:1433/Activiti_DB" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcDriver" value="net.sourceforge.jtds.jdbc.Driver"/&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcUsername" value="yyyyyyyyyy" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jdbcPassword" value="xxxxxxxxxx" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/bean&amp;gt;&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2012 21:30:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109003#M76481</guid>
      <dc:creator>ct1</dc:creator>
      <dc:date>2012-05-30T21:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary Timer Event throwing SQLException - Invalid column</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109004#M76482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks like the wrong select exclusive query is executed and MS SQL Server doesn't understand it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you get the query string that's being executed against MS SQL Server?&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>Fri, 01 Jun 2012 09:03:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109004#M76482</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-06-01T09:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary Timer Event throwing SQLException - Invalid column</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109005#M76483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I stumbled around in SQL Server Management Studio to try to find a way to log the SQL statement sent just prior to the exception noted in my previous post. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this is the statement (please let me know if I found the wrong SQL statement):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;(@P0 datetime,@P1 datetime,@P2 nvarchar(4000))select * &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; from ACT_RU_JOB&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; where (RETRIES_ &amp;gt; 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and (DUEDATE_ is null or DUEDATE_ &amp;lt;&amp;nbsp; @P0 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and (LOCK_OWNER_ is null or LOCK_EXP_TIME_ &amp;lt;&amp;nbsp; @P1 )&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and (RETRIES_ &amp;gt; 0)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and (EXCLUSIVE_ = TRUE)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and (PROCESS_INSTANCE_ID_ =&amp;nbsp; @P2 )&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;The row in the ACT_RU_JOB table and the activiti.cfg.xml file on the classpath are shown in my previous post.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the db.properties file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;db=mssql&lt;BR /&gt;jdbc.driver=net.sourceforge.jtds.jdbc.Driver&lt;BR /&gt;jdbc.url=jdbc\:jtds\:sqlserver\://LUSR1315\:1433/Activiti_DB&lt;BR /&gt;jdbc.username=yyyyyyyyyyyy&lt;BR /&gt;jdbc.password=xxxxxxxxxxxx&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the DDL used to create this table:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;create table ACT_RU_JOB (&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID_ nvarchar(64) NOT NULL,&lt;BR /&gt; REV_ int,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; TYPE_ nvarchar(255) NOT NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOCK_EXP_TIME_ datetime,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOCK_OWNER_ nvarchar(255),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCLUSIVE_ bit,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXECUTION_ID_ nvarchar(64),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; PROCESS_INSTANCE_ID_ nvarchar(64),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETRIES_ int,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTION_STACK_ID_ nvarchar(64),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXCEPTION_MSG_ nvarchar(4000),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; DUEDATE_ datetime NULL,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; REPEAT_ nvarchar(255),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HANDLER_TYPE_ nvarchar(255),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; HANDLER_CFG_ nvarchar(4000),&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; primary key (ID_)&lt;BR /&gt;);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;When I first saw the exception, I also thought that a query that was using a different schema must have been executed, but I thought that which queries are used is determined by the definition of the database in the configuration and the properties files.&amp;nbsp; As far as I can tell, these point to the MS SQL database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What could trigger the execution of the wrong select exclusive query with this activiti.xml.cfg and this db.properties file?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 16:39:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109005#M76483</guid>
      <dc:creator>ct1</dc:creator>
      <dc:date>2012-06-04T16:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary Timer Event throwing SQLException - Invalid column</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109006#M76484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As far as my MSSQL knowledge goos, MSSQL doesn't have a Boolean type, so I doubt the 'TRUE' literal will exist. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What version of MSSQL-server are you using (we test using 2008 using JDBC jtds-1.2.4)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try setting the 'databaseType' parameter in your configuration manually to 'mssql' to be sure the right db-type is used?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 07:37:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109006#M76484</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-06-13T07:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary Timer Event throwing SQLException - Invalid column</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109007#M76485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe it helps. We have the same problem with Activiti 5.9 and MSSQL-Database Version 10.50.1617.0. We use the MS jdbc driver in sqljdbc4.jar.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With Activiti 5.8 everthing works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jun 2012 11:47:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109007#M76485</guid>
      <dc:creator>uhn</dc:creator>
      <dc:date>2012-06-18T11:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Boundary Timer Event throwing SQLException - Invalid column</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109008#M76486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your response.&amp;nbsp; I was finally able to return to this problem and try your suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I changed the activiti.cfg.xml to explicitly define the databaseType rather than relying on the automatic detection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;The problem of the SQL Exception - Invalid Column Name went away.&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, thank you for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2012 17:56:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/boundary-timer-event-throwing-sqlexception-invalid-column/m-p/109008#M76486</guid>
      <dc:creator>ct1</dc:creator>
      <dc:date>2012-06-28T17:56:25Z</dc:date>
    </item>
  </channel>
</rss>

