Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Bonita Open Solution 5.x Essentials

You're reading from   Bonita Open Solution 5.x Essentials Developing applications using Bonita Open Solution means you can model business processes in a workflow, and this book teaches you all the fundamentals by taking you through the entire development cycle.

Arrow left icon
Product type Paperback
Published in Nov 2013
Publisher Packt
ISBN-13 9781782167082
Length 144 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Rohit Bhat Rohit Bhat
Author Profile Icon Rohit Bhat
Rohit Bhat
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Bonita Open Solution 5.x Essentials
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Installing and Getting Started with Bonita 2. Variable Types and Scope FREE CHAPTER 3. Creating and Customizing Web Forms 4. Conditions, Contingencies, and Transitions 5. Adding Connectors 6. Configuring the Page Flow 7. Customizing Look and Feel Deploying Bonita on a Server Index

Starting and shutting Tomcat


You need Java installed to run Tomcat as it runs on a JVM. If you have JDK installed along with the JAVA_HOME environment variable, you're all set. In the bin folder, there are two executable files, startup.bat and shutdown.bat, for Windows and startup.sh and shutdown.sh for Linux. These bat commands and shell scripts are used to start and shut down the Tomcat server. While starting up Tomcat, the environment variables are checked and set in setenv.bat or setenv.sh. You can add your own environment variables by modifying this script.

Let us run startup.bat and see what happens. After you execute the file, the Tomcat server starts up and you would be able to see the status of the server. It deploys all the Web applications it has and then the server starts up. If you check the webapps folder, you will see two war files: bonita.war and bonita-app.war.

These are the application files that are required for Bonita Open Solution to run on Tomcat. The first time you start up, it will take some time as Tomcat explodes the war into different folders. Subsequent startups of Tomcat will not take as much time as these two files would have already been exploded.

Figure 8.1: Starting Tomcat 6.0.35

Open up your browser and hit http://localhost:8080/. 8080 is the default port that is specified in the bundle. We will look at how to change this port later. The default Tomcat page opens up. You can read the information specified on this page as well as look at the examples provided by Tomcat if you're not familiar with servlets and JSPs.

Now, let us have a look at the Bonita application. The Bonita application was exploded in the Bonita folder. Hence, to access it, we need to hit http://localhost:8080/bonita. You will be redirected to a Bonita login page, the same page that you encounter when you log out of the Bonita studio while running the User Experience. Here, enter the admin credentials of admin and click on Log in. You will now be able to view the User Experience of Bonita. This User Experience is similar to the one that was available with Bonita Studio.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime