<?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>Liferay IDE to production server, servicebuilder problems</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121457770" />
  <subtitle>Liferay IDE to production server, servicebuilder problems</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121457770</id>
  <updated>2026-04-03T19:08:55Z</updated>
  <dc:date>2026-04-03T19:08:55Z</dc:date>
  <entry>
    <title>RE: RE: Liferay IDE to production server, servicebuilder problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121523337" />
    <author>
      <name>Sebastian Wikholm</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121523337</id>
    <updated>2022-09-26T15:50:12Z</updated>
    <published>2022-09-26T11:15:32Z</published>
    <summary type="html">&lt;p&gt;Right now im in the process of upgrading the bundle in my workspace
  to version 7.4GA43. I have a litte trouble with service builder which
  gives errors that feel slightly random:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;Execution failed for task ':modules:XXX:XXX-api:compileJava'.&lt;br /&gt;
    &amp;gt; Could not resolve all files for configuration
    ':modules:XXX:XXX:compileClasspath'.&lt;br /&gt;    &amp;gt; Could not find
    com.liferay.portal:release.portal.api:.&lt;br /&gt;      Required
    by:&lt;br /&gt;          project :modules:XXX:XXX&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I will continue to work on this and hopefully have a working
  configuration att the end&lt;/p&gt;</summary>
    <dc:creator>Sebastian Wikholm</dc:creator>
    <dc:date>2022-09-26T11:15:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay IDE to production server, servicebuilder problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121458643" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121458643</id>
    <updated>2022-06-30T12:14:36Z</updated>
    <published>2022-06-30T12:14:35Z</published>
    <summary type="html">&lt;p&gt;As the release strategy has changed dramatically with the move to
  weekly releases, you'd ideally compile your plugins with the version
  that it ends up running in. With new functionalities, some times some
  dependencies' versions need to be updated, so that they would no
  longer match the expectations of previously compiled modules.&lt;/p&gt;
&lt;p&gt;Can you try a clean rebuild on GA25 and report back?&lt;/p&gt;
&lt;p&gt;This is what CI and Liferay Workspace are great for: In Liferay
  Workspace a single location for the choice of the target platform is
  given and used to compile all the modules as well.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2022-06-30T12:14:35Z</dc:date>
  </entry>
  <entry>
    <title>Liferay IDE to production server, servicebuilder problems</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121457769" />
    <author>
      <name>Sebastian Wikholm</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121457769</id>
    <updated>2022-06-29T11:57:52Z</updated>
    <published>2022-06-29T11:57:51Z</published>
    <summary type="html">&lt;p&gt;I´ve been developing some modules for a liferay site on Liferay IDE
  for months, and was now about to try to test these not only in the
  development enviroment but on a standalone server. Ofcourse everything
  works great on the Liferay IDE 3.9.3 enviroment with a Liferay 7.4 GA1
  bundle. The standalone server has Liferay 7.4 GA25 installed, and
  seems to be working flawlessly.&lt;/p&gt;
