In the previous post I showed how we can create the process until the call HumanTask within the BPEL, here I explain step by step how you should deploy and how do we test our process.
See the links below to check the other parts:
- Creating a HumanTask in BPEL – Part 1: Creating the process
- Creating a HumanTask in BPEL – Part 2: Deployando and testing process
Click the right button then on top of your HumanTaskBpel project, then click Deploy and choice HumanTaskBpel…
Click below Next >
Below check the overwrite any existing composites with the same revision ID and uncheck Keep running instances on after redeployment and click Next >
Just click below Next >
Below check your domain, in my case this named localhost and click Next
Click Next Again
Then click Finish
Wait for the Deployment Come guide the message
—- Deployment finished. —-
Now click your HumanTaskBpelWEB design and logo up on my Application click Deploy and then HumanTaskBpelWEB…
Note: Here be aware that the web projects can not do a normal deployment where we deploy by clicking the right button as the WEB projects must be made via deploy Application, ie, the Application menu
Click below Next >
Below check your domain, in my case this to localhost name and click Next
Click below Next >
Now click Finish
Will be presented the following screen, then place the following:
- Repository Name: mds-soa
- Partition Name: soa-infra
- Respository: mds-soa
- Partition: soa-infra
Then click Deploy
If the message below click Yes
Wait for the Deployment Come guide the message
—- Deployment finished. —-
Let us now test our process.
In your browser go to the address http://localhost:10000/em
Note: The port 10000 is the number that chose to create my domain.
Login, click on your project: HumanTaskBpel [1.0] and click Testar
Below is passing the value 7 is the number of my employee code which the process will search in my database
In the upper right corner of the screen, then click Testar Web Service
Now in your browser go to the address http://localhost:10000/integration/worklistapp/faces/login.jspx
Note: The port 10000 is the number that chose to create my domain.
Login to the weblogic user that was what defined in HumanTask and see our Task created
Then click on the Task and see below for our screen fields filled with the result of our select.
Doubts ? Leave your comment
Hugs and see you next
/:-D
Juan Pablo Lozano said:
Nice article bro! you know, i am trying to deploy de Web UI part to a different domain and got differents errors refered to a JNDI :'( you know how to deploy the Web UI part in different domain???
Thank you very much!
A big hug 😀
Uans said:
Hello john
I’m glad you liked the Article, I believe that JNDI errors are directly linked to configuration issues in the database with your domain .. take a look at the BPEL Console (localhost: port / console) and double-check your settings Database, especially as it relates to XA and NonXa connections .. of a deals on this in google.
To deploy WEB in different domains you can manually deploy the console to the left side of the screen by clicking Deployments.
Without seeing the problem up close is really a little difficult but I hope to be able to help in some way …
Then tell me if it all worked out …
Hugs
Uans