Uploaded image for project: 'PUBLIC - Liferay Portal Web Content Experience'
  1. PUBLIC - Liferay Portal Web Content Experience
  2. WCM-336

Location rule is missing in Websphere/DB2 10.1

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: Content Targeting
    • Labels:
      None
    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Deploy Content Targeting plugins
      2. Navigate to Admin > Configuration
      3. Click Audience Targeting
      4. Create a new user segment using Session Attributes > Location rule

      Expected result:
      User can create a user segment with the Location rule
      Actual result:
      Location rule is not listed under Session Attributes; user cannot add the rule.

      This exceptions occurred when restart the server.

      16:18:29,835 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_analytics_processor:78] BundleEvent STARTED
      16:18:29,835 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_report_campaign_tracking_action:78] BundleEvent STARTED
      16:18:29,960 ERROR [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_rule_ip_geocode:75] FrameworkEvent ERROR
      org.osgi.framework.BundleException: The bundle "com.liferay.content.targeting.rule.ip.geocode_1.0.0 [13]" could not be resolved. Reason: Missing Constraint: Import-Package: com.liferay.ip.geocoder; version="0.0.0"
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
      	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1177)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
      	at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)
      	at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)
      	at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)
      	at com.liferay.osgi.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:389)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:94)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:232)
      	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1678)
      	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:414)
      	at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
      	at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
      	at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)
      	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)
      	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)
      	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1175)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)
      	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:774)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2182)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)
      	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:116)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:994)
      	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
      	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
      16:18:29,960 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_rule_site_member:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.Rule}={component.name=com.liferay.content.targeting.rule.site.member.SiteMemberRule, component.id=5, service.id=34}
      16:18:29,960 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_rule_site_member:78] BundleEvent STARTED
      16:18:29,960 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_deploy_extender:78] BundleEvent STARTED
      16:18:29,975 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][org_apache_felix_gogo_command:78] ServiceEvent REGISTERED {org.apache.felix.gogo.command.Basic}={osgi.command.function=[bundlelevel,frameworklevel,headers,help,install,lb,log,refresh,resolve,start,stop,uninstall,update,which], osgi.command.scope=felix, service.id=35}
      16:18:29,975 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][org_apache_felix_gogo_command:78] ServiceEvent REGISTERED {org.apache.felix.gogo.command.Inspect}={osgi.command.function=[inspect], osgi.command.scope=felix, service.id=36}
      16:18:29,975 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][org_apache_felix_gogo_command:78] ServiceEvent REGISTERED {org.apache.felix.gogo.command.Files}={osgi.command.function=[cd,ls], osgi.command.scope=felix, service.id=37}
      16:18:29,975 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][org_apache_felix_gogo_command:78] ServiceEvent REGISTERED {org.apache.felix.gogo.command.OBR}={osgi.command.function=[deploy,info,javadoc,list,repos,source], osgi.command.scope=obr, service.id=38}
      16:18:29,975 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][org_apache_felix_gogo_command:78] BundleEvent STARTED
      16:18:29,991 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_rule_os:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.Rule}={component.name=com.liferay.content.targeting.rule.os.OSRule, component.id=7, service.id=39}
      16:18:29,991 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_rule_os:78] BundleEvent STARTED
      16:18:29,991 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_report_user_segment_content:78] BundleEvent STARTED
      16:18:30,007 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_report_campaign_content:78] BundleEvent STARTED
      16:18:30,007 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_tracking_action_content:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.TrackingAction}={component.name=com.liferay.content.targeting.tracking.action.content.ContentTrackingAction, component.id=10, service.id=40}
      16:18:30,022 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_tracking_action_content:78] BundleEvent STARTED
      16:18:30,022 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.ReportsRegistry}={component.name=com.liferay.content.targeting.internal.DefaultReportsRegistryImpl, component.id=11, service.id=41}
      16:18:30,022 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.RuleCategoriesRegistry}={component.name=com.liferay.content.targeting.internal.DefaultRuleCategoriesRegistryImpl, component.id=12, service.id=42}
      16:18:30,022 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.RulesRegistry}={component.name=com.liferay.content.targeting.internal.DefaultRulesRegistryImpl, component.id=14, service.id=43}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.RulesEngine}={component.name=com.liferay.content.targeting.internal.DefaultRulesEngineImpl, component.id=13, service.id=44}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.TrackingActionsRegistry}={component.name=com.liferay.content.targeting.internal.DefaultTrackingActionsRegistryImpl, component.id=15, service.id=45}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.UserSegmentSimulator}={component.name=com.liferay.content.targeting.internal.PortalPreferencesUserSegmentSimulator, component.id=16, service.id=46}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.RuleCategory}={component.name=com.liferay.content.targeting.rule.categories.BehaviorRuleCategory, component.id=17, service.id=47}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.RuleCategory}={component.name=com.liferay.content.targeting.rule.categories.SampleRuleCategory, component.id=18, service.id=48}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.RuleCategory}={component.name=com.liferay.content.targeting.rule.categories.SessionAttributesRuleCategory, component.id=19, service.id=49}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.RuleCategory}={component.name=com.liferay.content.targeting.rule.categories.SocialRuleCategory, component.id=20, service.id=50}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.RuleCategory}={component.name=com.liferay.content.targeting.rule.categories.UserAttributesRuleCategory, component.id=21, service.id=51}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_api:78] BundleEvent STARTED
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_osgi_util:78] BundleEvent STARTED
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_tracking_action_youtube:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.TrackingAction}={component.name=com.liferay.content.targeting.tracking.action.youtube.YoutubeTrackingAction, component.id=22, service.id=52}
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_tracking_action_youtube:78] BundleEvent STARTED
      16:18:30,038 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_web-portlet:78] BundleEvent STARTED
      16:18:30,053 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_tracking_action_form:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.TrackingAction}={component.name=com.liferay.content.targeting.tracking.action.form.FormTrackingAction, component.id=23, service.id=53}
      16:18:30,053 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_tracking_action_form:78] BundleEvent STARTED
      16:18:30,053 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_portal_http_service:78] BundleEvent STARTED
      16:18:30,069 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_rule_device:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.Rule}={component.name=com.liferay.content.targeting.rule.device.DeviceRule, component.id=24, service.id=54}
      16:18:30,069 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_rule_device:78] BundleEvent STARTED
      16:18:30,085 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_rule_age:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.Rule}={component.name=com.liferay.content.targeting.rule.age.AgeRule, component.id=25, service.id=55}
      16:18:30,085 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_rule_age:78] BundleEvent STARTED
      16:18:30,085 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_tracking_action_page:78] ServiceEvent REGISTERED {com.liferay.content.targeting.api.model.TrackingAction}={component.name=com.liferay.content.targeting.tracking.action.page.PageTrackingAction, component.id=26, service.id=56}
      16:18:30,085 INFO  [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_content_targeting_tracking_action_page:78] BundleEvent STARTED
      16:18:30,100 ERROR [com.liferay.portal.log.bridge.internal.LogBridge@24b9e2ef][com_liferay_ip_geocoder:75] FrameworkEvent ERROR
      org.osgi.framework.BundleException: The bundle "com.liferay.ip.geocoder_1.0.4 [31]" could not be resolved. Reason: Missing Constraint: Import-Package: org.tukaani.xz; version="0.0.0"
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1332)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1316)
      	at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:323)
      	at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:390)
      	at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1177)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
      	at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
      	at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)
      	at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)
      	at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)
      	at com.liferay.osgi.bootstrap.ModuleFrameworkImpl.startFramework(ModuleFrameworkImpl.java:389)
      	at com.liferay.portal.module.framework.ModuleFrameworkUtilAdapter.startFramework(ModuleFrameworkUtilAdapter.java:94)
      	at com.liferay.portal.spring.context.PortalContextLoaderListener.contextInitialized(PortalContextLoaderListener.java:232)
      	at com.ibm.ws.webcontainer.webapp.WebApp.notifyServletContextCreated(WebApp.java:1678)
      	at com.ibm.ws.webcontainer.webapp.WebAppImpl.initialize(WebAppImpl.java:414)
      	at com.ibm.ws.webcontainer.webapp.WebGroupImpl.addWebApplication(WebGroupImpl.java:88)
      	at com.ibm.ws.webcontainer.VirtualHostImpl.addWebApplication(VirtualHostImpl.java:169)
      	at com.ibm.ws.webcontainer.WSWebContainer.addWebApp(WSWebContainer.java:749)
      	at com.ibm.ws.webcontainer.WSWebContainer.addWebApplication(WSWebContainer.java:634)
      	at com.ibm.ws.webcontainer.component.WebContainerImpl.install(WebContainerImpl.java:426)
      	at com.ibm.ws.webcontainer.component.WebContainerImpl.start(WebContainerImpl.java:718)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1175)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1370)
      	at com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
      	at com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:968)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:774)
      	at com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2182)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:445)
      	at com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:388)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:116)
      	at com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:994)
      	at com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:502)
      	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1862)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  1.1