Eric D. Schabell

Wednesday, August 25, 2010

Follow up article on Oracle and Open Solaris in Computable.nl

I was asked to provide comments on the following (Dutch only I am afraid) for a follow up article:
http://www.computable.nl/artikel/ict_topics/besturingssystemen/3470324/1277048/oracle-stopt-met-open-solaris.html
I submitted my thoughts on the subject and it was pushed out in the following article:
http://www.computable.nl/artikel/ict_topics/open_source/3475270/1277105/stopzetten-opensolaris-kost-oracle-klanten.html


Update 31 Aug 2010:



A second article has appeared with more details from my comments included:

http://www.computable.nl/artikel/ict_topics/open_source/3475167/1277105/oracle-laat-sun-doodbloeden.html 

Friday, July 30, 2010

JBoss BRMS Decision Table Double Quotes Errors (Open Office)

When using JBoss BRMS to manage your rules you might consider using Decision Tables. It is quite common to generate your decision tables in XLS files (spreadsheets) and this will be default on most Linux machines result in an Open Office spreadsheet. When you put a CONDITION field with for example:

setValue("$param");

You would expect the quotes to be converted properly, but Open Office morphs these and you will see the following when trying to create add you decision table to your KnowledgeBuilder:

KnowledgeBuilder kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder();
DecisionTableConfiguration config = KnowledgeBuilderFactory.newDecisionTableConfiguration();
config.setInputType(DecisionTableInputType.XLS);
kbuilder.add(ResourceFactory.newClassPathResource("MyDemoDecisionTable.xls"), ResourceType.DTABLE, config);

// Exception you can expect is like this:
//
[8,29]: [ERR 101] Line 18:11 no viable alternative at input ''

To avoid this just cut&paste your quotes from the command line for example I type this in a console and then just select the line to paste into my Open Office field:
$ "$param"

Hope it saves you some headaches and time...

Wednesday, July 21, 2010

JFall 2010 - What does your jBPM future hold?

I like the NLJUG sessions and could not pass when the call for papers was made and I have submitted the following paper to JFall 2010:

Abstract
 With the recent shift to unify the projects DroolsFlow and jBPM4.x into jBPM5, we are all wondering what the impact could be to our existing BPM projects. What is new in jBPM5? What does one need to be aware of? What does one need to prepare in advance for a move to this new platform? All these questions and more will be discussed in this session.

First, we will take a look at what has happened historically within jBPM to get us where we are now, with jBPM3.x and jBPM4.x versions. We will discuss DroolsFlow in relation to the path towards jBPM5. Next we will take a look at the Request for Comments (RFC) that was put into the community and resulting architecture for the future of BPM within JBoss Middleware. This leads to a closer look at the resulting jBPM5 road map and how this will relate to the JBoss Enterprise BPM products moving towards the future.

Finally we will provide a plan for positioning your existing Enterprise jBPM projects for the eventual move towards jBPM5. This will cover the architectural layers involved, a look at the tooling being created for this and steps you can take to ensure a smooth transition moving into your jBPM future.


See you there on 3 November 2010?

Friday, June 25, 2010

Nokia e71 hard reset and lock code

Finally got tired of my Nokia e71 rebooting 3x per day on me so I hard reset it and needed to have the original factory lock code to get back in. Here are the steps needed to do this:

# hard reset done from the main home screen.
#
*#7370#

# the lock code for getting back into it.
#
12345

This will only reset the internal part of your e71, an external memory card will remain the same so you can better move you internal phone data to the memory card or back it up to another machine.

Wednesday, June 23, 2010

Enterprise jBPM v3.2.5-SP5 running on JBoss EAP v5 howto

This article will provide you with the pointers and tips needed to extract the jBPM framework from the latest JBoss SOA Platform product and get it running on the latest JBoss EAP v5 product. Why would you want to do this? Well for one thing, imagine you want to slim down your JBoss SOA Platform to remove the unused services (such as Rules or the ESB components) and just run the included JBoss EAP, then this is the guide for you.

# This guide assumes you have installed JBoss SOA-P v5 and JBoss EAP v5.
# You will want to copy the jBPM component to your JBoss EAP installation
# as follows for a Linux machine (unix commands). 
# 
$ cp -ruv $JBOSS_SOA_HOME/jbpm-jpdl/deploy/server/default/deploy/jbpm \
$JBOSS_EAP_HOME/jboss-as/server/default/deploy

