The data folder is relative to where you launch servicemix.
Check for any other data folder in your distribution.
Once you have removed it, there won't be any remaining SU,
so you won't have this problem anymore.

On 10/31/06, joel s jackson <[EMAIL PROTECTED]> wrote:

Hi,
Tried that...but still happens


gnodet wrote:
>
> You can remove the data folder of your servicemix distribution
> to restore it to a clean state.  However if you can reproduce
> the problem, it would be nice, as there may be a bug hidden
> somewhere.
>
> On 10/31/06, joel s jackson <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>> Got this error when starting sm :
>> C:\servicemix\servicemix-3.0\examples\loan-broker>servicemix
>> servicemix.xml
>> Starting Apache ServiceMix ESB: 3.0-incubating
>>
>> Loading Apache ServiceMix from file: servicemix.xml
>> INFO  - JBIContainer                   - ServiceMix 3.0-incubating JBI
>> Container (ServiceMix) is starting
>> INFO  - JBIContainer                   - For help or more informations
>> please see: http://incubator.apache.org/servicemix/
>> INFO  - ConnectorServerFactoryBean     - JMX connector available at:
>> service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
>> INFO  - ComponentMBeanImpl             - Initializing component:
>> #SubscriptionManager#
>> INFO  - DeploymentService              - Restoring service assemblies
>> INFO  - ComponentMBeanImpl             - Setting running state for
>> Component: servicemix-lwcontainer to Started
>> INFO  - ComponentMBeanImpl             - Initializing component:
>> servicemix-lwcontainer
>> INFO  - ServiceAssemblyLifeCycle       - Stopping service assembly:
>> loanbroker
>> INFO  - ServiceUnitLifeCycle           - Initializing service unit:
>> loanbroker
>> ERROR - DeploymentService              - Unable to restore state for
>> service
>> assembly loanbroker
>> java.lang.Exception: <?xml version="1.0" encoding="UTF-8"?>
>> <jbi-task xmlns="http://java.sun.com/xml/ns/jbi/management-message";
>> version="1.0">
>> <jbi-task-result>
>> <frmwk-task-result>
>> <frmwk-task-result-details>
>> <task-result-details>
>> <task-id>stop</task-id>
>> <task-result>FAILED</task-result>
>> <message-type>ERROR</message-type>
>> </task-result-details>
>> </frmwk-task-result-details>
>> </frmwk-task-result>
>> <component-task-result
>> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>>         <component-name>servicemix-lwcontainer</component-name>
>>         <component-task-result-details>
>>                 <task-result-details>
>>                         <task-id>deploy</task-id>
>>                         <task-result>FAILED</task-result>
>>                         <message-type>ERROR</message-type>
>>                         <task-status-msg>
>> <msg-loc-info>
>> <loc-token/>
>> <loc-message>Unable to find suitable deployer for Service Unit
>> 'loanbroker'</loc-message>
>> </msg-loc-info>
>> </task-status-msg>
>>                 </task-result-details>
>>         </component-task-result-details>
>> </component-task-result>
>> </jbi-task-result>
>> </jbi-task>
>>
>>         at
>> 
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:121)
>>         at
>> 
org.apache.servicemix.jbi.framework.ManagementSupport.failure(ManagementSupport.java:107)
>>         at
>> 
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.stop(ServiceAssemblyLifeCycle.java:190)
>>         at
>> 
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.restore(ServiceAssemblyLifeCycle.java:330)
>>         at
>> 
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:97)
>>         at
>> org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:595)
>>         at
>> 
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:79)
>>         at
>> 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCap
>> ableBeanFactory.java:957)
>>         at
>> 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapabl
>> eBeanFactory.java:924)
>>         at
>> 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBea
>> nFactory.java:415)
>>         at
>> 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:242)
>>         at
>> 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.j
>> ava:141)
>>         at
>> 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:239)
>>         at
>> 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:155)
>>         at
>> 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanF
>> actory.java:303)
>>         at
>> 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)
>>         at
>> 
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:149)
>>         at
>> 
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:100)
>>         at org.apache.servicemix.Main.main(Main.java:80)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>         at
>> 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:585)
>>         at
>> org.codehaus.classworlds.Launcher.launchStandard(Launcher.java:410)
>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:344)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:461)
>> INFO  - JBIContainer                   - ServiceMix JBI Container
>> (ServiceMix) started
>> ----------
>> Appreciate if anyone could help...
>> --
>> View this message in context:
>> 
http://www.nabble.com/ERROR--DeploymentService---Unable-to-restore-state-for-service-assembly-tf2543328.html#a7086673
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>

--
View this message in context: 
http://www.nabble.com/ERROR--DeploymentService---Unable-to-restore-state-for-service-assembly-tf2543328.html#a7095771
Sent from the ServiceMix - User mailing list archive at Nabble.com.




--
Cheers,
Guillaume Nodet

Reply via email to