You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by brijesh <br...@gmail.com> on 2009/02/03 12:18:29 UTC

CXF SE/BC - deployment problem

hello, 

i was trying to deploy sample cxf implementation wsdl-first-cxf-sa, 
got the deployment failure as follows 

ERROR - DeploymentService              - Unable to initialize state for
service assembly wsdl-first-cxf-sa
javax.jbi.management.DeploymentException: <component-task-result
xmlns="http://java.sun.com/xml/ns/jbi/management-message">
        <component-name>servicemix-cxf-se</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 'wsdl-first-cxfse-su'</loc-message></ms
g-loc-info></task-status-msg>
                </task-result-details>
        </component-task-result-details>
</component-task-result>
        at
org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:290)
        at
org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:111)
        at
org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
        at
org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.init(ServiceAssemblyLifeCycle.java:112)
        at
org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:102)
        at
org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:670)
        at
org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
        at
org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
        at org.apache.servicemix.Main.main(Main.java:53)
        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:353)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:264)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
wsdl-first-sa
-- 
View this message in context: http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21807927.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: CXF SE/BC - deployment problem

Posted by brijesh <br...@gmail.com>.
thanks a lot JB your input 


regards
Brijesh N K


Jean-Baptiste Onofré wrote:
> 
> Haaa, it's normal.
> 
> The jar file is not a valid SA file. The jar doesn't contains the SUs and
> dependencies. It's just a kind of container with a jbi.xml descriptor.
> 
> The zip file is the valid SA file as it contains the jbi.xml descriptor
> and all SU's zip files involved.
> 
> In the same way, the SU packaging is a zip file containing :
> - the xbean.xml descriptor
> - all jar dependencies (including the JBI component)
> 
> So, to summarize, you can deploy only a SA (or a SU) zip file.
> 
> Regards
> JB
> 
> On Tuesday 03 February 2009 - 04:11, brijesh wrote:
>> 
>> i can deploy the .zip file , but i was trying to deploy the .jar file ,
>> when
>> i deploy the .jar file , i am getting the same error i tried again 
>> 
>> 
>> brijesh n k
>> 
>> 
>> 
>> Jean-Baptiste Onofré wrote:
>> > 
>> > Sorry, but I can't reproduce your problem.
>> > 
>> > That's what I have done :
>> > 1/ go in examples/cxf-wsdl-first
>> > 2/ launch mvn install :
>> > [INFO]
>> > [INFO]
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Reactor Summary:
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] ServiceMix :: Samples :: CXF WSDL first ............... SUCCESS
>> > [21.211s]
>> > [INFO] ServiceMix :: Samples :: WSDL first :: CXF SE ......... SUCCESS
>> > [1:48.834s]
>> > [INFO] ServiceMix :: Samples :: WSDL first :: CXF BC ......... SUCCESS
>> > [5.257s]
>> > [INFO] ServiceMix :: Samples :: WSDL first :: SA ............. SUCCESS
>> > [0.906s]
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] BUILD SUCCESSFUL
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > [INFO] Total time: 2 minutes 22 seconds
>> > [INFO] Finished at: Tue Feb 03 12:56:41 CET 2009
>> > [INFO] Final Memory: 37M/63M
>> > [INFO]
>> >
>> ------------------------------------------------------------------------
>> > 
>> > 3/ copy the
>> > cxf-wsdl-first/wsdl-first-cxf-sa/target/wsdl-first-cxf-sa-3.3.zip in
>> the
>> > hotdeploy directory 
>> > 4/ no problem found :
>> >    INFO  - AutoDeploymentService          - Directory: hotdeploy:
>> Archive
>> > changed: processing wsdl-first-cxf-sa-3.3.zip ...
>> >    Feb 3, 2009 12:57:22 PM org.apache.cxf.endpoint.ServerImpl
>> > initDestination
>> >    INFO: Setting the server's publish address to be
>> > http://localhost:8092/PersonService/
>> >    INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
>> > wsdl-first-cxf-sa
>> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
>> > wsdl-first-cxfse-su
>> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
>> > wsdl-first-cxfbc-su
>> >    Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
>> >    INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log)
>> via
>> > org.mortbay.log.Slf4jLog
>> >    Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
>> >    INFO: jetty-6.1.6
>> >    Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
>> >    INFO: Started SelectChannelConnector@0.0.0.0:8092
>> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
>> > wsdl-first-cxfse-su
>> >    Feb 3, 2009 12:57:22 PM
>> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> > buildServiceFromClass
>> >    INFO: Creating Service
>> > {http://servicemix.apache.org/samples/wsdl-first}PersonService from
>> class
>> > org.apache.servicemix.samples.wsdl_first.Person
>> >    Feb 3, 2009 12:57:24 PM
>> > org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
>> >    INFO: Could not determine bean name for instance of class
>> > org.apache.cxf.transport.jbi.JBIDestination.
>> >    Feb 3, 2009 12:57:24 PM org.apache.cxf.endpoint.ServerImpl
>> > initDestination
>> >    INFO: Setting the server's publish address to be
>> > jbi://ID-127-0-0-1-11f3bfe8428-26-0
>> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
>> > wsdl-first-cxfbc-su
>> >    INFO  - AutoDeploymentService          - Directory: hotdeploy:
>> Finished
>> > installation of archive:  wsdl-first-cxf-sa-3.3.zip
>> > 
>> > Could you give me more informations about the SMX version (3.3.1 I
>> guess
>> > ?), the JVM used ?
>> > 
>> > I will take again a look on the log file that you've sent.
>> > 
>> > Regards
>> > JB
>> > 
>> > On Tuesday 03 February 2009 - 03:46, brijesh wrote:
>> >> 
>> >> i have compiled using  mvn install and copied manually to hotdeploy
>> >> directory, 
>> >> using Service Mix version 3.3.1 
>> >> 
>> >> regards
>> >> 
>> >> Brijesh N K 
>> >> 
>> >> 
>> >> Jean-Baptiste Onofré wrote:
>> >> > 
>> >> > Hi,
>> >> > 
>> >> > Could you please describe how do you deploy the SA zip file ?
>> >> > Do you use mvn jbi:project-Deploy.
>> >> > 
>> >> > On SMX 3.3.1, I have just made a test of manual deployment :
>> >> > 1/ starting my SMX
>> >> > 2/ just copy the examples/cxf-wsdl-first/wsdl-first-cxf-sa-3.3.zip
>> in
>> >> the
>> >> > hotdeploy directory
>> >> > 3/ no problem :
>> >> >    INFO  - AutoDeploymentService          - Directory: hotdeploy:
>> >> Archive
>> >> > changed: processing wsdl-first-cxf-sa-3.3.zip ...
>> >> >    Feb 3, 2009 12:39:03 PM org.apache.cxf.endpoint.ServerImpl
>> >> > initDestination
>> >> >    INFO: Setting the server's publish address to be
>> >> > http://localhost:8092/PersonService/
>> >> >    INFO  - ServiceAssemblyLifeCycle       - Starting service
>> assembly:
>> >> > wsdl-first-cxf-sa
>> >> >    INFO  - ServiceUnitLifeCycle           - Initializing service
>> unit:
>> >> > wsdl-first-cxfse-su
>> >> >    INFO  - ServiceUnitLifeCycle           - Initializing service
>> unit:
>> >> > wsdl-first-cxfbc-su
>> >> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl
>> invoke0
>> >> >    INFO: Logging to
>> org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log)
>> >> via
>> >> > org.mortbay.log.Slf4jLog
>> >> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl
>> invoke0
>> >> >    INFO: jetty-6.1.6
>> >> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl
>> invoke0
>> >> >    INFO: Started SelectChannelConnector@0.0.0.0:8092
>> >> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
>> >> > wsdl-first-cxfse-su
>> >> >    Feb 3, 2009 12:39:04 PM
>> >> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> >> > buildServiceFromClass
>> >> >    INFO: Creating Service
>> >> > {http://servicemix.apache.org/samples/wsdl-first}PersonService from
>> >> class
>> >> > org.apache.servicemix.samples.wsdl_first.Person
>> >> >    Feb 3, 2009 12:39:05 PM
>> >> > org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
>> >> >    INFO: Could not determine bean name for instance of class
>> >> > org.apache.cxf.transport.jbi.JBIDestination.
>> >> >    Feb 3, 2009 12:39:05 PM org.apache.cxf.endpoint.ServerImpl
>> >> > initDestination
>> >> >    INFO: Setting the server's publish address to be
>> >> > jbi://ID-127-0-0-1-11f3bed74cd-26-0
>> >> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
>> >> > wsdl-first-cxfbc-su
>> >> >    INFO  - AutoDeploymentService          - Directory: hotdeploy:
>> >> Finished
>> >> > installation of archive:  wsdl-first-cxf-sa-3.3.zip
>> >> > 
>> >> > Regards
>> >> > JB
>> >> > 
>> >> > On Tuesday 03 February 2009 - 03:18, brijesh wrote:
>> >> >> 
>> >> >> hello, 
>> >> >> 
>> >> >> i was trying to deploy sample cxf implementation wsdl-first-cxf-sa, 
>> >> >> got the deployment failure as follows 
>> >> >> 
>> >> >> ERROR - DeploymentService              - Unable to initialize state
>> >> for
>> >> >> service assembly wsdl-first-cxf-sa
>> >> >> javax.jbi.management.DeploymentException: <component-task-result
>> >> >> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
>> >> >>         <component-name>servicemix-cxf-se</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
>> >> >> 'wsdl-first-cxfse-su'</loc-message></ms
>> >> >> g-loc-info></task-status-msg>
>> >> >>                 </task-result-details>
>> >> >>         </component-task-result-details>
>> >> >> </component-task-result>
>> >> >>         at
>> >> >>
>> >>
>> org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:290)
>> >> >>         at
>> >> >>
>> >>
>> org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:111)
>> >> >>         at
>> >> >>
>> >>
>> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
>> >> >>         at
>> >> >>
>> >>
>> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.init(ServiceAssemblyLifeCycle.java:112)
>> >> >>         at
>> >> >>
>> >>
>> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:102)
>> >> >>         at
>> >> >>
>> >>
>> org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:670)
>> >> >>         at
>> >> >>
>> >>
>> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>> >> >>         at java.security.AccessController.doPrivileged(Native
>> Method)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
>> >> >>         at
>> >> >>
>> >>
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
>> >> >>         at
>> >> >>
>> >>
>> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
>> >> >>         at
>> >> >>
>> >>
>> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
>> >> >>         at org.apache.servicemix.Main.main(Main.java:53)
>> >> >>         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:353)
>> >> >>         at
>> org.codehaus.classworlds.Launcher.launch(Launcher.java:264)
>> >> >>         at
>> >> >>
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >> >>         at
>> org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> >> >> INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
>> >> >> wsdl-first-sa
>> >> >> -- 
>> >> >> View this message in context:
>> >> >>
>> >>
>> http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21807927.html
>> >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >> >> 
>> >> > 
>> >> > 
>> >> 
>> >> -- 
>> >> View this message in context:
>> >>
>> http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21808291.html
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >> 
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21808656.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21829454.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: CXF SE/BC - deployment problem

