petals-se-jsr181 pb de déploiement

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

petals-se-jsr181 pb de déploiement

rnaudin-3
Bonjour,

Après avoir générer un projet avec le plugin PEtALS eclipse (1.1.1) et en le convertissant en maven structure, le pom.xml généré ajoute dans les dépendances:
Code:

      
         org.ow2.petals
         petals-se-jsr181
         1.0-SNAPSHOT
         provided
         jbi-component
      


Lors de la compilation avec maven la version 1.0-SNAPSHOT ne semble pas exister. je l'ai remplacé par 1.0.

Lors du déploiement de la SA, j'obtiens le message suivant:

Code:
The service unit can not be deployed, as the component 'petals-se-jsr181' is not installed


Est ce que le composant 'petals-se-jsr181' remplace tous les autres composants 'petals-bc-xquare', 'petals-se-eip', 'petals-se-xslt', 'petals-se-pojo'?
Est qu'on doit le déployer avec les autres composants?

En l'ajoutant dans les composants à déployer, j'obtiens une exceptions lors du déploiement de la sa:
Code:

Caused by: javax.jbi.management.DeploymentException: The ServiceUnit listener failed to process for SU su-EIP-DynamicRouterCustomerInfoService-provide
-1.0-SNAPSHOT
        at org.ow2.petals.component.framework.su.ServiceUnitManager.deploy(ServiceUnitManager.java:199)
        at org.ow2.petals.jbi.management.task.deployment.deploy.DeploySUToComponentTask.deploySUtoComponent(DeploySUToComponentTask.java:139)
        at org.ow2.petals.jbi.management.task.deployment.deploy.DeploySUToComponentTask.execute(DeploySUToComponentTask.java:80)
        at org.ow2.petals.processor.TaskProcessor.process(TaskProcessor.java:80)
        at org.ow2.petals.jbi.management.task.deployment.deploy.DeployAllSUTask.deploySU(DeployAllSUTask.java:189)
        ... 45 more
Caused by: java.lang.NullPointerException
        at org.codehaus.jam.internal.JamClassLoaderImpl.loadClass(JamClassLoaderImpl.java:76)
        at org.codehaus.jam.JamClassIterator.nextClass(JamClassIterator.java:68)
        at org.codehaus.jam.JamClassIterator.next(JamClassIterator.java:88)
        at org.ow2.petals.se.jsr181.Axis2Deployer.deployJAXWS(Axis2Deployer.java:95)
        at org.ow2.petals.se.jsr181.SUListener.onSUDeployed(SUListener.java:121)
        at org.ow2.petals.component.framework.su.ServiceUnitManager.deploy(ServiceUnitManager.java:191)
        ... 49 more


Cdt




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=349#349

-------------------- m2f --------------------

_______________________________________________
Users mailing list
[hidden email]
http://forum-list.petalslink.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: petals-se-jsr181 pb de déploiement

rnaudin-3
En anglais...

This feature is just experimental in the 1.0.0 plugin version. The generated POM file is not the good one (bad dependency). JSR181 component DOES NOT replace all the components.
I hope that Vincent will fix this bug soon.




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=350#350

-------------------- m2f --------------------

_______________________________________________
Users mailing list
[hidden email]
http://forum-list.petalslink.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: petals-se-jsr181 pb de déploiement

rnaudin-3
In reply to this post by rnaudin-3
chamerling wrote:
The generated POM file is not the good one (bad dependency).
I hope that Vincent will fix this bug soon.

I worked with Sébastien André last week to improve the Maven support of the plug-ins.
I got some feedback at the beginning, and nothing after the last version I sent to him.

About the content of the pom.xml file, I guess I should find a recent sample to take as example in the forge...
It should be fixed for the next release of the plug-ins, which is planned for the end of the month.




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=351#351

-------------------- m2f --------------------

_______________________________________________
Users mailing list
[hidden email]
http://forum-list.petalslink.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: petals-se-jsr181 pb de déploiement

rnaudin-3
In reply to this post by rnaudin-3
Vincent, you just have to create a dependency to the JBI component like you do with JSR181 but replace only the name and the version to the SU component one you should have in your eclipse project context.
This is enough I think.




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=352#352

-------------------- m2f --------------------

_______________________________________________
Users mailing list
[hidden email]
http://forum-list.petalslink.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: petals-se-jsr181 pb de déploiement

rnaudin-3
In reply to this post by rnaudin-3
chamerling wrote:
Vincent, you just have to create a dependency to the JBI component like you do with JSR181 but replace only the name and the version to the SU component one you should have in your eclipse project context.
This is enough I think.

OK. I will give it deeper look when I get some time. Smile




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=353#353

-------------------- m2f --------------------

_______________________________________________
Users mailing list
[hidden email]
http://forum-list.petalslink.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: petals-se-jsr181 pb de déploiement

rnaudin-3
In reply to this post by rnaudin-3
Thanks for these answers!

For the moment, I can modify dependencies in pom.xml to link from the good components?

BR




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=354#354

-------------------- m2f --------------------

_______________________________________________
Users mailing list
[hidden email]
http://forum-list.petalslink.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: petals-se-jsr181 pb de déploiement

rnaudin-3
In reply to this post by rnaudin-3
Yes you can !
Rolling Eyes




-------------------- m2f --------------------

Read this forum topic online here:
http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=355#355

-------------------- m2f --------------------

_______________________________________________
Users mailing list
[hidden email]
http://forum-list.petalslink.org/cgi-bin/mailman/listinfo/users