How can I deploy the process?

I developed a process and created a war package.
If you put it under the tomcat/webapp folder, you must restart tomcat to deploy.
This is too much trouble, there is no better way。
The files in the war package are: bpmn flow chart, html form, class file.
Can I deploy a zip package like Activiti?
I hope to help me answer, thanks!

There shouldn’t be any need to restart tomcat.
It would be unpacked and deployed after being dropped into the folder.

Sorry, I didn’t understand。
If the SpringBoot project how to deploy the process?
Starting with Java -jar xxx.jar, there is no webapp directory

You start up Springboot?
But you can’t find the webapps?
Is that your issue?

1 Like

Yes, where should I put the war package?

If you like to develop using spring boot, create the project as war module instead of jar and deploy it to tomcat/webapps folder.

Hope it helps your query.

Hi,

Its not clear to me what you want to do here.

  1. A SpringBoot web application which contains embedded tomcat to deploy a webapp.
  2. Enable SpringBoot application itself to deploy in an external Tomcat

For

  1. https://spring.io/guides/gs/spring-boot/#_create_a_simple_web_application and http://www.mkyong.com/spring-boot/spring-boot-hello-world-example-jsp/

  2. https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#build-tool-plugins-maven-packaging

This is also useful :http://www.mkyong.com/tutorials/spring-boot-tutorials/

Hope that helps

1 Like

Hi @techavidity,

please keep in mind that the current spring boot starter only officially supports executable jars with an embedded tomcat. Running it as a war module might work, but we don’t test this.

https://docs.camunda.org/manual/7.9/user-guide/spring-boot-integration/#supported-deployment-scenarios