# Now we need to edit some of the configuration details to sort out the
# missing queues and security issues for logging into jBPM console.
#
# First we need to replace the existing queue definitions in 
# jboss-as/server/default/deploy/jbpm/jbpm-mq-service.xml with:
#

 
    jboss.messaging:service=ServerPeer
    jboss.messaging:service=PostOffice
  

 
    jboss.messaging:service=ServerPeer
    jboss.messaging:service=PostOffice
  

# now we setup $JBOSS_EAP_HOME/jboss-as/server/default/conf/login-config.xml
#
 
      
         
            java:/JbpmDS
            
            
             SELECT PASSWORD_ FROM JBPM_ID_USER WHERE NAME_=?

            
            
             SELECT g.NAME_ ,'Roles'
             FROM JBPM_ID_USER u,
                  JBPM_ID_MEMBERSHIP m,
                  JBPM_ID_GROUP g
             WHERE g.TYPE_='security-role'
               AND m.GROUP_ = g.ID_
               AND m.USER_ = u.ID_
               AND u.NAME_=?

            
         
      
   

# but now the hsqldb is not being created properly, so add this too by copying
# $JBOSS_SOA_HOME/jbpm-jpdl/deploy/docs/examples/jbpm/hibernate.cfg.hsqldb.xml
# to 
# $JBOSS_HOME/jboss-as/server/default/deploy/jbpm/jbpm-service.sar/hibernate.cfg.xml
# and modify changing the following:
#
java:JbpmDS

# and uncomment:
#
create

# to adjust the jbpm-console authorization to use the JBoss JMX auths adjust
# the file jbpm/jsf-console.war/WEB-INF/jboss-web.xml
#
java:/jaas/jmx-console
jbpm-console

