Detailed instructions for setting up your environment
There are a few steps you need to perform before you can use the BP Visualizer tool.
- Start the database engine
If you are using Derby,
run the following command line in the glassfish\bin folder
or from NetBeans Tools menu
start Java DB Database
- Setup a JDBC Resource Pool
In the Glassfish Admin Console tree frame, navigate to the Resources | JDBC | Connection Pools page and create a new connection pool.
- Setup a JDBC Resource
In the Glassfish Admin Console tree frame, navigate to Resources | JDBC | JDBC Resources. Click on the New button to create a JDBC Resource. Enter the required information as shown below.
- Configure the BPEL SE component
In the Glassfish Admin Console tree frame, navigate to the JBI| Components | sun-bpel-engine. Select the Configuration tab and click on the PersistenceEnabled checkbox. Also verify that the Database JNDIName matches the JDBC Resource specified in the previous step.
- Restart the BPEL SE component
In the Glassfish Admin Console tree frame, navigate to the JBI | Components. Invoke the Stop
Design Time Setup
- Creating Simple Variables
Create or open an existing composite application BPEL process. In the BPEL navigator window, add your monitoring variables. Currently, only simple XSD types are supported (String, Number integer,long,decimal,short,double,int, Boolean, Date).
Use the BPEL Mapper to map your simple variables. Click in the Assign
node in the BPEL Process to open the BPEL Mapper.
Map your input data into the simple variables - see sample screen below
- Deploy your composite application
- Visualize your data
Use the BP Visualizer to plot/graph your data. Open a browser and enter the URL http://localhost:8080/cam
Navigate to a BPEL Service Unit on the tree to access the BP Visualizer.