Posted by jb...@nanthrax.net.
Haaa, it's normal.

The jar file is not a valid SA file. The jar doesn't contains the SUs and dependencies. It's just a kind of container with a jbi.xml descriptor.

The zip file is the valid SA file as it contains the jbi.xml descriptor and all SU's zip files involved.

In the same way, the SU packaging is a zip file containing :
- the xbean.xml descriptor
- all jar dependencies (including the JBI component)

So, to summarize, you can deploy only a SA (or a SU) zip file.

Regards
JB

On Tuesday 03 February 2009 - 04:11, brijesh wrote:
> 
> i can deploy the .zip file , but i was trying to deploy the .jar file , when
> i deploy the .jar file , i am getting the same error i tried again 
> 
> 
> brijesh n k
> 
> 
> 
> Jean-Baptiste Onofré wrote:
> > 
> > Sorry, but I can't reproduce your problem.
> > 
> > That's what I have done :
> > 1/ go in examples/cxf-wsdl-first
> > 2/ launch mvn install :
> > [INFO]
> > [INFO]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Reactor Summary:
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] ServiceMix :: Samples :: CXF WSDL first ............... SUCCESS
> > [21.211s]
> > [INFO] ServiceMix :: Samples :: WSDL first :: CXF SE ......... SUCCESS
> > [1:48.834s]
> > [INFO] ServiceMix :: Samples :: WSDL first :: CXF BC ......... SUCCESS
> > [5.257s]
> > [INFO] ServiceMix :: Samples :: WSDL first :: SA ............. SUCCESS
> > [0.906s]
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD SUCCESSFUL
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 2 minutes 22 seconds
> > [INFO] Finished at: Tue Feb 03 12:56:41 CET 2009
> > [INFO] Final Memory: 37M/63M
> > [INFO]
> > ------------------------------------------------------------------------
> > 
> > 3/ copy the
> > cxf-wsdl-first/wsdl-first-cxf-sa/target/wsdl-first-cxf-sa-3.3.zip in the
> > hotdeploy directory 
> > 4/ no problem found :
> >    INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
> > changed: processing wsdl-first-cxf-sa-3.3.zip ...
> >    Feb 3, 2009 12:57:22 PM org.apache.cxf.endpoint.ServerImpl
> > initDestination
> >    INFO: Setting the server's publish address to be
> > http://localhost:8092/PersonService/
> >    INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
> > wsdl-first-cxf-sa
> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> > wsdl-first-cxfse-su
> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> > wsdl-first-cxfbc-su
> >    Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
> >    INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via
> > org.mortbay.log.Slf4jLog
> >    Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
> >    INFO: jetty-6.1.6
> >    Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
> >    INFO: Started SelectChannelConnector@0.0.0.0:8092
> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> > wsdl-first-cxfse-su
> >    Feb 3, 2009 12:57:22 PM
> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> > buildServiceFromClass
> >    INFO: Creating Service
> > {http://servicemix.apache.org/samples/wsdl-first}PersonService from class
> > org.apache.servicemix.samples.wsdl_first.Person
> >    Feb 3, 2009 12:57:24 PM
> > org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
> >    INFO: Could not determine bean name for instance of class
> > org.apache.cxf.transport.jbi.JBIDestination.
> >    Feb 3, 2009 12:57:24 PM org.apache.cxf.endpoint.ServerImpl
> > initDestination
> >    INFO: Setting the server's publish address to be
> > jbi://ID-127-0-0-1-11f3bfe8428-26-0
> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> > wsdl-first-cxfbc-su
> >    INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished
> > installation of archive:  wsdl-first-cxf-sa-3.3.zip
> > 
> > Could you give me more informations about the SMX version (3.3.1 I guess
> > ?), the JVM used ?
> > 
> > I will take again a look on the log file that you've sent.
> > 
> > Regards
> > JB
> > 
> > On Tuesday 03 February 2009 - 03:46, brijesh wrote:
> >> 
> >> i have compiled using  mvn install and copied manually to hotdeploy
> >> directory, 
> >> using Service Mix version 3.3.1 
> >> 
> >> regards
> >> 
> >> Brijesh N K 
> >> 
> >> 
> >> Jean-Baptiste Onofré wrote:
> >> > 
> >> > Hi,
> >> > 
> >> > Could you please describe how do you deploy the SA zip file ?
> >> > Do you use mvn jbi:project-Deploy.
> >> > 
> >> > On SMX 3.3.1, I have just made a test of manual deployment :
> >> > 1/ starting my SMX
> >> > 2/ just copy the examples/cxf-wsdl-first/wsdl-first-cxf-sa-3.3.zip in
> >> the
> >> > hotdeploy directory
> >> > 3/ no problem :
> >> >    INFO  - AutoDeploymentService          - Directory: hotdeploy:
> >> Archive
> >> > changed: processing wsdl-first-cxf-sa-3.3.zip ...
> >> >    Feb 3, 2009 12:39:03 PM org.apache.cxf.endpoint.ServerImpl
> >> > initDestination
> >> >    INFO: Setting the server's publish address to be
> >> > http://localhost:8092/PersonService/
> >> >    INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
> >> > wsdl-first-cxf-sa
> >> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> >> > wsdl-first-cxfse-su
> >> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> >> > wsdl-first-cxfbc-su
> >> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
> >> >    INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log)
> >> via
> >> > org.mortbay.log.Slf4jLog
> >> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
> >> >    INFO: jetty-6.1.6
> >> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
> >> >    INFO: Started SelectChannelConnector@0.0.0.0:8092
> >> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> >> > wsdl-first-cxfse-su
> >> >    Feb 3, 2009 12:39:04 PM
> >> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> >> > buildServiceFromClass
> >> >    INFO: Creating Service
> >> > {http://servicemix.apache.org/samples/wsdl-first}PersonService from
> >> class
> >> > org.apache.servicemix.samples.wsdl_first.Person
> >> >    Feb 3, 2009 12:39:05 PM
> >> > org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
> >> >    INFO: Could not determine bean name for instance of class
> >> > org.apache.cxf.transport.jbi.JBIDestination.
> >> >    Feb 3, 2009 12:39:05 PM org.apache.cxf.endpoint.ServerImpl
> >> > initDestination
> >> >    INFO: Setting the server's publish address to be
> >> > jbi://ID-127-0-0-1-11f3bed74cd-26-0
> >> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> >> > wsdl-first-cxfbc-su
> >> >    INFO  - AutoDeploymentService          - Directory: hotdeploy:
> >> Finished
> >> > installation of archive:  wsdl-first-cxf-sa-3.3.zip
> >> > 
> >> > Regards
> >> > JB
> >> > 
> >> > On Tuesday 03 February 2009 - 03:18, brijesh wrote:
> >> >> 
> >> >> hello, 
> >> >> 
> >> >> i was trying to deploy sample cxf implementation wsdl-first-cxf-sa, 
> >> >> got the deployment failure as follows 
> >> >> 
> >> >> ERROR - DeploymentService              - Unable to initialize state
> >> for
> >> >> service assembly wsdl-first-cxf-sa
> >> >> javax.jbi.management.DeploymentException: <component-task-result
> >> >> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
> >> >>         <component-name>servicemix-cxf-se</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
> >> >> 'wsdl-first-cxfse-su'</loc-message></ms
> >> >> g-loc-info></task-status-msg>
> >> >>                 </task-result-details>
> >> >>         </component-task-result-details>
> >> >> </component-task-result>
> >> >>         at
> >> >>
> >> org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:290)
> >> >>         at
> >> >>
> >> org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:111)
> >> >>         at
> >> >>
> >> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
> >> >>         at
> >> >>
> >> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.init(ServiceAssemblyLifeCycle.java:112)
> >> >>         at
> >> >>
> >> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:102)
> >> >>         at
> >> >>
> >> org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:670)
> >> >>         at
> >> >>
> >> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> >> >>         at java.security.AccessController.doPrivileged(Native Method)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> >> >>         at
> >> >>
> >> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
> >> >>         at
> >> >>
> >> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
> >> >>         at
> >> >>
> >> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
> >> >>         at
> >> >>
> >> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
> >> >>         at
> >> >>
> >> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
> >> >>         at org.apache.servicemix.Main.main(Main.java:53)
> >> >>         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:353)
> >> >>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:264)
> >> >>         at
> >> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >> >>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >> >> INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
> >> >> wsdl-first-sa
> >> >> -- 
> >> >> View this message in context:
> >> >>
> >> http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21807927.html
> >> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >> >> 
> >> > 
> >> > 
> >> 
> >> -- 
> >> View this message in context:
> >> http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21808291.html
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >> 
> > 
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21808656.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 

