Comment déployer un BPEL ?
Bonjour,
J'ai créé des Web Services, déployés sous Axis2 + Tomcat.
Je viens également de créer une orchestration BPEL , avec le WSDL et XSD qui correspond.
Maintenant, j'aimerai déployer le plus proprement possible ce BPEL.
Je vois partout qu'il faut intégrer le BPEL dans un module JBI.
Je ne comprend pas très bien prkoi ? un workflow n'est-il pas un Web Service ? ne puis-je donc pas le déployer sur mon Axis2 + Tomcat comme les autres ?
Merci.
je n'arrive pas à déploier des services bpel sous ode
lors du lancement de mon serveur ode voici le console:
--------------------------
4 janv. 2011 16:08:48 org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jdk1.6.0\bin
4 janv. 2011 16:08:48 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
4 janv. 2011 16:08:48 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1343 ms
4 janv. 2011 16:08:48 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
4 janv. 2011 16:08:48 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.31
4 janv. 2011 16:08:48 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
- Unable to find config file. Creating new servlet engine config file: /WEB-INF/server-config.wsdd
- Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
4 janv. 2011 16:08:51 org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
4 janv. 2011 16:08:51 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
4 janv. 2011 16:08:51 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
16:09:00,359 WARN [ODEServer] Config file C:\Documents and Settings\HK\Mes documents\Téléchargements\TOMCAT\apache-tomcat-5.5.31\webapps\ode\WEB-INF\conf\ode-axis2.properties not found, default values will be used.
16:09:02,750 INFO [ODEServer] Using DAO Connection Factory class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl.
16:09:21,296 INFO [BpelProcess] Created new process DAO for {http://www.se.uni-hannover.de/soa08/tutorial/HelloBPELProcess}HelloBPELProcess-2 (guid=lmwxsf9j1lh1ne44o85srhxuka8kx2n0).
16:09:21,375 INFO [BpelServerImpl] Registered process {http://www.se.uni-hannover.de/soa08/tutorial/HelloBPELProcess}HelloBPELProcess-2.
16:09:21,375 INFO [CronScheduler] Cancelling PROCESS CRON jobs for: {http://www.se.uni-hannover.de/soa08/tutorial/HelloBPELProcess}HelloBPELProcess-2
16:09:21,375 INFO [CronScheduler] Scheduling PROCESS CRON jobs for: {http://www.se.uni-hannover.de/soa08/tutorial/HelloBPELProcess}HelloBPELProcess-2
16:09:21,562 INFO [BpelServerImpl] BPEL Server Started.
16:09:21,593 INFO [SystemSchedulesConfig] SYSTEM CRON configuration: C:\Documents and Settings\HK\Mes documents\Téléchargements\TOMCAT\apache-tomcat-5.5.31\webapps\ode\WEB-INF\conf\schedules.xml
16:09:22,750 INFO [DeploymentPoller] Poller started.
16:09:22,750 INFO [ODEServer] Process deployment polling started on path C:\Documents and Settings\HK\Mes documents\Téléchargements\TOMCAT\apache-tomcat-5.5.31\webapps\ode\WEB-INF\processes.
16:09:22,750 INFO [ODEServer] ODE Service Engine has been started.
16:09:22,765 INFO [CronScheduler] Cancelling PROCESS CRON jobs for: {http://www.se.uni-hannover.de/soa08/tutorial/HelloBPELProcess}HelloBPELProcess-2
16:09:22,765 INFO [CronScheduler] Scheduling PROCESS CRON jobs for: {http://www.se.uni-hannover.de/soa08/tutorial/HelloBPELProcess}HelloBPELProcess-2
16:09:22,828 FATAL [DeploymentPoller] Encountered an unexpected error. Exiting poller...
java.lang.RuntimeException: java.lang.NullPointerException
at org.apache.ode.utils.WatchDog.check(WatchDog.java:163)
at org.apache.ode.axis2.deploy.DeploymentPoller.checkDeployXmlWatchDog(DeploymentPoller.java:198)
at org.apache.ode.axis2.deploy.DeploymentPoller.check(DeploymentPoller.java:142)
at org.apache.ode.axis2.deploy.DeploymentPoller.access$300(DeploymentPoller.java:60)
at org.apache.ode.axis2.deploy.DeploymentPoller$PollingThread.run(DeploymentPoller.java:251)
Caused by: java.lang.NullPointerException
at org.apache.ode.store.ProcessStoreImpl.refreshSchedules(ProcessStoreImpl.java:873)
at org.apache.ode.axis2.deploy.DeploymentPoller$DDWatchDogObserver.init(DeploymentPoller.java:296)
at org.apache.ode.utils.WatchDog$DefaultObserver.onUpdate(WatchDog.java:318)
at org.apache.ode.utils.WatchDog.check(WatchDog.java:132)
... 4 more
4 janv. 2011 16:09:23 org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
4 janv. 2011 16:09:23 org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
4 janv. 2011 16:09:23 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Démarrage de Coyote HTTP/1.1 sur http-8080
4 janv. 2011 16:09:23 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
4 janv. 2011 16:09:23 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/94 config=null
4 janv. 2011 16:09:23 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
4 janv. 2011 16:09:24 org.apache.catalina.startup.Catalina start
INFO: Server startup in 35625 ms
-----------------------------------------------
l'adresse de déploiement http://localhost:8080/ode/deployment.html
renvoie des messages du genre:
"Axis2 Fault Occurred while Sending the request!"
ou "Wrong input format. Inout file must be zip archive!"
avez vous des suggestions ou
un zip fonctionnel pour déploier des services pbel sous ode
merci de me répondre