7 Replies Latest reply: Apr 19, 2012 7:27 PM by Kdesin RSS

    Day CQ installation problems

    Kdesin

      Hi Group,

       

      I am facing issues while running the CQ 5.4 jar on Win 7 with java 1.5.When I launch the jar directly nothing pops up and no installation starts.If I run it from the command prompt I get an error as mentioned below:

       

      Please note that the 4502 port is available and is successfully bound as it appears in the log.I however see a ConnectException while connecting to the CRX during the installation.

       

      Kindly help me resolve this issue.

       

      CONSOLE LOG:

      D:\day\cq5\author>java -Xmx512m -jar cq-author-4502.jar

      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

      The JVM reports a heap size of 508 MB, meets our expectation of 256 MB +/- 20

      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/cq-author-4502.jar'

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

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

      System property 'sling.run.modes' set to 'author' from filename cq-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 cq-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 cq-author-4502.jar

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

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

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

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

      Press CTRL-C to shutdown the Quickstart server...

       

      stderr.log

       

      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

      The JVM reports a heap size of 508 MB, meets our expectation of 256 MB +/- 20

      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/cq-author-4502.jar'

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

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

      System property 'sling.run.modes' set to 'author' from filename cq-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 cq-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 cq-author-4502.jar

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

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

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

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

      Quickstart startup at Thu Apr 19 15:35:08 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/cq-author-4502.jar

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

      System property crx.quickstart.info.server.dir set to D:\day\cq5\author\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\cq5\author\crx-quickstart\server\server.bat

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

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

      Ignored as we're providing a Quickstart-specific variant: D:\day\cq5\author\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\cq5\author\crx-quickstart\server\serverctl

      Failed to set executable mode on scripts: java.io.IOException: CreateProcess: chmod +x D:\day\cq5\author\crx-quickstart\server\serverctl error=2

      Processing updates...

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

      RunJarOnce INFO: RunJarOnce created, srcFolder=D:\day\cq5\author\crx-quickstart\repository\patches\new, doneFolder=D:\day\cq5\author\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\cq5\author\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)...

      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) (13/900)...

      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)...

      MAIN process: shutdown hook

      MAIN process: exiting

       

      Saludos

      Kartheek