Re: CXF SE/BC - deployment problem

Posted by brijesh <br...@gmail.com>.
i can deploy the .zip file , but i was trying to deploy the .jar file , when
i deploy the .jar file , i am getting the same error i tried again 


brijesh n k



Jean-Baptiste Onofré wrote:
> 
> Sorry, but I can't reproduce your problem.
> 
> That's what I have done :
> 1/ go in examples/cxf-wsdl-first
> 2/ launch mvn install :
> [INFO]
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> ------------------------------------------------------------------------
> [INFO] ServiceMix :: Samples :: CXF WSDL first ............... SUCCESS
> [21.211s]
> [INFO] ServiceMix :: Samples :: WSDL first :: CXF SE ......... SUCCESS
> [1:48.834s]
> [INFO] ServiceMix :: Samples :: WSDL first :: CXF BC ......... SUCCESS
> [5.257s]
> [INFO] ServiceMix :: Samples :: WSDL first :: SA ............. SUCCESS
> [0.906s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 22 seconds
> [INFO] Finished at: Tue Feb 03 12:56:41 CET 2009
> [INFO] Final Memory: 37M/63M
> [INFO]
> ------------------------------------------------------------------------
> 
> 3/ copy the
> cxf-wsdl-first/wsdl-first-cxf-sa/target/wsdl-first-cxf-sa-3.3.zip in the
> hotdeploy directory 
> 4/ no problem found :
>    INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
> changed: processing wsdl-first-cxf-sa-3.3.zip ...
>    Feb 3, 2009 12:57:22 PM org.apache.cxf.endpoint.ServerImpl
> initDestination
>    INFO: Setting the server's publish address to be
> http://localhost:8092/PersonService/
>    INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
> wsdl-first-cxf-sa
>    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> wsdl-first-cxfse-su
>    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> wsdl-first-cxfbc-su
>    Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
>    INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via
> org.mortbay.log.Slf4jLog
>    Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
>    INFO: jetty-6.1.6
>    Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
>    INFO: Started SelectChannelConnector@0.0.0.0:8092
>    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> wsdl-first-cxfse-su
>    Feb 3, 2009 12:57:22 PM
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromClass
>    INFO: Creating Service
> {http://servicemix.apache.org/samples/wsdl-first}PersonService from class
> org.apache.servicemix.samples.wsdl_first.Person
>    Feb 3, 2009 12:57:24 PM
> org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
>    INFO: Could not determine bean name for instance of class
> org.apache.cxf.transport.jbi.JBIDestination.
>    Feb 3, 2009 12:57:24 PM org.apache.cxf.endpoint.ServerImpl
> initDestination
>    INFO: Setting the server's publish address to be
> jbi://ID-127-0-0-1-11f3bfe8428-26-0
>    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> wsdl-first-cxfbc-su
>    INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished
> installation of archive:  wsdl-first-cxf-sa-3.3.zip
> 
> Could you give me more informations about the SMX version (3.3.1 I guess
> ?), the JVM used ?
> 
> I will take again a look on the log file that you've sent.
> 
> Regards
> JB
> 
> On Tuesday 03 February 2009 - 03:46, brijesh wrote:
>> 
>> i have compiled using  mvn install and copied manually to hotdeploy
>> directory, 
>> using Service Mix version 3.3.1 
>> 
>> regards
>> 
>> Brijesh N K 
>> 
>> 
>> Jean-Baptiste Onofré wrote:
>> > 
>> > Hi,
>> > 
>> > Could you please describe how do you deploy the SA zip file ?
>> > Do you use mvn jbi:project-Deploy.
>> > 
>> > On SMX 3.3.1, I have just made a test of manual deployment :
>> > 1/ starting my SMX
>> > 2/ just copy the examples/cxf-wsdl-first/wsdl-first-cxf-sa-3.3.zip in
>> the
>> > hotdeploy directory
>> > 3/ no problem :
>> >    INFO  - AutoDeploymentService          - Directory: hotdeploy:
>> Archive
>> > changed: processing wsdl-first-cxf-sa-3.3.zip ...
>> >    Feb 3, 2009 12:39:03 PM org.apache.cxf.endpoint.ServerImpl
>> > initDestination
>> >    INFO: Setting the server's publish address to be
>> > http://localhost:8092/PersonService/
>> >    INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
>> > wsdl-first-cxf-sa
>> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
>> > wsdl-first-cxfse-su
>> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
>> > wsdl-first-cxfbc-su
>> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
>> >    INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log)
>> via
>> > org.mortbay.log.Slf4jLog
>> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
>> >    INFO: jetty-6.1.6
>> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
>> >    INFO: Started SelectChannelConnector@0.0.0.0:8092
>> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
>> > wsdl-first-cxfse-su
>> >    Feb 3, 2009 12:39:04 PM
>> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean
>> > buildServiceFromClass
>> >    INFO: Creating Service
>> > {http://servicemix.apache.org/samples/wsdl-first}PersonService from
>> class
>> > org.apache.servicemix.samples.wsdl_first.Person
>> >    Feb 3, 2009 12:39:05 PM
>> > org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
>> >    INFO: Could not determine bean name for instance of class
>> > org.apache.cxf.transport.jbi.JBIDestination.
>> >    Feb 3, 2009 12:39:05 PM org.apache.cxf.endpoint.ServerImpl
>> > initDestination
>> >    INFO: Setting the server's publish address to be
>> > jbi://ID-127-0-0-1-11f3bed74cd-26-0
>> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
>> > wsdl-first-cxfbc-su
>> >    INFO  - AutoDeploymentService          - Directory: hotdeploy:
>> Finished
>> > installation of archive:  wsdl-first-cxf-sa-3.3.zip
>> > 
>> > Regards
>> > JB
>> > 
>> > On Tuesday 03 February 2009 - 03:18, brijesh wrote:
>> >> 
>> >> hello, 
>> >> 
>> >> i was trying to deploy sample cxf implementation wsdl-first-cxf-sa, 
>> >> got the deployment failure as follows 
>> >> 
>> >> ERROR - DeploymentService              - Unable to initialize state
>> for
>> >> service assembly wsdl-first-cxf-sa
>> >> javax.jbi.management.DeploymentException: <component-task-result
>> >> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
>> >>         <component-name>servicemix-cxf-se</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
>> >> 'wsdl-first-cxfse-su'</loc-message></ms
>> >> g-loc-info></task-status-msg>
>> >>                 </task-result-details>
>> >>         </component-task-result-details>
>> >> </component-task-result>
>> >>         at
>> >>
>> org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:290)
>> >>         at
>> >>
>> org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:111)
>> >>         at
>> >>
>> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
>> >>         at
>> >>
>> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.init(ServiceAssemblyLifeCycle.java:112)
>> >>         at
>> >>
>> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:102)
>> >>         at
>> >>
>> org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:670)
>> >>         at
>> >>
>> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>> >>         at java.security.AccessController.doPrivileged(Native Method)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>> >>         at
>> >>
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>> >>         at
>> >>
>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
>> >>         at
>> >>
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
>> >>         at
>> >>
>> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
>> >>         at
>> >>
>> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
>> >>         at org.apache.servicemix.Main.main(Main.java:53)
>> >>         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:353)
>> >>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:264)
>> >>         at
>> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>> >>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> >> INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
>> >> wsdl-first-sa
>> >> -- 
>> >> View this message in context:
>> >>
>> http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21807927.html
>> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> >> 
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21808291.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21808656.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: CXF SE/BC - deployment problem

