Eric D. Schabell

Tuesday, October 25, 2011

jBPM Web Designer integrates jBPM Migration Tooling in the OpenShift Cloud

New migration feature
Last week the jBPM Web Designer screen-casted the release of a new version (well, a beta anyway) that includes some pretty neat features. The one we here in the jBPM Migration Project team are most proud of is that they have exposed the jBPM Migration Tooling!

paste in jpdl3.2 + gpd files
We thought it would be nice to provide a playground in the OpenShift Cloud for you the public to give it a try. Here are a few screenshots showing the designer, the import pop-up with a jBPM3.2 process definition and the corresponding gpd file containing positioning information and finally the migrtated BPMN2 process definition.

Here are the example jPDL and GPD sources so you can directly cut&paste them into the migration pop-up to test it:


jPDL3.2 process definition source


 
  
 

 
  
   A human task.
  
  
   
    A test task.
   
   
  
  
 

 



GPD location information source

  
    
      
  
  
    
      
  
  

You can't save the process, but you can view the source in various forms with the tabs at the bottom of the screen. Give the BPMN2 tab a try!

View source tabs

I will be presenting this and more on the current status of the jBPM Migration Project in London next week at JUDCon. The session is entitled, Launching into the future with jBPM Migration Project.

See you there? ;-)



Tuesday, October 18, 2011

London JBug - JBoss jBPM Night (slides)

I gave the talk entitled, JBoss jBPM, the future is now for all your Business Processes tonight for about 30 attendees. It was pretty interactive with the audience showing a real interest in the new jBPM5 tooling, flexible processes and migration tooling.

Thanks again to all who turned up and the pizza was great afterwards!

Here are the slides:



A few pictures were taken while I was talking:

Tuesday, October 11, 2011

From Code to Cloud - PHP on Red Hat's OpenShift (Slides)

As posted previously, I spoke at the International PHP Conference and Web Technology Conference in Mainz, Germany today. Here are the slides from the session, which included the audience participating directly in deploying Zend, Cake and Symfony frameworks into the OpenShift Express solution!


Friday, October 7, 2011

OpenShift Express - how to get started with Symfony PHP framework

I pulled together an installation howto for Symfony PHP Framework on OpenShift Express, you can follow the Readme file to push this into your very own OpenShift Express instance!




# Create an account at http://openshift.redhat.com/
#
# Create a php-5.3 application.
#
$ rhc-create-app -a symfonyphp -t php-5.3

# Add this upstream openshift-symfony repo
#
$ cd symfonyphp
$ git remote add upstream -m master git://github.com/eschabell/openshift-symfony.git
$ git pull -s recursive -X theirs upstream master

# Then push the repo upstream
#
git push

That's it, you can now checkout your application at http://sympfonyphp-$your_domain.rhcloud.com, isn't that easy!

NOTES:

GIT_ROOT/.openshift/action_hooks/build: This has a few lines to ensure that the cache dir exists and is writable for the web server.

Security: Nothing has been done to secure this installation.

Wednesday, October 5, 2011

jBPM Migration Tooling available in the OpenShift Cloud!

After our latest evening of coding on the jBPM Migration project we were able to fix quite a few bugs and pushed a web based jBPM Migration application into the cloud that enables everyone to play with the migration tooling right now!

I admit, it is in a crude form, but I am a fan of release early (if not often due to real life!). We will be massaging this to spiffy it up a bit, but the idea is there. You can upload your jBPM 3.2 process definition file (processdefinition.xml) and on the results page you will find a copy of your jPDL and below that the resulting BPMN2 XML. This is not formatted, but you can paste it into your IDE for formatting, viewing in the diverse jBPM5 editor tools and verify your process is migrated.

Even better, you can replicate this setup by following our Readme in the jBPM Migration Upload project. The basic steps to setup an OpenShift JBoss AS 7 instance and deploy the jBPM Migration Tool is as follows:

jBPM Migration Tooling on OpenShift Express
Installing the jBPM Migration tool on OpenShift was never easier! This git repository helps you get up and running quickly with the jBPM Migration Tooling.

# Running on OpenShift.
# Create an account at http://openshift.redhat.com/
#
# Create a jbossas-7.0 application
#
$ rhc-create-app -l $username -a jbpmmigration -t jbossas-7.0

# Add this upstream openshift-jbpmmigration repo.
#
$ cd jbpmmigration
$ git remote add upstream -m master git://github.com/eschabell/openshift-jbpmmigration.git
$ git pull -s recursive -X theirs upstream master
    
