Tuesday, 15 June 2010

Install the WAS OSGi Feature pack

It's easy and free - these are minimal (Ubuntu based) instructions for starting with no WAS installation and getting to an installation of WAS with the OSGi feature pack. If the steps aren't clear look at the rather more verbose instructions in an earlier post in this blog :-).

  • Install WebSphere 
    •  Download from here
    • Unzip this was.cd.7000.wasdev.nocharge.linux.ia32.tar.gz 
    •  sudo ./launchpad and follow the fairly obvious screens. Uncheck the box that asks if you want additional security.
  • Download Fix pack 
    • Download from here
    • The file will be called something like: 7.0.0-WS-WAS-LinuxX32-FP0000009.pak
  • Download the SDK upgrade pack
    • Download from here
    • File will be called something like: 7.0.0-WS-WASSDK-LinuxX32-FP0000009.pak
  • Install the update installer
    • Download from here.
    • Extract
    • cd to the top level directory of the installation
    • sudo ./install to make it install itself
    • After installing it will launch itself and you can go on to install the two packs that you downloaded above.
  • Get the OSGi Feature pack from here.
    • Download Installation Manager, (86MB)
    • Unzip it
    • cd to the top level installation directory
    • sudo ./install to make IM install itself. IM will lead you through the next three steps
    • Import your WAS installation.
    • Install the OSGi Feature pack.
    • Launch the profile management tool and augment your profile
  • Check your installation
    • cd /opt/IBM/WebSphere/AppServer/bin
    • sudo ./startServer.sh server1
    • navigate to http://localhost:9060/ibm/console/ and check that you can see the WAS console.
    • sudo ./stopServer.sh server1
At this stage I would normally install the database for the blog sample and run the set up script for it.
  •  cd /opt/IBM/WebSphere/AppServer/feature_packs/aries/samples/blog
  • sudo /opt/IBM/WebSphere/AppServer/derby/bin/embedded/ij.sh createBlogDb.sql
  • sudo /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/wsadmin.sh -f blogSampleInstall.py setupOnly server1 ubuntuNode01

Tuesday, 1 June 2010

Talking about Apache Aries

The number of OSGi related talks seems to be increasing - which can only be a good thing. I'm going to this one tonight and looking forward to it!

I thought I'd look at who was talking about Apache Aries and where for the next month, I'm sure this isn't a comprehensive list so let me know if I've missed anything.

June 2nd - Tim Ward will be talking about JPA and OSGi at Jazoon in Zurich

June 8th - Holly Cummins will be at the Paris JUG giving an Apache Aries presentation.

June 19th (*)  - ZoĆ« Slattery will be at the SAP Inside Track talking about Enterprise OSGi in Apache Aries

June 26th(*)  - Mark Nuttall will be giving an Apache Aries presentation at the London Java Community Unconference.

July 1st - Andrew Osbourne will run a Blueprint tutorial at the OSGi Users' forum based on the implementation of Blueprint in Apache Aries

* These are both unconference style events so although presentations have been offered there is of course no guarantee that they will be delivered. However both events look pretty well worth attending whether there is Aries there or not :-)