Skip navigation
Kdesin
Currently Being Moderated

Day CQ installation problems

Apr 19, 2012 4:00 PM

Tags: #command #installation #prompt #cq #connect_exception

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.waitForConte ntPath' 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.waitForConte ntPath' 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

 
Replies
  • Currently Being Moderated
    Apr 19, 2012 4:22 PM   in reply to Kdesin

    Kartheek,

     

    Above error should be fine as you are starting CQ for first time (CQ is waiting for CRX to come up). But not sure why you got

     

    MAIN process: shutdown hook

    MAIN process: exiting

     

    Did you stop main process ?

     

    Yogesh

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2012 4:43 PM   in reply to Kdesin

    Can you run this again ? Also send output from server log under /server/logs folder.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2012 5:33 PM   in reply to Kdesin

    Not sure. So only log you see is stdout and stderr ? Does not look like Win 7 is supported http://dev.day.com/docs/en/cq/5-4/deploying/technical_requirements.htm l

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 19, 2012 6:05 PM   in reply to YogeshUpadhyay

    can you try

     

    java -jar cq-author-4502.jar --help

     

    and see what version of the file you have?

     

    Also, it may be a good idea to do

     

    set classpath=

     

    before starting CQ and checking java -version to make sure you have 1.5

     

    Since it's windows, was there some sort of security popup to allow the

    app to connect to the port (sometimes they don't pop up and are just

    another icon in the task bar at the bottom of the screen).

     

    Another thing to try is

     

    java -jar cq-author-4502.jar --unpack

     

    that will just unpack cq, you can then use the

    crx-quickstart\server\server.bat file to start cq, maybe that helps.

     

    Ruben

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points