Batch API - BAR file Upload - But where is it?

1
0
-1

Hi there,

Windows 8.1, Java 7 and Bonita 6.4.1

I have just a JAVA program to batch upload a BAR file to Tomcat-Bundle with the code as follows:

  1. final BusinessArchive businessArchive = BusinessArchiveFactory
  2. .readBusinessArchive(new File(
  3. "E:\\Bonita 641\\DEVL BUILDS\\processXX--1.61.bar"));
  4. final ProcessDefinition processDefinition = getProcessAPI(session)
  5. .deploy(businessArchive);
  6. System.out
  7. .println("Trace - Deployaprocessfromabarfile: ProcessDefinition.id "
  8. + "\nid "+ processDefinition.getId()
  9. + "\nname "+ processDefinition.getName()
  10. + "\nversion "+ processDefinition.getVersion());

which successfully executes and gives me the following info on System.out

  1. id 4764878978747018631
  2. name processXX
  3. version 1.61

I do not delete the process after loading.

I stop and restart my Tomcat Bundle.

When i log in as Admin - and look under Process Management->Processes there is nothing there.

So question is Where is my Process if it has loaded successfully?

Does .deploy(businessArchive) not Load the process into the Tomcat-Bundle?

Am I thinking incorrectly here, as I believe it should load and I should be able to see it in the list of processes deployed.

Many thanks in advance, regards

Seán

Comments

Submitted by julien.mege on Tue, 02/10/2015 - 16:34

hello,

Have you click on the filter "Disabled"? Because when you deploy a process, it is disable by default. you need to set an actor mapping, then enabled the process.

as is it describe here : http://documentation.bonitasoft.com/deploy-process

Hope this helps. Regards,

Julien.

Submitted by Sean McP on Wed, 02/11/2015 - 11:41

Yes I've done that,

and I've just lost my whole answer to your question with tests to ask what's happening so a little peeved, now 'll try again...

My code all of it:

  1. /**
  2.  * Copyright (C) 2014 BonitaSoft S.A.
  3.  * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble
  4.  * This library is free software; you can redistribute it and/or modify it under the terms
  5.  * of the GNU Lesser General Public License as published by the Free Software Foundation
  6.  * version 2.1 of the License.
  7.  * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
  8.  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9.  * See the GNU Lesser General Public License for more details.
  10.  * You should have received a copy of the GNU Lesser General Public License along with this
  11.  * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
  12.  * Floor, Boston, MA 02110-1301, USA.
  13.  **/
  14. package org.bonitasoft.example;
  15.  
  16. import java.io.BufferedReader;
  17. import java.io.File;
  18. import java.io.IOException;
  19. import java.io.InputStreamReader;
  20. import java.util.List;
  21.  
  22. import javax.annotation.Resource;
  23.  
  24. import org.bonitasoft.engine.api.IdentityAPI;
  25. import org.bonitasoft.engine.api.LoginAPI;
  26. import org.bonitasoft.engine.api.PlatformAPI;
  27. import org.bonitasoft.engine.api.PlatformAPIAccessor;
  28. import org.bonitasoft.engine.api.PlatformLoginAPI;
  29. import org.bonitasoft.engine.api.ProcessAPI;
  30. import org.bonitasoft.engine.api.ProcessRuntimeAPI;
  31. import org.bonitasoft.engine.api.TenantAPIAccessor;
  32. import org.bonitasoft.engine.bpm.actor.ActorCriterion;
  33. import org.bonitasoft.engine.bpm.actor.ActorInstance;
  34. import org.bonitasoft.engine.bpm.bar.BusinessArchive;
  35. import org.bonitasoft.engine.bpm.bar.BusinessArchiveFactory;
  36. import org.bonitasoft.engine.bpm.flownode.ActivityInstanceCriterion;
  37. import org.bonitasoft.engine.bpm.flownode.ActivityInstanceNotFoundException;
  38. import org.bonitasoft.engine.bpm.flownode.HumanTaskInstance;
  39. import org.bonitasoft.engine.bpm.process.ArchivedProcessInstance;
  40. import org.bonitasoft.engine.bpm.process.ArchivedProcessInstancesSearchDescriptor;
  41. import org.bonitasoft.engine.bpm.process.DesignProcessDefinition;
  42. import org.bonitasoft.engine.bpm.process.InvalidProcessDefinitionException;
  43. import org.bonitasoft.engine.bpm.process.ProcessDefinition;
  44. import org.bonitasoft.engine.bpm.process.ProcessDeploymentInfo;
  45. import org.bonitasoft.engine.bpm.process.ProcessDeploymentInfoSearchDescriptor;
  46. import org.bonitasoft.engine.bpm.process.ProcessInstance;
  47. import org.bonitasoft.engine.bpm.process.ProcessInstanceSearchDescriptor;
  48. import org.bonitasoft.engine.bpm.process.impl.DocumentBuilder;
  49. import org.bonitasoft.engine.bpm.process.impl.ProcessDefinitionBuilder;
  50. import org.bonitasoft.engine.exception.BonitaException;
  51. import org.bonitasoft.engine.identity.User;
  52. import org.bonitasoft.engine.search.Order;
  53. import org.bonitasoft.engine.search.SearchOptions;
  54. import org.bonitasoft.engine.search.SearchOptionsBuilder;
  55. import org.bonitasoft.engine.search.SearchResult;
  56. import org.bonitasoft.engine.session.APISession;
  57. import org.bonitasoft.engine.session.PlatformSession;
  58. import org.springframework.context.ConfigurableApplicationContext;
  59. import org.springframework.context.support.ClassPathXmlApplicationContext;
  60.  
  61. //import org.gubernare.Documents.Uploader;
  62.  
  63. public class App {
  64.  
  65. /**
  66. * Bonita home property key
  67. */
  68. private static final String BONITA_HOME_KEY = "bonita.home";
  69.  
  70. /**
  71. * Platform administrator user name
  72. */
  73. private static final String PLATFORM_ADMIN = "platformAdmin";
  74.  
  75. /**
  76. * Platform administrator password
  77. */
  78. private static final String PLATFORM_PASSWORD = "platform";
  79.  
  80. /**
  81. * Tenant technical user username
  82. */
  83. private static final String TECHNICAL_USER_NAME = "install";
  84.  
  85. /**
  86. * Tenant technical user password
  87. */
  88. private static final String TECHNICAL_PASSWORD = "install";
  89.  
  90. /**
  91. * End user Administrator
  92. */
  93. private static final String EndUser_ADMIN = "bonita.admin";
  94.  
  95. /**
  96. * End user Administrator password
  97. */
  98. private static final String EndUser_ADMIN_PASSWORD = "bpm";
  99.  
  100. /**
  101. * End user username
  102. */
  103. private static final String USER_NAME = "walter.bates";
  104.  
  105. /**
  106. * End user password
  107. */
  108. private static final String PWD = "bpm";
  109.  
  110. /**
  111. * Actor name used in the process example
  112. */
  113. private static final String ACTOR_NAME = "MyActor";
  114.  
  115. /**
  116. * The maximum number of elements retrieved by paged requests
  117. */
  118. private static int PAGE_SIZE = 5;
  119.  
  120. /**
  121. * Spring context used to deploy a data source
  122. */
  123. private static ConfigurableApplicationContext springContext;
  124.  
  125. @Resource(lookup = "java:app/AppName")
  126. private String appName;
  127.  
  128. @Resource(lookup = "java:module/ModuleName")
  129. private String moduleName;
  130.  
  131. public static void main(String[] args) throws Exception {
  132.  
  133. User user = null;
  134. try {
  135. // check that Bonita Home is set
  136. checkBonitaHome();
  137.  
  138. // deploy a data source. This step is not necessary if you already
  139. // have
  140. // a data source available, for instance,
  141. // a data source supplied by an application server
  142. deployDataSource();
  143.  
  144. // perform all necessary actions to create the Bonita platform
  145. createPlatform();
  146.  
  147. //wait
  148. for( int i=0; i<10; i++){
  149. System.out.println("Waiting "+(10-i));
  150. }
  151.  
  152. // create a user that will deploy and execute processes
  153. user = createUser();
  154.  
  155. // deploy a process
  156. //ProcessDefinition processDefinition = deployProcess();
  157.  
  158. // List the deployed processes
  159. Listthedeployedprocesses();
  160.  
  161. // Deploy and enable a process from a bar file
  162. Deployaprocessfromabarfile();
  163.  
  164. // Deploy and enable a process from a bar file
  165. // Deployandenableaprocessfromabarfile();
  166.  
  167. // execute actions chosen from a menu
  168. // executeActions(processDefinition);
  169.  
  170. // --- clean all information ----
  171. // undeploy the process
  172. // undeployProcess(processDefinition);
  173.  
  174. System.out.println("Completed sucessfully!!!");
  175.  
  176. } finally {
  177.  
  178. // delete the created user
  179. deleteUser(user);
  180. System.out.println("deleteUser Completed sucessfully!!!");
  181.  
  182. // perform all necessary actions to delete the platform
  183. deletePlatform();
  184. System.out.println("deletePlatform Completed sucessfully!!!");
  185.  
  186. // undeploy the data source
  187. undeployDataSource();
  188. System.out.println("undeployDataSource Completed sucessfully!!!");
  189.  
  190. }
  191. System.out.println("Program execution Completed!!!");
  192. }
  193.  
  194. /**
  195. * Check if the system property bonita.home is set. If not, a
  196. * RuntimeException is thrown.
  197. */
  198. private static void checkBonitaHome() {
  199.  
  200. String bonitaHome = System.getProperty(BONITA_HOME_KEY);
  201. if (bonitaHome == null) {
  202. throw new RuntimeException(
  203. "The system property bonita.home is not set. Please, set this property with the path to the bonita home folder.\n "
  204. + "You can get a bonita home from BonitaBPMCommunity-<bonita.engine.version>-deploy.zip or use the one generated under \n"
  205. + "the folder target/home on this project by running the command 'mvn clean install'.");
  206. }
  207. System.out.println("bonitaHome = " + bonitaHome.toString());
  208. }
  209.  
  210. /**
  211. * Do all necessary actions to create the Bonita platform
  212. *
  213. * @throws BonitaException
  214. * if an exception occurs when creating the platform
  215. */
  216. private static void createPlatform() throws BonitaException {
  217. // login as platform administrator
  218. PlatformSession session = doPlatformLogin(PLATFORM_ADMIN,
  219. PLATFORM_PASSWORD);
  220. try {
  221. System.out.println("Creating and initializing the platform ...");
  222. // create and initialize the platform
  223. getPlatformAPI(session).createAndInitializePlatform();
  224. System.out.println("Platform created and initialized!");
  225.  
  226. System.out.println("Starting node ...");
  227. // start the node (make scheduler service to start)
  228. getPlatformAPI(session).startNode();
  229. System.out.println("Node started!");
  230. } finally {
  231. // logout
  232. doPlatformLogout(session);
  233. }
  234. }
  235.  
  236. /**
  237. * Perform all necessary actions to delete the platform
  238. *
  239. * @throws BonitaException
  240. * if an exception occurs when deleting the platform
  241. */
  242. private static void deletePlatform() throws BonitaException {
  243. // login as platform administrator
  244. PlatformSession session = doPlatformLogin(PLATFORM_ADMIN,
  245. PLATFORM_PASSWORD);
  246. try {
  247. System.out.println("Stopping node ...");
  248. // stop the node (this will stop the scheduler service)
  249. getPlatformAPI(session).stopNode();
  250. System.out.println("Node stopped!");
  251.  
  252. System.out.println("Cleaning and deleting the platform ...");
  253. // clean and delete the platform
  254. getPlatformAPI(session).cleanAndDeletePlaftorm();
  255. System.out.println("Platform cleaned and deleted!");
  256. } finally {
  257. // logout
  258. doPlatformLogout(session);
  259. }
  260. }
  261.  
  262. /*
  263. * new code for me
  264. */
  265.  
  266. /*
  267. * List the deployed processes
  268. * http://documentation.bonitasoft.com/list-deployed-processes
  269. */
  270. private static void Listthedeployedprocesses() throws BonitaException {
  271.  
  272. System.out.println("Trace - Listthedeployedprocesses: In ");
  273. // login
  274. APISession session = doTenantLogin(USER_NAME, PWD);
  275. try {
  276.  
  277. System.out.println("Trace - Listthedeployedprocesses: processAPI ");
  278. final ProcessAPI processAPI = TenantAPIAccessor
  279. .getProcessAPI(session);
  280. System.out
  281. .println("Trace - Listthedeployedprocesses: SearchOptions ");
  282. final SearchOptions searchOptions = new SearchOptionsBuilder(0, 100)
  283. .sort(ProcessDeploymentInfoSearchDescriptor.DEPLOYMENT_DATE,
  284. Order.DESC).done();
  285. System.out
  286. .println("Trace - Listthedeployedprocesses: SearchResult ");
  287. final SearchResult<ProcessDeploymentInfo> deploymentInfoResults = processAPI
  288. .searchProcessDeploymentInfos(searchOptions);
  289. System.out.println("Trace - Listthedeployedprocesses: for count: "
  290. + deploymentInfoResults.getCount());
  291. for (ProcessDeploymentInfo deployedProcess : deploymentInfoResults
  292. .getResult()) {
  293. System.out
  294. .println("Trace - Listthedeployedprocesses: deployedProcess: "
  295. + "\nid = "
  296. + deployedProcess.getId()
  297. + "\nname = "
  298. + deployedProcess.getName()
  299. + "\nversion = " + deployedProcess.getVersion());
  300. }
  301. } finally {
  302. // logout
  303. doTenantLogout(session);
  304. }
  305. System.out.println("Trace - Listthedeployedprocesses: Out ");
  306.  
  307. }
  308.  
  309. /*
  310. * Enable a process and start an instance
  311. * http://documentation.bonitasoft.com/enable-process-and-start-instance
  312. */
  313. private static void Enableaprocessandstartaninstance()
  314. throws BonitaException {
  315.  
  316. /*
  317. * // To enable a process, call the method enableProcess specifying the
  318. * // processDefinition id: // enable the process
  319. * processAPI.enableProcess(processDefinition.getId());
  320. * System.out.println("A new process was enabled: " +
  321. * processDefinition.getId());
  322. *
  323. * // The next step is to start an instance of the deployed process: //
  324. * start the process final ProcessInstance processInstance = processAPI
  325. * .startProcess(processDefinition.getId());
  326. * System.out.println("A new process instance was started with id: " +
  327. * processInstance.getId());
  328. */
  329.  
  330. }
  331.  
  332. public static void getDocumentDefinition() {
  333.  
  334. System.out.println("\nTrace - getDocumentDefinition: null ");
  335. DocumentBuilder docToBuild = new DocumentBuilder();
  336.  
  337. System.out
  338. .println("\nTrace - getDocumentDefinition: createNewInstance ");
  339. docToBuild.createNewInstance("Test Doc", true);
  340. System.out
  341. .println("\nTrace - getDocumentDefinition: setContentMimeType ");
  342. docToBuild.setContentMimeType("text/docx");
  343. System.out.println("\nTrace - getDocumentDefinition: setDescription ");
  344. docToBuild.setDescription("Test Doc");
  345. System.out.println("\nTrace - getDocumentDefinition: setFileName ");
  346. docToBuild
  347. .setFileName("C:\\Users\\Sean McPoland\\Desktop\\test doc.docx");
  348. System.out.println("\nTrace - getDocumentDefinition: done ");
  349. // docToBuild.setURL(String documentUrl)
  350. docToBuild.done();
  351. System.out.println("\nTrace - getDocumentDefinition: Out\n ");
  352.  
  353. }
  354.  
  355. /*
  356. * Deploy and enable a process from a bar file
  357. * http://documentation.bonitasoft.com/deploy-process
  358. */
  359. private static void Deployaprocessfromabarfile() throws BonitaException {
  360.  
  361. System.out.println("Trace - Deployaprocessfromabarfile: In ");
  362. // login
  363. APISession session = doTenantLogin(USER_NAME, PWD);
  364. try {
  365.  
  366. // First create a business archive from the bar file.
  367. // In this example, the bar file is /deploy/travelRequest. The
  368. // process
  369. // is deployed and enabled in a single step.
  370.  
  371. getDocumentDefinition();
  372.  
  373. // create a business archive
  374. System.out
  375. .println("Trace - Deployaprocessfromabarfile: BusinessArchive ");
  376. final BusinessArchive businessArchive = BusinessArchiveFactory
  377. .readBusinessArchive(new File(
  378. "E:\\Bonita 641\\DEVL BUILDS for Release\\gubeSendMail--1.63.bar"));
  379. // deploy and enable the process
  380. System.out
  381. .println("Trace - Deployaprocessfromabarfile: ProcessDefinition ");
  382. final ProcessDefinition processDefinition = getProcessAPI(session)
  383. .deploy(businessArchive);
  384. System.out
  385. .println("Trace - Deployaprocessfromabarfile: ProcessDefinition.id "
  386. + "\nid "
  387. + processDefinition.getId()
  388. + "\nname "
  389. + processDefinition.getName()
  390. + "\nversion "
  391. + processDefinition.getVersion());
  392.  
  393. } catch (IOException e) {
  394. // TODO Auto-generated catch block
  395. e.printStackTrace();
  396. } finally {
  397. // logout
  398. doTenantLogout(session);
  399. }
  400. System.out.println("Trace - Deployaprocessfromabarfile: Out ");
  401.  
  402. }
  403.  
  404. /*
  405. * Deploy and enable a process from a bar file
  406. * http://documentation.bonitasoft.com/deploy-process
  407. */
  408. private static void Deployandenableaprocessfromabarfile()
  409. throws BonitaException {
  410.  
  411. System.out.println("Trace - Deployandenableaprocessfromabarfile: In ");
  412. // login
  413. APISession session = doTenantLogin(USER_NAME, PWD);
  414. try {
  415.  
  416. // First create a business archive from the bar file.
  417. // In this example, the bar file is /deploy/travelRequest. The
  418. // process
  419. // is deployed and enabled in a single step.
  420.  
  421. // create a business archive
  422. System.out
  423. .println("Trace - Deployandenableaprocessfromabarfile: BusinessArchive ");
  424. final BusinessArchive businessArchive = BusinessArchiveFactory
  425. .readBusinessArchive(new File(
  426. "E:\\Bonita 641\\DEVL BUILDS for Release\\gubeSendMail--1.63.bar"));
  427. // deploy and enable the process
  428. System.out
  429. .println("Trace - Deployandenableaprocessfromabarfile: ProcessDefinition ");
  430. final ProcessDefinition processDefinition = getProcessAPI(session)
  431. .deployAndEnableProcess(businessArchive);
  432. System.out
  433. .println("Trace - Deployandenableaprocessfromabarfile: ProcessDefinition.id "
  434. + "\nid"
  435. + processDefinition.getId()
  436. + "\nname"
  437. + processDefinition.getName()
  438. + "\nversion"
  439. + processDefinition.getVersion());
  440.  
  441. } catch (IOException e) {
  442. // TODO Auto-generated catch block
  443. e.printStackTrace();
  444. } finally {
  445. // logout
  446. doTenantLogout(session);
  447. }
  448. System.out.println("Trace - Deployandenableaprocessfromabarfile: Out ");
  449.  
  450. }
  451.  
  452. /*
  453. * Deploy and enable a process from the processDefinitionBuilder
  454. * http://documentation.bonitasoft.com/deploy-process
  455. */
  456. /* private static void DeployandenableaprocessfromtheprocessDefinitionBuilder()
  457. throws BonitaException {
  458.  
  459. // First deploy the process:
  460. // deploy the process
  461. final ProcessDefinition processDefinition = processAPI.deploy(processDefinitionBuilder.done());
  462. System.out.println("A new process was deployed with id: "
  463. + processDefinition.getId());
  464.  
  465. // Once the process is deployed, it's necessary to map the actors
  466. // defined in the process to existing users in the database before
  467. // enabling the process. In this example, the actor defined in the
  468. // process will be mapped to the current logged in user, whose id is
  469. // available in the session (attention, this user cannot be the
  470. // technical user):
  471.  
  472. // map the actor "delivery" to the current logged in user final
  473. List<ActorInstance> actors = processAPI.getActors(
  474. processDefinition.getId(), 0, 1, ActorCriterion.NAME_ASC);
  475. processAPI.addUserToActor(actors.get(0).getId(), session.getUserId());
  476.  
  477. // At this point, the process is deployed but not enabled. This means
  478. // that no instances of this process can be started. To enable the
  479. // process, call the method enableProcess:
  480.  
  481. // enable the process
  482. processAPI.enableProcess(processDefinition.getId());
  483. System.out.println("A new process was enabled: "
  484. + processDefinition.getId());
  485.  
  486. }
  487. */
  488. /*
  489. * end new for for me
  490. */
  491. /**
  492. * Deploy a process example
  493. *
  494. * @return the deployed process
  495. * @throws BonitaException
  496. * if an exception occurs during process deployment
  497. */
  498. private static ProcessDefinition deployProcess() throws BonitaException {
  499. // log in with the end user previously created
  500. APISession session = doTenantLogin(USER_NAME, PWD);
  501. try {
  502. System.out.println("Deploying process ... ");
  503. // build the process example
  504. DesignProcessDefinition designProcessDefinition = buildProcessDefinition();
  505. // deploy the process
  506. ProcessDefinition processDefinition = getProcessAPI(session)
  507. .deploy(designProcessDefinition);
  508. System.out.println("Process deployed!");
  509.  
  510. System.out.println("Mapping actors ... ");
  511. // map the process actor to the end user. Before enabling the
  512. // process all actors must be mapped.
  513. getProcessAPI(session).addUserToActor(ACTOR_NAME,
  514. processDefinition, session.getUserId());
  515. System.out.println("Actors mapped!");
  516.  
  517. System.out.println("Enabling process ... ");
  518. // enable the process. Up to now this process can be instantiated.
  519. getProcessAPI(session).enableProcess(processDefinition.getId());
  520. System.out.println("Process enabled!");
  521. return processDefinition;
  522.  
  523. } finally {
  524. // do logout
  525. doTenantLogout(session);
  526. }
  527. }
  528.  
  529. /**
  530. * Build a simple process: Start -> My Automatic Step -> My first step -> My
  531. * second step -> End
  532. *
  533. * @return the built process
  534. * @throws InvalidProcessDefinitionException
  535. */
  536. private static DesignProcessDefinition buildProcessDefinition()
  537. throws InvalidProcessDefinitionException {
  538. String startName = "Start";
  539. String firstUserStepName = "My first step";
  540. String secondUserStepName = "My second step";
  541. String autoStepName = "My Automatic Step";
  542. String endName = "End";
  543.  
  544. // create a new process definition with name and version
  545. ProcessDefinitionBuilder pdb = new ProcessDefinitionBuilder()
  546. .createNewInstance("My first process", "1.0");
  547. // add actor defined as initiator
  548. pdb.addActor(ACTOR_NAME, true);
  549. // add a start event
  550. pdb.addStartEvent(startName);
  551. // add an automatic task
  552. pdb.addAutomaticTask(autoStepName);
  553. // add a user task having the previously defined actor
  554. pdb.addUserTask(firstUserStepName, ACTOR_NAME);
  555. // add another user task assigned to the previously defined actor
  556. pdb.addUserTask(secondUserStepName, ACTOR_NAME);
  557. // add an end event
  558. pdb.addEndEvent(endName);
  559. // defined transitions
  560. pdb.addTransition(startName, autoStepName);
  561. pdb.addTransition(autoStepName, firstUserStepName);
  562. pdb.addTransition(firstUserStepName, secondUserStepName);
  563. pdb.addTransition(secondUserStepName, endName);
  564.  
  565. return pdb.done();
  566. }
  567.  
  568. /**
  569. * Display a menu and prompt for a action to perform. The chosen action is
  570. * performed and a new action is prompted until the user decides to quit the
  571. * application.
  572. *
  573. * @param processDefinition
  574. * the ProcesssDefinition
  575. * @throws IOException
  576. * if an exception occurs when prompting for an action
  577. * @throws BonitaException
  578. * if an exception occurs when executing an action
  579. */
  580. private static void executeActions(ProcessDefinition processDefinition)
  581. throws IOException, BonitaException {
  582. String message = getMenutTextContent();
  583. String choice = null;
  584. do {
  585. // show the menu and read the action chosen by the user
  586. choice = readLine(message);
  587. if ("1".equals(choice)) {
  588. // if user chooses 1 then start a new process instance
  589. startProcess(processDefinition);
  590. } else if ("2".equals(choice)) {
  591. // if user chooses 2 then list opened process instances
  592. listOpenedProcessInstances();
  593. } else if ("3".equals(choice)) {
  594. // if user chooses 3 then list archived process instances
  595. listArchivedProcessInstances();
  596. } else if ("4".equals(choice)) {
  597. // if user chooses 4 then list pending tasks
  598. listPendingTasks();
  599. } else if ("5".equals(choice)) {
  600. // if user chooses 5 execute the task chosen by the user
  601. executeATask();
  602. } else if (!"0".equals(choice)) {
  603. System.out.println("Invalid choice!");
  604. }
  605. } while (!"0".equals(choice));
  606. }
  607.  
  608. /**
  609. * Get the content of menu to be displayed
  610. *
  611. * @return the content of menu to be displayed
  612. */
  613. private static String getMenutTextContent() {
  614. StringBuilder stb = new StringBuilder(
  615. "\nChoose the action to be executed:\n");
  616. stb.append("0 - exit\n");
  617. stb.append("1 - start a process\n");
  618. stb.append("2 - list open process instances\n");
  619. stb.append("3 - list archived process instances\n");
  620. stb.append("4 - list pending tasks \n");
  621. stb.append("5 - execute a task\n");
  622. stb.append("Choice:");
  623. String message = stb.toString();
  624. return message;
  625. }
  626.  
  627. /**
  628. * Start a process
  629. *
  630. * @param processDefinition
  631. * the process definition to start
  632. * @throws BonitaException
  633. * if an exception occurs when starting the process
  634. */
  635. private static void startProcess(ProcessDefinition processDefinition)
  636. throws BonitaException {
  637. // login
  638. APISession session = doTenantLogin(USER_NAME, PWD);
  639. try {
  640. System.out.println("Instantiating process ... ");
  641. // create a new process instance
  642. ProcessInstance processInstance = getProcessAPI(session)
  643. .startProcess(processDefinition.getId());
  644. System.out.println("Process instantiated! Id: "
  645. + processInstance.getId());
  646. } finally {
  647. // logout
  648. doTenantLogout(session);
  649. }
  650. }
  651.  
  652. /**
  653. * List all opened process instances
  654. *
  655. * @throws BonitaException
  656. * if an Exception occurs when listing the process instances
  657. */
  658. private static void listOpenedProcessInstances() throws BonitaException {
  659. // login
  660. APISession session = doTenantLogin(USER_NAME, PWD);
  661. try {
  662. System.out.println("Active process instances: ");
  663. // the result will be retrieved by pages of PAGE_SIZE size
  664. int startIndex = 0;
  665. int page = 1;
  666. SearchResult<ProcessInstance> result = null;
  667. do {
  668. // get the current page of opened process instances
  669. result = getOpenProcessInstancePage(session, startIndex);
  670. // print the current page
  671. printOpenedProcessIntancesPage(page, result);
  672.  
  673. // go to next page
  674. startIndex += PAGE_SIZE;
  675. page++;
  676. } while (result.getResult().size() == PAGE_SIZE);
  677. } finally {
  678. // logout
  679. doTenantLogout(session);
  680. }
  681. }
  682.  
  683. /**
  684. * Get the page of opened process instances based on the start index
  685. *
  686. * @param session
  687. * the current session
  688. * @param startIndex
  689. * the index of the first element of the page
  690. * @return the page of opened process instances based on the start index
  691. * @throws BonitaException
  692. * if an exception occurs when getting the ProcessAPI
  693. */
  694. private static SearchResult<ProcessInstance> getOpenProcessInstancePage(
  695. APISession session, int startIndex) throws BonitaException {
  696. // create a new SeachOptions with given start index and PAGE_SIZE as max
  697. // number of elements
  698. SearchOptionsBuilder optionsBuilder = new SearchOptionsBuilder(
  699. startIndex, PAGE_SIZE);
  700. // sort the result by the process instance id in ascending order
  701. optionsBuilder.sort(ProcessInstanceSearchDescriptor.ID, Order.ASC);
  702. // perform the request and return the result
  703. return getProcessAPI(session).searchProcessInstances(
  704. optionsBuilder.done());
  705. }
  706.  
  707. /**
  708. * Print a page of opened process instances
  709. *
  710. * @param page
  711. * the page number
  712. * @param result
  713. * the page content
  714. */
  715. private static void printOpenedProcessIntancesPage(int page,
  716. SearchResult<ProcessInstance> result) {
  717. if (result.getCount() == 0) {
  718. System.out.println("There are no opened process instances!");
  719. }
  720. if (!result.getResult().isEmpty()) {
  721. System.out.println("----- Page " + page + "-----");
  722. }
  723. for (ProcessInstance processInstance : result.getResult()) {
  724. StringBuilder stb = new StringBuilder();
  725. stb.append("id: ");
  726. stb.append(processInstance.getId());
  727. stb.append(", name: ");
  728. stb.append(processInstance.getName());
  729. stb.append(", started on: ");
  730. stb.append(processInstance.getStartDate());
  731. System.out.println(stb.toString());
  732. }
  733. }
  734.  
  735. /**
  736. * List all archived process instances
  737. *
  738. * @throws BonitaException
  739. * if an Exception occurs when listing process instances
  740. */
  741. private static void listArchivedProcessInstances() throws BonitaException {
  742. // login
  743. APISession session = doTenantLogin(USER_NAME, PWD);
  744. try {
  745. System.out.println("Archived process instances: ");
  746. // the result will be retrieved by pages of PAGE_SIZE size
  747. int startIndex = 0;
  748. int page = 1;
  749. SearchResult<ArchivedProcessInstance> result = null;
  750. do {
  751. // get the current page of opened process instances
  752. result = getArchivedProcessInstancePage(session, startIndex);
  753. // print the current page
  754. printArchivedProcessInstancePage(page, result);
  755.  
  756. // go to the next page
  757. startIndex += PAGE_SIZE;
  758. page++;
  759. } while (result.getResult().size() == PAGE_SIZE);
  760. } finally {
  761. // logout
  762. doTenantLogout(session);
  763. }
  764.  
  765. }
  766.  
  767. /**
  768. * Get the page of archived process instances based on the start index
  769. *
  770. * @param session
  771. * the current session
  772. * @param startIndex
  773. * the index of the first element of the page
  774. * @return the page of archived process instances based on the start index
  775. * @throws BonitaException
  776. */
  777. private static SearchResult<ArchivedProcessInstance> getArchivedProcessInstancePage(
  778. APISession session, int startIndex) throws BonitaException {
  779. // create a new SeachOptions with given start index and PAGE_SIZE as max
  780. // number of elements
  781. SearchOptionsBuilder optionsBuilder = new SearchOptionsBuilder(
  782. startIndex, PAGE_SIZE);
  783. // when process instances are archived the original process instance id
  784. // is supplied by SOURCE_OBJECT_ID,
  785. // so the result will be sort by the SOURCE_OBJECT_ID
  786. optionsBuilder.sort(
  787. ArchivedProcessInstancesSearchDescriptor.SOURCE_OBJECT_ID,
  788. Order.ASC);
  789. // perform the request and return the result;
  790. return getProcessAPI(session).searchArchivedProcessInstances(
  791. optionsBuilder.done());
  792. }
  793.  
  794. /**
  795. * Print a page of archived process instances
  796. *
  797. * @param page
  798. * the page number
  799. * @param result
  800. * the page content
  801. */
  802. private static void printArchivedProcessInstancePage(int page,
  803. SearchResult<ArchivedProcessInstance> result) {
  804. if (result.getCount() == 0) {
  805. System.out.println("There are no archived process instances!");
  806. }
  807. if (!result.getResult().isEmpty()) {
  808. System.out.println("----- Page " + page + "-----");
  809. }
  810. for (ArchivedProcessInstance processInstance : result.getResult()) {
  811. StringBuilder stb = new StringBuilder();
  812. stb.append("id: ");
  813. // remember: when you deal with archived elements the original id is
  814. // supplied by the sourceObjectId
  815. stb.append(processInstance.getSourceObjectId());
  816. stb.append(", name: ");
  817. stb.append(processInstance.getName());
  818. stb.append(", started on: ");
  819. stb.append(processInstance.getStartDate());
  820. stb.append(", archived on: ");
  821. stb.append(processInstance.getEndDate());
  822. System.out.println(stb.toString());
  823. }
  824. }
  825.  
  826. /**
  827. * List all pending tasks for the logged user
  828. *
  829. * @throws BonitaException
  830. * if an exception occurs when listing the pending tasks
  831. */
  832. private static void listPendingTasks() throws BonitaException {
  833. // login
  834. APISession session = doTenantLogin(USER_NAME, PWD);
  835. try {
  836. ProcessAPI processAPI = getProcessAPI(session);
  837. // the result will be retrieved by pages of PAGE_SIZE size
  838. int startIndex = 0;
  839. int page = 1;
  840. List<HumanTaskInstance> pendingTasks = null;
  841. do {
  842. // get the current page
  843. pendingTasks = processAPI.getPendingHumanTaskInstances(
  844. session.getUserId(), startIndex, PAGE_SIZE,
  845. ActivityInstanceCriterion.LAST_UPDATE_ASC);
  846. // print the current page
  847. printTasksPage(page, pendingTasks);
  848.  
  849. // got to next page
  850. startIndex += PAGE_SIZE;
  851. page++;
  852. } while (pendingTasks.size() == PAGE_SIZE);
  853. } finally {
  854. // logout
  855. doTenantLogout(session);
  856. }
  857. }
  858.  
  859. /**
  860. * Print a tasks page
  861. *
  862. * @param page
  863. * the page number
  864. * @param pendingTasks
  865. * the page content
  866. */
  867. private static void printTasksPage(int page,
  868. List<HumanTaskInstance> pendingTasks) {
  869. if (pendingTasks.isEmpty()) {
  870. if (page == 1) {
  871. System.out.println("There are no pending tasks!");
  872. }
  873. } else {
  874. System.out.println("----- Page " + page + "-----");
  875. }
  876. for (HumanTaskInstance task : pendingTasks) {
  877. StringBuilder stb = new StringBuilder();
  878. stb.append("id: ");
  879. stb.append(task.getId());
  880. stb.append(", process instance id: ");
  881. stb.append(task.getRootContainerId());
  882. stb.append(", task name: ");
  883. stb.append(task.getName());
  884. System.out.println(stb.toString());
  885. }
  886.  
  887. }
  888.  
  889. /**
  890. * Execute the task chosen by the user
  891. *
  892. * @throws BonitaException
  893. * if an exception occurs when executing the task
  894. * @throws IOException
  895. * if an exception occurs when reading the task id to be
  896. * executed
  897. */
  898. private static void executeATask() throws BonitaException, IOException {
  899. // get the task id to be executed
  900. Long taskId = readTaskId();
  901. // login
  902. APISession session = doTenantLogin(USER_NAME, PWD);
  903. try {
  904. ProcessRuntimeAPI processAPI = getProcessAPI(session);
  905. // retrieve the task to be executed in order to print information
  906. // such as task name and process instance id
  907. // if you don't need this information you can assign and execute it
  908. // directly without retrieving it
  909. HumanTaskInstance taskToExecute = processAPI
  910. .getHumanTaskInstance(taskId);
  911. // assign the task
  912. processAPI.assignUserTask(taskToExecute.getId(),
  913. session.getUserId());
  914. System.out.println("Task '" + taskToExecute.getName()
  915. + "' of process instance '"
  916. + taskToExecute.getRootContainerId() + "' assigned to '"
  917. + session.getUserName() + ".");
  918.  
  919. // execute the task
  920. processAPI.executeFlowNode(taskToExecute.getId());
  921. System.out.println("Task '" + taskToExecute.getName()
  922. + "' of process instance '"
  923. + taskToExecute.getRootContainerId() + "' executed by '"
  924. + session.getUserName() + ".");
  925. } catch (ActivityInstanceNotFoundException e) {
  926. // catch ActivityInstanceNotFoundException to cover the case where
  927. // the user enter an invalid tasks id
  928. System.out.println("No task found with id " + taskId);
  929. } finally {
  930. // logout
  931. doTenantLogout(session);
  932. }
  933. }
  934.  
  935. /**
  936. * Prompt for the task id to be executed
  937. *
  938. * @return the task id to be executed
  939. * @throws IOException
  940. */
  941. private static Long readTaskId() throws IOException {
  942. String message = "Enter the id of task to be executed:";
  943. String strId = readLine(message);
  944. long taskId = -1;
  945. try {
  946. taskId = Long.parseLong(strId);
  947. } catch (Exception e) {
  948. System.out
  949. .println(strId
  950. + " is not a valid id. You can find all task ids using the menu 'list pending tasks'.");
  951. }
  952. return taskId;
  953. }
  954.  
  955. /**
  956. * Undeploy the process definition
  957. *
  958. * @param processDefinition
  959. * the process definition
  960. * @throws BonitaException
  961. * if an exception occurs when undeploying the process
  962. */
  963. private static void undeployProcess(ProcessDefinition processDefinition)
  964. throws BonitaException {
  965. // login
  966. APISession session = doTenantLogin(USER_NAME, PWD);
  967. try {
  968. System.out.println("Undeploying process...");
  969. // before deleting a process it is necessary to delete all its
  970. // instances (opened or archived)
  971. deleteOpenedProcessInstance(processDefinition, session);
  972. deleteArchivedProcessInstance(processDefinition, session);
  973.  
  974. // disable and delete the process definition
  975. getProcessAPI(session).disableAndDeleteProcessDefinition(
  976. processDefinition.getId());
  977. System.out.println("Process disabled and undeployed!");
  978. } finally {
  979. // logout
  980. doTenantLogout(session);
  981. }
  982. }
  983.  
  984. /**
  985. * Delete all opened process instances for the given process definition
  986. *
  987. * @param processDefinition
  988. * the process definition
  989. * @param session
  990. * the current session
  991. * @throws BonitaException
  992. * if an exception occurs when deleting process instances
  993. */
  994. public static void deleteOpenedProcessInstance(
  995. ProcessDefinition processDefinition, APISession session)
  996. throws BonitaException {
  997. // delete opened process instances by block of PAGE_SIZE
  998. long nbOfDeletedProcess = 0;
  999. do {
  1000. nbOfDeletedProcess = getProcessAPI(session).deleteProcessInstances(
  1001. processDefinition.getId(), 0, PAGE_SIZE);
  1002. } while (nbOfDeletedProcess != 0);
  1003. System.out.println("Deleted opened processs instances.");
  1004. }
  1005.  
  1006. /**
  1007. * Delete all archived process instances for the given process definition
  1008. *
  1009. * @param processDefinition
  1010. * the process definition
  1011. * @param session
  1012. * the current session
  1013. * @throws BonitaException
  1014. * if an exception occurs when deleting process instances
  1015. */
  1016. public static void deleteArchivedProcessInstance(
  1017. ProcessDefinition processDefinition, APISession session)
  1018. throws BonitaException {
  1019. // delete archived process instances by block of PAGE_SIZE
  1020. long nbOfDeletedProcess = 0;
  1021. do {
  1022. nbOfDeletedProcess = getProcessAPI(session)
  1023. .deleteArchivedProcessInstances(processDefinition.getId(),
  1024. 0, PAGE_SIZE);
  1025. } while (nbOfDeletedProcess != 0);
  1026. System.out.println("Deleted archived processs instances.");
  1027. }
  1028.  
  1029. /**
  1030. * Delete the given user
  1031. *
  1032. * @param user
  1033. * the user to delete
  1034. * @throws BonitaException
  1035. * if an exception occurs when deleting the user
  1036. */
  1037. private static void deleteUser(User user) throws BonitaException {
  1038. // In order to delete the only end user, it's necessary to log in as the
  1039. // technical user
  1040. APISession session = doTenantLogin(TECHNICAL_USER_NAME,
  1041. TECHNICAL_USER_NAME);
  1042. try {
  1043. // delete user
  1044. getIdentityAPI(session).deleteUser(user.getId());
  1045. System.out.println("Deleted user '" + user.getUserName() + "'.");
  1046. } finally {
  1047. // logout
  1048. doTenantLogout(session);
  1049. }
  1050. }
  1051.  
  1052. /**
  1053. * Create an end user
  1054. *
  1055. * @return the created user
  1056. * @throws BonitaException
  1057. * if an exception occurs during user creation
  1058. */
  1059. private static User createUser() throws BonitaException {
  1060. // no end users are created during the platform initialization, so only
  1061. // the technical user is available.
  1062. // logged in as technical user you are able to create the end user that
  1063. // will be able to deploy process, execute tasks, ...
  1064. APISession session = doTenantLogin(TECHNICAL_USER_NAME,
  1065. TECHNICAL_PASSWORD);
  1066. User user = null;
  1067. try {
  1068. // create end user
  1069. user = getIdentityAPI(session).createUser(USER_NAME, PWD);
  1070. System.out.println("Created user '" + USER_NAME + "'.");
  1071. } finally {
  1072. // technical user logs out
  1073. doTenantLogout(session);
  1074. }
  1075. return user;
  1076. }
  1077.  
  1078. /**
  1079. * Read a line from standard input
  1080. *
  1081. * @param message
  1082. * the message to be displayed
  1083. * @return the line read from standard input
  1084. * @throws IOException
  1085. * if an exception occurs when reading a line
  1086. */
  1087. private static String readLine(String message) throws IOException {
  1088. System.out.println(message);
  1089. System.in));
  1090. return buffer.readLine();
  1091. }
  1092.  
  1093. public static PlatformSession doPlatformLogin(String platformUsername,
  1094. String password) throws BonitaException {
  1095. return getPlaformLoginAPI().login(platformUsername, password);
  1096. }
  1097.  
  1098. public static void doPlatformLogout(PlatformSession session)
  1099. throws BonitaException {
  1100. getPlaformLoginAPI().logout(session);
  1101. }
  1102.  
  1103. public static APISession doTenantLogin(String username, String password)
  1104. throws BonitaException {
  1105. APISession session = getLoginAPI().login(username, password);
  1106. System.out.println("User '" + username + "' has logged in!");
  1107. return session;
  1108. }
  1109.  
  1110. public static void doTenantLogout(APISession session)
  1111. throws BonitaException {
  1112. getLoginAPI().logout(session);
  1113. System.out.println("User '" + session.getUserName()
  1114. + "' has logged out!");
  1115. }
  1116.  
  1117. private static LoginAPI getLoginAPI() throws BonitaException {
  1118. return TenantAPIAccessor.getLoginAPI();
  1119. }
  1120.  
  1121. private static PlatformLoginAPI getPlaformLoginAPI() throws BonitaException {
  1122. return PlatformAPIAccessor.getPlatformLoginAPI();
  1123. }
  1124.  
  1125. private static PlatformAPI getPlatformAPI(PlatformSession platformSession)
  1126. throws BonitaException {
  1127. return PlatformAPIAccessor.getPlatformAPI(platformSession);
  1128. }
  1129.  
  1130. private static IdentityAPI getIdentityAPI(APISession session)
  1131. throws BonitaException {
  1132. return TenantAPIAccessor.getIdentityAPI(session);
  1133. }
  1134.  
  1135. private static ProcessAPI getProcessAPI(APISession session)
  1136. throws BonitaException {
  1137. return TenantAPIAccessor.getProcessAPI(session);
  1138. }
  1139.  
  1140. /**
  1141. * Deploy a data source
  1142. */
  1143. private static void deployDataSource() {
  1144. springContext = new ClassPathXmlApplicationContext("engine.cfg.xml");
  1145. }
  1146.  
  1147. /**
  1148. * Undeploy the data source
  1149. */
  1150. private static void undeployDataSource() {
  1151. springContext.close();
  1152. }
  1153.  
  1154. }

