Thank you

RPE 2.1 is a solid, feature rich release and for me it is extra special as it’s the last as the product’s architect. The project is carried on by my team, talented people that put a lot of heart in the work they do.

When I started this project 9 years ago I never expected it will grow into what RPE is today. I’m amazed, grateful and proud to see you rely on the tool I’ve created and learn of the creative ways in which you use RPE to solve a multitude of complex problems.

RPE has been an important part of my life but the time was right for a change so in March I’ve joined the IBM Internet of Things team. I hope this will be as interesting, fun and rewarding as building RPE was.

Multumesc.

Advertisements

[Non RPE] Visions of the future

NASA’s Jet Propulsion Labs has published  for free usage a number of retro styled travel posters for space travel: http://www.jpl.nasa.gov/visions-of-the-future/

Not only the images are amazing but the story for each of them could easily be the seed of wonderful Sci-Fi novels  “Astonishing geology and the potential to host the conditions for simple life make Jupiter’s moon Europa a fascinating destination for future exploration”

(source http://www.jpl.nasa.gov/visions-of-the-future/images/europa.jpg )

 

 

How to build and deploy a Java application on Bluemix

This week I have posted a number of articles on building applications for the cloud. In the moment I have used fancy and somewhat vague names which might discourage developers that are looking for simple, technical answers on how to work with Bluemix. So here is the simple version:

  1. how do build and deploy on Bluemix a Java application hosted on hub.jazz.net: https://rpeactual.com/2015/10/12/bluemix-watson-devops-and-more/
  2. how to build and deploy on Bluemix a Java application hosted on Github: https://hub.jazz.net/project/dragos.cojocari/dgaas_example/overview

In both cases you end up with a DevOps pipeline that automatically builds and deploys your application for any commit that gets pushed in your repository. The only difference is where your source code is hosted.

[Non-RPE] Commit and grab a coffee

Change code in your local Eclipse IDE, commit and push it to GitHub and let the build pipeline on IBM Bluemix DevOps Services automatically build and deploy your application.

It’s simple and beautiful. People who had to run hundreds of command line scripts manually will truly appreciate the value of this. Commit and grab a coffee as the title says.

The dashboard is the cherry on top. One look is enough to know that the build that is currently running (which is a good information by itself) has the changes for making Print to News mobile friendly.

build_pipeline

Bluemix, Watson, DevOps and more

How to build an application with Watson services on IBM Bluemix DevOps Services and deploy it on IBM Bluemix. The example application is up and running at https://um-java-ddc.mybluemix.net/demo.

The application shows how to use Watson services to analyse English text ( 100 words or more) to profile the text’s author. I had a blast comparing the results of texts I wrote 10 years ago with texts I wrote last year.

watson_personality_insights

To familiarize myself with the process I have started from a video tutorial made by Patrick Mueller for an application using the Personality Insights Watson service . You can find the slides for the tutorial here: http://pmuellr.github.io/slides/2015/02-java-intro-with-watson/#1

NOTE: Patrick’s tutorial and code uses the term User Modelling which is the former name of the Personality Insights service. There are also some slight changes in the API URL’s which required an update of the original code.

Continue reading “Bluemix, Watson, DevOps and more”

Executing Word Macros from WebSphere/Tomcat running as NT Services

Updated 2015.07.31: corrected and added System32 vs SysWOW64 details.

If macros do not execute when running from the RPE Web Services or Rational DOORS Next Generation that is most likely caused by Word automation not functioning properly. If you check the RPE/RDNG log files you may observe error an entry like this one: Error loading document. Error: 424 – Object required

A solution that worked for us in many cases is to create a “Desktop” folder under  C:\Windows\System32\config\systemprofile or C:\Windows\SysWOW64\config\systemprofile. Create the folder, restart the application server and verify if the problem is resolved.

What folder to use

  1. for 32 bit Windows it’s only C:\Windows\System32\config\systemprofile
  2. for 64 bit Windows
    1. if Word is 64 bit you need to use C:\Windows\System32\config\systemprofile
    2. if Word is 32 bit you need to use C:\Windows\SysWOW64\config\systemprofile

Please note that Microsoft does not officially support Word automation from NT Services so there is no guarantee that this solution will always work.

systemprofile_desktop

More information is available in the RPE Infocenter here: http://www-01.ibm.com/support/knowledgecenter/SS6RHZ_1.2.0/com.ibm.rational.pe.troubleshooting.doc/topics/t_macro_execution.html

NOTE: if you type C:\Windows\SysWOW64\config\systemprofile or C:\Windows\System32\config\systemprofile in the Windows Explorer address bar you might receive an error from Windows that the path does not exist. You need to start the navigation from the System32/SysWOW64 folder and confirm your administrator access when prompted.