Announcement Announcement Module
Collapse
No announcement yet.
Problem starting dm Server out of the box Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem starting dm Server out of the box

    Hey all -

    I'm a complete dm Server newb - evaluating it for some projects at work. Please forgive me if I've missed something entirely, but I didn't see this problem listed in the documentation or any of the Googletubes.

    I'm running Ubuntu in Sun VirtualBox.

    Per the install instructions, I unzipped the bundle and set DMS_HOME to point to the root of the unzipped directory.

    Running startup.sh produces a lot of output which ends with:

    [2010-01-17 09:12:30.471] Thread-3 <KE0101I> Reference '&objectNameCreator' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.model.manage ment.RuntimeArtifactModelObjectNameCreator)'.
    [2010-01-17 09:12:33.330] kernel-dm-11 <SH0001I> dm Kernel ssh shell available on port 2401.
    [2010-01-17 09:12:34.619] startup-tracker <KE0002I> Kernel started.
    [2010-01-17 09:12:34.802] system-artifacts <DE0700E> Cannot find plan 'com.springsource.kernel.userregion.springdm' version range '[0.0.0, oo)' in repository 'usr'.
    [2010-01-17 09:12:34.823] system-artifacts <DE0700E> Cannot find plan 'com.springsource.server.web' version range '[0.0.0, oo)' in repository 'usr'.
    [2010-01-17 09:12:34.914] system-artifacts <UR0002E> User region failed while deploying initial artifacts. Shutting down.
    [2010-01-17 09:12:35.072] System Bundle Shutdown <KE0010I> Shutdown initiated.

    Is there an additional dependency I need to install or configure? Looking in $DMS_HOME/repository/usr, I see no files - I assume it's looking for something there based on the 'cannot find plan' output.

    Does anyone have any idea? Any help much appreciated. Cheers!

    Gregg

  • #2
    Can you post the contents of the com.springsource.repository.properties file in the config directory please? It looks like it's not configured correctly for some reason.

    Comment


    • #3
      Andy - Thanks for your reply. Here's that file.

      gregg@gregg-laptop:/opt/springsource-dm-server$ more config/com.springsource.repository.properties
      ext.type=external
      ext.searchPattern=repository/ext/{artifact}

      usr.type=watched
      usr.watchDirectory=repository/usr

      chain=ext,usr

      I did set the timeout to 0 in com.springsource.kernel.properties to no effect. Then I VPNed into my work machine (RHEL5) and it ran fine out of the box. All I can think is that the VM must be a factor. It is slower than native Linux of course. But it would still be handy to get it running there as it's my only Linux install at home.

      Thanks again!

      Gregg

      Comment


      • #4
        That repository configuration looks like the one we ship. What files are visible under repository/ext?

        Comment


        • #5
          Everything is plain vanilla, unmodified from your distribution. All I did was:
          1 - Unzip the distribution
          2 - Create a symlink to it
          3 - set a DMS_HOME environment variable

          Oh, and I chmodded the .plan files in repository/ext to 777 in case it was some permissions issue, but that had no effect of course.

          Thanks for your help. Here's the listing.

          gregg@gregg-laptop:/opt/springsource-dm-server$ ll repository/ext/
          total 19992
          -rw-r--r-- 1 gregg gregg 63759 2010-01-12 16:14 com.springsource.javax.activation-1.1.0.jar
          -rw-r--r-- 1 gregg gregg 6195 2010-01-12 16:14 com.springsource.javax.annotation-1.0.0.jar
          -rw-r--r-- 1 gregg gregg 34176 2010-01-12 16:10 com.springsource.javax.ejb-3.0.0.jar
          -rw-r--r-- 1 gregg gregg 29892 2010-01-12 16:14 com.springsource.javax.el-1.0.0.jar
          -rw-r--r-- 1 gregg gregg 26178 2010-01-12 16:10 com.springsource.javax.jms-1.1.0.jar
          -rw-r--r-- 1 gregg gregg 393311 2010-01-12 16:15 com.springsource.javax.mail-1.4.0.jar
          -rw-r--r-- 1 gregg gregg 53773 2010-01-12 16:14 com.springsource.javax.persistence-1.0.0.jar
          -rw-r--r-- 1 gregg gregg 48648 2010-01-12 16:10 com.springsource.javax.portlet-2.0.0.jar
          -rw-r--r-- 1 gregg gregg 89582 2010-01-12 16:10 com.springsource.javax.servlet-2.5.0.jar
          -rw-r--r-- 1 gregg gregg 82151 2010-01-12 16:14 com.springsource.javax.servlet.jsp-2.1.0.jar
          -rw-r--r-- 1 gregg gregg 21266 2010-01-12 16:11 com.springsource.javax.servlet.jsp.jstl-1.1.2.jar
          -rw-r--r-- 1 gregg gregg 15518 2010-01-12 16:15 com.springsource.javax.transaction-1.1.0.jar
          -rw-r--r-- 1 gregg gregg 91992 2010-01-12 16:14 com.springsource.javax.xml.bind-2.1.7.jar
          -rw-r--r-- 1 gregg gregg 32322 2010-01-12 16:11 com.springsource.javax.xml.rpc-1.1.0.jar
          -rw-r--r-- 1 gregg gregg 19496 2010-01-12 16:14 com.springsource.javax.xml.soap-1.3.0.jar
          -rw-r--r-- 1 gregg gregg 26729 2010-01-12 16:14 com.springsource.javax.xml.stream-1.0.1.jar
          -rw-r--r-- 1 gregg gregg 37401 2010-01-12 16:14 com.springsource.javax.xml.ws-2.1.1.jar
          -rw-r--r-- 1 gregg gregg 24624 2010-01-12 14:58 com.springsource.kernel.agent.dm-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 37131 2010-01-12 16:14 com.springsource.kernel.artifact-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 161617 2010-01-12 16:13 com.springsource.kernel.core-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 488961 2010-01-12 16:14 com.springsource.kernel.deployer-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 10509 2010-01-12 16:14 com.springsource.kernel.deployer.dm-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 5572 2010-01-12 16:16 com.springsource.kernel.dm-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 26085 2010-01-12 14:41 com.springsource.kernel.dmfragment-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 61690 2010-01-12 16:14 com.springsource.kernel.osgi-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 56268 2010-01-12 16:14 com.springsource.kernel.services-2.0.0.RELEASE.jar
          -rwxrwxrwx 1 gregg gregg 945 2010-01-12 14:58 com.springsource.kernel.userregion.springdm.plan
          -rw-r--r-- 1 gregg gregg 4615 2010-01-12 16:11 com.springsource.org.aopalliance-1.0.0.jar
          -rw-r--r-- 1 gregg gregg 125379 2010-01-12 16:15 com.springsource.org.apache.catalina.ha.springsour ce-6.0.20.S2-r5956.jar
          -rw-r--r-- 1 gregg gregg 1169915 2010-01-12 16:15 com.springsource.org.apache.catalina.springsource-6.0.20.S2-r5956.jar
          -rw-r--r-- 1 gregg gregg 232761 2010-01-12 16:15 com.springsource.org.apache.catalina.tribes.spring source-6.0.20.S2-r5956.jar
          -rw-r--r-- 1 gregg gregg 47421 2010-01-12 16:11 com.springsource.org.apache.commons.codec-1.3.0.jar
          -rw-r--r-- 1 gregg gregg 54080 2010-01-12 16:11 com.springsource.org.apache.commons.fileupload-1.2.0.jar
          -rw-r--r-- 1 gregg gregg 307965 2010-01-12 16:11 com.springsource.org.apache.commons.httpclient-3.1.0.jar
          -rw-r--r-- 1 gregg gregg 110412 2010-01-12 16:11 com.springsource.org.apache.commons.io-1.4.0.jar
          -rw-r--r-- 1 gregg gregg 757187 2010-01-12 16:15 com.springsource.org.apache.coyote.springsource-6.0.20.S2-r5956.jar
          -rw-r--r-- 1 gregg gregg 104571 2010-01-12 16:15 com.springsource.org.apache.el.springsource-6.0.20.S2-r5956.jar
          -rw-r--r-- 1 gregg gregg 1402670 2010-01-12 16:15 com.springsource.org.apache.jasper.org.eclipse.jdt .springsource-6.0.20.S2-r5956.jar
          -rw-r--r-- 1 gregg gregg 540658 2010-01-12 16:14 com.springsource.org.apache.jasper.springsource-6.0.20.S2-r5956.jar
          -rw-r--r-- 1 gregg gregg 70158 2010-01-12 16:15 com.springsource.org.apache.juli.extras.springsour ce-6.0.20.S2-r5956.jar
          -rw-r--r-- 1 gregg gregg 398371 2010-01-12 16:11 com.springsource.org.apache.taglibs.standard-1.1.2.jar
          -rw-r--r-- 1 gregg gregg 1614157 2010-01-12 16:11 com.springsource.org.aspectj.weaver-1.6.6.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 21122 2010-01-12 16:14 com.springsource.osgi.extensions.equinox-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 21838 2010-01-12 16:14 com.springsource.osgi.launcher-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 14388 2010-01-12 16:13 com.springsource.osgi.medic-1.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 506452 2010-01-12 16:14 com.springsource.osgi.medic.core-1.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 47724 2010-01-12 16:13 com.springsource.osgi.webcontainer.core-1.0.0.M1.jar
          -rw-r--r-- 1 gregg gregg 185609 2010-01-12 16:14 com.springsource.osgi.webcontainer.tomcat-1.0.0.M1.jar
          -rw-r--r-- 1 gregg gregg 219489 2010-01-12 16:14 com.springsource.repository-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 32547 2010-01-12 16:09 com.springsource.server.admin.content-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 3658039 2010-01-12 16:10 com.springsource.server.admin.web-2.0.0.RELEASE.war
          -rwxrwxrwx 1 gregg gregg 931 2010-01-12 16:10 com.springsource.server.web-2.0.0.RELEASE.plan
          -rw-r--r-- 1 gregg gregg 34704 2010-01-12 16:13 com.springsource.server.web.core-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 6766 2010-01-12 16:13 com.springsource.server.web.dm-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 23991 2010-01-12 16:13 com.springsource.server.web.tomcat-2.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 24098 2010-01-12 16:10 com.springsource.slf4j.api-1.5.10.jar
          -rw-r--r-- 1 gregg gregg 4720 2010-01-12 16:11 com.springsource.slf4j.bridge-1.5.10.jar
          -rw-r--r-- 1 gregg gregg 5482 2010-01-12 16:16 com.springsource.slf4j.nop-1.5.10.jar
          -rw-r--r-- 1 gregg gregg 17578 2010-01-12 16:11 com.springsource.slf4j.org.apache.commons.logging-1.5.10.jar
          -rw-r--r-- 1 gregg gregg 11520 2010-01-12 16:11 com.springsource.slf4j.org.apache.log4j-1.5.10.jar
          -rw-r--r-- 1 gregg gregg 85016 2010-01-12 16:13 org.apache.felix.configadmin-1.2.4.jar
          -rw-r--r-- 1 gregg gregg 73372 2010-01-12 16:13 org.apache.felix.eventadmin-1.0.0.jar
          -rw-r--r-- 1 gregg gregg 22291 2010-01-12 16:11 org.apache.felix.log-1.0.0.jar
          -rw-r--r-- 1 gregg gregg 60384 2010-01-12 16:11 org.eclipse.equinox.cm-1.0.0.v20080509-1800.jar
          -rw-r--r-- 1 gregg gregg 63665 2010-01-12 16:11 org.eclipse.osgi.services-3.1.200.v20071203.jar
          -rw-r--r-- 1 gregg gregg 324242 2010-01-12 16:12 org.springframework.aop-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 53081 2010-01-12 16:12 org.springframework.asm-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 30482 2010-01-12 16:12 org.springframework.aspects-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 551967 2010-01-12 16:12 org.springframework.beans-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 657492 2010-01-12 16:12 org.springframework.context-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 101176 2010-01-12 16:12 org.springframework.context.support-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 359338 2010-01-12 16:12 org.springframework.core-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 154200 2010-01-12 16:12 org.springframework.expression-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 381893 2010-01-12 16:12 org.springframework.jdbc-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 184821 2010-01-12 16:12 org.springframework.jms-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 1206223 2010-01-12 16:12 org.springframework.js-2.0.8.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 330198 2010-01-12 16:12 org.springframework.orm-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 362889 2010-01-12 16:13 org.springframework.osgi.core-1.2.1.jar
          -rw-r--r-- 1 gregg gregg 120822 2010-01-12 16:13 org.springframework.osgi.extender-1.2.1.jar
          -rw-r--r-- 1 gregg gregg 35859 2010-01-12 16:13 org.springframework.osgi.io-1.2.1.jar
          -rw-r--r-- 1 gregg gregg 56263 2010-01-12 16:12 org.springframework.oxm-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 1313 2010-01-12 16:10 org.springframework.spring-library-3.0.0.RELEASE.libd
          -rw-r--r-- 1 gregg gregg 231660 2010-01-12 16:12 org.springframework.transaction-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 359154 2010-01-12 16:12 org.springframework.web-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 174408 2010-01-12 16:12 org.springframework.web.portlet-3.0.0.RELEASE.jar
          -rw-r--r-- 1 gregg gregg 386749 2010-01-12 16:12 org.springframework.web.servlet-3.0.0.RELEASE.jar
          gregg@gregg-laptop:/opt/springsource-dm-server$

          Comment


          • #6
            That looks fine.

            Have you tried setting DMS_HOME to the original install directory rather than to the symlink?

            Comment


            • #7
              Got a chance to take a look at this again. Setting the DMS_HOME to the full (non-symlink) path did not change anything.

              One thing I have noticed is that the first time I try to run the server after unzipping the download, it seems to timeout on startup with this message:

              [2010-01-24 21:28:57.813] startup-tracker <KE0004E> Kernel failed to start within 30 seconds.
              [2010-01-24 21:29:04.044] startup-tracker <ME0003I> Dump 'serviceability/dump/2010-01-24-21-28-968' generated
              [2010-01-24 21:29:04.053] startup-tracker <KE0011I> Immediate shutdown initiated.

              I have tried setting the timeout in the kernel.properties file to 0 so that there is no timeout, but it behaves the same.

              The second time I run the server, I get this message at the start of output:

              [2010-01-24 21:32:45.462] startup-tracker <KE0001I> Kernel starting.
              [2010-01-24 21:32:58.423] kernel-dm-7 <RP0100W> The repository 'ext' is not available.

              I'll paste the entire output from the initial attempt and a second attempt to start the server. It seems odd that it times out the first time and then can't find the 'ext' repository on subsequent attempts.

              Thanks for any ideas .

              Comment


              • #8
                First attempt

                First attempt:


                gregg@gregg-laptop:/usr/local/downloads$ /opt/springsource-dm-server-2.0.0.RELEASE/bin/startup.sh
                [2010-01-24 21:28:24.156] startup-tracker <KE0001I> Kernel starting.
                [2010-01-24 21:28:39.787] service-monitor-thread-1 <KE0100W> Reference '&repository' in bundle 'com.springsource.kernel.osgi' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.repository.Reposito ry)'.
                [2010-01-24 21:28:40.178] service-monitor-thread-1 <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                [2010-01-24 21:28:40.191] service-monitor-thread-1 <KE0100W> Reference '&moduleContextAccessor' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.module.Modul eContextAccessor)'.
                [2010-01-24 21:28:40.332] service-monitor-thread-1 <KE0100W> Reference '&userRegionBundleContext' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(&(objectClass=org.osgi.framework.BundleContext)( com.springsource.kernel.regionContext=true))'.
                [2010-01-24 21:28:40.344] service-monitor-thread-1 <KE0100W> Reference '&deployer' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.deployer.cor e.ApplicationDeployer)'.
                [2010-01-24 21:28:40.367] service-monitor-thread-1 <KE0100W> Reference '&objectNameCreator' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.model.manage ment.RuntimeArtifactModelObjectNameCreator)'.
                [2010-01-24 21:28:40.458] service-monitor-thread-1 <KE0100W> Reference '&packageAdminUtil' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.PackageAdminUtil)'.
                [2010-01-24 21:28:40.473] service-monitor-thread-1 <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                [2010-01-24 21:28:40.480] service-monitor-thread-1 <KE0100W> Reference '&runtimeArtifactModel' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.deployer.mod el.RuntimeArtifactModel)'.
                [2010-01-24 21:28:40.515] service-monitor-thread-1 <KE0100W> Reference '&userBundleContext' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(&(objectClass=org.osgi.framework.BundleContext)( com.springsource.kernel.regionContext=true))'.
                [2010-01-24 21:28:40.532] service-monitor-thread-1 <KE0100W> Reference '&applicationDeployer' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.deployer.cor e.ApplicationDeployer)'.
                [2010-01-24 21:28:41.040] service-monitor-thread-1 <KE0100W> Reference '&org.springframework.osgi.service.importer.suppor t.OsgiServiceProxyFactoryBean#0' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.region. Region)'.
                [2010-01-24 21:28:41.052] service-monitor-thread-1 <KE0100W> Reference '&packageAdminUtil' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.PackageAdminUtil)'.
                [2010-01-24 21:28:41.063] service-monitor-thread-1 <KE0100W> Reference '&repository' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.repository.Reposito ry)'.
                [2010-01-24 21:28:41.151] service-monitor-thread-1 <KE0100W> Reference '&osgiFramework' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.OsgiFramework)'.
                [2010-01-24 21:28:41.159] service-monitor-thread-1 <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                [2010-01-24 21:28:41.166] service-monitor-thread-1 <KE0100W> Reference '&importExpander' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.ImportExpander)'.
                [2010-01-24 21:28:54.787] service-monitor-thread-1 <KE0100W> Reference '&repository' in bundle 'com.springsource.kernel.osgi' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.repository.Reposito ry)'.
                [2010-01-24 21:28:55.222] service-monitor-thread-1 <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                [2010-01-24 21:28:55.234] service-monitor-thread-1 <KE0100W> Reference '&moduleContextAccessor' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.module.Modul eContextAccessor)'.
                [2010-01-24 21:28:55.253] service-monitor-thread-1 <KE0100W> Reference '&userRegionBundleContext' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(&(objectClass=org.osgi.framework.BundleContext)( com.springsource.kernel.regionContext=true))'.
                [2010-01-24 21:28:55.346] service-monitor-thread-1 <KE0100W> Reference '&deployer' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.deployer.cor e.ApplicationDeployer)'.
                [2010-01-24 21:28:55.368] service-monitor-thread-1 <KE0100W> Reference '&objectNameCreator' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.model.manage ment.RuntimeArtifactModelObjectNameCreator)'.
                [2010-01-24 21:28:55.467] service-monitor-thread-1 <KE0100W> Reference '&packageAdminUtil' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.PackageAdminUtil)'.
                [2010-01-24 21:28:55.478] service-monitor-thread-1 <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                [2010-01-24 21:28:55.486] service-monitor-thread-1 <KE0100W> Reference '&runtimeArtifactModel' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.deployer.mod el.RuntimeArtifactModel)'.
                [2010-01-24 21:28:55.515] service-monitor-thread-1 <KE0100W> Reference '&userBundleContext' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(&(objectClass=org.osgi.framework.BundleContext)( com.springsource.kernel.regionContext=true))'.
                [2010-01-24 21:28:55.539] service-monitor-thread-1 <KE0100W> Reference '&applicationDeployer' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.deployer.cor e.ApplicationDeployer)'.
                [2010-01-24 21:28:56.040] service-monitor-thread-1 <KE0100W> Reference '&org.springframework.osgi.service.importer.suppor t.OsgiServiceProxyFactoryBean#0' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.region. Region)'.
                [2010-01-24 21:28:56.061] service-monitor-thread-1 <KE0100W> Reference '&packageAdminUtil' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.PackageAdminUtil)'.
                [2010-01-24 21:28:56.099] service-monitor-thread-1 <KE0100W> Reference '&repository' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.repository.Reposito ry)'.
                [2010-01-24 21:28:56.152] service-monitor-thread-1 <KE0100W> Reference '&osgiFramework' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.OsgiFramework)'.
                [2010-01-24 21:28:56.159] service-monitor-thread-1 <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                [2010-01-24 21:28:56.176] service-monitor-thread-1 <KE0100W> Reference '&importExpander' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.ImportExpander)'.
                [2010-01-24 21:28:57.813] startup-tracker <KE0004E> Kernel failed to start within 30 seconds.
                [2010-01-24 21:29:04.044] startup-tracker <ME0003I> Dump 'serviceability/dump/2010-01-24-21-28-968' generated
                [2010-01-24 21:29:04.053] startup-tracker <KE0011I> Immediate shutdown initiated.

                Comment


                • #9
                  Subsequent attempts

                  Subsequent attempts:

                  gregg@gregg-laptop:/usr/local/downloads$ /opt/springsource-dm-server-2.0.0.RELEASE/bin/startup.sh
                  [2010-01-24 21:32:45.462] startup-tracker <KE0001I> Kernel starting.
                  [2010-01-24 21:32:58.423] kernel-dm-7 <RP0100W> The repository 'ext' is not available.
                  [2010-01-24 21:33:00.857] service-monitor-thread-1 <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                  [2010-01-24 21:33:01.455] service-monitor-thread-1 <KE0100W> Reference '&moduleContextAccessor' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.module.Modul eContextAccessor)'.
                  [2010-01-24 21:33:01.464] service-monitor-thread-1 <KE0100W> Reference '&userRegionBundleContext' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(&(objectClass=org.osgi.framework.BundleContext)( com.springsource.kernel.regionContext=true))'.
                  [2010-01-24 21:33:01.501] service-monitor-thread-1 <KE0100W> Reference '&packageAdminUtil' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.PackageAdminUtil)'.
                  [2010-01-24 21:33:01.538] service-monitor-thread-1 <KE0100W> Reference '&deployer' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.deployer.cor e.ApplicationDeployer)'.
                  [2010-01-24 21:33:01.594] service-monitor-thread-1 <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                  [2010-01-24 21:33:01.614] service-monitor-thread-1 <KE0100W> Reference '&objectNameCreator' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.model.manage ment.RuntimeArtifactModelObjectNameCreator)'.
                  [2010-01-24 21:33:01.656] service-monitor-thread-1 <KE0100W> Reference '&runtimeArtifactModel' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.deployer.mod el.RuntimeArtifactModel)'.
                  [2010-01-24 21:33:01.695] service-monitor-thread-1 <KE0100W> Reference '&userBundleContext' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(&(objectClass=org.osgi.framework.BundleContext)( com.springsource.kernel.regionContext=true))'.
                  [2010-01-24 21:33:01.715] service-monitor-thread-1 <KE0100W> Reference '&applicationDeployer' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.deployer.cor e.ApplicationDeployer)'.
                  [2010-01-24 21:33:01.784] service-monitor-thread-1 <KE0100W> Reference '&org.springframework.osgi.service.importer.suppor t.OsgiServiceProxyFactoryBean#0' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.region. Region)'.
                  [2010-01-24 21:33:01.796] service-monitor-thread-1 <KE0100W> Reference '&packageAdminUtil' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.PackageAdminUtil)'.
                  [2010-01-24 21:33:01.828] service-monitor-thread-1 <KE0100W> Reference '&osgiFramework' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.OsgiFramework)'.
                  [2010-01-24 21:33:01.883] service-monitor-thread-1 <KE0100W> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                  [2010-01-24 21:33:01.910] service-monitor-thread-1 <KE0100W> Reference '&importExpander' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' is waiting for service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.ImportExpander)'.
                  [2010-01-24 21:33:05.182] Thread-3 <KE0101I> Reference '&importExpander' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.ImportExpander)'.
                  [2010-01-24 21:33:05.228] Thread-3 <KE0101I> Reference '&osgiFramework' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.OsgiFramework)'.
                  [2010-01-24 21:33:05.287] Thread-3 <KE0101I> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                  [2010-01-24 21:33:05.300] Thread-3 <KE0101I> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                  [2010-01-24 21:33:05.347] Thread-3 <KE0101I> Reference '&quasiFrameworkFactory' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.osgi.quasi.Q uasiFrameworkFactory)'.
                  [2010-01-24 21:33:05.400] Thread-3 <KE0101I> Reference '&packageAdminUtil' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.PackageAdminUtil)'.
                  [2010-01-24 21:33:05.413] Thread-3 <KE0101I> Reference '&packageAdminUtil' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.osgi.framewo rk.PackageAdminUtil)'.
                  [2010-01-24 21:33:05.596] Thread-3 <KE0101I> Reference '&moduleContextAccessor' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.module.Modul eContextAccessor)'.
                  [2010-01-24 21:33:05.650] Thread-3 <KE0101I> Reference '&org.springframework.osgi.service.importer.suppor t.OsgiServiceProxyFactoryBean#0' in bundle 'com.springsource.kernel.deployer' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.osgi.region. Region)'.
                  [2010-01-24 21:33:05.722] Thread-3 <KE0101I> Reference '&userBundleContext' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' was satisfied by service with filter '(&(objectClass=org.osgi.framework.BundleContext)( com.springsource.kernel.regionContext=true))'.
                  [2010-01-24 21:33:05.771] Thread-3 <KE0101I> Reference '&userRegionBundleContext' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' was satisfied by service with filter '(&(objectClass=org.osgi.framework.BundleContext)( com.springsource.kernel.regionContext=true))'.
                  [2010-01-24 21:33:07.883] Thread-3 <KE0101I> Reference '&applicationDeployer' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.deployer.cor e.ApplicationDeployer)'.
                  [2010-01-24 21:33:08.425] Thread-3 <KE0101I> Reference '&deployer' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.deployer.cor e.ApplicationDeployer)'.
                  [2010-01-24 21:33:10.910] Thread-3 <KE0101I> Reference '&runtimeArtifactModel' in bundle 'com.springsource.kernel.model' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.deployer.mod el.RuntimeArtifactModel)'.
                  [2010-01-24 21:33:12.641] Thread-3 <KE0101I> Reference '&objectNameCreator' in bundle 'com.springsource.kernel.shell' version '2.0.0.RELEASE' was satisfied by service with filter '(objectClass=com.springsource.kernel.model.manage ment.RuntimeArtifactModelObjectNameCreator)'.
                  [2010-01-24 21:33:14.469] kernel-dm-11 <SH0001I> dm Kernel ssh shell available on port 2401.
                  [2010-01-24 21:33:15.247] startup-tracker <KE0002I> Kernel started.
                  [2010-01-24 21:33:15.343] system-artifacts <DE0700E> Cannot find plan 'com.springsource.kernel.userregion.springdm' version range '[0.0.0, oo)' in repository 'usr'.
                  [2010-01-24 21:33:15.386] system-artifacts <DE0700E> Cannot find plan 'com.springsource.server.web' version range '[0.0.0, oo)' in repository 'usr'.
                  [2010-01-24 21:33:15.463] system-artifacts <UR0002E> User region failed while deploying initial artifacts. Shutting down.
                  [2010-01-24 21:33:17.191] System Bundle Shutdown <KE0010I> Shutdown initiated.
                  gregg@gregg-laptop:/usr/local/downloads$

                  Comment


                  • #10
                    The messages you are getting out are a symptom of a slow system. Have you tried installing dm Server under the host OS rather than inside VirtualBox?

                    The 30 second timeout is unfortunately hard coded at 30 seconds. We should make that configurable to allow for slow systems like yours. Please raise a user story JIRA issue if you would like to.

                    As for the second failure, I'm not sure why you are seeing the RP0100W message as we've already checked everything obvious on this thread. It seems to be a side-effect of the previous failed start. You can verify this by starting the second time passing the -clean option to the startup.sh script and you should see the same behaviour as the initial start, i.e. timeout.

                    We should issue better diagnostics for the RP0100W message. The RepositoryLogEvents.REPOSITORY_NOT_CREATED event which corresponds to that message is logged without the RepositoryCreationException exception which provoked it. One way for you to get more diagnostics would be to attach a debugger to dm Server by passing the -debug -suspend options to the startup script and then attaching a debugger with a breakpoint set for RepositoryCreationException being thrown.

                    You may also like to open another issue against dm Server requesting that these diagnostics be improved.

                    Comment


                    • #11
                      Thanks again for all your help.

                      You are correct - attempting to start with -clean produces the same output as the first attempt. I'll open a ticket on that issue.

                      I could run under the host OS (Windows), but I'm doing some investigation for solutions for work, and we're on all Linux there. I'm going to look into improving the performance of VirtualBox and see if anything can be gained there.

                      Thanks again -
                      Gregg

                      Comment


                      • #12
                        I have the same problem 'Kernel failed to start within 30 seconds.' and for now I can't get any better computer to improve the performance. Does someone found a workaround for this ?

                        The source of dmserver is now public maybe I can change the code to hardcode another value ? As I see no other solution I will check if it's possible.

                        Comment


                        • #13
                          We are seeing a similar timeout on some of our continuous integration servers and we have a theory that it is associated with the repository scanning logic (one of the dumps produces showed the repository scan still in progress and other bundles waiting for the repository to be available), which fits in with the strange repository message mentioned above. 30 seconds is a long time even on a slowish box, so we are going to profile the startup and focus in on the repository scanning.

                          Comment


                          • #14
                            I encountered the same problem. The server seems to take longer time on consecutive starts. Eventually, it fails to start within 30 seconds.

                            https://issuetracker.springsource.com/browse/DMS-2396

                            Comment


                            • #15
                              Workaround?

                              I'm having the same issue on one of my machines. Is there currently any workaround for this?

                              Comment

                              Working...
                              X