# adjust jbpm/jsf-console.war/WEB-INF/web.xml to add JMX credential roles:
#
  
  
    
      Secure Area
      /app/*
      GET
      POST
    
    
      user
      admin
      JBossAdmin
    
  

Now startup the server and enjoy your jBPM within your JBoss EAP!

Friday, June 11, 2010

Open Source BPM - survival in the Financial Crisis

I will be giving a talk at the Dutch NGI group (http://www.ngi.nl), you can sign up on the registration page.

It will cover the work I did on real life enterprise jBPM projects, see you there?

Sunday, May 30, 2010

Upgrade Fedora 12 to Fedora 13 howto

A few simple steps to upgrade:

# As root you would like to have a clean start to the
# upgrade, so get an update out of the way.
#
$ yum update rpm

$ yum -y update

$ yum clean all

# Should a new kernel install/update require it,
# reboot before continuing with the rest.
#
# Then install the preupgrade package.
#
$ yum install preupgrade

# For console upgrade, use:
#
$ preupgrade-cli "Fedora 13 (Goddard)"

# If you like gui's to upgrade, use this.
#
$ preupgrade

This is exactly the same process as I previously described with Fedora 11 to Fedora 12 upgrade.

=============== Update ===================
There was a hitch on my laptop, some friends have asked about how to install when your boot partition is smaller than the Fedora 13 required 250 MB. I have been upgrading since Fedora 10 so have like 200 MB boot partition. Just try this:


# run preupgrade as normal, when it complains about not enough space just 
# continue, it will install the stage2 installer after the first reboot.
# When it asks to reboot, do that. It should continue to finish the installation
# when it restarts.

This solution is also to be found on the Fedora Project Wiki.

Monday, May 17, 2010

Open Source Expert Panel - Geen open source kennis? Nee, bedankt!

I just submitted the following Dutch language article for the opinion section Open Source for the on-line Computable.nl.

Ik gooi het maar direct op tafel. Als ik een ontwikkelaar zoek, dan is aantoonbare affiniteit met en kennis van open source een absolute must. Ik ben er heilig van overtuigd dat de kwaliteiten van dit type ontwikkelaars veel beter zijn dan van hun closed source tegenhangers. Dat is niet enkel een gevoel maar een simpele kwestie van het opsommen van de feiten.

Een opensourceontwikkelaar is iemand die meewerkt aan opensourceoplossingen en de ontwikkelingen volgt. Ik ervaar dat zij - in vergelijking tot hun closed source concullega’s - een grotere passie hebben voor wat zij doen. Dit zie je bijvoorbeeld terug in de hoeveelheid vrije tijd die ze spenderen aan opensourceprojecten. Ze werken in een gemeenschap van ontwikkelaars waarbij hun communicatie, contributies, codes en sociaal gedrag online worden gedocumenteerd. Al deze gegevens zijn over het algemeen te achterhalen via een simpele online zoekopdracht. Bovendien zijn opensourceontwikkelaars zeer flexibel in de omgang met problemen. Als er iets mis is met een opensourceproduct bestaat er altijd de mogelijkheid het verder uit te zoeken, tot aan de broncode aan toe. Het zal je niet verbazen dat het uitzoeken alleen al vaak leidt tot een oplossing. Die oplossing kan vervolgens weer worden teruggegeven aan het desbetreffende project. Die flexibiliteit is overigens ook terug te vinden in hun omgang met veranderingen. Opensourceontwikkelaars beschikken vaak over diverse mogelijkheden die hen kunnen helpen bij het oplossen van problemen, zoals een stuk tooling, product of framework. Deze nieuwe technologieën worden dan eigenhandig gemaakt en toegepast in hun werk.
Hieruit blijkt maar eens te meer hoe zij zelfsturend te werk gaan met betrekking tot educatie en het bijhouden van kennis. Een opensourceontwikkelaar leest graag, offert graag tijd op om dingen uit te zoeken en bezoekt conferenties en congressen om zijn kennis op te vijzelen en up-to-date te houden. Over het algemeen is het dan ook veel kosteneffectiever om dit type ontwikkelaars aan het werk te houden, hun kennis bij te spijkeren en ze tevreden te houden zodat zij voor je blijven werken dan het bij closedsourceontwikkelaars het geval is.

Closedsourceontwikkelaars leunen namelijk op hun certificaten. Dat is op zich niet zo verwonderlijk. Immers, hoe kan ik weten wat iemand zijn capaciteiten zijn en wat hij kan zonder zijn lijst met certificeringen in te zien? Het is namelijk niet mogelijk op een andere manier terug te vinden hoe zij coderen, hoe zij communiceren in een ontwikkelgemeenschap of hoe zij omgaan met veranderingen. Een persoonlijk interview is in dergelijke gevallen dan ook van groot belang. Een closedsourceontwikkelaar richt zich namelijk vaak op een enkele omgeving, met een beperkte verzameling tools waarmee zij kunnen werken. Veranderingen in deze verzameling worden niet als normaal ervaren waardoor zij van nature geen flexibele manier van werken en handelen hebben. Problemen in de tooling of producten worden regelmatig bij de leverancier neergelegd in plaats van dat ze het zelf uitzoeken. Kortom, er bestaat een compleet andere houding qua educatie en het bijhouden van kennis. Deze is namelijk vooral gericht op het bijhouden van certificering op de door hun gekozen tooling en producten. Dat betekent dat het vaak een duurdere aangelegenheid is om deze ontwikkelaars aan het werk te houden, op te leiden en ze de gewenste certificeringen te laten behalen.

Natuurlijk is het beeld dat hierboven wordt sterk gechargeerd. Maar ga het voor u zelf eens na: Met welk type ontwikkelaar wilt u samenwerken aan uw volgende project? Dan zult u zien dat ik er toch niet zover naast zit.

Tuesday, May 4, 2010

EMEA Partner Summit in Valencia, Spain - JBoss event to remeber for 2010

It all started on Sunday, 02 May 2010 with a group from the Netherlands flying out to Valencia, Spain for the EMEA Partner Summit. Weather was great, very warm and sunny but was soon to change into rain.

We checked in, attended our meeting to get things sorted out for the Kickoff at 1900 hours. The Summit was opened by Jim Whitehurst himself welcoming the 450+ partners and Red Hat personnel.

After the opening keynotes we migrated into the venue hall and mingled with our partners while enjoying the Spanish food and drinks.

The second day was my active day to present two presentations on JBoss SOA-P and BRMS. I was also able to attend a few sessions on JBoss ON CLI usage (tech session) and JBoss SOE (tech session). The rest of the day involved talking with various partners and developers about all things JBoss (BPM, BRMS and SOA-P mostly). My sessions went pretty well, even had a partner in the front recording everything on a hand held video recorder. He mentioned it would be on YouTube sometime soon.

In the evening the partners were put into a bus sorted by their region, so I was off with the Benelux partners to the beach for some traditional Spanish food, Paella!

The evening ended in a beach club with about 100 of the partners enjoying the company of all the Red Hatters!

The third day is a full agenda of sessions, round tables and speeches from partners and Red Hatters. There are both infrastructure and middleware in a abundance! The evening will be concluded with a party at an old convent here in Valencia.

Follow all the active news on my twitter account @ericschabell and sort on the tag #emeapartnersummit, there are more pictures and running commentary until the Summit concludes Wednesday afternoon.

The atmosphere has been really great and I am really enjoying the chance to interact with partners. This is a different engagement than with customers as we are both trying to accomplish the same things. Very open and easy hum of activity in the sessions and exhibition hall, I would be very happy to come back next year!