<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>HELP:DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=896815" />
  <subtitle>HELP:DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=896815</id>
  <updated>2026-05-04T15:45:14Z</updated>
  <dc:date>2026-05-04T15:45:14Z</dc:date>
  <entry>
    <title>RE: HELP:DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=76645032" />
    <author>
      <name>Henri Charles</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=76645032</id>
    <updated>2016-07-15T06:38:52Z</updated>
    <published>2016-07-15T06:38:52Z</published>
    <summary type="html">In order to fix your DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, you can check out the help section here &amp;#8211; &lt;a href="https://www.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/codes/src/tpc/n219.html"&gt;https://www.ibm.com/support/knowledgecenter/SSEPEK_10.0.0/codes/src/tpc/n219.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If the above solution does not help you to fix the errors then you can try the third party tool popularly known as &lt;strong&gt;&lt;a href="https://sites.google.com/site/fixedberrors/"&gt;DB2 file Repair Tool&lt;/a&gt;&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;Hope this could help you.</summary>
    <dc:creator>Henri Charles</dc:creator>
    <dc:date>2016-07-15T06:38:52Z</dc:date>
  </entry>
  <entry>
    <title>RE: HELP:DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=17640217" />
    <author>
      <name>Hitoshi Ozawa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=17640217</id>
    <updated>2012-11-02T00:01:01Z</updated>
    <published>2012-11-02T00:01:01Z</published>
    <summary type="html">Just download liferay&amp;#39;s source code. SQL scripts are under the sql directory.</summary>
    <dc:creator>Hitoshi Ozawa</dc:creator>
    <dc:date>2012-11-02T00:01:01Z</dc:date>
  </entry>
  <entry>
    <title>RE: HELP:DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=17593369" />
    <author>
      <name>Boris Yurkevich</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=17593369</id>
    <updated>2012-10-31T10:22:24Z</updated>
    <published>2012-10-31T10:22:24Z</published>
    <summary type="html">Namrata Hangal, &lt;br /&gt;&lt;br /&gt;Are you found the script so far? I&amp;#39;m particularly looking for DB2 10.1 on Windows 7 + Liferay 6 and DB2 10.1 on OS X + Liferay 6.</summary>
    <dc:creator>Boris Yurkevich</dc:creator>
    <dc:date>2012-10-31T10:22:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: HELP:DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15411625" />
    <author>
      <name>Namrata Hangal</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=15411625</id>
    <updated>2012-08-07T08:43:47Z</updated>
    <published>2012-08-07T08:43:47Z</published>
    <summary type="html">&lt;blockquote&gt;When the tables are created using script then this problem is not present&lt;/blockquote&gt;&lt;br /&gt;Where can I find this script?</summary>
    <dc:creator>Namrata Hangal</dc:creator>
    <dc:date>2012-08-07T08:43:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: HELP:DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1062953" />
    <author>
      <name>petar banicevic</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=1062953</id>
    <updated>2008-07-12T19:38:13Z</updated>
    <published>2008-07-12T19:38:13Z</published>
    <summary type="html">When the tables are created using script then this problem is not present. You should not let liferay to create tables.</summary>
    <dc:creator>petar banicevic</dc:creator>
    <dc:date>2008-07-12T19:38:13Z</dc:date>
  </entry>
  <entry>
    <title>HELP:DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=896814" />
    <author>
      <name>petar banicevic</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=896814</id>
    <updated>2008-05-27T22:37:18Z</updated>
    <published>2008-05-27T22:37:18Z</published>
    <summary type="html">QUESTION:&lt;br /&gt;&lt;br /&gt;What mean these warnings and can I ignore them?&lt;br /&gt;Can I fix them ???&lt;br /&gt;&lt;br /&gt;Thank you&lt;br /&gt;&lt;br /&gt;PS:&lt;br /&gt;&lt;br /&gt;I created database on db2 with UTF-8 codeset &lt;br /&gt;==================================&lt;br /&gt;(e.g. CREATE DATABASE LPORTAL ON &amp;#39;C:&amp;#39; USING CODESET UTF-8 TERRITORY US COLLATE USING SYSTEM; )&lt;br /&gt;&lt;br /&gt;And when launching portal I get following messages:&lt;br /&gt;==================================&lt;br /&gt;Starting Liferay Enterprise Portal 5.0.1 (Luther / Build 5001 / April 14, 2008)&lt;br /&gt;22:12:56,484 INFO [DynamicDialect:80] Determining dialect for DB2/NT 8&lt;br /&gt;22:12:56,500 INFO [DynamicDialect:106] Using dialect org.hibernate.dialect.DB2Dialect&lt;br /&gt;22:12:58,125 INFO [PortalImpl:184] Portal lib url /C:/Program Files/liferay-portal-tomcat-6.0-5.0.1/webapps/ROOT/WEB-IN&lt;br /&gt;F/lib/portal-impl.jar!/com/liferay/portal/util/PortalImpl.class&lt;br /&gt;22:12:58,125 INFO [PortalImpl:209] Portal lib directory /C:/Program Files/liferay-portal-tomcat-6.0-5.0.1/webapps/ROOT/&lt;br /&gt;WEB-INF/lib/&lt;br /&gt;22:13:02,609 WARN [ReleaseLocalServiceImpl:83] DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: DB2ADMIN.RELEASE_&lt;br /&gt;22:13:02,609 INFO [ReleaseLocalServiceImpl:96] Create tables and populate with default data&lt;br /&gt;22:13:07,281 WARN [DBUtil:365] DB2 SQL error: SQLCODE: -614, SQLSTATE: 54008, SQLERRMC: IX_7020130F&lt;br /&gt;22:13:08,250 INFO [StartupAction:203] Running verification com.liferay.portal.verify.VerifyProcessSuite&lt;br /&gt;22:13:08,250 INFO [VerifyProcessSuite:37] Verifying&lt;br /&gt;22:13:08,250 INFO [VerifyProperties:40] Verifying&lt;br /&gt;22:13:08,250 INFO [VerifyLucene:39] Verifying&lt;br /&gt;22:13:08,250 INFO [VerifyCounter:44] Verifying&lt;br /&gt;22:13:08,265 INFO [VerifyOracle:52] Verifying&lt;br /&gt;22:13:08,281 INFO [VerifyBlogs:42] Verifying&lt;br /&gt;22:13:08,281 INFO [CustomSQLUtil:110] Database name DB2/NT&lt;br /&gt;22:13:08,281 INFO [CustomSQLUtil:119] Detected DB2 with database name DB2/NT&lt;br /&gt;22:13:08,500 INFO [VerifyBookmarks:42] Verifying&lt;br /&gt;22:13:08,515 INFO [VerifyDocumentLibrary:42] Verifying&lt;br /&gt;22:13:08,515 INFO [VerifyGroup:46] Verifying&lt;br /&gt;22:13:08,515 INFO [VerifyImageGallery:42] Verifying&lt;br /&gt;22:13:08,531 INFO [VerifyJournal:57] Verifying&lt;br /&gt;22:13:08,546 INFO [VerifyLayout:43] Verifying&lt;br /&gt;22:13:08,546 INFO [VerifyMessageBoards:42] Verifying&lt;br /&gt;22:13:08,562 INFO [VerifyUser:44] Verifying&lt;br /&gt;22:13:08,562 INFO [VerifyWiki:42] Verifying&lt;br /&gt;22:13:08,578 INFO [StartupAction:210] Finished verification com.liferay.portal.verify.VerifyProcessSuite&lt;br /&gt;22:13:09,125 INFO [HotDeployUtil:76] Initializing hot deploy manager 180619972&lt;br /&gt;22:13:09,125 INFO [ServerDetector:76] Detected server tomcat&lt;br /&gt;22:13:09,375 INFO [AutoDeployDir:76] Auto deploy scanner started for C:\Documents and Settings\Administrator\liferay\de&lt;br /&gt;&lt;br /&gt;TWO WARNINGS &lt;br /&gt;==================================&lt;br /&gt;WARN [ReleaseLocalServiceImpl:83] DB2 SQL error: SQLCODE: -204, SQLSTATE: 42704, SQLERRMC: DB2ADMIN.RELEASE_&lt;br /&gt;WARN [DBUtil:365] DB2 SQL error: SQLCODE: -614, SQLSTATE: 54008, SQLERRMC: IX_7020130F&lt;br /&gt;&lt;br /&gt;I have googled and have found this description for the first warning:&lt;br /&gt;==================================&lt;br /&gt;&amp;#34;If the userid you are using is db2admin, and you don&amp;#39;t supply a high level&lt;br /&gt;qualifier on the table name, the DB2 assumes that DB2ADMIN is the qualifier&lt;br /&gt;(schema) name. You can use the SET SCHEMA statement before hand, use an&lt;br /&gt;alias, or use the a userid with the same name as your schema.&amp;#34;&lt;br /&gt;&lt;br /&gt;QUESTION&lt;br /&gt;==================================&lt;br /&gt;Does this explanation describe my problem as well ? What can I do?</summary>
    <dc:creator>petar banicevic</dc:creator>
    <dc:date>2008-05-27T22:37:18Z</dc:date>
  </entry>
</feed>
