<?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>ServiceBuilder Liferay 7.3 - PersistenceConstants</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120713971" />
  <subtitle>ServiceBuilder Liferay 7.3 - PersistenceConstants</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120713971</id>
  <updated>2026-04-06T06:56:15Z</updated>
  <dc:date>2026-04-06T06:56:15Z</dc:date>
  <entry>
    <title>ServiceBuilder Liferay 7.3 - PersistenceConstants</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120713970" />
    <author>
      <name>Kevin Neibarger</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120713970</id>
    <updated>2021-04-12T17:37:23Z</updated>
    <published>2021-04-12T17:37:23Z</published>
    <summary type="html">&lt;p&gt;Currently using the following&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;liferay-ce-portal-7.3.6-ga7&lt;/p&gt;
  &lt;p&gt;tomcat-9.0.40&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;There is a namespace configuration in the &lt;strong&gt;service.xml&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;&lt;b&gt;namespace&lt;/b&gt;&amp;gt;COMPASS_DB&amp;lt;/&lt;b&gt;namespace&lt;/b&gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;When I build the services a class is
  built &lt;strong&gt;COMPASS_DBPersistenceConstants.java&lt;/strong&gt;. This class
  has a method called &lt;strong&gt;activate&lt;/strong&gt;. I'm not sure what this
  is supposed to do but when I'm deploying MVC portlets that are not my
  DB-Services modules I get the error &lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;2021-04-12 17:21:21.726 ERROR [Start Level: Equinox Container:
    847d2871-a99a-4ced-a41a-81c256e5c8a3][COMPASS_DBPersistenceConstants:93]
    bundle compass-population-portlet:1.4.0
    (1397)[com.healthmap.portlet.compass.service.persistence.impl.constants.COMPASS_DBPersistenceConstants(8816)]
    : The activate method has thrown an exception &lt;/p&gt;
  &lt;p&gt;java.lang.IllegalStateException: Incorrect Bundle-SymbolicName for
    bundle compass-population-portlet&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;It's throwing this exception because the module symbolic name doesn't
  match the DB-service symbolic bundle name. Why does this happen? I can
  see why it checks in the DB-Service module, but why does it do this in
  other modules?? &lt;/p&gt;</summary>
    <dc:creator>Kevin Neibarger</dc:creator>
    <dc:date>2021-04-12T17:37:23Z</dc:date>
  </entry>
</feed>
