ActiveBpel的启动是随TOMCAT的启动而开始的,下面用TOMCAT启动时控制台的信息为蓝
本,分析ActiveBpel启动的装载步骤:
1)进入org.activebpel.rt.tomcat.AeProcessEngineServlet的init方法
2004-9-13 15:08:20 org.activebpel.rt.tomcat.AeProcessEngineServlet init
信息: Active BPEL startup
2)读取配置文件,开始启动bpel引擎
2004-9-13 15:08:20 org.activebpel.rt.tomcat.AeProcessEngineServlet
startOrUpdateBpelEngine
信息: Loading engine config from D:\tomcat5.0/bpr/aeEngineConfig.xml
3)启动一个扫描器,默认每10秒扫描一次指定目录,如果有新的流程定义,则自动将它发
布;启动扫描器的同时,发布WEB应用
2004-9-13 15:08:31 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /bpel_example_client_page
from URL file:D:/tomcat5.0/webapps/bpel_example_client_page
2004-9-13 15:08:31 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /jsp-examples from URL
file:D:\tomcat5.0\webapps\jsp-examples
2004-9-13 15:08:31 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path from URL
file:D:\tomcat5.0\webapps\ROOT
2004-9-13 15:08:31 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /servlets-examples from
URL file:D:\tomcat5.0\webapps\servlets-examples
2004-9-13 15:08:32 org.apache.catalina.core.StandardHostDeployer install
信息: Installing web application at context path /tomcat-docs from URL
file:D:\tomcat5.0\webapps\tomcat-docs
4)大约隔了10秒,发布AeEngineAdmin.bpr流程
2004-9-13 15:08:32 org.activebpel.rt.tomcat.AeProcessEngineServlet
createBprDeployment
信息: Deploying new ActiveBPEL deployment
file:/D:/tomcat5.0/bpr/AeEngineAdmin.bpr
5)发布bpel_example.bpr流程
2004-9-13 15:08:33 org.activebpel.rt.tomcat.AeProcessEngineServlet
createBprDeployment
信息: Deploying new ActiveBPEL deployment
file:/D:/tomcat5.0/bpr/bpel_example.bpr
6)发布bpel_example_web_services.bpr流程
2004-9-13 15:08:34 org.activebpel.rt.tomcat.AeProcessEngineServlet
createBprDeployment
信息: Deploying new ActiveBPEL deployment
file:/D:/tomcat5.0/bpr/bpel_example_web_services.bpr
7)BPEL引擎启动完成.