I had a deeper look into the log and found the following:

09:07:09,782 | INFO  | FelixStartLevel  | FileSystemXmlApplicationContext  |
pport.AbstractApplicationContext  400 | Refreshing
[EMAIL PROTECTED]:
display name [xbean]; startup date [Wed Jan 16 09:07:09 CET 2008]; root of
context hierarchy
09:07:09,824 | INFO  | FelixStartLevel  | XBeanXmlBeanDefinitionReader     |
tory.xml.XmlBeanDefinitionReader  303 | Loading XML bean definitions from
file
[/home/lhe/apache-servicemix-runtime-1.0-m2-SNAPSHOT/data/jbi/43/wsdl-first-jsr181-su/xbean.xml]
09:07:12,662 | INFO  | FelixStartLevel  | FileSystemXmlApplicationContext  |
pport.AbstractApplicationContext  415 | Bean factory for application context
[EMAIL PROTECTED]:
[EMAIL PROTECTED]
09:07:12,677 | INFO  | FelixStartLevel  | DefaultListableBeanFactory       |
pport.DefaultListableBeanFactory  398 | Pre-instantiating singletons in
[EMAIL PROTECTED]:
defining beans [org.apache.servicemix.jsr181.Jsr181Endpoint#0]; parent:
[EMAIL PROTECTED]
09:07:15,757 | INFO  | FelixStartLevel  | FileSystemXmlApplicationContext  |
pport.AbstractApplicationContext  822 | Closing
[EMAIL PROTECTED]:
display name [xbean]; startup date [Wed Jan 16 09:07:09 CET 2008]; root of
context hierarchy
09:07:15,758 | INFO  | FelixStartLevel  | DefaultListableBeanFactory       |
ort.DefaultSingletonBeanRegistry  340 | Destroying singletons in
[EMAIL PROTECTED]:
defining beans [org.apache.servicemix.jsr181.Jsr181Endpoint#0]; parent:
[EMAIL PROTECTED]
09:07:15,779 | ERROR | FelixStartLevel  | Deployer                         |
cemix.jbi.deployer.impl.Deployer  118 | Error handling bundle event
javax.jbi.management.DeploymentException: <component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
        <component-name>Component (org.apache.servicemix.jsr181.Jsr181Component)
not yet initialized</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>java.lang.NullPointerException</loc-message></msg-loc-info></task-status-msg>
                        <exception-info>
                                <nesting-level>1</nesting-level>
                                <msg-loc-info>
                                        <loc-token />
                                        <loc-message>null</loc-message>
                                        
<stack-trace><![CDATA[java.lang.NullPointerException
        at
org.apache.servicemix.jsr181.xfire.ServiceFactoryHelper.findServiceFactory(ServiceFactoryHelper.java:128)
        at
org.apache.servicemix.jsr181.Jsr181Endpoint.registerService(Jsr181Endpoint.java:278)
        at
org.apache.servicemix.jsr181.Jsr181Endpoint.validate(Jsr181Endpoint.java:258)
        at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)
        at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55)
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:96)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
        at
org.apache.servicemix.jbi.deployer.impl.ServiceUnitImpl.deploy(ServiceUnitImpl.java:69)
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.deployServiceAssembly(Deployer.java:197)
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.register(Deployer.java:108)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.onBundleStarted(AbstractBundleWatcher.java:79)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.afterPropertiesSet(AbstractBundleWatcher.java:63)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1390)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:413)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:241)
        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
        at
org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageTwo(DependencyWaiterApplicationContextExecutor.java:298)
        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:239)
        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:158)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:120)
        at
org.springframework.osgi.extender.internal.ContextLoaderListener$2.run(ContextLoaderListener.java:631)
        at
org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at
org.springframework.osgi.extender.internal.ContextLoaderListener.maybeCreateApplicationContextFor(ContextLoaderListener.java:671)
        at
org.springframework.osgi.extender.internal.ContextLoaderListener$ContextBundleListener.handleEvent(ContextLoaderListener.java:180)
        at
org.springframework.osgi.extender.internal.ContextLoaderListener$BaseListener.bundleChanged(ContextLoaderListener.java:125)
        at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:690)
        at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:619)
        at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:532)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3558)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1586)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1514)
        at 
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1100)
        at 
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
        at java.lang.Thread.run(Thread.java:595)
]]></stack-trace>
                                </msg-loc-info>
                        </exception-info>
                </task-result-details>
        </component-task-result-details>
</component-task-result>
        at
org.apache.servicemix.common.ManagementSupport.failure(ManagementSupport.java:46)
        at
org.apache.servicemix.jsr181.Jsr181Endpoint.validate(Jsr181Endpoint.java:260)
        at
org.apache.servicemix.common.AbstractDeployer.validate(AbstractDeployer.java:58)
        at