# Then push the repo upstream.
#
$ git push

That's it, you can now checkout your application at: http://jbpmmigration-$your_domain.rhcloud.com/jbpmmigration_upload-0.1

Usage notes: You can submit a jBPM jPDL 3.2 process definition as an xml file upload, the resulting page will show you first your submitted file (if all goes well) and the resulting BPMN2 process definition. This can be cut and paste into your IDE for formatting and testing against the jBPM5 editor(s).

I will be discussing this tooling at JUDCon in London and the London JBUG, drop by and we can chat about it. For now, get busy and start testing your process definitions before migration to jBPM5! ;-)

OpenShift Express - how to get started with ZendFramework

I was looking to upgrade a rough draft article in the Express forums and place it into a structured git repo howto form so I put the following together. You can follow the Readme file to push this into your very own OpenShift Express instance!








# Create an account at http://openshift.redhat.com/
#
# Create a php-5.3 application.
#
$ rhc-create-app -l $username -a zendphp -t php-5.3

# Add this upstream zendphp repo.
#
$ cd zendphp
$ git remote add upstream -m master git://github.com/eschabell/openshift-zendframework.git
$ git pull -s recursive -X theirs upstream master
# note that the git pull above can be used later to pull updates to zendphp

# Then push the repo upstream.
#
$ git push

That's it, you can now checkout your application at: http://zendphp-$your_domain.rhcloud.com, easy isn't it! ;-)

Wednesday, September 28, 2011

Fedora 15 - Chrome 14.x won't start for you?

I was having this problem after and update and first ran it from the console to find out what the problem was:





# running google-chrome from the command line.
#
$ google-chrome

/opt/google/chrome/chrome: error while loading shared libraries: cannot restore segment prot after reloc: Permission denied

# seems this is due to some permission errors, so you can run chrome 
# without the sandbox...
#
$ google-chrome --no-sandbox

# ...or you can fix the permission problem by turning it off.
#
$ sudo setenforce 0

Hope this helps you get back into your Chrome experience! ;-)

Friday, September 23, 2011

London JBUG - JBoss jBPM, the future is now for all your Business Processes

I have been invited to talk at the London JBoss User Group (JBUG) for their JBoss jBPM night. Below you will find the location, times and agenda.

Where?
Atos Origin Offices, LTQ Meeting Room, 4 Triton Square (please use the main reception entrance), London NW1 3HG

Agenda
17:00 - 17:30 - Coffee, Welcome and Networking
17:30 - 18:00 - Lightning talks
18:00 - 18:15 - Break, networking
18:15 - 19:15 - Eric Schabell: 'JBoss jBPM, the future is now for all your Business Processes'
19:15 - 20:00 - Beer, Pizza and Networking

JBoss jBPM, the future is now for all your Business Processes
JBoss jBPM, the future is now for all your Business Processes
A Business Process Management System (BPMS) offers you the capabilities to better manage and streamline your business processes.

JBoss jBPM continues its vision in this area by offering a lightweight process engine for executing business processes, combined with the necessary services and tooling to support business processes in their entire lifecycles. This allows not only developers but also business users to manage your business processes more efficiently.

A lot has happened in the BPM area over the last few years, with the introduction of the BPMN 2.0 standard, the increasing interest in more dynamic and adaptive processes, integration with business rules and event processing, case management, etc. In this session, we will show you how jBPM5 tackles these challenges, discuss migration to this new platform and give you an overview of its most important features.

If you are in the London area on Monday, 17 October, stop by for some jBPM fun! :-)


Update: slides posted here!

Thursday, September 22, 2011

International PHP Conference (IPC) 2011 - From Code to Cloud: PHP on Red Hat's OpenShift

I will be participating on our OpenShift tour in October from 9-12th, this time in Rheingoldhalle Mainz, Germany for the IPC 2011 conference where I will put my old love of PHP to the test in the cloud:

From Code to Cloud: PHP on Red Hat's OpenShift
In this hands-on talk, we'll show you just how easy it is to deploy, manage and auto-scale PHP applications in the cloud with no modifications to your code. No matter what framework you use, just bring your laptop—we'll bring the cloud (and a few sample applications based on Zend, Cake and Symphony to get you started with).

This session is on the 11th of October from 1130-1230 hrs, see you all there to get your cloud on! :-) UPDATE: session slides available!