Uploaded image for project: 'FUSE ESB'
  1. FUSE ESB
  2. ESB-812

[Fuse ESB 4.1.0.2] a new instance created by admin/create sub shell won't be started correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.1.0.2-fuse
    • Fix Version/s: 4.2.0.0M1-fuse
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Windows XP, Linux

      Description

      Using a completely fresh install of Fuse ESB 4.1.0.2 and started it by ./bin/servicemix. Then 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 and the instance cannot be connected to:

      smx@root:admin> create foo
      Creating new instance on port 8103 at: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo
      Creating dir:  E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\bin
      Creating dir:  E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc
      Creating dir:  E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\system
      Creating dir:  E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\deploy
      Creating dir:  E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\data
      Creating file: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\config.properties
      Creating file: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\org.apache.servicemix.features.cfg
      Creating file: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\users.properties
      Creating file: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\org.ops4j.pax.logging.cfg
      Creating file: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\org.ops4j.pax.url.mvn.cfg
      Creating file: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\startup.properties
      Creating file: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\system.properties
      Creating file: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\org.apache.servicemix.shell.cfg
      Creating file: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\bin\servicemix.bat
      smx@root:admin> start foo
      smx@root:admin> list
        Port   State       Pid  Name
      [ 8103] [Starting] [ 5152] foo
      smx@root:admin> list
        Port   State       Pid  Name
      [ 8103] [Starting] [ 5152] foo
      smx@root:admin> connect foo
      Connecting to: localhost:8103
      ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandException: org.apache.ge
      ronimo.gshell.commandline.CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandExce
      ption: org.apache.sshd.common.RuntimeSshException: Failed to get the session.
      smx@root:admin>

      The log from instances/foo/data/log/servicemix.log shows the following:

      10:58:26,267 | INFO | FelixStartLevel | OsgiServiceFactoryBean | r.support.OsgiServiceFactoryBean 299 | Publishing service under classes (org.osgi.service.url.URLStreamHandlerService)
      10:58:26,267 | INFO | FelixStartLevel | OsgiBundleXmlApplicationContext | ractOsgiBundleApplicationContext 345 | Not publishing application context OSGi service for bundle Apache ServiceMix Kernel :: Spring Deployer (org.apache.servicemix.kernel.spring)
      10:58:26,282 | WARN | pool-1-thread-1 | FileMonitor | x.kernel.filemonitor.FileMonitor 272 | Unsupported deployment: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\system.properties
      10:58:26,282 | WARN | pool-1-thread-1 | FileMonitor | x.kernel.filemonitor.FileMonitor 272 | Unsupported deployment: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\config.properties
      10:58:26,282 | WARN | pool-1-thread-1 | FileMonitor | x.kernel.filemonitor.FileMonitor 272 | Unsupported deployment: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\users.properties
      10:58:26,282 | WARN | pool-1-thread-1 | FileMonitor | x.kernel.filemonitor.FileMonitor 272 | Unsupported deployment: E:\fuse\esb\fuse-esb-4.1.0.2\instances\foo\etc\startup.properties

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gnodet Guillaume Nodet
                Reporter:
                joe.luo Joe Luo
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: