Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-120918

Portal startup error appears for translations-web

    Details

    • Story Points:
      1
    • Fix Priority:
      5
    • Last Working Version:

      Description

      Steps to reproduce:

      1. Start up portal
      2. View portal startup log

      Expected result:
      No errors appear.

      Actual result:
      Module can't be resolved

      Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
      2020-09-15 06:16:24.796 WARN  [main][DriverDataSource:68] Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
      2020-09-15 06:16:25.417 INFO  [main][DialectDetector:159] Using dialect org.hibernate.dialect.MySQLDialect for MySQL 5.7
      2020-09-15 06:16:25.464 INFO  [main][DBInitUtil:173] Create tables and populate with default data
      2020-09-15 06:16:37.688 WARN  [main][DriverDataSource:68] Registered driver with driverClassName=com.mysql.jdbc.Driver was not found, trying direct instantiation.
      2020-09-15 06:16:37.926 INFO  [main][ModuleFrameworkImpl:1595] Starting initial bundles
      2020-09-15 06:16:44.186 INFO  [main][ModuleFrameworkImpl:1879] Started initial bundles
      2020-09-15 06:16:44.187 INFO  [main][ModuleFrameworkImpl:1932] Starting dynamic bundles
      2020-09-15 06:16:46.824 ERROR [Framework Event Dispatcher: Equinox Container: c3a2fa06-f586-4c6d-ad99-6b95563e0cfb][Framework:93] FrameworkEvent ERROR
      org.osgi.framework.BundleException: Could not resolve module: com.liferay.translation.web [599]_  Unresolved requirement: Import-Package: com.liferay.portal.kernel.util; version="[10.8.0,10.9.0)"_ [Sanitized]
              at org.eclipse.osgi.container.Module.start(Module.java:444)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1662)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
              at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
              at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
              at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
      2020-09-15 06:16:51.999 INFO  [main][ModuleFrameworkImpl:1954] Started dynamic bundles
      2020-09-15 06:16:51.999 INFO  [main][ModuleFrameworkImpl:1961] Starting web bundles
      2020-09-15 06:16:54.816 INFO  [main][ModuleFrameworkImpl:2015] Started web bundles
      2020-09-15 06:16:54.817 INFO  [main][ModuleFrameworkImpl:407] Navigate to Control Panel > Configuration > Gogo Shell and enter "lb" to see all bundles
      2020-09-15 06:17:01.422 INFO  [main][LicenseManager:?] Failed to find directory C:\Users\Liferay\Desktop\liferay-dxp-7.3.10-ga1\data\license
      2020-09-15 06:17:02.058 WARN  [main][SidecarManager:110] Liferay is configured to use Elasticsearch engine running in a child process of current process named as sidecar. Do NOT use sidecar in production. Sidecar is useful for development and demonstration purposes. Refer to the documentation for details on the limitations of sidecar. Remote Elasticsearch connections can be configured in the Control Panel.
      2020-09-15 06:17:02.063 INFO  [main][Sidecar:100] Starting sidecar Elasticsearch
      2020-09-15 06:17:02.797 INFO  [main][Sidecar:562] Sidecar Elasticsearch properties : {action.auto_create_index=false,bootstrap.memory_lock=false,bootstrap.system_call_filter=false,cluster.name=LiferayElasticsearchCluster,cluster.routing.allocation.disk.threshold_enabled=false,discovery.type=single-node,http.cors.allow-origin=/https?:\/\/localhost(:[0-9]+)?/,http.cors.enabled=true,http.host=_local_,http.port=9201,indices.breaker.total.use_real_memory=false,monitor.jvm.gc.enabled=false,node.data=true,node.ingest=true,node.master=true,node.name=liferay,node.store.allow_mmap=false,path.data=C:\Users\Liferay\Desktop\liferay-dxp-7.3.10-ga1\data\elasticsearch7\indices,path.home=C:\Users\Liferay\Desktop\liferay-dxp-7.3.10-ga1\elasticsearch7,path.logs=C:\Users\Liferay\Desktop\liferay-dxp-7.3.10-ga1\logs,path.repo=C:\Users\Liferay\Desktop\liferay-dxp-7.3.10-ga1\data\elasticsearch7\repo,thread_pool.write.queue_size=100,transport.type=netty4}
      [2020-09-15T14:17:08,339][WARN ][o.e.g.DanglingIndicesState] [liferay]gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually
      2020-09-15 06:17:10.633 INFO  [main][Sidecar:116] Sidecar Elasticsearch liferay is at 127.0.0.1:9201
      

      Reproduced on:
      Tomcat 9.0.37 + MySQL 5.7.
      Portal 7.3 DXP GA1

      Unable to reproduce on:
      Tomcat 9.0.37 + MySQL 5.7.
      Portal 7.3 CE GA6
      Portal master-private 30e4b2b7654d886a1edf8631ccbb852b3847354c

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yvonne.han Yvonne Han
              Reporter:
              austin.chiang Austin Chiang
              Participants of an Issue:
              Recent user:
              Brian Wulbern
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                38 weeks, 6 days ago

                  Packages

                  Version Package
                  7.3.10 DXP GA1