Could it be that your jbi.xml file is not valid wrt to the xsd schema ?

Cheers,
Guillaume Nodet

On 6/9/06, lcor <[EMAIL PROTECTED]> wrote:



   Hello,

   I'm new to SM and I'm trying to use it for a real project application
integration based on web services. The simple example like file binding
worked just fine, but when I tried the web services example (soap binding)
I
got an unexpected error (about failing to install servicemix-http and
servicemix-jsr components).
    I appreciate any help, thanks in advance.

    I have the following configuration : windows 2000 sp4, java 1.4,
servicemix incubating-servicemix-3.0-20060527.114324-4.zip


   I followed this steps:


D:\Temp\ebs-jbi\incubating-servicemix-3.0-SNAPSHOT\examples\soap-binding
>ant
setup
Buildfile: build.xml

init:
    [mkdir] Created dir:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\build
    [mkdir] Created dir:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\build\components
    [mkdir] Created dir:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\build\client

build-components:
    [javac] Compiling 3 source files to
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\build\component

build-engine-su:
      [zip] Building zip:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\build\engine-su.zip

build-binding-su:
      [zip] Building zip:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\build\binding-su.zip

build-sa:
      [zip] Building zip:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\build\soap-demo-sa.zip

setup:
    [mkdir] Created dir:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\install
    [mkdir] Created dir:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\deploy
     [copy] Copying 2 files to
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\install
     [copy] Copying 1 file to
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\deploy

BUILD SUCCESSFUL
Total time: 3 seconds
D:\Temp\ebs-jbi\incubating-servicemix-3.0-SNAPSHOT\examples\soap-binding
>servicemix
servicemix.xml
servicemix.bat: Ignoring predefined value for SERVICEMIX_HOME
Apache ServiceMix ESB: 3.0-SNAPSHOT

Loading Apache ServiceMix from file: servicemix.xml
Created MBeanServer with ID: 18bbc5a:10bb98bf6f6:-8000:lucianc:1
WARN  - ManagementContext              - Failed to start jmx connector:
javax.naming.CommunicationException [Root exception is j
ectIOException: non-JRMP server at remote endpoint]
INFO  - JBIContainer                   - Activating component for:
[container=ServiceMix,name=#SubscriptionManager#] with servic
onent: [EMAIL PROTECTED]
INFO  - ComponentMBeanImpl             - Initializing component:
#SubscriptionManager#
INFO  - DeploymentService              - Restoring service assemblies
INFO  - JBIContainer                   - ServiceMix JBI Container
(http://servicemix.org/) name: ServiceMix running version: 3.0
INFO  - AutoDeploymentService          - Directory: install: Archive
changed: processing servicemix-http-3.0-SNAPSHOT-installer.
WARN  - AutoDeploymentService          - Directory: install: Automatic
install of D:\Temp\ebs-jbi\incubating-servicemix-3.0-SNAP
s\soap-binding\install\servicemix-http-3.0-SNAPSHOT-installer.zip failed
javax.jbi.management.DeploymentException: <?xml version="1.0"
encoding="UTF-8"?>
<jbi-task version="1.0"
xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
<jbi-task-result>
<frmwk-task-result>
<frmwk-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 build jbi descriptor:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\install\se
p-3.0-SNAPSHOT-installer.zip</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<loc-token/>
<loc-message>Error creating bean with name
'org.apache.servicemix.jbi.deployment.Component#1049d3' defined in URL
[file:/D:/Temp
ubating-servicemix-3.0-SNAPSHOT/examples/soap-binding/wdir/tmp/servicemix-
http-3.0-SNAPSHOT-installer.0.tmp/META-INF/jbi.xml]:
E
property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'type' of bean cl
che.servicemix.jbi.deployment.Component]: Bean property 'type' is not
writable or has an invalid setter method: Does the paramet
he setter match the return type of the getter?</loc-message>
<stack-trace><![CDATA[
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.service
oyment.Component#1049d3' defined in URL
[file:/D:/Temp/ebs-jbi/incubating-servicemix-3.0-SNAPSHOT
/examples/soap-binding/wdir/tmp
http-3.0-SNAPSHOT-installer.0.tmp/META-INF/jbi.xml]: Error setting
property
values; nested exception is org.springframework.bean
ePropertyException: Invalid property 'type' of bean class
[org.apache.servicemix.jbi.deployment.Component]: Bean property 'type'
able or has an invalid setter method: Does the parameter type of the
setter
match the return type of the getter?
org.springframework.beans.NotWritablePropertyException: Invalid property
'type' of bean class [org.apache.servicemix.jbi.deploym
t]: Bean property 'type' is not writable or has an invalid setter method:
Does the parameter type of the setter match the return
getter?
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(
BeanWrapperImpl.java:567)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(
BeanWrapperImpl.java:469)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(
BeanWrapperImpl.java:626)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValues(
BeanWrapperImpl.java:653)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValues(
BeanWrapperImpl.java:642)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues
(AbstractAutowireCapa
ry.java:1023)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBean
:824)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFa
45)
        at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition
(BeanDefinitionValueR
:147)
        at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary
(BeanDefinitionValueReso
)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues
(AbstractAutowireCapa
ry.java:1013)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBean
:824)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFa
45)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:226)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:147)
        at

org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
(DefaultListableBeanFact
)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(
AbstractApplicationContext.java:320)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(
ResourceXmlApplicationContext.java:64)
        at
org.apache.servicemix.jbi.deployment.DescriptorFactory.buildDescriptor(
DescriptorFactory.java:72)
        at
