Wednesday Sep 10, 2008

Java CAPS 6 and Ubuntu

I've been having a little play around with installing Java CAPS on Ubuntu. My main testing so far has focused around Repository based projects as I foresee that most of my future work in the short term will be here.


So far here are my findings.



  •  Installation was quite straight forward. Run the Linux.bin file and follow the GUI. I selected all default settings. So my installation was a breeze.

  • Our old favourite queue manager stcms will not work by default on Ubuntu. Its supported on RedHat and Suse, but not ubuntu. I tried to install it regardless and I think it caused a problem during the installation. On my first attempt, I could not get the Enterprise Manager to connect to my domain. On my second attempt installing without stcms, everything installed fine.
    This isn't a big issue as Java CAPS 6 now comes with Java MQ. This is the new native queueing architecture. Its a fully java implementation, so no more pesky stcms.exe process to worry about. The default queue port number has changed from 18007 to 7878. From my initial testing, it works fine.

  • The second issue I encountered was to do with the Gnome desktop. For some reason, my connectivity maps would not render properly. When I double click on a service (BPEL or JCD) it would not render correctly. Changing the desktop to XFCE or KDE fixed the issue. I suspect that its a problem with Gnome and should be fixed with the next version of Gnome. Speaking of Desktops, I've installed the latest build of KDE (Version 4.1.1) and I love it. Its got a similar look and feel to Vista, but just a touch better.


My Ubuntu environment has been set up using WUBI which allows you to install ubuntu under windows without having to re-partition your drive. I recommend though that if you are thinking of playing around with Java CAPS on Ubuntu with Wubi, that you use a partition greater than 8Gb. At least 10-15Gb would be better. I ran out of space and had to create a second virtual disk, Not because of Java CAPS, but because I stated installing a lot more stuff.


I'm going to try and slowly move to Ubuntu as my everyday environment. This will largely depend on what I'm doing as I have to work with Windows for older versions of Java CAPS. I've still got to get a few things working outside of Java CAPS - such as trying to get my Windows Mobile phone to sync up with Thunderbird and Lightning.


As I learn more, I'll post it up.



Comments:

Concerning your point:"I'm going to try and slowly move to Ubuntu as my everyday environment. "
I have been doing the same for a while now, and have hit 4 major points on this:
- VPN to SWAN - while I DO have a VPN Command Line application working, it is only for wire connect and not wireless.
- Sync of Livescribe Pulse (:-))- yes only MAC and Windows Livescribe desktops are supported AFAIK
- Sync/backup of Nokia e61 - like you mention above
- CONVENIENT use of external monitors for presentations. NOte CONVENIENT - while I do have it working (my Tosh laptop has an Nvidia graphics card and driver) it is not nearly as convenient as the VISTA driver on my Vista boot installation.

Posted by Ben Pashkoff on September 10, 2008 at 04:34 PM EST #

Holger,

I'm happy to hear that I'm not the only one who lives in the Java CAPS world and wants to use Linux as their main desktop. I'm still struggling with this and am still relying on my Windows VM in order to use eDesigner and Netbeans.

here are some of the problems I've encountered with running a Linux desktop in the Java CAPS 6 world.

have you tried to connect to a remote Java CAPS 6 repository (ie, one that is not on your local machine)? I currently have a call open with Sun Support because I can't connect.

have you tried to import a project/restore a backup from 5.1.3 into the Java CAPS 6 Repository via commandline? (workaround, do the import via Netbeans, but the backup restore still doesn't work)

have you tried the repositoryadmin.sh script in the netbeans/bin folder? (This one is easy to fix. Just a small error in the script, but I wonder how the developer was coding that script...).

I have a blog that focuses mainly on running Java CAPS on Linux. Maybe there are some interesting entries for your Linux box. :)

http://jcapsblogger.blogspot.com

Regards, Sebastian.

Posted by Sebastian Krueger on September 11, 2008 at 09:50 PM EST #

Thanks Sebastian, There are. :)

I've also added your blog to the links on the side of my blog. For anyone else that is interested. :)

Posted by Holger Paffrath on September 16, 2008 at 08:43 AM EST #

Post a Comment:
  • HTML Syntax: NOT allowed