5 Replies Latest reply on Feb 11, 2013 12:10 AM by splram

    Installation issue

    invinciblekg

      Hi all,

       

       

      I am having some issues in installation of CQ5 .
      When i launch cq5-author-4502.jar file on my windows 7 system, installation doesn't start but a crx-quickstart folder is created.

      I am showing below the log file generated in crx-quickstart folder.

      Please help in troubleshooting.

       

       

       

      Loading instance properties:/quickstart/quickstart-cq5.properties

      Running on a console, won't fork the JVM (use -fork to force forking)

      Using 32bit VM settings

      **** WARNING: insufficent heap memory ******************************************

      The JVM reports 63 MB but we recommend at least 256 MB +/- 20

      Use your JVM's heap size option (like -Xmx256M) to set that size.

      The -fork option (-h explains it) provides appropriate defaults.

      ********************************************************************************

      The JVM MBean:Perm Gen reports a maximum size of 64 MB, meets our expectation of 64 MB +/- 20

      Setting system properties from filename 'file:/D:/day/cq5-author-4502.jar'

      System property '-crx.quickstart.server.port' set to '4502' from filename cq5-author-4502.jar

      System property 'sling.jcrinstall.folder.name.regexp' set to '.*/(install|config)(.author)?$' from filename cq5-author-4502.jar

      System property 'sling.run.modes' set to 'author' from filename cq5-author-4502.jar

      System property 'server.ready.url.1' set to '900/120/0 http://localhost:$PORT$/login.html .*(QUICKSTART_HOMEPAGE|CRX_LICENSING_PAGE).*' from filename cq5-author-4502.jar

      System property 'server.ready.url.2' set to '300/40/0 http://localhost:$PORT$/libs/cq/core/content/systemready.txt .*(QUICKSTART_HOMEPAGE|CRX_LICENSING_PAGE).*' from filename cq5-author-4502.jar

      System property 'com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.waitForContentPath' set to '/bin/login.html?src=CRXLaunchpadLicenseFilter' from filename cq5-author-4502.jar

      Verbose option not active, closing stdin and redirecting stdout and stderr

      Redirecting stdout to D:\day\crx-quickstart\logs\stdout.log

      Redirecting stderr to D:\day\crx-quickstart\logs\stderr.log

      Quickstart startup at Tue Sep 18 10:51:33 IST 2012

      crx.quickstart.build.number=5.4.0.20110218

      DiskSpaceUtil.getMaxOpenFiles() reports a maximum of 2147483647 open files, meets our requirement (8192)

      PortSelector: Selecting server port from supplied list: 4502

      PortSelector: Trying port 4502

      PortSelector: Successfully bound to port 4502, will use it

      PortSelector: Selected port 4502

      etc/server.xml does not exist, CQSE password not saved

      quickstart.properties not found, not an update

      PreserveExistingFiles: no files to restore from pre-upgrade backup

      System property crx.quickstart.info.jar.name set to file:/D:/day/cq5-author-4502.jar

      System property crx.quickstart.info.work.dir set to D:\day\crx-quickstart

      System property crx.quickstart.info.server.dir set to D:\day\crx-quickstart\server

      System property crx.quickstart.info.server.port set to 4502

      Extracting CQSE distribution...

      Ignored as we're providing a Quickstart-specific variant: D:\day\crx-quickstart\server\server.bat

      Ignored as we're providing a Quickstart-specific variant: D:\day\crx-quickstart\server\serverctl

      Ignored as we're providing a Quickstart-specific variant: D:\day\crx-quickstart\server\start

      Ignored as we're providing a Quickstart-specific variant: D:\day\crx-quickstart\server\stop

      Saving build number in quickstart.properties

      Setting up CQSE webapps and files...

      13 files extracted from jar file

      Extracting static files to workdir...

      31 files extracted from jar file

      Making scripts executable...

      Running chmod +x D:\day\crx-quickstart\server\serverctl

      Failed to set executable mode on scripts: java.io.IOException: Cannot run program "chmod": CreateProcess error=2, The system cannot find the file specified

      Processing updates...

      Updates source: D:\day\crx-quickstart\repository\patches\new

      RunJarOnce INFO: RunJarOnce created, srcFolder=D:\day\crx-quickstart\repository\patches\new, doneFolder=D:\day\crx-quickstart\updates\history

      No update jars executed

      Done processing 0 updates

      sling.repository.url not set, empty in instance properties

      Starting CQSE on port 4502, interface=null...

      Work dir: D:\day\crx-quickstart

      CQSE arguments: [-p, 4502]

      System property server.ready.url.1 defines WaitUrlParams, url=http://localhost:4502/login.html, regexp=.*(QUICKSTART_HOMEPAGE|CRX_LICENSING_PAGE).*, times=900/120/0

      System property server.ready.url.2 defines WaitUrlParams, url=http://localhost:4502/libs/cq/core/content/systemready.txt, regexp=.*(QUICKSTART_HOMEPAGE|CRX_LICENSING_PAGE).*, times=300/40/0

      Waiting for http://localhost:4502/crx (0/900) ...

      Waiting for server installation...

      Retrying http://localhost:4502/crx (ConnectException) (1/900)...

      Retrying http://localhost:4502/crx (ConnectException) (3/900)...

      Retrying http://localhost:4502/crx (ConnectException) (5/900)...

      Retrying http://localhost:4502/crx (ConnectException) (7/900)...

      Retrying http://localhost:4502/crx (ConnectException) (9/900)...

      Retrying http://localhost:4502/crx (ConnectException) (11/900)...

      Retrying http://localhost:4502/crx (ConnectException) (13/900)...

      log4j:WARN No appenders could be found for logger (com.day.commons.httpclient.impl.ProxySelector).

      log4j:WARN Please initialize the log4j system properly.

      Retrying http://localhost:4502/crx (ConnectException) (15/900)...

      Retrying http://localhost:4502/crx (ConnectException) (17/900)...

      Retrying http://localhost:4502/crx (ConnectException) (19/900)...

      Retrying http://localhost:4502/crx (ConnectException) (21/900)...

      Retrying http://localhost:4502/crx (ConnectException) (23/900)...

      Retrying http://localhost:4502/crx (ConnectException) (25/900)...

      Retrying http://localhost:4502/crx (ConnectException) (27/900)...

      Retrying http://localhost:4502/crx (ConnectException) (29/900)...

      Retrying http://localhost:4502/crx (ConnectException) (31/900)...

      Retrying http://localhost:4502/crx (ConnectException) (33/900)...

      Retrying http://localhost:4502/crx (ConnectException) (35/900)...

      Retrying http://localhost:4502/crx (ConnectException) (37/900)...

      Retrying http://localhost:4502/crx (ConnectException) (39/900)...

      Retrying http://localhost:4502/crx (ConnectException) (42/900)...

      Retrying http://localhost:4502/crx (ConnectException) (44/900)...

      Retrying http://localhost:4502/crx (ConnectException) (46/900)...

      Retrying http://localhost:4502/crx (ConnectException) (48/900)...

      Retrying http://localhost:4502/crx (ConnectException) (50/900)...

      Retrying http://localhost:4502/crx (ConnectException) (52/900)...

      Retrying http://localhost:4502/crx (ConnectException) (54/900)...

      Retrying http://localhost:4502/crx (ConnectException) (56/900)...

      Retrying http://localhost:4502/crx (ConnectException) (58/900)...

      Retrying http://localhost:4502/crx (ConnectException) (60/900)...

      Retrying http://localhost:4502/crx (ConnectException) (62/900)...

      Retrying http://localhost:4502/crx (ConnectException) (64/900)...

      Retrying http://localhost:4502/crx (ConnectException) (67/900)...

      Retrying http://localhost:4502/crx (ConnectException) (69/900)...

      Retrying http://localhost:4502/crx (ConnectException) (71/900)...

      Retrying http://localhost:4502/crx (ConnectException) (73/900)...

      Retrying http://localhost:4502/crx (ConnectException) (75/900)...

      Retrying http://localhost:4502/crx (ConnectException) (77/900)...

      Retrying http://localhost:4502/crx (ConnectException) (79/900)...

      Retrying http://localhost:4502/crx (ConnectException) (81/900)...

      Retrying http://localhost:4502/crx (ConnectException) (83/900)...

      Retrying http://localhost:4502/crx (ConnectException) (85/900)...

      Retrying http://localhost:4502/crx (ConnectException) (88/900)...

      Retrying http://localhost:4502/crx (ConnectException) (90/900)...

      Retrying http://localhost:4502/crx (ConnectException) (92/900)...

      Retrying http://localhost:4502/crx (ConnectException) (94/900)...

      Retrying http://localhost:4502/crx (ConnectException) (96/900)...

      Retrying http://localhost:4502/crx (ConnectException) (98/900)...

      Retrying http://localhost:4502/crx (ConnectException) (100/900)...

      Retrying http://localhost:4502/crx (ConnectException) (103/900)...

      Retrying http://localhost:4502/crx (ConnectException) (105/900)...

      Retrying http://localhost:4502/crx (ConnectException) (107/900)...

      Retrying http://localhost:4502/crx (ConnectException) (109/900)...

      Retrying http://localhost:4502/crx (ConnectException) (111/900)...

      Retrying http://localhost:4502/crx (ConnectException) (113/900)...

      Retrying http://localhost:4502/crx (ConnectException) (115/900)...

      Retrying http://localhost:4502/crx (ConnectException) (117/900)...

      Retrying http://localhost:4502/crx (ConnectException) (120/900)...

      Retrying http://localhost:4502/crx (ConnectException) (122/900)...

      Retrying http://localhost:4502/crx (ConnectException) (124/900)...

      Retrying http://localhost:4502/crx (ConnectException) (127/900)...

      Retrying http://localhost:4502/crx (ConnectException) (129/900)...

      Retrying http://localhost:4502/crx (ConnectException) (131/900)...

      Retrying http://localhost:4502/crx (ConnectException) (133/900)...

      Retrying http://localhost:4502/crx (ConnectException) (135/900)...

      Retrying http://localhost:4502/crx (ConnectException) (137/900)...

      Retrying http://localhost:4502/crx (ConnectException) (140/900)...

      Retrying http://localhost:4502/crx (ConnectException) (142/900)...

      Retrying http://localhost:4502/crx (ConnectException) (144/900)...

      Retrying http://localhost:4502/crx (ConnectException) (147/900)...

      Retrying http://localhost:4502/crx (ConnectException) (149/900)...

      Retrying http://localhost:4502/crx (ConnectException) (151/900)...

      Retrying http://localhost:4502/crx (ConnectException) (153/900)...

      Retrying http://localhost:4502/crx (ConnectException) (156/900)...

      Retrying http://localhost:4502/crx (ConnectException) (158/900)...

      Retrying http://localhost:4502/crx (ConnectException) (160/900)...

      Retrying http://localhost:4502/crx (ConnectException) (163/900)...

      Retrying http://localhost:4502/crx (ConnectException) (165/900)...

      Retrying http://localhost:4502/crx (ConnectException) (167/900)...

      Retrying http://localhost:4502/crx (ConnectException) (169/900)...

      Retrying http://localhost:4502/crx (ConnectException) (172/900)...

      Retrying http://localhost:4502/crx (ConnectException) (174/900)...

      Retrying http://localhost:4502/crx (ConnectException) (176/900)...

      Retrying http://localhost:4502/crx (ConnectException) (178/900)...

      Retrying http://localhost:4502/crx (ConnectException) (180/900)...

      Retrying http://localhost:4502/crx (ConnectException) (183/900)...

      Exception in thread "Timer-0" java.lang.IllegalStateException: this writer hit an OutOfMemoryError; cannot commit

      at org.apache.lucene.index.IndexWriter.prepareCommit(IndexWriter.java:3362)

      at org.apache.lucene.index.IndexWriter.commit(IndexWriter.java:3417)

      at org.apache.jackrabbit.core.query.lucene.AbstractIndex.commit(AbstractIndex.java:389)

      at org.apache.jackrabbit.core.query.lucene.VolatileIndex.commit(VolatileIndex.java:141)

      at org.apache.jackrabbit.core.query.lucene.PersistentIndex.copyIndex(PersistentIndex.java:12 8)

      at org.apache.jackrabbit.core.query.lucene.MultiIndex$VolatileCommit.execute(MultiIndex.java :2094)

      at org.apache.jackrabbit.core.query.lucene.MultiIndex.executeAndLog(MultiIndex.java:1115)

      at org.apache.jackrabbit.core.query.lucene.MultiIndex.commitVolatileIndex(MultiIndex.java:11 63)

      at org.apache.jackrabbit.core.query.lucene.MultiIndex.flush(MultiIndex.java:938)

      at org.apache.jackrabbit.core.query.lucene.MultiIndex.checkFlush(MultiIndex.java:1283)

      at org.apache.jackrabbit.core.query.lucene.MultiIndex.access$100(MultiIndex.java:81)

      at org.apache.jackrabbit.core.query.lucene.MultiIndex$1.run(MultiIndex.java:337)

      at java.util.TimerThread.mainLoop(Unknown Source)

      at java.util.TimerThread.run(Unknown Source)

      Retrying http://localhost:4502/crx (ConnectException) (185/900)...

      Retrying http://localhost:4502/crx (ConnectException) (188/900)...

      Retrying http://localhost:4502/crx (ConnectException) (190/900)...

      Retrying http://localhost:4502/crx (ConnectException) (192/900)...

      Retrying http://localhost:4502/crx (ConnectException) (194/900)...

      Retrying http://localhost:4502/crx (ConnectException) (196/900)...

      Retrying http://localhost:4502/crx (ConnectException) (198/900)...

      Retrying http://localhost:4502/crx (ConnectException) (201/900)...

      Retrying http://localhost:4502/crx (ConnectException) (203/900)...

      Retrying http://localhost:4502/crx (ConnectException) (206/900)...

      Retrying http://localhost:4502/crx (ConnectException) (212/900)...

      Exception in thread "Thread-0" java.lang.OutOfMemoryError: Java heap space

      Sep 18, 2012 10:56:44 AM it.tidalwave.imageio.util.Logger info

      INFO: Installing RAWProcessor...

      Sep 18, 2012 10:56:44 AM it.tidalwave.imageio.util.Logger info

      INFO: Installed RAWProcessor

      RAWProcessor succesfully installed

       

       

       

      Thanks

        • 1. Re: Installation issue
          Wile-the-Coyote Level 1

          looked like it is a memory issue.

           

          go to $your_CQ5_installation_folder\author\crx-quickstart\bin

           

          edit the quickstart.bat

           

          ::* default JVM options

          set CQ_JVM_OPTS=-Xmx512m -XX:MaxPermSize=128M

          • 2. Re: Installation issue
            invinciblekg Level 1

            Hi

             

            Thanks for replying Wile

             

            But in quickstart folder , there is no bin folder.

             

            One bin folder is present in server folder but it contains bootstrap.jar ( \crx-quickstart\server\bin\bootstrap.jar).

            • 3. Re: Installation issue
              marsh1979 Level 1

              hi,

               

              Are you able to resolve this issue? This is quite annoying as CQ is just playing up and installation seems to be failing without any good error messages.

              I am getting below messages

               

              Messages in stderr log:

               

              Retrying http://localhost:4502/login.html (503)...

              Retrying http://localhost:4502/login.html (503)...

              Retrying http://localhost:4502/login.html (503)...

              Retrying http://localhost:4502/login.html (503)...

              Retrying http://localhost:4502/login.html (503)...

              Retrying http://localhost:4502/login.html (503)...

              Retrying http://localhost:4502/login.html (503)...

              http://localhost:4502/login.html timed out after 900 seconds

              Did not get expected content at server URL, server might still be starting up

              Please try http://localhost:4502/login.html again later

              (1962 seconds since startup)

              Server not ready, browser not launched

               

              Messages in server log file

               

              10.02.2013 09:31:41 *ERROR* webapp-CRX Launchpad Webapp: ERROR: Error starting slinginstall:D:\Adobe\author\crx-quickstart\launchpad\startup\15\org.apache.sling.runmode -2.0.3-tlp-R818849.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.sling.runmode [18]: package; (&(package=org.osgi.framework)(version>=1.4.0)))

              org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.sling.runmode [18]: package; (&(package=org.osgi.framework)(version>=1.4.0))

                        at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3263)

                        at org.apache.felix.framework.Felix.startBundle(Felix.java:1597)

                        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1077)

                        at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)

                        at java.lang.Thread.run(Unknown Source)

              10.02.2013 09:31:41 *MARK * servletengine: http listener on address 0.0.0.0, port 4502 started

              10.02.2013 09:31:41 *MARK * server: Server ready

              10.02.2013 09:31:42 *MARK * webapp-Content Repository Extreme: Start servlet 'JSPServlet'

               

               

              My environment details are given below

               

              Windows 7, 64 bit

              Java Version 1.7

              CQ Version: cq-wcm-quickstart-5.3.0.20100127

               

              I did not see if windows 7 is supported in the release notes. Any idea what is going wrong here

              • 4. Re: Installation issue
                Gregor Zurowski Level 1

                @marsh1979: CQ 5.3 is not compatible with Java 7 (see http://dev.day.com/docs/en/cq/5-3/deploying/technical_requirements.html), and the logs you posted seem to display the erroneous behavior when installing CQ 5.3 with Java 7. Installing (and running) with Java 6 should solve your problem.

                • 5. Re: Installation issue
                  splram

                  Set the memory options in server.bat file available under crx-quickstart/server folder, modify the parameters just below ::* Memory settings

                   

                  The parameters are:

                  set JVM_MINHEAP=-Xms256m

                  set JVM_MAXHEAP=-Xmx512m

                  set JVM_PERMGEN=-XX:MaxPermSize=512