4 Replies Latest reply on Sep 9, 2016 3:02 AM by umeshj24393

    AEM 6.2 Install

    umeshj24393

      I have 6.2-quicktart.jar file and licences.properties.

      I created  empty crx-quickstart folder and in it another folder install folder.

      I copied my package in the form of zip file and copied in install folder.

      and run it java -jar cq-quickstart-4502.jar

      Although packages are displayed  in package manager but some files are not completely created.

      if i reinstall the package in package manager tab ( manually) they completely installed.

      Problem is that : i have many package i cannot do manually. so why it does not not uploaded completely which i performed earlier(install folder approach)

        • 1. Re: AEM 6.2 Install
          Manish Singh 1

          Do you get any error in th error.log file while the packages are being installed from the install folder? What type of files are being ommited? Ideally, you should first install AEM insead of creating folders yourself. Once AEM is installed, create the install folder and dump your packages in it.

          • 2. Re: AEM 6.2 Install
            umeshj24393 Level 1

            Error: in error.log file

            09.09.2016 17:57:26.027 *ERROR* [FelixDispatchQueue] com.adobe.cq.social.cq-social-commons FrameworkEvent ERROR (org.osgi.framework.ServiceException: ServiceFactory.getService() resulted in a cycle.)
            org.osgi.framework.ServiceException: ServiceFactory.getService() resulted in a cycle.
                at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:301)
                at org.apache.felix.framework.Felix.getService(Felix.java:3699)
                at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470)
                at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:72)
                at org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMethod.java:646)
                at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.ja va:2137)
                at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.prebind(Depend encyManager.java:1048)
                at org.apache.felix.scr.impl.manager.DependencyManager.prebind(DependencyManager.java:1457)
                at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractCo mponentManager.java:983)
                at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleCompone ntManager.java:812)
                at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManage r.java:774)
                at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistratio nImpl.java:347)
                at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.jav a:247)
                at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:344)
                at org.apache.felix.framework.Felix.getService(Felix.java:3699)
                at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470)
                at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:72)
                at org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMethod.java:646)
                at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.ja va:2137)
                at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.prebind(Depend encyManager.java:1048)
                at org.apache.felix.scr.impl.manager.DependencyManager.prebind(DependencyManager.java:1457)
                at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractCo mponentManager.java:983)
                at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleCompone ntManager.java:812)
                at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManage r.java:774)
                at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistratio nImpl.java:347)
                at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.jav a:247)
                at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:344)
                at org.apache.felix.framework.Felix.getService(Felix.java:3699)
                at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470)
                at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:72)
                at org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMethod.java:646)
                at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.ja va:2137)
                at org.apache.felix.scr.impl.manager.DependencyManager$SingleStaticCustomizer.prebind(Depend encyManager.java:1048)
                at org.apache.felix.scr.impl.manager.DependencyManager.prebind(DependencyManager.java:1457)
                at org.apache.felix.scr.impl.manager.AbstractComponentManager.collectDependencies(AbstractCo mponentManager.java:983)
                at org.apache.felix.scr.impl.manager.SingleComponentManager.getServiceInternal(SingleCompone ntManager.java:812)
                at org.apache.felix.scr.impl.manager.SingleComponentManager.getService(SingleComponentManage r.java:774)
                at org.apache.felix.framework.ServiceRegistrationImpl.getFactoryUnchecked(ServiceRegistratio nImpl.java:347)
                at org.apache.felix.framework.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.jav a:247)
                at org.apache.felix.framework.ServiceRegistry.getService(ServiceRegistry.java:344)
                at org.apache.felix.framework.Felix.getService(Felix.java:3699)
                at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:470)
                at org.apache.felix.scr.impl.manager.SingleRefPair.getServiceObject(SingleRefPair.java:72)
                at org.apache.felix.scr.impl.helper.BindMethod.getServiceObject(BindMethod.java:646)
                at org.apache.felix.scr.impl.manager.DependencyManager.getServiceObject(DependencyManager.ja va:2137)
                at org.apache.felix.scr.impl.manager.DependencyManager.doInvokeBindMethod(DependencyManager. java:1651)
               

            Types of file which is omitted: /etc/[app-name]/componenst/[-----jsp files----]

            • 3. Re: AEM 6.2 Install
              AnkurAhlawat Level 3

              I agree with Manish, Could you please install AEM first as it will create crxquick start folder. Then Stop the instance create install folder and paste you packages, then start the aem instance.

              If you do both steps together, then you might face issue while regestering components in osgi framework.

              • 4. Re: AEM 6.2 Install
                Sham HC Level 7

                As first step extract the jar using [1], then create an install folder under crx-quickstart & place the service pack.  It is supported way to start the fresh aem with service pack.   Alternatively you can update cq-quickstart-4502.jar to add install & service pack.

                 

                [1]   java -jar cq-quickstart-4502.jar -unpack