8 Replies Latest reply on Jan 17, 2010 4:00 AM by Claus Ibsen

    Cannot create and start a new instance

    Darren Davison Newbie

      hi. Using a completely fresh install of 4.1.0.2, I start ./bin/servicemix and from the console do;

       

      admin/create foo

      admin/start foo

       

      The instance is created, with an instances/foo directory seemingly populated OK, but the instance never starts properly.  The log from instances/foo/data/log/servicemix.log shows the following as the last few entries..

       

      08:45:50,820 | INFO  | FelixStartLevel  | OsgiServiceFactoryBean           | r.support.OsgiServiceFactoryBean  299 | Publishing service under classes

      08:45:50,822 | INFO  | ExtenderThread-2 | ConnectorServerFactoryBean       | pport.ConnectorServerFactoryBean  172 | JMX connector server started: javax.management.remote.rmi.RMIConnectorServer@1bdbfec

      08:45:50,822 | WARN  | pool-1-thread-1  | FileMonitor                      | x.kernel.filemonitor.FileMonitor  272 | Unsupported deployment: /opt/fuse-esb-4.1.0.2/instances/foo/etc/startup.properties

      08:45:50,822 | INFO  | ExtenderThread-2 | OsgiBundleXmlApplicationContext  | ractOsgiBundleApplicationContext  345 | Not publishing application context OSGi service for bundle Apache ServiceMix Kernel :: Management (org.apache.servicemix.kernel.management)

      08:45:50,822 | WARN  | pool-1-thread-1  | FileMonitor                      | x.kernel.filemonitor.FileMonitor  272 | Unsupported deployment: /opt/fuse-esb-4.1.0.2/instances/foo/etc/users.properties

      08:45:50,823 | WARN  | pool-1-thread-1  | FileMonitor                      | x.kernel.filemonitor.FileMonitor  272 | Unsupported deployment: /opt/fuse-esb-4.1.0.2/instances/foo/etc/system.properties

      08:45:50,823 | WARN  | pool-1-thread-1  | FileMonitor                      | x.kernel.filemonitor.FileMonitor  272 | Unsupported deployment: /opt/fuse-esb-4.1.0.2/instances/foo/etc/config.properties

      08:45:50,825 | INFO  | FelixStartLevel  | OsgiServiceFactoryBean           | r.support.OsgiServiceFactoryBean  299 | Publishing service under classes

      08:45:50,827 | INFO  | FelixStartLevel  | OsgiBundleXmlApplicationContext  | ractOsgiBundleApplicationContext  345 | Not publishing application context OSGi service for bundle Apache ServiceMix Kernel :: Spring Deployer (org.apache.servicemix.kernel.spring)

       

      admin/list shows it starting, but never started and the instance cannot be connected to:

       

      smx@root:admin> list

        Port   State       Pid  Name

      foo

       

       

      Is there something I've missed?

       

      Cheers,

      Darren.