4 Replies Latest reply on Jun 27, 2013 7:45 PM by shin4649

    Server not responding

    shin4649 Level 1

      Hi all.

       

      Tried a lot of time. my cq5.3 server still not responding. Please help, all my work is in the server.

       

      These are my log files

       

      server.txt

      27.06.2013 19:09:05 *MARK * servletengine: Portlet API 2.0 detected in classpath.

      27.06.2013 19:09:05 *MARK * server: Server start

      27.06.2013 19:09:05 *MARK * servletengine: Servlet engine start

      27.06.2013 19:09:05 *MARK * servletengine: Servlet container start

      27.06.2013 19:09:05 *MARK * webapp-Content Repository Extreme: Start web application

      27.06.2013 19:09:05 *MARK * webapp-Content Repository Extreme: Start servlet 'Logging'

      27.06.2013 19:09:05 *MARK * webapp-Content Repository Extreme: Start servlet 'Repository'

       

       

      stderr.txt

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

      Not forking JVM as -nofork option is set

      Using 32bit VM settings

      The JVM reports a heap size of 371 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:/C:/Users/py/Desktop/author/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/5 http://localhost:$PORT$/login.html .*(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 C:\Users\py\Desktop\author\crx-quickstart\logs\stdout.log

      Redirecting stderr to C:\Users\py\Desktop\author\crx-quickstart\logs\stderr.log

      Quickstart startup at Thu Jun 27 19:09:04 SGT 2013

      crx.quickstart.build.number=20100127-091317

      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

      Build number not changed, software update not needed

      PreserveExistingFiles: no files to restore from pre-upgrade backup

      System property crx.quickstart.info.jar.name set to file:/C:/Users/py/Desktop/author/cq5-author-4502.jar

      System property crx.quickstart.info.work.dir set to C:\Users\py\Desktop\author\crx-quickstart

      System property crx.quickstart.info.server.dir set to C:\Users\py\Desktop\author\crx-quickstart\server

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

      C:\Users\py\Desktop\author\crx-quickstart\server\etc\server.xml exists, assuming CRX is already setup

      Processing updates...

      Updates source: C:\Users\py\Desktop\author\crx-quickstart\repository\patches\new

      RunJarOnce INFO: RunJarOnce created, srcFolder=C:\Users\py\Desktop\author\crx-quickstart\repository\patches\new, doneFolder=C:\Users\py\Desktop\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...

      Work dir: C:\Users\py\Desktop\author\crx-quickstart

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

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

      Waiting for server startup...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      http://localhost:4502/crx timed out after 60 seconds

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

      Please try http://localhost:4502/crx again later

      (61 seconds since startup)

      Server not ready, browser not launched

       

       

      stdout.txt

      Quickstart startup at Thu Jun 27 19:09:04 SGT 2013

      27.06.2013 19:09:05 *INFO * root: Logging initialized. (LoggingServlet.java, line 87)

      27.06.2013 19:09:05 *INFO * CRXRepositoryStartupServlet: CRXRepositoryStartupServlet initializing... (CRXDiagnostic.java, line 240)

      27.06.2013 19:09:05 *INFO * RepositoryStartupServlet: RepositoryStartupServlet initializing... (RepositoryStartupServlet.java, line 235)

      27.06.2013 19:09:05 *INFO * AbstractConfig: Configuration of BootstrapConfig (AbstractConfig.java, line 101)

      27.06.2013 19:09:05 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 102)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   valid: true (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   rmiConfig: org.apache.jackrabbit.j2ee.RMIConfig@3536fd (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   repositoryConfig: crx-quickstart\repository\repository.xml (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   class: class org.apache.jackrabbit.j2ee.BootstrapConfig (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   repositoryHome: crx-quickstart/repository (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   repositoryName: crx (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   jndiConfig: org.apache.jackrabbit.j2ee.JNDIConfig@d029f4 (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 108)

      27.06.2013 19:09:05 *INFO * AbstractConfig: Configuration of JNDIConfig (AbstractConfig.java, line 101)

      27.06.2013 19:09:05 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 102)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   valid: true (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   jndiName: crx (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   jndiEnabled: true (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   class: class org.apache.jackrabbit.j2ee.JNDIConfig (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig:   jndiEnv: {java.naming.provider.url=http://jcr.day.com, java.naming.factory.initial=com.day.util.jndi.provider.MemoryInitialContextFactory} (AbstractConfig.java, line 106)

      27.06.2013 19:09:05 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 108)

      27.06.2013 19:09:05 *INFO * RepositoryImpl: Starting repository... (RepositoryImpl.java, line 304)

      27.06.2013 19:09:05 *INFO * LocalFileSystem: LocalFileSystem initialized at path C:\Users\py\Desktop\author\crx-quickstart\repository\repository (LocalFileSystem.java, line 164)

      27.06.2013 19:09:05 *INFO * LocalFileSystem: LocalFileSystem initialized at path C:\Users\py\Desktop\author\crx-quickstart\repository\shared (LocalFileSystem.java, line 164)

      27.06.2013 19:09:06 *INFO * AbstractMasterElection: Election started. (AbstractMasterElection.java, line 261)

      27.06.2013 19:09:07 *INFO * AbstractMasterElection: Election ended: master (AbstractMasterElection.java, line 263)

      27.06.2013 19:09:07 *INFO * LocalFileSystem: LocalFileSystem initialized at path C:\Users\py\Desktop\author\crx-quickstart\repository\version (LocalFileSystem.java, line 164)

        • 1. Re: Server not responding
          orotas Level 4

          What are the entries in error.log and crx.log? Those will be the most relevant.

          • 2. Re: Server not responding
            shin4649 Level 1

            There were no entries for error.log. Below are entries for crx folder, error.log.

             

            crx > error.log

            27.06.2013 19:09:05 *INFO * root: Logging initialized. (LoggingServlet.java, line 87)

            27.06.2013 19:09:05 *INFO * CRXRepositoryStartupServlet: CRXRepositoryStartupServlet initializing... (CRXDiagnostic.java, line 240)

            27.06.2013 19:09:05 *INFO * RepositoryStartupServlet: RepositoryStartupServlet initializing... (RepositoryStartupServlet.java, line 235)

            27.06.2013 19:09:05 *INFO * AbstractConfig: Configuration of BootstrapConfig (AbstractConfig.java, line 101)

            27.06.2013 19:09:05 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 102)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   valid: true (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   rmiConfig: org.apache.jackrabbit.j2ee.RMIConfig@3536fd (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   repositoryConfig: crx-quickstart\repository\repository.xml (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   class: class org.apache.jackrabbit.j2ee.BootstrapConfig (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   repositoryHome: crx-quickstart/repository (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   repositoryName: crx (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   jndiConfig: org.apache.jackrabbit.j2ee.JNDIConfig@d029f4 (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 108)

            27.06.2013 19:09:05 *INFO * AbstractConfig: Configuration of JNDIConfig (AbstractConfig.java, line 101)

            27.06.2013 19:09:05 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 102)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   valid: true (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   jndiName: crx (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   jndiEnabled: true (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   class: class org.apache.jackrabbit.j2ee.JNDIConfig (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig:   jndiEnv: {java.naming.provider.url=http://jcr.day.com, java.naming.factory.initial=com.day.util.jndi.provider.MemoryInitialContextFactory} (AbstractConfig.java, line 106)

            27.06.2013 19:09:05 *INFO * AbstractConfig: ---------------------------------------------- (AbstractConfig.java, line 108)

            27.06.2013 19:09:05 *INFO * RepositoryImpl: Starting repository... (RepositoryImpl.java, line 304)

            27.06.2013 19:09:05 *INFO * LocalFileSystem: LocalFileSystem initialized at path C:\Users\py\Desktop\author\crx-quickstart\repository\repository (LocalFileSystem.java, line 164)

            27.06.2013 19:09:05 *INFO * LocalFileSystem: LocalFileSystem initialized at path C:\Users\py\Desktop\author\crx-quickstart\repository\shared (LocalFileSystem.java, line 164)

            27.06.2013 19:09:06 *INFO * AbstractMasterElection: Election started. (AbstractMasterElection.java, line 261)

            27.06.2013 19:09:07 *INFO * AbstractMasterElection: Election ended: master (AbstractMasterElection.java, line 263)

            27.06.2013 19:09:07 *INFO * LocalFileSystem: LocalFileSystem initialized at path C:\Users\py\Desktop\author\crx-quickstart\repository\version (LocalFileSystem.java, line 164)

            • 3. Re: Server not responding
              orotas Level 4

              Well error.log should be the nosiest of all of the logs. Can you log into the OSGI console? How many bundles are running? Are any not started. I'd look at your logging configuration in OSGI and make sure you havent piped the output to another log, or inadverdent turned it of as well - there should be a lot of information in error.log.

              • 4. Re: Server not responding
                shin4649 Level 1

                Tried again today, and it working now. Starting server from server.bat.

                 

                Thank you anyway.