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

If there is an error when instantiating IP Geolocation component NPEs are thrown in PortletTracker

    Details

    • Branch Version/s:
      7.0.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      4

      Description

      1. vanilla installation
      2. Disconnect your system of the internet
      3. Assert that the GeoIPCity.dat file is not installed in your Liferay installation (check tomcat folders)
      4. Start the portal
      5. See that this errors appear in the log:

      java.lang.RuntimeException: Unable to activate Liferay IP Geocoder

      and

      Caused by: java.net.ConnectException: Connection refused (Connection refused)

       

      Expected: Since the IP Geocoder could not be starter, it's dependencies should not start, without throwing exceptions

       

      Current: Some errors similar to this appear:

      09:30:47,722 ERROR [localhost-startStop-1][PortletTracker:314] Portlet com_liferay_sync_web_portlet_SyncAdminPortlet from com.liferay.sync.web_1.0.7 [44] failed to initialize

       

       

        Attachments

          Activity

            People

            Assignee:
            hong.zhao Hong Zhao
            Reporter:
            roberto.diaz Roberto Díaz
            Participants of an Issue:
            Recent user:
            Csaba Turcsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 years, 15 weeks, 1 day ago

                Packages

                Version Package
                7.0.0 DXP FP19
                7.0.3 CE GA4
                7.0.0 DXP SP4
                7.0.X EE
                7.1.X
                Master