pojo sample

View: New views
2 Messages — Rating Filter:   Alert me  

pojo sample

by Despres :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi,

 

 

I have tried to install the pojo sample but i got an error at deployement :

 

My config:

-petals-quickstart-2.2

-petals-se-pojo-2.0-SNAPSHOT (Trunk)

-sa-pojo-provide-1.0-SNAPSHOT.zip (from trunk petals-samples/petals-artefacts/petals-pojo )

 

 

 

Trace.

 

[petals.Autoloader]-SEVERE 2008-08-01 12:08:06,636 Error occured during auto dep

loyment

java.lang.Exception: The deployment of the Service Assembly 'file:/D:/dds/INGRID

/logiciels/petals-quickstart-2.2/work/sa-pojo-provide-1.0-SNAPSHOT.zip' failed.

Caused by:Error occured during the deployment of a Service Unit

Caused by:org.ow2.petals.component.framework.jbidescriptor.CDKJBIDescriptorExcep

tion: Failed to build jbi descriptor

Caused by:Failed to build jbi descriptor

Caused by:cvc-complex-type.2.4.a: Invalid content was found starting with elemen

t 'petals:params'. One of '{"http://petals.ow2.org/components/extensions/version

-4.0":timeout, "http://petals.ow2.org/components/extensions/version-4.0":su-inte

rceptors, "http://petals.ow2.org/components/extensions/version-4.0":exchange-pro

perties, "http://petals.ow2.org/components/extensions/version-4.0":wsdl}' is exp

ected.

        at org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy

(DeploymentServiceImpl.java:509)

        at org.objectweb.fractal.julia.generated.C2dea9382_0.deploy(INTERCEPTOR[

DeploymentServiceMBean])

        at org.objectweb.fractal.julia.generated.C7566203_0.deploy(INTERFACE[Dep

loymentServiceMBean])

        at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performD

eploySA(AutoLoaderServiceImpl.java:385)

        at org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(

AutoLoaderServiceImpl.java:225)

        at org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(In

stallDirectoryScanner.java:56)

        at java.util.TimerThread.mainLoop(Unknown Source)

        at java.util.TimerThread.run(Unknown Source)

 

 

 

If someone can take a look a this, that would be great.

 

 

Thanks

 

 

DESPRES Damien

 

 

 




--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

sa-pojo-provide-1.0-SNAPSHOT.zip.failed (1K) Download Attachment

Re: pojo sample

by Roland Naudin - EBM WebSourcing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

The trunk of the POJO component is based on the CDK 4.
The CDK 4 has changed its way to handle configuration.
You can check in the src/main/resources directory the XSDs used by the
CDK to handle component configuration.

For the POJO, your SU should like this :
<?xml version="1.0" encoding="UTF-8"?>
<jbi:jbi version="1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jbi="http://java.sun.com/xml/ns/jbi"
xmlns:pojo="http://petals.ow2.org/components/pojo/version-2.0"
xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-4.0">
        <jbi:services binding-component="false">
                <jbi:provides
                        interface-name="helloworld:Helloworld"
                        service-name="helloworld:HelloworldService"
                        endpoint-name="HelloworldEndpoint">

                <petalsCDK:wsdl xsi:nil="true" />


<pojo:class-name>org.ow2.petals.samples.pojo.SamplePojoService</pojo:class-name>

                </jbi:provides>
        </jbi:services>
</jbi:jbi>





Le vendredi 01 août 2008 à 12:18 +0200, Despres a écrit :

> Hi,
>
>  
>
>  
>
> I have tried to install the pojo sample but i got an error at
> deployement :
>
>  
>
> My config:
>
> -petals-quickstart-2.2
>
> -petals-se-pojo-2.0-SNAPSHOT (Trunk)
>
> -sa-pojo-provide-1.0-SNAPSHOT.zip (from trunk
> petals-samples/petals-artefacts/petals-pojo )
>
>  
>
>  
>
>  
>
> Trace.
>
>  
>
> [petals.Autoloader]-SEVERE 2008-08-01 12:08:06,636 Error occured
> during auto dep
>
> loyment
>
> java.lang.Exception: The deployment of the Service Assembly
> 'file:/D:/dds/INGRID
>
> /logiciels/petals-quickstart-2.2/work/sa-pojo-provide-1.0-SNAPSHOT.zip' failed.
>
> Caused by:Error occured during the deployment of a Service Unit
>
> Caused
> by:org.ow2.petals.component.framework.jbidescriptor.CDKJBIDescriptorExcep
>
> tion: Failed to build jbi descriptor
>
> Caused by:Failed to build jbi descriptor
>
> Caused by:cvc-complex-type.2.4.a: Invalid content was found starting
> with elemen
>
> t 'petals:params'. One of
> '{"http://petals.ow2.org/components/extensions/version
>
> -4.0":timeout,
> "http://petals.ow2.org/components/extensions/version-4.0":su-inte
>
> rceptors,
> "http://petals.ow2.org/components/extensions/version-4.0":exchange-pro
>
> perties,
> "http://petals.ow2.org/components/extensions/version-4.0":wsdl}' is
> exp
>
> ected.
>
>         at
> org.ow2.petals.jbi.management.deployment.DeploymentServiceImpl.deploy
>
> (DeploymentServiceImpl.java:509)
>
>         at
> org.objectweb.fractal.julia.generated.C2dea9382_0.deploy(INTERCEPTOR[
>
> DeploymentServiceMBean])
>
>         at
> org.objectweb.fractal.julia.generated.C7566203_0.deploy(INTERFACE[Dep
>
> loymentServiceMBean])
>
>         at
> org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.performD
>
> eploySA(AutoLoaderServiceImpl.java:385)
>
>         at
> org.ow2.petals.jbi.management.autoload.AutoLoaderServiceImpl.install(
>
> AutoLoaderServiceImpl.java:225)
>
>         at
> org.ow2.petals.jbi.management.autoload.InstallDirectoryScanner.run(In
>
> stallDirectoryScanner.java:56)
>
>         at java.util.TimerThread.mainLoop(Unknown Source)
>
>         at java.util.TimerThread.run(Unknown Source)
>
>  
>
>  
>
>  
>
> If someone can take a look a this, that would be great.
>
>  
>
>  
>
> Thanks
>
>  
>
>  
>
> DESPRES Damien
>
>  
>
>  
>
>  
>
>
> pièce jointe document plein texte (message-footer.txt)
> --
> You receive this message as a subscriber of the petals-users@... mailing list.
> To unsubscribe: mailto:petals-users-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Roland NAUDIN
PEtALS Team

EBM Websourcing
05 34 32 03 13

Try PEtALS at
http://petals.objectweb.org




--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws