To get started with bonita I followed the travel tool implementation video at https://www.youtube.com/watch?v=fxmVQ84k0EM
Everything went fine but after deploying the project when clicking the ‘Create new travel request’ a server 500 error is reported.
Analyzing the engine’s log file points out two things:
AVERTISSEMENT: org.bonitasoft.livingapps.LivingApplicationPageServlet Error while trying to render the application page custompage_TravelTool
GRAVE: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita].[livingApplicationPageServlet] Servlet.service() for servlet [livingApplicationPageServlet] in context with path [/bonita] threw exception [La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte] with root
I cannot figure out what is this syntax error as everything was named following the instructions in the video and the exception doesn’t precisely tells whether it is regarding a file, directory or volume.
The button url is copied from the documentation and the pool seems correctly named ‘Travel Request’ : “/bonita/portal/resource/process/Travel%20Request/1.0/content/?id=”+processDef[0].id
I did the same mistake of the quotation mark in the start of the URL. Remove the quotation mark from the start and it will work.
Change :
“/bonita/portal/resource/process/Travel%20Request/1.0/content/?id=”+processDef[0].id
To :
/bonita/portal/resource/process/Travel%20Request/1.0/content/?id="+processDef[0].id
I am new to Bonita.
What do you mean by ‘project’, the zip exported from the UI Designer or some other parts from the tomcat temp directory?
By the way I might not have looked well enough but I do not see how to add files/dir to share with other members, it seems only text can be typed.
Thanx
Your solution will actually fail when you try to click on the button to submit on the instantiation form of the “Travel request” process.
Process name and version in the URL are enough to load the instantiation form of a process. But submit button in the instantiation form use the process definition id provided as URL parameter to start a process instance. So id parameter is mandatory when the instantiation form is submitted.
Bonitasoft empowers development teams with Bonita, the open-source and extensible platform to solve the most demanding process automation use cases. The Bonita platform accelerates delivery of complex applications with clear separation between capabilities for visual programming and for coding. Bonita integrates with existing solutions, orchestrates heterogeneous systems, and provides deep visibility into processes across the organization.