- webc - WAR for ordinary Web containers (Servlet)
- ee10 - WAR for Jakarta EE containers like JBoss EAP or WildFly
- Deploy the WAR file into your web container.
-
Create a user with the role of
kie-serveron the container. Check the section below for the guidelines for your container. -
Test that you can access KIE Server by navigating to the endpoint in a browser window:
http://SERVER:PORT/CONTEXT/services/rest/server/. - When prompted for user name/password, type in the user name and password that you created.
-
Once authenticated, you will see an XML response in the form of KIE Server status, similar to this:
Sample handshaking server response
Installation details for different containers
Tomcat
-
Download and unzip the Tomcat distribution. Let’s call the root of the distribution
TOMCAT_HOME. -
Download kie-server-…-webc.war and place it into
TOMCAT_HOME/webapps. -
Configure user(s) and role(s). Make sure that the file
TOMCAT_HOME/conf/tomcat-users.xmlcontains the following user name and role definition. You can choose a different user name and password, just make sure that the user has the rolekie-server:User name and role definition for Tomcat -
Start the server by running
TOMCAT_HOME/bin/startup.[sh|bat]. You can check out the Tomcat logs inTOMCAT_HOME/logsto see if the application deployed successfully. See the KIE Server system properties table for the bootstrap switches that can be used to properly configure the instance. For instance: -
Verify the server is running. Go to
http://SERVER:PORT/CONTEXT/services/rest/server/and type the specified user name and password. You should see a simple XML message with basic information about the server.
ImportantYou cannot leverage the JMS interface when running with Tomcat, or any other Web
container. The Web container version of the WAR contains only the REST interface.
WildFly
-
Download and unzip the WildFly distribution. Let’s call the root of the distribution
WILDFLY_HOME. -
Download kie-server-…-ee.war and place it into
WILDFLY_HOME/standalone/deployments. -
Configure users and roles by executing the following command:
You can choose a different user name and password, just make sure that the user has the role
kie-server. -
Start the server by running
WILDFLY_HOME/bin/standalone.[sh|bat] -c standalone-full.xml <bootstrap_switches>. You can check out the standard output or WildFly logs inWILDFLY_HOME/standalone/logsto see if the application deployed successfully. See the KIE Server system properties table for the bootstrap switches that can be used to properly configure the instance. For instance: -
Verify the server is running. Go to
http://SERVER:PORT/CONTEXT/services/rest/server/and type the specified user name and password. You should see a simple XML message with basic information about the server.