org.apache.servicemix.jbi.deployment.DescriptorFactory.buildDescriptor(
DescriptorFactory.java:54)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:206)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(
AutoDeploymentService.java:508)
        at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
:291)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:536)
]]></stack-trace>
</exception-info>
</task-result-details>
</frmwk-task-result-details>
</frmwk-task-result>
</jbi-task-result>
</jbi-task>

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.failure(
AutoDeploymentService.java:297)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.failure(
AutoDeploymentService.java:287)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:208)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(
AutoDeploymentService.java:508)
        at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
:291)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:536)
INFO  - AutoDeploymentService          - Directory: install: Archive
changed: processing servicemix-jsr181-3.0-SNAPSHOT-installe
WARN  - AutoDeploymentService          - Directory: install: Automatic
install of D:\Temp\ebs-jbi\incubating-servicemix-3.0-SNAP
s\soap-binding\install\servicemix-jsr181-3.0-SNAPSHOT-installer.zip failed
javax.jbi.management.DeploymentException: <?xml version="1.0"
encoding="UTF-8"?>
<jbi-task version="1.0"
xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
<jbi-task-result>
<frmwk-task-result>
<frmwk-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 build jbi descriptor:
D:\Temp\ebs-jbi\incubating-
servicemix-3.0-SNAPSHOT\examples\soap-binding\install\se
181-3.0-SNAPSHOT-installer.zip</loc-message>
</msg-loc-info>
</task-status-msg>
<exception-info>
<nesting-level>1</nesting-level>
<loc-token/>
<loc-message>Error creating bean with name
'org.apache.servicemix.jbi.deployment.Component#1f6f27b' defined in URL
[file:/D:/Tem
cubating-servicemix-3.0-SNAPSHOT
/examples/soap-binding/wdir/tmp/servicemix-
jsr181-3.0-SNAPSHOT-installer.0.tmp/META-INF/jbi.xml]
ing property values; nested exception is
org.springframework.beans.NotWritablePropertyException: Invalid property
'type' of bean
apache.servicemix.jbi.deployment.Component]: Bean property 'type' is not
writable or has an invalid setter method: Does the para
f the setter match the return type of the getter?</loc-message>
<stack-trace><![CDATA[
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.apache.service
oyment.Component#1f6f27b' defined in URL
[file:/D:/Temp/ebs-jbi/incubating-servicemix-3.0-SNAPSHOT
/examples/soap-binding/wdir/tm
-jsr181-3.0-SNAPSHOT-installer.0.tmp/META-INF/jbi.xml]: Error setting
property values; nested exception is org.springframework.b
ablePropertyException: Invalid property 'type' of bean class
[org.apache.servicemix.jbi.deployment.Component]: Bean property 'ty
ritable or has an invalid setter method: Does the parameter type of the
setter match the return type of the getter?
org.springframework.beans.NotWritablePropertyException: Invalid property
'type' of bean class [org.apache.servicemix.jbi.deploym
t]: Bean property 'type' is not writable or has an invalid setter method:
Does the parameter type of the setter match the return
getter?
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(
BeanWrapperImpl.java:567)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(
BeanWrapperImpl.java:469)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValue(
BeanWrapperImpl.java:626)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValues(
BeanWrapperImpl.java:653)
        at
org.springframework.beans.BeanWrapperImpl.setPropertyValues(
BeanWrapperImpl.java:642)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues
(AbstractAutowireCapa
ry.java:1023)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBean
:824)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFa
45)
        at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition
(BeanDefinitionValueR
:147)
        at

org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary
(BeanDefinitionValueReso
)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues
(AbstractAutowireCapa
ry.java:1013)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean
(AbstractAutowireCapableBean
:824)
        at

org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean
(AbstractAutowireCapableBeanFa
45)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:226)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(
AbstractBeanFactory.java:147)
        at

org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons
(DefaultListableBeanFact
)
        at
org.springframework.context.support.AbstractApplicationContext.refresh(
AbstractApplicationContext.java:320)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(
ResourceXmlApplicationContext.java:64)
        at
org.apache.servicemix.jbi.deployment.DescriptorFactory.buildDescriptor(
DescriptorFactory.java:72)
        at
org.apache.servicemix.jbi.deployment.DescriptorFactory.buildDescriptor(
DescriptorFactory.java:54)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:206)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(
AutoDeploymentService.java:508)
        at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
:291)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:536)
]]></stack-trace>
</exception-info>
</task-result-details>
</frmwk-task-result-details>
</frmwk-task-result>
</jbi-task-result>
</jbi-task>

        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.failure(
AutoDeploymentService.java:297)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.failure(
AutoDeploymentService.java:287)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService.updateArchive(
AutoDeploymentService.java:208)
        at
org.apache.servicemix.jbi.framework.AutoDeploymentService$2.run(
AutoDeploymentService.java:508)
        at
org.apache.geronimo.connector.work.WorkerContext.run(WorkerContext.java
:291)
        at
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:536)
INFO  - AutoDeploymentService          - Directory: deploy: Archive
changed:
processing soap-demo-sa.zip ...
INFO  - AutoDeploymentService          - Components servicemix-http,
servicemix-jsr181 are not installed yet - adding ServiceAss
emo to pending list
INFO  - AutoDeploymentService          - Directory: deploy: Finished
installation of archive:  soap-demo-sa.zip
--
View this message in context:
http://www.nabble.com/Soap-binding-example---Automatic-install-failed-t1762792.html#a4796673
Sent from the ServiceMix - User forum at Nabble.com.


Reply via email to