org.apache.servicemix.common.xbean.BaseXBeanDeployer.validate(BaseXBeanDeployer.java:55)
        at
org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:96)
        at
org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:88)
        at
org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)
        at
org.apache.servicemix.jbi.deployer.impl.ServiceUnitImpl.deploy(ServiceUnitImpl.java:69)
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.deployServiceAssembly(Deployer.java:197)
        at
org.apache.servicemix.jbi.deployer.impl.Deployer.register(Deployer.java:108)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.onBundleStarted(AbstractBundleWatcher.java:79)
        at
org.apache.servicemix.jbi.deployer.impl.AbstractBundleWatcher.afterPropertiesSet(AbstractBundleWatcher.java:63)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1390)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1359)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:540)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:485)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:169)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:170)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:413)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:735)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:241)
        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
        at
org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageTwo(DependencyWaiterApplicationContextExecutor.java:298)
        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:239)
        at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:158)
        at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:120)
        at
org.springframework.osgi.extender.internal.ContextLoaderListener$2.run(ContextLoaderListener.java:631)
        at
org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
        at
org.springframework.osgi.extender.internal.ContextLoaderListener.maybeCreateApplicationContextFor(ContextLoaderListener.java:671)
        at
org.springframework.osgi.extender.internal.ContextLoaderListener$ContextBundleListener.handleEvent(ContextLoaderListener.java:180)
        at
org.springframework.osgi.extender.internal.ContextLoaderListener$BaseListener.bundleChanged(ContextLoaderListener.java:125)
        at
org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:690)
        at
org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:619)
        at
org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:532)
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3558)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1586)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1514)
        at 
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1100)
        at 
org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)
        at java.lang.Thread.run(Thread.java:595)


Anyway I can't find a solution myself. Maybe this helps to analyze the
problem.

Lars





lhe77 wrote:
> 
> Guillaume,
> 
> as I told you yesterday I tried now to run the wsdl-first example in smx4
> as well.
> I followed the instructions exactly (installed runtime, installed nmr,
> copied shared-compat into deploy folder, copied jsr181 and http as well as
> the wsdl-first-sa into deploy folder).
> When starting smx4 there is no special error output or something.
> When doing jbi ls the following output is what I got:
> 
> jbi ls:
> Shared Libraries
> ----------------
> servicemix-shared - 3.2.1 - ServiceMix :: Shared Compat
> 
> Components
> ----------
> servicemix-jsr181 - Shutdown - ServiceMix :: JSR-181 Service Engine
> servicemix-http - Shutdown - ServiceMix :: HTTP
> 
> Somehow the wsdl-first-sa is not recognized. I also tried to move in all
> of my own bc, se and sa and only few of the sa's are recognized by the jbi
> ls comand.
> 
> What could be the reason for that?
> 
> Regards,
> Lars
> 
> 
> 
> 
> gnodet wrote:
>> 
>> I have been able to deploy one of the example from ServiceMix 3 (the wsdl
>> first one) by using the latest runtime and nmr snapshots.
>> You should be able to deploy your plain JBI artifacts into the deploy
>> folder, but for them to be recognized as JBI artifacts, you need to
>> install
>> the NMR project into it.
>> You can try the instructions on the following page:
>>   http://servicemix.apache.org/nmr/1-quick-start.html
>> The missing bits on this page is how to deploy your JBI example.  You
>> need
>> to copy servicemix-shared-compat, servicemix-jsr181, servicemix-http,
>> wsdl-first-sa into the deploy folder, then run the following commands:
>>    jbi start servicemix-jsr181
>>    jbi start servicemix-http
>>    jbi start wsdl-first-sa
>> The need for these three commands will be removed at some point, and I'll
>> try to put the needed JBI artifacts into the OBR repo so that they can be
>> installed automaticaly.
>> 
>> On Jan 11, 2008 11:20 AM, lhe77 <[EMAIL PROTECTED]> wrote:
>> 
>>>
>>> Now I got the camel example running.
>>> I even installed the NMR into the runtime.
>>>
>>> Now I am a little confused how to put my binding components, engines and
>>> service assemblies into the runtime. I copied them to the deploy folder
>>> and
>>> they are listed when I type "osgi list". (on most of my components the
>>> version info says "(null)". What's wrong there?)
>>> They are listed as active but when trying to use my composite
>>> application,
>>> nothing happens. What's the trick to get them running?
>>>
>>> Regards,
>>> Lars
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/SMX4---FilePoller-Example-like-in-SMX3--tp14742056s12049p14753142.html
>>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>>
>>>
>> 
>> 
>> -- 
>> Cheers,
>> Guillaume Nodet
>> ------------------------
>> Blog: http://gnodet.blogspot.com/
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SMX4---FilePoller-Example-like-in-SMX3--tp14742056s12049p14873717.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to