Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ESB-812
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Guillaume Nodet
Reporter: Joe Luo
Votes: 3
Watchers: 4
Operations

If you were logged in you would be able to see more operations.
FUSE ESB

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

Created: 28/Jul/09 11:07 AM   Updated: 07/Oct/09 11:17 AM
Component/s: Core
Affects Version/s: 4.1.0.2-fuse
Fix Version/s: 4.2.0.0M1-fuse

File Attachments: 1. Text File servicemix.log (1.47 MB)
2. Text File servicemix.log (12 kB)

Environment: Windows XP, Linux


 Description  « Hide
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



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Joe Luo made changes - 28/Jul/09 11:09 AM
Field Original Value New Value
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:
{code}
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>
{code}

The log from instances/foo/data/log/servicemix.log shows the following:
{quote}
10:58:24,954 | INFO | FelixStartLevel | ExtenderConfiguration | al.support.ExtenderConfiguration 140 | No custom extender configuration detected; using defaults...
10:58:24,954 | INFO | FelixStartLevel | TimerTaskExecutor | heduling.timer.TimerTaskExecutor 90 | Initializing Timer
10:58:24,985 | 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:24,985 | 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:24,985 | 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:24,985 | 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
10:58:25,017 | INFO | FelixStartLevel | ultOsgiApplicationContextCreator | ultOsgiApplicationContextCreator 67 | Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Apache ServiceMix Kernel :: Management (org.apache.servicemix.kernel.management)]
10:58:25,048 | INFO | FelixStartLevel | ultOsgiApplicationContextCreator | ultOsgiApplicationContextCreator 67 | Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Apache ServiceMix Kernel :: JAAS Config (org.apache.servicemix.kernel.jaas.config)]
10:58:25,064 | INFO | ExtenderThread-1 | OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 411 | Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@1a5db4b: display name [OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.kernel.management, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Tue Jul 28 10:58:25 BST 2009]; root of context hierarchy
10:58:25,095 | INFO | FelixStartLevel | OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 411 | Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@b0095d: display name [OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.kernel.jaas.config, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Tue Jul 28 10:58:25 BST 2009]; root of context hierarchy
10:58:25,142 | INFO | ExtenderThread-1 | XmlBeanDefinitionReader | tory.xml.XmlBeanDefinitionReader 323 | Loading XML bean definitions from URL [bundle://13.0:0/META-INF/spring/servicemix-management.xml]
10:58:25,142 | INFO | FelixStartLevel | XmlBeanDefinitionReader | tory.xml.XmlBeanDefinitionReader 323 | Loading XML bean definitions from URL [bundle://16.0:0/META-INF/spring/servicemix-jaas.xml]
10:58:25,751 | INFO | FelixStartLevel | OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 426 | Bean factory for application context [org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@b0095d]: org.springframework.beans.factory.support.DefaultListableBeanFactory@6cef4
10:58:25,782 | INFO | ExtenderThread-1 | OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 426 | Bean factory for application context [org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@1a5db4b]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1d709a5
10:58:25,814 | INFO | ExtenderThread-1 | WaiterApplicationContextExecutor | WaiterApplicationContextExecutor 245 | No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.kernel.management, config=osgibundle:/META-INF/spring/*.xml)
10:58:25,814 | INFO | FelixStartLevel | WaiterApplicationContextExecutor | WaiterApplicationContextExecutor 245 | No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.kernel.jaas.config, config=osgibundle:/META-INF/spring/*.xml)
10:58:25,814 | INFO | FelixStartLevel | DefaultListableBeanFactory | pport.DefaultListableBeanFactory 414 | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@6cef4: defining beans [config,realms,proxyLoginModuleInitializer,keystoreManager,org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0,keystores]; root of factory hierarchy
10:58:25,814 | INFO | ExtenderThread-2 | DefaultListableBeanFactory | pport.DefaultListableBeanFactory 414 | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1d709a5: defining beans [mbeanServer,org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0,rmiRegistry,jmxConnectorService,jmxConnectorEnvironment,jaasAuthenticator,cmProps,org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0]; root of factory hierarchy
10:58:25,829 | INFO | ExtenderThread-2 | OsgiServiceFactoryBean | r.support.OsgiServiceFactoryBean 299 | Publishing service under classes [{javax.management.MBeanServer}]
10:58:25,845 | INFO | FelixStartLevel | OsgiServiceFactoryBean | r.support.OsgiServiceFactoryBean 299 | Publishing service under classes [{org.apache.servicemix.kernel.jaas.config.KeystoreManager}]
10:58:25,845 | INFO | FelixStartLevel | OsgiBundleXmlApplicationContext | ractOsgiBundleApplicationContext 345 | Not publishing application context OSGi service for bundle Apache ServiceMix Kernel :: JAAS Config (org.apache.servicemix.kernel.jaas.config)
10:58:25,876 | INFO | FelixStartLevel | ultOsgiApplicationContextCreator | ultOsgiApplicationContextCreator 67 | Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Apache ServiceMix Kernel :: JAAS Modules (org.apache.servicemix.kernel.jaas.modules)]
10:58:25,892 | INFO | FelixStartLevel | OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 411 | Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@1bbbafc: display name [OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.kernel.jaas.modules, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Tue Jul 28 10:58:25 BST 2009]; root of context hierarchy
10:58:25,892 | INFO | FelixStartLevel | XmlBeanDefinitionReader | tory.xml.XmlBeanDefinitionReader 323 | Loading XML bean definitions from URL [bundle://34.0:0/META-INF/spring/servicemix-jaas-module.xml]
10:58:25,907 | INFO | ExtenderThread-2 | ConnectorServerFactoryBean | pport.ConnectorServerFactoryBean 172 | JMX connector server started: javax.management.remote.rmi.RMIConnectorServer@1cfd3b2
10:58:25,907 | INFO | ExtenderThread-2 | OsgiBundleXmlApplicationContext | ractOsgiBundleApplicationContext 345 | Not publishing application context OSGi service for bundle Apache ServiceMix Kernel :: Management (org.apache.servicemix.kernel.management)
10:58:25,954 | INFO | FelixStartLevel | OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 426 | Bean factory for application context [org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@1bbbafc]: org.springframework.beans.factory.support.DefaultListableBeanFactory@23d275
10:58:25,970 | INFO | FelixStartLevel | WaiterApplicationContextExecutor | WaiterApplicationContextExecutor 245 | No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.kernel.jaas.modules, config=osgibundle:/META-INF/spring/*.xml)
10:58:25,970 | INFO | FelixStartLevel | DefaultListableBeanFactory | pport.DefaultListableBeanFactory 414 | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@23d275: defining beans [org.springframework.beans.factory.config.PropertyPlaceholderConfigurer#0,org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0,servicemix]; root of factory hierarchy
10:58:25,985 | INFO | FelixStartLevel | OsgiServiceFactoryBean | r.support.OsgiServiceFactoryBean 299 | Publishing service under classes [{org.apache.servicemix.kernel.jaas.config.JaasRealm}]
10:58:26,064 | INFO | FelixStartLevel | OsgiBundleXmlApplicationContext | ractOsgiBundleApplicationContext 345 | Not publishing application context OSGi service for bundle Apache ServiceMix Kernel :: JAAS Modules (org.apache.servicemix.kernel.jaas.modules)
10:58:26,110 | INFO | FelixStartLevel | ultOsgiApplicationContextCreator | ultOsgiApplicationContextCreator 67 | Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Apache ServiceMix Kernel :: Spring Deployer (org.apache.servicemix.kernel.spring)]
10:58:26,157 | INFO | FelixStartLevel | OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 411 | Refreshing org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@1751a9e: display name [OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.kernel.spring, config=osgibundle:/META-INF/spring/*.xml)]; startup date [Tue Jul 28 10:58:26 BST 2009]; root of context hierarchy
10:58:26,157 | INFO | FelixStartLevel | XmlBeanDefinitionReader | tory.xml.XmlBeanDefinitionReader 323 | Loading XML bean definitions from URL [bundle://37.0:0/META-INF/spring/spring-deployer.xml]
10:58:26,251 | INFO | FelixStartLevel | OsgiBundleXmlApplicationContext | pport.AbstractApplicationContext 426 | Bean factory for application context [org.springframework.osgi.context.support.OsgiBundleXmlApplicationContext@1751a9e]: org.springframework.beans.factory.support.DefaultListableBeanFactory@ad339b
10:58:26,267 | INFO | FelixStartLevel | WaiterApplicationContextExecutor | WaiterApplicationContextExecutor 245 | No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplicationContext(bundle=org.apache.servicemix.kernel.spring, config=osgibundle:/META-INF/spring/*.xml)
10:58:26,267 | INFO | FelixStartLevel | DefaultListableBeanFactory | pport.DefaultListableBeanFactory 414 | Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@ad339b: defining beans [springDeploymentListener,org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#0,springHandler,org.springframework.osgi.service.exporter.support.OsgiServiceFactoryBean#1]; root of factory hierarchy
10:58:26,267 | INFO | FelixStartLevel | OsgiServiceFactoryBean | r.support.OsgiServiceFactoryBean 299 | Publishing service under classes [{org.apache.servicemix.kernel.filemonitor.DeploymentListener}]
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
{quote}
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:
{code}
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>
{code}

The log from instances/foo/data/log/servicemix.log shows the following:
{quote}
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
{quote}
Joe Luo made changes - 28/Jul/09 11:12 AM
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:
{code}
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>
{code}

The log from instances/foo/data/log/servicemix.log shows the following:
{quote}
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
{quote}
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:
{code}
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>
{code}

The log from instances/foo/data/log/servicemix.log shows the following:
{quote}
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
{quote}
Joe Luo made changes - 28/Jul/09 11:13 AM
Attachment servicemix.log [ 14157 ]
Martin Murphy made changes - 07/Aug/09 12:52 PM
Link This issue fixes PROD-73 [ PROD-73 ]
Aileen Cunningham made changes - 07/Aug/09 03:11 PM
Fix Version/s 4.2.0.0-fuse [ 10521 ]
Aileen Cunningham made changes - 07/Aug/09 03:24 PM
Assignee Rob Davies [ rajdavies ] Guillaume Nodet [ gnodet ]
Martin Murphy made changes - 13/Aug/09 08:40 AM
Attachment servicemix.log [ 14236 ]
Martin Murphy made changes - 01/Sep/09 04:01 PM
Fix Version/s 4.2.0.0-fuse [ 10521 ]
Martin Murphy made changes - 07/Oct/09 11:17 AM
Status Open [ 1 ] Closed [ 6 ]
Fix Version/s 4.2.0.0M1-fuse [ 10640 ]
Resolution Fixed [ 1 ]