&lt;p&gt;I started deploying them theme and a module that was embedded in that
  theme which worked as it should. But next up was the database for the
  other modules. So i deployed my database-service and database-api jar
  files. which seemed to throw some errors, which appear first on server restart.&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;Could not get service from ref
    {com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands}={osgi.command.scope=upgrade,
    service.id=8822, service.bundleid=589, service.scope=bundle,
    osgi.command.function=[check,checkAll,execute,executeAll,list],
    component.name=com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands, component.id=2609} &lt;/p&gt;
  &lt;p&gt;DependencyManager : invokeBindMethod : Service not available from
    service registry for ServiceReference
    {com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands}={osgi.command.scope=upgrade,
    service.id=8822, service.bundleid=589, service.scope=bundle,
    osgi.command.function=[check,checkAll,execute,executeAll,list],
    component.name=com.liferay.portal.upgrade.internal.release.osgi.commands.ReleaseManagerOSGiCommands,
    component.id=2609} for reference _releaseManagerOSGiCommands &lt;br /&gt;
    &lt;br /&gt; org.osgi.framework.ServiceException:
    org.apache.felix.scr.impl.manager.SingleComponentManager.getService()
    returned a null service object&lt;br /&gt;
    &lt;br /&gt; service_1.0.0 [1510] has invalid content in
    tables.sql:_create table AxxellDB_Beskrivning (_  uuid_ VARCHAR(75)
    null,_  defaultLanguageId VARCHAR(75) null,.....&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;the services are activated when i in gogo shell do a &amp;quot;lb&amp;quot;,
  but when i do a &amp;quot;ds:unsatisfied XXXX&amp;quot; on my service bundle,
  i have a lot of unsatisfied references. the first unsatisfied
  reference is:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;PersistenceImpl, unsatisfied references: {name: Configuration,
    target: (&amp;amp;(origin.bundle.symbolic.name=xxxx.service.service)(name=service))}&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;More or less all persistance classes have the target null &lt;/p&gt;
&lt;blockquote&gt;
  &lt;pre&gt;
xxxxxServiceImpl, unsatisfied references: {name: xxxxxLocalizationPersistence, target: null}&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;All local services have the same error, ie&lt;/p&gt;
&lt;blockquote&gt;
  &lt;pre&gt;
unsatisfied references: {name: xxxxLocalService, target: null}&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;a censored version of the build.gradle is:&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;dependencies {&lt;br /&gt;     compile
    project(&amp;quot;:modules:xxxDatabas:xxxDatabas-api&amp;quot;)&lt;br /&gt;   
     compileOnly group: &amp;quot;com.liferay.portal&amp;quot;, name:
    &amp;quot;release.portal.api&amp;quot;&lt;br /&gt;     compileOnly group:
    &amp;quot;com.liferay&amp;quot;, name:
    &amp;quot;com.liferay.portal.search.spi&amp;quot;&lt;br /&gt;     compileOnly
    group: &amp;quot;com.liferay&amp;quot;, name:
    &amp;quot;com.liferay.portal.search.api&amp;quot;&lt;br /&gt;     compileOnly
    group: &amp;quot;javax.portlet&amp;quot;, name:
    &amp;quot;portlet-api&amp;quot;&lt;br /&gt;     compileOnly group:
    &amp;quot;javax.servlet&amp;quot;, name: &amp;quot;javax.servlet-api&amp;quot;&lt;br /&gt;
        compileInclude group: &amp;quot;org.apache.commons&amp;quot;, name:
    &amp;quot;commons-lang3&amp;quot;, version: &amp;quot;3.12.0&amp;quot;&lt;br /&gt; }&lt;/p&gt;
  &lt;p&gt;buildService {&lt;br /&gt;     apiDir =
    &amp;quot;../xxxDatabas-api/src/main/java&amp;quot;&lt;br /&gt;   
     databaseNameMaxLength = 64&lt;br /&gt; }&lt;/p&gt;
  &lt;p&gt;group = &amp;quot;xxx.service&amp;quot;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;and the bnd.bnd&lt;/p&gt;
&lt;blockquote&gt;
  &lt;p&gt;Bundle-Name: xxxDatabas-service&lt;br /&gt; Bundle-SymbolicName:
    xxx.service.service&lt;br /&gt; Bundle-Version: 1.0.0&lt;br /&gt;
    Liferay-Require-SchemaVersion: 1.0.0&lt;br /&gt; Liferay-Service:
    true&lt;br /&gt; -dsannotations-options: inherit&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Now i dont know really where to begin, i would assume, which is a bad
  thing to do, that it has something to do with a simple bnd.bnd or
  gradle.build thingy.&lt;/p&gt;
&lt;p&gt;I dont think ive done anything overly exotic on the service, but i
  could be wrong.. &lt;/p&gt;
&lt;p&gt;Does anyone have any ideas where the problem could be, as almost
  everything with the service fails?&lt;/p&gt;</summary>
    <dc:creator>Sebastian Wikholm</dc:creator>
    <dc:date>2022-06-29T11:57:51Z</dc:date>
  </entry>
</feed>