Test 1: Complete with platform messages etc.

  1. bonitaHome = E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita
  2. Feb 11, 2015 1:10:45 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
  3. INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@27adc5f7: startup date [Wed Feb 11 13:10:45 AST 2015]; root of context hierarchy
  4. Feb 11, 2015 1:10:46 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  5. INFO: Loading XML bean definitions from class path resource [engine.cfg.xml]
  6. Feb 11, 2015 1:10:47 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  7. INFO: Loading XML bean definitions from class path resource [jdbc-h2.xml]
  8. Feb 11, 2015 1:10:47 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  9. INFO: Loading XML bean definitions from class path resource [bitronix.xml]
  10. Feb 11, 2015 1:10:47 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  11. INFO: Loading XML bean definitions from class path resource [datasource.xml]
  12. Feb 11, 2015 1:10:48 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  13. INFO: Loading XML bean definitions from class path resource [jndi-setup.xml]
  14. Feb 11, 2015 1:10:49 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
  15. INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1950ad73: defining beans [driverProperties,xaDataSourceClass,driverClass,btm1,btm2,removeBtmFiles,btmConfig,BitronixTransactionManager,bonitaDataSource,bonitaSequenceManagerDataSource,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,jndiMapping,jndiTemplate,jndiSetup,defineSysprops]; root of factory hierarchy
  16. File 'target/bonita-bt1.tlog' has been successfully deleted
  17. File 'target/bonita-bt2.tlog' has been successfully deleted
  18. SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
  19. SLF4J: Defaulting to no-operation (NOP) logger implementation
  20. SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
  21. Binding java:comp/env/bonitaDS @ a PoolingDataSource containing an XAPool of resource java:comp/env/bonitaDS with 1 connection(s) (1 still available)
  22. Binding java:comp/env/bonitaSequenceManagerDS @ JDBC URL = jdbc:h2:mem:bonita;LOCK_MODE=0;MVCC=TRUE;DB_CLOSE_ON_EXIT=TRUE;IGNORECASE=TRUE;, Username = sa, partitions = 1, max (per partition) = 2, min (per partition) = 1, helper threads = 3, idle max age = 240 min, idle test period = 60 min
  23. Binding java:comp/UserTransaction @ a BitronixTransactionManager with 0 in-flight transaction(s)
  24. Feb 11, 2015 1:10:55 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
  25. INFO: Refreshing org.bonitasoft.engine.service.impl.AbsoluteFileSystemXmlApplicationContext@54bc9cb5: startup date [Wed Feb 11 13:10:55 AST 2015]; root of context hierarchy
  26. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  27. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\sessionaccessor\cfg-bonita-sessionaccessor-threadlocal.xml]
  28. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
  29. INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@d1c98c5: defining beans [sessionAccessor]; root of factory hierarchy
  30. Feb 11, 2015 1:10:55 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
  31. INFO: Refreshing org.bonitasoft.engine.service.impl.AbsoluteFileSystemXmlApplicationContext@7dcf4470: startup date [Wed Feb 11 13:10:55 AST 2015]; parent: org.bonitasoft.engine.service.impl.AbsoluteFileSystemXmlApplicationContext@54bc9cb5
  32. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  33. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-actor-mapping-impl-hibernate.xml]
  34. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  35. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-archive-configuration.xml]
  36. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  37. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-business-application-model-impl.xml]
  38. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  39. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-cache-configurations.xml]
  40. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  41. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-cache.xml]
  42. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  43. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-category-model-impl-hibernate.xml]
  44. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  45. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-classloader-impl.xml]
  46. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  47. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-command-model-impl-hibernate.xml]
  48. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  49. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-data-instance-model-impl-hibernate.xml]
  50. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  51. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-delete-impl.xml]
  52. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  53. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-dependency-model-impl-hibernate.xml]
  54. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  55. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-dependency-platform-impl.xml]
  56. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  57. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-dependency-platform-model-impl-hibernate.xml]
  58. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  59. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-document-model-impl-hibernate.xml]
  60. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  61. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-ds.xml]
  62. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  63. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-events-api-impl.xml]
  64. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  65. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-external-identity-mapping-impl-hibernate.xml]
  66. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  67. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-identity-model-impl-hibernate.xml]
  68. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  69. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-incident.xml]
  70. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  71. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-lock.xml]
  72. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  73. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-log-impl.xml]
  74. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  75. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-log-model-impl-hibernate.xml]
  76. Feb 11, 2015 1:10:55 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  77. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-log-technical-slf4j.xml]
  78. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  79. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-node-configuration.xml]
  80. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  81. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-persistence-db.xml]
  82. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  83. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-persistence-hibernate.xml]
  84. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  85. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-platform-api-impl.xml]
  86. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  87. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-platform-authentication-impl.xml]
  88. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  89. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-platform-command-api-impl.xml]
  90. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  91. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-platform-command-model-impl-hibernate.xml]
  92. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  93. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-platform-login-impl.xml]
  94. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  95. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-platform-model-impl-hibernate.xml]
  96. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  97. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-platform-session-impl.xml]
  98. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  99. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-platform-session-provider.xml]
  100. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  101. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-process-comment-model-impl-hibernate.xml]
  102. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  103. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-process-definition-model-impl-hibernate.xml]
  104. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  105. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-process-instance-model-impl-hibernate.xml]
  106. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  107. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-profile-model-impl-hibernate.xml]
  108. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  109. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-scheduler-impl-hibernate.xml]
  110. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  111. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-scheduler-quartz-factory.xml]
  112. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  113. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-scheduler-quartz.xml]
  114. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  115. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-sequence-impl.xml]
  116. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  117. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-session-impl.xml]
  118. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  119. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-session-provider.xml]
  120. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  121. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-supervisor-mapping-impl-hibernate.xml]
  122. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  123. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-synchro.xml]
  124. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  125. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-theme-model-impl-hibernate.xml]
  126. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  127. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\cfg-bonita-transaction-api-impl.xml]
  128. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  129. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\services\platform-cfg.xml]
  130. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  131. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-actor-mapping-model-impl.xml]
  132. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  133. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-archive-model-impl.xml]
  134. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  135. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-data-instance-model-impl.xml]
  136. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  137. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-dependency-model-impl.xml]
  138. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  139. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-dependency-platform-model-impl.xml]
  140. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  141. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-document-model-impl.xml]
  142. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  143. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-external-identity-mapping-model-impl.xml]
  144. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  145. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-identity-model-impl.xml]
  146. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  147. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-log-model-impl.xml]
  148. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  149. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-page-model-impl.xml]
  150. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  151. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-platform-command-model-impl.xml]
  152. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  153. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-platform-model-impl.xml]
  154. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  155. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-process-comment-model-impl.xml]
  156. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  157. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-process-definition-model-impl.xml]
  158. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  159. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-process-instance-model-impl.xml]
  160. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  161. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-profile-model-impl.xml]
  162. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  163. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-reporting-model-impl.xml]
  164. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  165. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-scheduler-quartz-model.xml]
  166. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  167. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-supervisor-mapping-model-impl.xml]
  168. Feb 11, 2015 1:10:56 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  169. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\model\cfg-bonita-theme-model-impl.xml]
  170. Feb 11, 2015 1:10:57 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
  171. INFO: Loading properties file from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\bonita-platform.properties]
  172. Feb 11, 2015 1:10:57 PM org.springframework.core.io.support.PropertiesLoaderSupport loadProperties
  173. INFO: Loading properties file from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\platform\conf\jdbc-h2.xml]
  174. Feb 11, 2015 1:10:57 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
  175. INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@19f86c05: defining beans [hbm-bos-actor-mapping,archivingStrategy,db-bonita-business-application-model,cacheConfigurations,connectorCacheConfig,processDefCacheConfig,userFilterCacheConfig,migrationPlanCacheConfig,breakpointCacheConfig,groovyScriptCacheConfig,synchroServiceCacheConfig,transientDataCacheConfig,platformCacheConfig,cacheService,platformCacheService,db-bos-category-model,hbm-bos-category-model,parentClassLoaderResolver,classLoaderService,db-bos-command-model,hbm-bos-command-model,hbm-bos-data-instance-model,hbm-bos-data-instance-model-arch,deleteService,hbm-bonita-dependency-model,platformDependencyService,hbm-bonita-dependency-platform-model,hbm-bonita-document-model,jndiTemplate,bonitaSequenceManagerDSJNDI,eventService,hbm-bos-external-identity-mapping,hbm-bonita-identity-model,incidentService,lockService,queriableLoggerStrategy,syncQueriableLoggerService,hbm-bonita-log-model,platformTechnicalLoggerService,nodeConfiguration,jobLogCreator,jdbcJobListener,loggerJobListener,schedulerServiceRestartHandler,dbConfigurationsProvider,sequencecripts,platformPersistenceService,persistenceService,journalConfigurationProvider,hbmResourcesConfigurationProvider,platformService,platformProperties,platformAuthenticationService,platformCommandService,hbm-bos-platform-command-model,platformLoginService,hbm-bonita-platform-model,platformSessionService,platformSessionProvider,hbm-bos-process-comment-model,hbm-bos-process-comment-model-arch,hbm-bonita-process-definition-model,hbm-bonita-process-instance-model,hbm-bonita-process-instance-model-arch,hbm-bos-profile-model,hbm-bonita-scheduler,quartzSchedulerFactory,quartzProperties,schedulerExecutor,jobService,scheduler,servicesResolver,sequenceManager,sessionService,sessionProvider,hbm-bos-supervisor-mapping,synchroService,hbm-bos-theme-model,transactionManager,transactionService,dbProperties,queriableLogSessionProvider,platformRecorderSync,tenantRecorderSyncForPlatform,parserFactory,xmlValidatorFactory,xmlValidator,xmlWriter,transactionExecutor,db-bos-actor-mapping,definitiveArchiveDescriptor,db-bos-data-instance-model,db-bos-data-instance-model-arch,db-bonita-dependency-model,db-bonita-dependency-platform-model,db-bonita-document-model,db-bonita-document-model-arch,db-bos-external-identity-mapping,db-bonita-identity-model,db-bonita-log,db-bonita-page-model,db-bos-platform-command-model,db-bonita-platform-model,db-bos-process-comment-model,db-bos-process-comment-model-arch,db-bonita-process-definition-model,db-bonita-process-instance-model,db-bonita-process-instance-model-arch,db-bos-profile-model,db-bonita-reporting-model,db-bonita-scheduler-quartz,db-bonita-scheduler,db-bos-supervisor-mapping,db-bos-theme-model]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@d1c98c5
  176. Feb 11, 2015 1:10:57 PM org.hibernate.annotations.common.Version <clinit>
  177. INFO: HCANN000001: Hibernate Commons Annotations {4.0.2.Final}
  178. Feb 11, 2015 1:10:58 PM org.hibernate.Version logVersion
  179. INFO: HHH000412: Hibernate Core {4.2.13.Final}
  180. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Environment <clinit>
  181. INFO: HHH000206: hibernate.properties not found
  182. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Environment buildBytecodeProvider
  183. INFO: HHH000021: Bytecode provider name : javassist
  184. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  185. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/instance/model/impl/hibernate/process.instance.queries.hbm.xml
  186. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  187. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/command/model/impl/hibernate/command.queries.hbm.xml
  188. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  189. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/identity/model/impl/hibernate/identity.queries.hbm.xml
  190. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  191. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/category/model/impl/hibernate/category.hbm.xml
  192. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  193. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/document/model/impl/hibernate/document.hbm.xml
  194. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  195. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/comment/model/impl/hibernate/archive.comment.hbm.xml
  196. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  197. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/platform/model/impl/hibernate/platform.hbm.xml
  198. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  199. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/scheduler/impl/hibernate/schedulerimpl.queries.hbm.xml
  200. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  201. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/data/instance/model/impl/hibernate/data.instance.hbm.xml
  202. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  203. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/dependency/model/impl/hibernate/platform-dependency.hbm.xml
  204. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  205. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/platform/model/impl/hibernate/platform.queries.hbm.xml
  206. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  207. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/data/instance/model/impl/hibernate/data.instance.queries.hbm.xml
  208. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  209. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/definition/model/impl/hibernate/process.definition.queries.hbm.xml
  210. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  211. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/data/instance/model/impl/hibernate/archived.data.instance.queries.hbm.xml
  212. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  213. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/command/model/impl/hibernate/command.hbm.xml
  214. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  215. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/scheduler/impl/hibernate/schedulerimpl.hbm.xml
  216. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  217. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/profile/model/impl/hibernate/profile.queries.hbm.xml
  218. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  219. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/comment/model/impl/hibernate/comment.hbm.xml
  220. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  221. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/data/instance/model/impl/hibernate/archived.data.instance.hbm.xml
  222. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  223. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/theme/model/impl/hibernate/theme.hbm.xml
  224. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  225. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/external/identity/mapping/model/impl/hibernate/external.identity.mapping.queries.hbm.xml
  226. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  227. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/theme/model/impl/hibernate/theme.queries.hbm.xml
  228. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  229. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/document/model/impl/hibernate/archive.document.queries.hbm.xml
  230. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  231. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/dependency/model/impl/hibernate/dependency.queries.hbm.xml
  232. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  233. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/document/model/impl/hibernate/document.queries.hbm.xml
  234. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  235. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/instance/model/impl/hibernate/archived.process.instance.hbm.xml
  236. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  237. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/supervisor/mapping/model/impl/hibernate/supervisor.queries.hbm.xml
  238. Feb 11, 2015 1:10:58 PM org.hibernate.cfg.Configuration addResource
  239. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/external/identity/mapping/model/impl/hibernate/external.identity.mapping.hbm.xml
  240. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  241. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/platform/command/model/impl/hibernate/platformCommand.queries.hbm.xml
  242. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  243. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/queriablelogger/model/impl/hibernate/queriablelogger.queries.hbm.xml
  244. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  245. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/dependency/model/impl/hibernate/platform-dependency.queries.hbm.xml
  246. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  247. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/dependency/model/impl/hibernate/dependency.hbm.xml
  248. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  249. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/identity/model/impl/hibernate/identity.hbm.xml
  250. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  251. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/instance/model/impl/hibernate/process.instance.hbm.xml
  252. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  253. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/actor/mapping/model/impl/hibernate/actor.hbm.xml
  254. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  255. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/queriablelogger/model/impl/hibernate/queriablelogger.hbm.xml
  256. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  257. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/document/model/impl/hibernate/archive.document.hbm.xml
  258. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  259. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/comment/model/impl/hibernate/archive.comment.queries.hbm.xml
  260. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  261. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/supervisor/mapping/model/impl/hibernate/supervisor.hbm.xml
  262. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  263. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/definition/model/impl/hibernate/process.definition.hbm.xml
  264. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  265. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/platform/command/model/impl/hibernate/platformCommand.hbm.xml
  266. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  267. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/profile/model/impl/hibernate/profile.hbm.xml
  268. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  269. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/actor/mapping/model/impl/hibernate/actor.queries.hbm.xml
  270. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  271. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/comment/model/impl/hibernate/comment.queries.hbm.xml
  272. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  273. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/category/model/impl/hibernate/category.queries.hbm.xml
  274. Feb 11, 2015 1:10:59 PM org.hibernate.cfg.Configuration addResource
  275. INFO: HHH000221: Reading mappings from resource: org/bonitasoft/engine/core/process/instance/model/impl/hibernate/archived.process.instance.queries.hbm.xml
  276. Feb 11, 2015 1:11:00 PM org.hibernate.dialect.Dialect <init>
  277. INFO: HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
  278. Feb 11, 2015 1:11:00 PM org.hibernate.engine.transaction.internal.TransactionFactoryInitiator initiateService
  279. INFO: HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
  280. Feb 11, 2015 1:11:00 PM org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>
  281. INFO: HHH000397: Using ASTQueryTranslatorFactory
  282. Feb 11, 2015 1:11:14 PM org.hibernate.dialect.Dialect <init>
  283. INFO: HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
  284. Feb 11, 2015 1:11:14 PM org.hibernate.engine.transaction.internal.TransactionFactoryInitiator initiateService
  285. INFO: HHH000268: Transaction strategy: org.hibernate.engine.transaction.internal.jta.CMTTransactionFactory
  286. Feb 11, 2015 1:11:14 PM org.hibernate.hql.internal.ast.ASTQueryTranslatorFactory <init>
  287. INFO: HHH000397: Using ASTQueryTranslatorFactory
  288. Feb 11, 2015 1:11:14 PM org.hibernate.type.TypeFactory$TypeScopeImpl injectSessionFactory
  289. WARN: HHH000233: Scoping types to session factory org.hibernate.internal.SessionFactoryImpl@79cf5c86 after already scoped org.hibernate.internal.SessionFactoryImpl@1cc39fe4
  290. Creating and initializing the platform ...
  291. SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
  292. SLF4J: Defaulting to no-operation MDCAdapter implementation.
  293. SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for further details.
  294. Feb 11, 2015 1:11:26 PM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
  295. WARN: SQL Error: 42102, SQLState: 42S02
  296. Feb 11, 2015 1:11:26 PM org.hibernate.engine.jdbc.spi.SqlExceptionHelper logExceptions
  297. ERROR: Table "PLATFORM" not found; SQL statement:
  298. select splatformi0_.id as id1_33_, splatformi0_.created as created2_33_, splatformi0_.createdBy as createdB3_33_, splatformi0_.initialVersion as initialV4_33_, splatformi0_.previousVersion as previous5_33_, splatformi0_.version as version6_33_ from platform splatformi0_ limit ? [42102-170]
  299. Feb 11, 2015 1:11:27 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
  300. INFO: Refreshing org.bonitasoft.engine.service.impl.AbsoluteFileSystemXmlApplicationContext@1fe3e55d: startup date [Wed Feb 11 13:11:27 AST 2015]; parent: org.bonitasoft.engine.service.impl.AbsoluteFileSystemXmlApplicationContext@7dcf4470
  301. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  302. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-actor-mapping-impl.xml]
  303. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  304. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-archive-impl.xml]
  305. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  306. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-authentication-impl.xml]
  307. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  308. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-category-impl.xml]
  309. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  310. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-command-api-impl.xml]
  311. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  312. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-connector-impl.xml]
  313. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  314. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-connector-service-api-impl.xml]
  315. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  316. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-data-instance-api-impl.xml]
  317. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  318. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-data-transient.xml]
  319. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  320. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-dependency-impl.xml]
  321. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  322. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-document-impl.xml]
  323. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  324. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-events-api-impl.xml]
  325. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  326. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-expression-api-impl.xml]
  327. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  328. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-expression-resolver.xml]
  329. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  330. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-external-identity-mapping-impl.xml]
  331. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  332. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-identity-impl.xml]
  333. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  334. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-log-impl.xml]
  335. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  336. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-log-technical-slf4j.xml]
  337. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  338. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-login.xml]
  339. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  340. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-permission.xml]
  341. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  342. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-process-comment-api-impl.xml]
  343. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  344. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-process-definition-impl.xml]
  345. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  346. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-process-instance-impl-ext.xml]
  347. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  348. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-process-instance-impl.xml]
  349. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  350. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-profile-impl.xml]
  351. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  352. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-supervisor-mapping-impl.xml]
  353. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  354. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-tenant-configuration.xml]
  355. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  356. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-theme-impl.xml]
  357. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  358. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-time-tracker.xml]
  359. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  360. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-user-filter-impl.xml]
  361. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  362. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-work-factory.xml]
  363. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  364. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bonita-work-impl.xml]
  365. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  366. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg-bos-operation-api-impl.xml]
  367. Feb 11, 2015 1:11:27 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
  368. INFO: Loading XML bean definitions from file [E:\Bonita 641\BonitaBPMCommunity-6.4.1-Tomcat-7.0.55\bonita\server\tenants\1\conf\services\cfg.xml]
  369. Feb 11, 2015 1:11:28 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
  370. INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@3401287f: defining beans [actorMappingService,archiveService,authenticationService,categoryService,commandService,defaultCommandProvider,canStartProcessDefinition,isInvolvedInHumanTask,isUserProcessSupervisor,createSupervisor,getSupervisor,deleteSupervisor,searchProcessSupervisors,importProfiles,executeActionsAndTerminate,isAllowedToStartProcess,isAllowedToSeeOverviewForm,isAllowedToSeeInstanciationForm,searchAssignedTasksSupervisedBy,searchArchivedTasksSupervisedBy,getUpdatedVariableValuesForProcessDefinition,getUpdatedVariableValuesForActivityInstance,getUpdatedVariableValuesForProcessInstance,searchProcessDefinitionsSupervisedBy,searchSCommentSupervisedBy,isAllowedToStartProcesses,addEntityMemberCommand,removeEntityMemberCommand,searchEntityMembersCommand,searchEntityMembersForUserCommand,deleteEntityMembersCommand,searchWaitingEventsCommand,advancedStartProcessCommand,connectorExecutor,connectorServiceSub,connectorService,connectorInstanceService,dataInstanceService,dataExpressionExecutorStrategy,transientDataService,transientDataExpressionExecutorStrategy,dependencyService,documentService,documentURLProvider,eventService,expressionService,expressionExecutorStrategyProvider,constantExpressionExecutorStrategy,groovyScriptExpressionExecutorStrategy,inputExpressionExecutorStrategy,patternExpressionExecutorStrategy,xPathReadExpressionExecutorStrategy,engineConstantExpressionExecutorStrategy,listExpressionExecutorStrategy,conditionExpressionExecutorStrategy,javaMethodCallExpressionExecutorStrategy,expressionResolverService,externalIdentityMappingService,identityService,queriableLoggerStrategy,syncQueriableLoggerService,tenantTechnicalLoggerService,loginService,permissionService,commentService,processDefinitionManager,activityInstanceService,processInstanceService,tokenService,gatewayInstanceService,transitionService,eventInstanceService,profileService,supervisorMappingService,tenantConfiguration,timerEventTriggerJobListener,themeService,timeTracker,userFilterService,userFilterServiceSub,bonitaExecutorServiceFactory,workService,operationService,operationExecutorStrategyProvider,leftOperandHandlerProvider,assignmentOperationExecutorStrategy,dataLeftOperandHandler,transientDataLeftOperandHandler,externalDataLeftOperandHandler,javaMethodOperationExecutorStrategy,xpathUpdateQueryOperationExecutorStrategy,documentLeftOperandHandler,documentListLeftOperandHandler,queriableLogSessionProvider,tenantRecorderSync,searchEntitiesDescriptor,flowNodeExecutor,containerRegistry,bpmInstancesCreator,flowNodeStateManager,eventsHandler,processExecutor,transactionalProcessInstanceInterruptor,documentReferenceExpressionExecutorStrategy,documentListReferenceExpressionExecutorStrategy,dependencyResolver]; parent: org.springframework.beans.factory.support.DefaultListableBeanFactory@19f86c05
  371.  
  372. Platform created and initialized!
  373. Starting node ...
  374. Node started!
  375. Waiting 10
  376. Waiting 9
  377. Waiting 8
  378. Waiting 7
  379. Waiting 6
  380. Waiting 5
  381. Waiting 4
  382. Waiting 3
  383. Waiting 2
  384. Waiting 1
  385. User 'install' has logged in!
  386. Created user 'walter.bates'.
  387. User 'install' has logged out!
  388. Trace - Listthedeployedprocesses: In
  389. User 'walter.bates' has logged in!
  390. Trace - Listthedeployedprocesses: processAPI
  391. Trace - Listthedeployedprocesses: SearchOptions
  392. Trace - Listthedeployedprocesses: SearchResult
  393. Trace - Listthedeployedprocesses: for count: 0
  394. User 'walter.bates' has logged out!
  395. Trace - Listthedeployedprocesses: Out
  396. Trace - Deployaprocessfromabarfile: In
  397. User 'walter.bates' has logged in!
  398.  
  399. Trace - getDocumentDefinition: null
  400.  
  401. Trace - getDocumentDefinition: createNewInstance
  402.  
  403. Trace - getDocumentDefinition: setContentMimeType
  404.  
  405. Trace - getDocumentDefinition: setDescription
  406.  
  407. Trace - getDocumentDefinition: setFileName
  408.  
  409. Trace - getDocumentDefinition: done
  410.  
  411. Trace - getDocumentDefinition: Out
  412.  
  413. Trace - Deployaprocessfromabarfile: BusinessArchive
  414. Trace - Deployaprocessfromabarfile: ProcessDefinition
  415. Trace - Deployaprocessfromabarfile: ProcessDefinition.id
  416.  
  417. id 9658452154845623153
  418. name gubeSendMail
  419. version 1.63
  420.  
  421. User 'walter.bates' has logged out!
  422. Trace - Deployaprocessfromabarfile: Out
  423. Completed sucessfully!!!
  424. User 'install' has logged in!
  425. Deleted user 'walter.bates'.
  426. User 'install' has logged out!
  427. deleteUser Completed sucessfully!!!
  428. Stopping node ...
  429. Node stopped!
  430. Cleaning and deleting the platform ...
  431. Platform cleaned and deleted!
  432. deletePlatform Completed sucessfully!!!
  433.  
  434. Feb 11, 2015 1:11:32 PM org.springframework.context.support.AbstractApplicationContext doClose
  435. INFO: Closing org.springframework.context.support.ClassPathXmlApplicationContext@27adc5f7: startup date [Wed Feb 11 13:10:45 AST 2015]; root of context hierarchy
  436. Unbinding java:comp/env/bonitaDS
  437. Feb 11, 2015 1:11:32 PM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
  438. INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1950ad73: defining beans [driverProperties,xaDataSourceClass,driverClass,btm1,btm2,removeBtmFiles,btmConfig,BitronixTransactionManager,bonitaDataSource,bonitaSequenceManagerDataSource,org.springframework.beans.factory.config.MethodInvokingFactoryBean#0,jndiMapping,jndiTemplate,jndiSetup,defineSysprops]; root of factory hierarchy
  439. Unbinding java:comp/env/bonitaSequenceManagerDS
  440. Unbinding java:comp/UserTransaction
  441. undeployDataSource Completed sucessfully!!!
  442. Program execution Completed!!!
  443. Unable to delete the directory: C:\Users\SEANMC~1\AppData\Local\Temp\tempBarFolder_27408@Mainframe_1423649490450

Test 2: Reduced - no platform messages

  1. Platform created and initialized!
  2. Starting node ...
  3. Node started!
  4. Waiting 10
  5. Waiting 9
  6. Waiting 8
  7. Waiting 7
  8. Waiting 6
  9. Waiting 5
  10. Waiting 4
  11. Waiting 3
  12. Waiting 2
  13. Waiting 1
  14. User 'install' has logged in!
  15. Created user 'walter.bates'.
  16. User 'install' has logged out!
  17. Trace - Listthedeployedprocesses: In
  18. User 'walter.bates' has logged in!
  19. Trace - Listthedeployedprocesses: processAPI
  20. Trace - Listthedeployedprocesses: SearchOptions
  21. Trace - Listthedeployedprocesses: SearchResult
  22. Trace - Listthedeployedprocesses: for count: 0
  23. User 'walter.bates' has logged out!
  24. Trace - Listthedeployedprocesses: Out
  25. Trace - Deployaprocessfromabarfile: In
  26. User 'walter.bates' has logged in!
  27.  
  28. Trace - getDocumentDefinition: null
  29.  
  30. Trace - getDocumentDefinition: createNewInstance
  31.  
  32. Trace - getDocumentDefinition: setContentMimeType
  33.  
  34. Trace - getDocumentDefinition: setDescription
  35.  
  36. Trace - getDocumentDefinition: setFileName
  37.  
  38. Trace - getDocumentDefinition: done
  39.  
  40. Trace - getDocumentDefinition: Out
  41.  
  42. Trace - Deployaprocessfromabarfile: BusinessArchive
  43. Trace - Deployaprocessfromabarfile: ProcessDefinition
  44. Trace - Deployaprocessfromabarfile: ProcessDefinition.id
  45.  
  46. id 5436495187650375902
  47. name gubeSendMail
  48. version 1.63
  49.  
  50. User 'walter.bates' has logged out!
  51. Trace - Deployaprocessfromabarfile: Out
  52. Completed sucessfully!!!
  53. User 'install' has logged in!
  54. Deleted user 'walter.bates'.
  55. User 'install' has logged out!
  56. deleteUser Completed sucessfully!!!
  57. Stopping node ...
  58. Node stopped!
  59. Cleaning and deleting the platform ...
  60. Platform cleaned and deleted!
  61. deletePlatform Completed sucessfully!!!

Problem 1)

In test 1 we deployed the process but in Test 2 at the start it does NOT list the process from the previous run...it seems when the platform died, it killed off the process. Which it should not do even if it is not Actored or Enabled - it should Stay there as Disabled.

Problem 2)

In Test 2, consequent of Test 1 results, the program should NOT have been able to deploy the process the second time. What happened to the process, it's not deleted by the code, so, where is it?

Thanks and regards Seán

No answers yet.
Testing
Notifications