Posted by jb...@nanthrax.net.
Sorry, but I can't reproduce your problem.

That's what I have done :
1/ go in examples/cxf-wsdl-first
2/ launch mvn install :
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] ServiceMix :: Samples :: CXF WSDL first ............... SUCCESS [21.211s]
[INFO] ServiceMix :: Samples :: WSDL first :: CXF SE ......... SUCCESS [1:48.834s]
[INFO] ServiceMix :: Samples :: WSDL first :: CXF BC ......... SUCCESS [5.257s]
[INFO] ServiceMix :: Samples :: WSDL first :: SA ............. SUCCESS [0.906s]
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 minutes 22 seconds
[INFO] Finished at: Tue Feb 03 12:56:41 CET 2009
[INFO] Final Memory: 37M/63M
[INFO] ------------------------------------------------------------------------

3/ copy the cxf-wsdl-first/wsdl-first-cxf-sa/target/wsdl-first-cxf-sa-3.3.zip in the hotdeploy directory 
4/ no problem found :
   INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: processing wsdl-first-cxf-sa-3.3.zip ...
   Feb 3, 2009 12:57:22 PM org.apache.cxf.endpoint.ServerImpl initDestination
   INFO: Setting the server's publish address to be http://localhost:8092/PersonService/
   INFO  - ServiceAssemblyLifeCycle       - Starting service assembly: wsdl-first-cxf-sa
   INFO  - ServiceUnitLifeCycle           - Initializing service unit: wsdl-first-cxfse-su
   INFO  - ServiceUnitLifeCycle           - Initializing service unit: wsdl-first-cxfbc-su
   Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
   INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
   Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
   INFO: jetty-6.1.6
   Feb 3, 2009 12:57:22 PM sun.reflect.NativeMethodAccessorImpl invoke0
   INFO: Started SelectChannelConnector@0.0.0.0:8092
   INFO  - ServiceUnitLifeCycle           - Starting service unit: wsdl-first-cxfse-su
   Feb 3, 2009 12:57:22 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
   INFO: Creating Service {http://servicemix.apache.org/samples/wsdl-first}PersonService from class org.apache.servicemix.samples.wsdl_first.Person
   Feb 3, 2009 12:57:24 PM org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
   INFO: Could not determine bean name for instance of class org.apache.cxf.transport.jbi.JBIDestination.
   Feb 3, 2009 12:57:24 PM org.apache.cxf.endpoint.ServerImpl initDestination
   INFO: Setting the server's publish address to be jbi://ID-127-0-0-1-11f3bfe8428-26-0
   INFO  - ServiceUnitLifeCycle           - Starting service unit: wsdl-first-cxfbc-su
   INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished installation of archive:  wsdl-first-cxf-sa-3.3.zip

Could you give me more informations about the SMX version (3.3.1 I guess ?), the JVM used ?

I will take again a look on the log file that you've sent.

Regards
JB

On Tuesday 03 February 2009 - 03:46, brijesh wrote:
> 
> i have compiled using  mvn install and copied manually to hotdeploy
> directory, 
> using Service Mix version 3.3.1 
> 
> regards
> 
> Brijesh N K 
> 
> 
> Jean-Baptiste Onofré wrote:
> > 
> > Hi,
> > 
> > Could you please describe how do you deploy the SA zip file ?
> > Do you use mvn jbi:project-Deploy.
> > 
> > On SMX 3.3.1, I have just made a test of manual deployment :
> > 1/ starting my SMX
> > 2/ just copy the examples/cxf-wsdl-first/wsdl-first-cxf-sa-3.3.zip in the
> > hotdeploy directory
> > 3/ no problem :
> >    INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
> > changed: processing wsdl-first-cxf-sa-3.3.zip ...
> >    Feb 3, 2009 12:39:03 PM org.apache.cxf.endpoint.ServerImpl
> > initDestination
> >    INFO: Setting the server's publish address to be
> > http://localhost:8092/PersonService/
> >    INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
> > wsdl-first-cxf-sa
> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> > wsdl-first-cxfse-su
> >    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> > wsdl-first-cxfbc-su
> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
> >    INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via
> > org.mortbay.log.Slf4jLog
> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
> >    INFO: jetty-6.1.6
> >    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
> >    INFO: Started SelectChannelConnector@0.0.0.0:8092
> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> > wsdl-first-cxfse-su
> >    Feb 3, 2009 12:39:04 PM
> > org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> > buildServiceFromClass
> >    INFO: Creating Service
> > {http://servicemix.apache.org/samples/wsdl-first}PersonService from class
> > org.apache.servicemix.samples.wsdl_first.Person
> >    Feb 3, 2009 12:39:05 PM
> > org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
> >    INFO: Could not determine bean name for instance of class
> > org.apache.cxf.transport.jbi.JBIDestination.
> >    Feb 3, 2009 12:39:05 PM org.apache.cxf.endpoint.ServerImpl
> > initDestination
> >    INFO: Setting the server's publish address to be
> > jbi://ID-127-0-0-1-11f3bed74cd-26-0
> >    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> > wsdl-first-cxfbc-su
> >    INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished
> > installation of archive:  wsdl-first-cxf-sa-3.3.zip
> > 
> > Regards
> > JB
> > 
> > On Tuesday 03 February 2009 - 03:18, brijesh wrote:
> >> 
> >> hello, 
> >> 
> >> i was trying to deploy sample cxf implementation wsdl-first-cxf-sa, 
> >> got the deployment failure as follows 
> >> 
> >> ERROR - DeploymentService              - Unable to initialize state for
> >> service assembly wsdl-first-cxf-sa
> >> javax.jbi.management.DeploymentException: <component-task-result
> >> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
> >>         <component-name>servicemix-cxf-se</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
> >> 'wsdl-first-cxfse-su'</loc-message></ms
> >> g-loc-info></task-status-msg>
> >>                 </task-result-details>
> >>         </component-task-result-details>
> >> </component-task-result>
> >>         at
> >> org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:290)
> >>         at
> >> org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:111)
> >>         at
> >> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
> >>         at
> >> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.init(ServiceAssemblyLifeCycle.java:112)
> >>         at
> >> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:102)
> >>         at
> >> org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:670)
> >>         at
> >> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
> >>         at
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
> >>         at
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
> >>         at
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
> >>         at
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> >>         at java.security.AccessController.doPrivileged(Native Method)
> >>         at
> >> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> >>         at
> >> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> >>         at
> >> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
> >>         at
> >> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> >>         at
> >> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> >>         at
> >> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> >>         at
> >> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
> >>         at
> >> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
> >>         at
> >> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
> >>         at
> >> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
> >>         at
> >> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
> >>         at org.apache.servicemix.Main.main(Main.java:53)
> >>         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:353)
> >>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:264)
> >>         at
> >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> >>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> >> INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
> >> wsdl-first-sa
> >> -- 
> >> View this message in context:
> >> http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21807927.html
> >> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> >> 
> > 
> > 
> 
> -- 
> View this message in context: http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21808291.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
> 

