<?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: Error while accessing the H2 database from a thing service in ThingWorx Developers</title>
    <link>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504966#M3196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is because we are currently working on a PoC and are restricted to working with limited resources.&lt;/P&gt;&lt;P&gt;Below are the connection details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JDBC Driver class: org.h2.Driver&lt;/P&gt;&lt;P&gt;jdbc:h2:TCP:C:\ThingworxStorage\database\&amp;lt;my_database_name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 Nov 2017 11:02:45 GMT</pubDate>
    <dc:creator>pbadiger</dc:creator>
    <dc:date>2017-11-22T11:02:45Z</dc:date>
    <item>
      <title>Error while accessing the H2 database from a thing service</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504964#M3194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using internal H2 db to host my application data as well. So I have created a database and a table in H2 database from H2 console. When I try to connect to this database and access the table data, I am getting error IO Exception: "java.io.IOException: The filename, directory name, or volume label syntax is incorrect"; "TCP:C:/ThingworxStorage/database/&amp;lt;my_database_name&amp;gt;.mv.db" [90031-192]&lt;/P&gt;&lt;P&gt;Note: I can see that &amp;lt;my_database_name&amp;gt;.mv file is getting created under ThingworxStorage/database&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Pawan Badiger added note&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 07:32:36 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504964#M3194</guid>
      <dc:creator>pbadiger</dc:creator>
      <dc:date>2017-11-22T07:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error while accessing the H2 database from a thing service</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504965#M3195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawan, just curious any specific reason why you prefer to create custom tables in H2 DB rather than connecting an RDBMS via JDBC driver?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you share your connection string?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 09:41:46 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504965#M3195</guid>
      <dc:creator>supandey</dc:creator>
      <dc:date>2017-11-22T09:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error while accessing the H2 database from a thing service</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504966#M3196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is because we are currently working on a PoC and are restricted to working with limited resources.&lt;/P&gt;&lt;P&gt;Below are the connection details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JDBC Driver class: org.h2.Driver&lt;/P&gt;&lt;P&gt;jdbc:h2:TCP:C:\ThingworxStorage\database\&amp;lt;my_database_name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 11:02:45 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504966#M3196</guid>
      <dc:creator>pbadiger</dc:creator>
      <dc:date>2017-11-22T11:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error while accessing the H2 database from a thing service</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504967#M3197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is now resolved.&lt;/P&gt;&lt;P&gt;I changed the connection string to use H2 console, I closed all the browser sessions, which included the H2 console session. This closed the open H2 session allowing thingworx to access the H2 db properly and it worked. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 14:01:35 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504967#M3197</guid>
      <dc:creator>pbadiger</dc:creator>
      <dc:date>2017-11-22T14:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error while accessing the H2 database from a thing service</title>
      <link>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504968#M3198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks for confirming, was still in the process of validating with a local setup. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_emote jive_macro" src="https://community.ptc.com/7.0.4.3b79b96/images/emoticons/happy.png"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Nov 2017 14:57:16 GMT</pubDate>
      <guid>https://community.ptc.com/t5/ThingWorx-Developers/Error-while-accessing-the-H2-database-from-a-thing-service/m-p/504968#M3198</guid>
      <dc:creator>supandey</dc:creator>
      <dc:date>2017-11-22T14:57:16Z</dc:date>
    </item>
  </channel>
</rss>

