lunes, 15 de noviembre de 2010

[Solved] Oracle BPM Studio throws XPCOM error on Ubuntu 10.04

I've just installed Oracle BPM Studio 10gR3 for Linux x86 in my Ubuntu 10.04 LTS. After running the install package I started to use it when this exception was thrown when I tried to open a "presentation" tab:
XPCOM error -2147467259
org.eclipse.swt.SWTError: XPCOM error -2147467259
    at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1296)
    at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:266)
    at org.eclipse.swt.browser.Browser.(Browser.java:109)
    at fuego.ui.peer.swt.SwtBrowser.createBrowser(SwtBrowser.java:137)

 After an intensive search in Google about this exception, I read that it should be a XULRunner version problem. So I searched in repositories for XULRunner packages and I installed the following one:

sudo apt-get install xulrunner-1.9.2

Finally, I edited the OraBPMStudioHome/eclipse/eclipse.ini file and I added the following line.

-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2.12

Once fixed this problem, I haven't had any other exception in BPM Studio :)

domingo, 14 de noviembre de 2010

Cómo mostrar los iconos de los menús de Eclipse en Ubuntu

Por defecto, los iconos de menú vienen deshabilitados en las distintas distribuciones de Ubuntu. Para habilitarlos, sólo es necesario ejecutar el siguiente comando.

gconftool-2 --type boolean --set /desktop/gnome/interface/menus_have_icons true
Fuente.