Re: CXF SE/BC - deployment problem

Posted by brijesh <br...@gmail.com>.
i have compiled using  mvn install and copied manually to hotdeploy
directory, 
using Service Mix version 3.3.1 

regards

Brijesh N K 


Jean-Baptiste Onofré wrote:
> 
> Hi,
> 
> Could you please describe how do you deploy the SA zip file ?
> Do you use mvn jbi:project-Deploy.
> 
> On SMX 3.3.1, I have just made a test of manual deployment :
> 1/ starting my SMX
> 2/ just copy the examples/cxf-wsdl-first/wsdl-first-cxf-sa-3.3.zip in the
> hotdeploy directory
> 3/ no problem :
>    INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
> changed: processing wsdl-first-cxf-sa-3.3.zip ...
>    Feb 3, 2009 12:39:03 PM org.apache.cxf.endpoint.ServerImpl
> initDestination
>    INFO: Setting the server's publish address to be
> http://localhost:8092/PersonService/
>    INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
> wsdl-first-cxf-sa
>    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> wsdl-first-cxfse-su
>    INFO  - ServiceUnitLifeCycle           - Initializing service unit:
> wsdl-first-cxfbc-su
>    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
>    INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via
> org.mortbay.log.Slf4jLog
>    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
>    INFO: jetty-6.1.6
>    Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
>    INFO: Started SelectChannelConnector@0.0.0.0:8092
>    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> wsdl-first-cxfse-su
>    Feb 3, 2009 12:39:04 PM
> org.apache.cxf.service.factory.ReflectionServiceFactoryBean
> buildServiceFromClass
>    INFO: Creating Service
> {http://servicemix.apache.org/samples/wsdl-first}PersonService from class
> org.apache.servicemix.samples.wsdl_first.Person
>    Feb 3, 2009 12:39:05 PM
> org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
>    INFO: Could not determine bean name for instance of class
> org.apache.cxf.transport.jbi.JBIDestination.
>    Feb 3, 2009 12:39:05 PM org.apache.cxf.endpoint.ServerImpl
> initDestination
>    INFO: Setting the server's publish address to be
> jbi://ID-127-0-0-1-11f3bed74cd-26-0
>    INFO  - ServiceUnitLifeCycle           - Starting service unit:
> wsdl-first-cxfbc-su
>    INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished
> installation of archive:  wsdl-first-cxf-sa-3.3.zip
> 
> Regards
> JB
> 
> On Tuesday 03 February 2009 - 03:18, brijesh wrote:
>> 
>> hello, 
>> 
>> i was trying to deploy sample cxf implementation wsdl-first-cxf-sa, 
>> got the deployment failure as follows 
>> 
>> ERROR - DeploymentService              - Unable to initialize state for
>> service assembly wsdl-first-cxf-sa
>> javax.jbi.management.DeploymentException: <component-task-result
>> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
>>         <component-name>servicemix-cxf-se</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
>> 'wsdl-first-cxfse-su'</loc-message></ms
>> g-loc-info></task-status-msg>
>>                 </task-result-details>
>>         </component-task-result-details>
>> </component-task-result>
>>         at
>> org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:290)
>>         at
>> org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:111)
>>         at
>> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
>>         at
>> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.init(ServiceAssemblyLifeCycle.java:112)
>>         at
>> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:102)
>>         at
>> org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:670)
>>         at
>> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at
>> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>>         at
>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>>         at
>> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>>         at
>> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>>         at
>> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
>>         at
>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
>>         at
>> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
>>         at
>> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
>>         at org.apache.servicemix.Main.main(Main.java:53)
>>         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:353)
>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:264)
>>         at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
>> wsdl-first-sa
>> -- 
>> View this message in context:
>> http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21807927.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21808291.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Re: CXF SE/BC - deployment problem

Posted by jb...@nanthrax.net.
Hi,

Could you please describe how do you deploy the SA zip file ?
Do you use mvn jbi:project-Deploy.

On SMX 3.3.1, I have just made a test of manual deployment :
1/ starting my SMX
2/ just copy the examples/cxf-wsdl-first/wsdl-first-cxf-sa-3.3.zip in the hotdeploy directory
3/ no problem :
   INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive changed: processing wsdl-first-cxf-sa-3.3.zip ...
   Feb 3, 2009 12:39:03 PM org.apache.cxf.endpoint.ServerImpl initDestination
   INFO: Setting the server's publish address to be http://localhost:8092/PersonService/
   INFO  - ServiceAssemblyLifeCycle       - Starting service assembly: wsdl-first-cxf-sa
   INFO  - ServiceUnitLifeCycle           - Initializing service unit: wsdl-first-cxfse-su
   INFO  - ServiceUnitLifeCycle           - Initializing service unit: wsdl-first-cxfbc-su
   Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
   INFO: Logging to org.slf4j.impl.JDK14LoggerAdapter(org.mortbay.log) via org.mortbay.log.Slf4jLog
   Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
   INFO: jetty-6.1.6
   Feb 3, 2009 12:39:04 PM sun.reflect.NativeMethodAccessorImpl invoke0
   INFO: Started SelectChannelConnector@0.0.0.0:8092
   INFO  - ServiceUnitLifeCycle           - Starting service unit: wsdl-first-cxfse-su
   Feb 3, 2009 12:39:04 PM org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromClass
   INFO: Creating Service {http://servicemix.apache.org/samples/wsdl-first}PersonService from class org.apache.servicemix.samples.wsdl_first.Person
   Feb 3, 2009 12:39:05 PM org.apache.cxf.configuration.spring.ConfigurerImpl getBeanName
   INFO: Could not determine bean name for instance of class org.apache.cxf.transport.jbi.JBIDestination.
   Feb 3, 2009 12:39:05 PM org.apache.cxf.endpoint.ServerImpl initDestination
   INFO: Setting the server's publish address to be jbi://ID-127-0-0-1-11f3bed74cd-26-0
   INFO  - ServiceUnitLifeCycle           - Starting service unit: wsdl-first-cxfbc-su
   INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished installation of archive:  wsdl-first-cxf-sa-3.3.zip

Regards
JB

On Tuesday 03 February 2009 - 03:18, brijesh wrote:
> 
> hello, 
> 
> i was trying to deploy sample cxf implementation wsdl-first-cxf-sa, 
> got the deployment failure as follows 
> 
> ERROR - DeploymentService              - Unable to initialize state for
> service assembly wsdl-first-cxf-sa
> javax.jbi.management.DeploymentException: <component-task-result
> xmlns="http://java.sun.com/xml/ns/jbi/management-message">
>         <component-name>servicemix-cxf-se</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 'wsdl-first-cxfse-su'</loc-message></ms
> g-loc-info></task-status-msg>
>                 </task-result-details>
>         </component-task-result-details>
> </component-task-result>
>         at
> org.apache.servicemix.common.BaseServiceUnitManager.failure(BaseServiceUnitManager.java:290)
>         at
> org.apache.servicemix.common.BaseServiceUnitManager.init(BaseServiceUnitManager.java:111)
>         at
> org.apache.servicemix.jbi.framework.ServiceUnitLifeCycle.init(ServiceUnitLifeCycle.java:85)
>         at
> org.apache.servicemix.jbi.framework.ServiceAssemblyLifeCycle.init(ServiceAssemblyLifeCycle.java:112)
>         at
> org.apache.servicemix.jbi.framework.DeploymentService.start(DeploymentService.java:102)
>         at
> org.apache.servicemix.jbi.container.JBIContainer.start(JBIContainer.java:670)
>         at
> org.apache.servicemix.jbi.container.SpringJBIContainer.afterPropertiesSet(SpringJBIContainer.java:115)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
>         at
> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
>         at
> org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
>         at
> org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
>         at
> org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
>         at
> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:161)
>         at
> org.apache.xbean.spring.context.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:51)
>         at org.apache.servicemix.Main.main(Main.java:53)
>         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:353)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:264)
>         at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> INFO  - ServiceAssemblyLifeCycle       - Starting service assembly:
> wsdl-first-sa
> -- 
> View this message in context: http://www.nabble.com/CXF-SE-BC---deployment-problem-tp21807927p21807927.html
> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>