Developer will not start

Hello All!

I have installed servoy several times, several ways. When I start it, eclipse flashes, then dissapears with notice of error message in the log.

I have provided a recap of what / how I did to install , uninstall, and start it. Can someone please look at this?

I am running Cento 6.2 x64 on a Dell Poweredge 2950 server (8 gig ram and 750 gig of HD space). The only thing I have on the server is basic Centos x64 install with OpenOffice (for spreadsheet and my operational history files)

here is the information. Thanks for plowing through it and double thanks for any sugestions

VERSION OF LINUX
[stevek@localhost ~]$ uname -a
Linux localhost.localdomain 2.6.32-220.23.1.el6.x86_64 #1 SMP Mon Jun 18 18:58:52 BST 2012 x86_64 x86_64 x86_64 GNU/Linux
[stevek@localhost ~]$ java -version
java version “1.7.0_05”
Java™ SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot™ 64-Bit Server VM (build 23.1-b03, mixed mode)
[stevek@localhost ~]$

ALTERNATIVES CONFIG

[stevek@localhost ~]$ alternatives --config java

There are 2 programs which provide ‘java’.

Selection Command

*+ 1 /usr/java/jdk1.7.0_05/bin/java
2 /usr/lib/jvm/jre-1.5.0-gcj/bin/java

Enter to keep the current selection[+], or type selection number:

SCREENSHOT VERIFYING JAVA

<< did not paste… shows java running in firefox
" Running: Java Hotspot™ 64-Bit Server VI
Version 23.1-b03
From: Oracle Corporation "

Received errors when starting developer: (these are excerpts from attempts to start developer)

!ENTRY org.eclipse.ui.workbench 4 0 2012-06-26 23:17:12.615
!MESSAGE Widget disposed too early!
!STACK 0

!ENTRY org.eclipse.osgi 4 0 2012-06-26 23:17:12.709
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: XPCOM error -1041039104

!SESSION 2012-07-08 10:16:18.090 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.ui 4 4 2012-07-08 10:16:35.529
!MESSAGE Unable to find Action Set: org.eclipse.ui.externaltools.ExternalToolsSet

!ENTRY com.servoy.eclipse.model 1 0 2012-07-08 10:16:37.578
!MESSAGE Cannot find any valid solution to activate.

!ENTRY org.eclipse.ui.workbench 2 0 2012-07-08 10:16:39.035
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2012-07-08 10:16:39.035
!MESSAGE Conflict for ‘AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction’:
HandlerActivation(commandId=AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction,

!ENTRY org.eclipse.osgi 4 0 2012-07-08 10:32:55.434
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: XPCOM error -1041039104
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2414)
at org.eclipse.swt.browser.Mozilla.initFactories(Mozilla.java:1684)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:713)
at org.eclipse.swt.browser.Browser.(Browser.java:119)
at com.servoy.eclipse.core.StartPageBrowserEditor.createPartControl(StartPageBrowserEditor.java:106)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:497)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:483)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2860)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674)
at com.servoy.eclipse.core.Activator$1.windowOpened(Activator.java:265)
at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:957)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench.fireWindowOpened(Workbench.java:955)
at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpened(WorkbenchWindow.java:1337)
at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:798)
at org.eclipse.ui.internal.Workbench$24.runWithException(Workbench.java:1235)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

The last one happened after I completely uninstalled servoy using the ./uninstaller.jar , rebooting, and verifying all was removed.

After complete removaI, I installed servoy as normal user:
[stevek@localhost Downloads]$ java -jar servoy_installer.jar

I installed using the bundled db’s.

Installed with no noted errors

→ This shows I am in the correct place to start developer:

[stevek@localhost /]$ ls
bin dev home lib64 media mnt opt root selinux sys usr
boot etc lib lost+found misc net proc sbin srv tmp var
[stevek@localhost /]$ cd srv
[stevek@localhost srv]$ cd servoy
[stevek@localhost servoy]$ cd developer
[stevek@localhost developer]$ ls
about_files artifacts.xml exporter icon.xpm p2 servoy
about.html configuration features libcairo-swt.so plugins servoy.ini
[stevek@localhost developer]$ ./servoy

when I started it ./sevoy.sh (developer) I get the following error:

!ENTRY org.eclipse.osgi 4 0 2012-07-08 11:34:57.985
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: XPCOM error -1041039104
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2414)
at org.eclipse.swt.browser.Mozilla.initFactories(Mozilla.java:1684)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:713)
at org.eclipse.swt.browser.Browser.(Browser.java:119)
at com.servoy.eclipse.core.StartPageBrowserEditor.createPartControl(StartPageBrowserEditor.java:106)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:497)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:483)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2860)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674)
at com.servoy.eclipse.core.Activator$1.windowOpened(Activator.java:265)
at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:957)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench.fireWindowOpened(Workbench.java:955)
at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpened(WorkbenchWindow.java:1337)
at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:798)
at org.eclipse.ui.internal.Workbench$24.runWithException(Workbench.java:1235)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

Again, thanks for any input.

This has to do with Eclipse’s SWT not finding the XULRunner/Firefox libraries (XPCOM).

Is Firefox installed? If not, install it. Then you might also want to set the MOZILLA_FIVE_HOME environment variable.
Something to try also is to add -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2/ (try to locate xulrunner and adapt the path accordingly) to your servoy.ini file (that you will find in /Servoy/developer/)

You can also try and force to use WebKit instead of Mozilla, by adding that line in servoy.ini (provided Chrome is installed):
-Dorg.eclipse.swt.browser.UseWebKitGTK=true

Apart from that, google Eclipse +CentOS +SWT +XPCOM and you might find more pointers.
This is an Eclipse SWT issue, so there is a fair chance Eclipse users also had the same issue and will have find a workaround.

Hope this helps,

Thanks for the suggestions!

I created a sh file in /etc/profile.d with the following:

export MOZILLA_FIVE_HOME=/usr/lib64/xulrunner-2
export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH

rebooted and no success

Next, I added:

yum install eclipse-swt.x86_64 : SWT Library for GTK±2.0 from the centos repositories

rebooted, and had bigger errors.

removed the SWT package

here is my servoy.ini file. I am unclear where to paste the line you suggested:

[Stevek@localhost developer]$ cat servoy.ini
-startup
plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.2.R36x_v20101019_1345
–launcher.XXMaxPermSize
256m
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256M
[Stevek@localhost developer]$

Here is the log file form servoy_workspace:

start 9 jul 2012
!SESSION 2012-07-09 13:23:04.816 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_33
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64

!ENTRY org.eclipse.ui 4 4 2012-07-09 13:23:10.086
!MESSAGE Unable to find Action Set: org.eclipse.ui.externaltools.ExternalToolsSet

!ENTRY com.servoy.eclipse.model 1 0 2012-07-09 13:23:11.536
!MESSAGE Cannot find any valid solution to activate.

!ENTRY org.eclipse.ui.workbench 2 0 2012-07-09 13:23:11.899
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2012-07-09 13:23:11.899
!MESSAGE Conflict for ‘AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction’:
HandlerActivation(commandId=AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.cheatsheets.CheatSheetExtensionFactory:helpMenuAction),
expression=AndExpression(ActionSetExpression(org.eclipse.ui.cheatsheets.actionSet,org.eclipse.ui.internal.WorkbenchWindow@7ba6eeab),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@7ba6eeab)),sourcePriority=16640)
HandlerActivation(commandId=AUTOGEN:::org.eclipse.ui.cheatsheets.actionSet/org.eclipse.ui.cheatsheets.actions.CheatSheetHelpMenuAction,
handler=ActionDelegateHandlerProxy(null,org.eclipse.ui.cheatsheets.CheatSheetExtensionFactory:helpMenuAction),
expression=AndExpression(ActionSetExpression(org.eclipse.ui.cheatsheets.actionSet,org.eclipse.ui.internal.WorkbenchWindow@7ba6eeab),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@7ba6eeab)),sourcePriority=16640)

!ENTRY org.eclipse.ui.workbench 4 0 2012-07-09 13:23:12.518
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1080)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:208)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:469)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:2305)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:462)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:2241)
at org.eclipse.swt.widgets.Display.release(Display.java:3211)
at org.eclipse.swt.graphics.Device.dispose(Device.java:246)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:131)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

!ENTRY org.eclipse.ui.workbench 4 0 2012-07-09 13:23:12.520
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1080)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:208)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:469)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:2305)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:462)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:2241)
at org.eclipse.swt.widgets.Display.release(Display.java:3211)
at org.eclipse.swt.graphics.Device.dispose(Device.java:246)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:131)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

!ENTRY org.eclipse.ui.workbench 4 0 2012-07-09 13:23:12.528
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:123)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1263)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1080)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:1293)
at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:208)
at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:469)
at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:2305)
at org.eclipse.swt.widgets.Widget.release(Widget.java:1083)
at org.eclipse.swt.widgets.Control.release(Control.java:3304)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:462)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:2241)
at org.eclipse.swt.widgets.Display.release(Display.java:3211)
at org.eclipse.swt.graphics.Device.dispose(Device.java:246)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:131)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

!ENTRY org.eclipse.osgi 4 0 2012-07-09 13:23:12.563
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: XPCOM error -1041039104
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2414)
at org.eclipse.swt.browser.Mozilla.initFactories(Mozilla.java:1684)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:713)
at org.eclipse.swt.browser.Browser.(Browser.java:119)
at com.servoy.eclipse.core.StartPageBrowserEditor.createPartControl(StartPageBrowserEditor.java:106)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:670)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1254)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1207)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1606)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:497)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:483)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2860)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2768)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2760)
at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2711)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2707)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2691)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2674)
at com.servoy.eclipse.core.Activator$1.windowOpened(Activator.java:265)
at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:957)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.Workbench.fireWindowOpened(Workbench.java:955)
at org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpened(WorkbenchWindow.java:1337)
at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow.java:798)
at org.eclipse.ui.internal.Workbench$24.runWithException(Workbench.java:1235)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3515)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3164)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2548)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
at org.eclipse.equinox.launcher.Main.main(Main.java:1384)

It just should not be this hard to run developer!

Any suggestions?

I would try adding:
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib64/xulrunner-2
as the last line of the servoy.ini file.

Have you tried installing Chrome and adding:
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
in your servoy.ini file?

I found an entry regarding the issue at :

http://www.eclipse.org/swt/faq.php#specifyxulrunner

: How do I use the WebKit renderer on Linux-GTK?
A: In Eclipse/SWT 3.7 and newer the Browser attempts to use WebKitGTK for SWT.NONE-style Browsers created on GTK. For this to succeed, WebKitGTK 1.2.0 or newer must be in the library load path. Examples of Linux distros that meet this requirement by default include Red Hat Enterprise Linux 6 and Ubuntu 10.04. Linux installations that do not meet this requirement will fall back to using Mozilla for SWT.NONE-style Browsers.

I searched for this and found:

============================= N/S Matched: webkit ==============================
libproxy-webkit.x86_64 : Plugin for libproxy and webkit
pywebkitgtk.x86_64 : Python Bindings for WebKit-gtk
webkitgtk-devel.i686 : Development files for webkitgtk
webkitgtk-devel.x86_64 : Development files for webkitgtk
webkitgtk-doc.x86_64 : Documentation for webkitgtk
webkitgtk.i686 : GTK+ Web content engine library
webkitgtk.x86_64 : GTK+ Web content engine library

Name and summary matches only, use “search all” for everything.
[Stevek@localhost developer]$

As I am a bit leary of completely hosing my machine, I am thinking I can install
libproxy-webkit.x86_64 : Plugin for libproxy and webkit
pywebkitgtk.x86_64 : Python Bindings for WebKit-gtk
webkitgtk-devel.x86_64 : Development files for webkitgtk
webkitgtk.x86_64 : GTK+ Web content engine library

then attempting servoy developer again…

Any thoughts?

That should be ok as far as I know, it shouldn’t hose your OS.

After installing these libs, remember to add:
-Dorg.eclipse.swt.browser.UseWebKitGTK=true
at the end of your servoy.ini file before starting developer.

[attachment=0]eclipse_error.doc[/attachment]I found a thread from one of the references you provided and have attached it in *.doc format. I am pasting it here also. Please comment OK?

On this web page:
https://publib.boulder.ibm.com/infocent … all_ux.htm

referenced from the error I was receiving on developer crashes

Table 2. Postinstallation tasks for Rational ClearQuest Client for Eclipse

Step
Tasks
Information
(Required for Linux users)
For all Linux installations, you must have a browser installed and the MOZILLA_FIVE_HOME environment variable must be set to the browser path and added to LD_LIBRARY_PATH before starting the client.
Use these sample commands as a guideline, substituting your browser install location (/bin/csh):

setenv MOZILLA_FIVE_HOME /usr/local/lib/firefox-2.0.0.3

setenv LD_LIBRARY_PATH /usr/local/lib/firefox-2.0.0.3

My firefox path is:

/usr/lib64/firefox

This is where the executable file “firefox” is

so I should type in terminal:

sudo setenv MOZILLA_FIVE_HOME /usr/lib64/firefox

then setenv LD_LIBRARY_PATH /usr/lib64/firefox

? Instead of creating a sh file in ?

Here is a partial of the conversation surrounding this issue:

These cases are a bit different:

  • Comment 1 is crashing in the first call that the Browser tries to make. It’s
    suspicious that it’s trying to use /usr/lib/xulrunner-1.9.2, yet the swt
    library it’s going through is swt-mozilla… instead of the expected
    swt-xulrunner… one. I’m guessing that /usr/lib/xulrunner-1.9.2 is not
    properly registered on your OS. As an experiment please try adding the
    following line to the end of the eclipse.ini file in your eclipse root
    directory:
    -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2/

  • Comment 3 gets a bit further. I suspect this is bug 288361, as I notice it’s
    trying to embed your firefox in /usr/dist/pkgs/firefox,v3.5.7/5.10-lib.sun4.
    Are you doing anything to point it at this firefox install (eg.- setting the
    MOZILLA_FIVE_HOME environment variable)? I would have expected it to use an
    available native renderer from somewhere in /usr/sfw/lib/… . Do you see any
    directories in /usr/sfw/lib/ with names containing mozilla, firefox, xulrunner,
    etc? Please follow up in bug 288361.

Comment 7 devnull5475 2010-10-17 07:29:59 EDT

(In reply to comment #6)

These cases are a bit different:

  • Comment 1 is crashing in the first call that the Browser tries to make. It’s
    suspicious that it’s trying to use /usr/lib/xulrunner-1.9.2, yet the swt
    library it’s going through is swt-mozilla… instead of the expected
    swt-xulrunner… one. I’m guessing that /usr/lib/xulrunner-1.9.2 is not
    properly registered on your OS. As an experiment please try adding the
    following line to the end of the eclipse.ini file in your eclipse root
    directory:
    -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9.2/

I added XULRunnerPath to eclipse.ini. After quick test, it appears to have
worked. That is, not crash. Thanks. ASD

Comment 8 Grant Gayed 2010-10-18 11:15:18 EDT

Ok, can you try the following then?

  • remove the “-D…” line that was added at the end of your eclipse.ini
  • “cd /usr/bin”
  • if there’s a xulrunner-* directory here (eg.- “xulrunner-1.9.2/” then cd into
    it
  • “./xulrunner --register-global”
  • if the above line fails due to permissions you can either sudo it or instead
    do: “./xulrunner --register-user”
  • launch eclipse, it should come up
  • Window > Show View > Other…
  • select General - Internal Web Browser, OK
  • navigate this view’s Browser to any URL, does it go there successfully?

Comment 9 devnull5475 2010-10-22 21:37:09 EDT

(In reply to comment #8)

Ok, can you try the following then?

  • remove the “-D…” line that was added at the end of your eclipse.ini
  • “cd /usr/bin”
  • if there’s a xulrunner-* directory here (eg.- “xulrunner-1.9.2/” then cd into
    it
  • “./xulrunner --register-global”
  • if the above line fails due to permissions you can either sudo it or instead
    do: “./xulrunner --register-user”
  • launch eclipse, it should come up
  • Window > Show View > Other…
  • select General - Internal Web Browser, OK
  • navigate this view’s Browser to any URL, does it go there successfully?

No, it does not go there successfully. It crashes.

Comment 10 devnull5475 2010-10-22 21:39:25 EDT

(In reply to comment #9)

(In reply to comment #8)

Ok, can you try the following then?

  • remove the “-D…” line that was added at the end of your eclipse.ini
  • “cd /usr/bin”
  • if there’s a xulrunner-* directory here (eg.- “xulrunner-1.9.2/” then cd into
    it
  • “./xulrunner --register-global”
  • if the above line fails due to permissions you can either sudo it or instead
    do: “./xulrunner --register-user”
  • launch eclipse, it should come up
  • Window > Show View > Other…
  • select General - Internal Web Browser, OK
  • navigate this view’s Browser to any URL, does it go there successfully?

No, it does not go there successfully. It crashes.

BTW, not sure it matters, but on Gentoo I had to go to /usr/lib/xulrunner-1.9.2
to execute ./xulrunner --register-global

Comment 11 Grant Gayed 2011-10-04 12:15:59 EDT

Based on comment 7 I believe this should work as of eclipse 3.7 as a result of
eclipse launcher fixes in the area of detecting a native Browser renderer.
Marking report as WORKSFORME, please reopen it if Eclipse 3.7 or 3.7.1 does not
work better for you.

eclipse_error.doc (30.6 KB)

I have no comments.
I’m not using CentOS, have been using Ubuntu and Mint with none of these issues.
My suggestions were based on my knowledge of SWT and XPCOM and possible workaround, with no guarantee.
Have you tried installing/using Chrome in the end?

Patrick,

First off, thank you for all of your suggestions and attention to my posts!
I did install Chrome and this failed. Although i did not try after this last attempt as i am at home and using another machine.

I will review all your suggestions, re-do each scenario. If this fails, I will build a Ubuntu server box and try that. I really like Centos, but to get this working, I have no problems using a different distro.

I will post a follow-up tomorrow.

When you started with this issue on your Ubuntu box, what tweaks exactly did you do? Can you post the actual configurations / edited files / etc?

This actually started with this problem - - - I have servoy 6.2 server running splendidly on my Centos box. I want to be able to run developer on that box and make changes there so I do not have to export / import solutions and db’s between machines. I have been spoiled maybe by being able to do this with servoy 3.5. I make small changes “on the fly” on my productions machines, and only import major changes from a test server when a change is major.

It appears that with servoy 6 i may have to do all my development on another machine, and toss updated db’s / solutions between them if I cannot resolve this dilemma in Centos or in Ubuntu.

Anyway, I will post a progress report tomororw

Thanks again!

Steve

I have been using Servoy 5.2 on Linux. Must confess I didn’t try Servoy 6 yet.

But as I said the suggestions I made were because the Exception you have (XPCOM error when SWT tries to initialize a Browser) is very similar to what I’ve been dealing with from the beginning with SWT (on Mac OS X and Linux) in the BrowserSuite.

Basically the problem is that Developer opens on a web page now as its first screen, which is why it needs the Browser to be properly initialized.
On Linux the default Native browser used was Mozilla Firefox and it’s underlying library: XULRunner. But lately with SWT 3.7, they’ve introduced Chrome support as well, which is why I was suggesting it.

I would like to know what Servoy R&D suggest about these issues, maybe they can suggest a workaround?

This is a great thought! I believe I will contact them tomorrow regarding this quandary.

I will keep you posted!

Patrick,

I have received a note from Servoy stating developer runs fine in Ubuntu and PClinuxOS.

Can you post the sequence of installing on Ubuntu? And, do you think I can install on plain Debian to reduce bloat?

I just installed Servoy 6.1 on a clean Centos 6.2 64-bit (Desktop, which does come with FireFox installed) in a VM.
First I installed the Java 7 update 5 RPM from java.com (Oracle Java). and then installed Servoy 6.1 both without a hitch.
Launched Developer and got the main startup ‘welcome’ page (which is HTML) and then the main perspective with the startPage view (again, this is HTML).

I guess the main thing to look out for is that you install in YOUR OWN home directory. The installer defaults to /usr/local/servoy/ ,don’t use that since you are probably not root. Check what your home directory is in your distro and create a Servoy directory there and install Developer in that directory.

Hope this helps.

Robert,

Thanks so much for the hint!
I will understand by your comment of installing java, it is JDK, and, you created the symlinks for firefox?

Also, I created a java.sh file in previous servoy installations using the following steps (java version would be changed of course):

create new file named java.sh , place in /etc/profile.d/

file content is:

export JAVA_HOME=“/usr/java/jdk1.5.0_14”
export JAVA_PATH=“$JAVA_HOME”
export PATH=“$PATH:$JAVA_HOME:$JAVA_HOME/bin”

THEN,

configure the new JAVA with the alternatives command to create symlink to firefox. Verified java install at sun java test page

I just isntalled in /home/myhome/servoy found the existing db’s from server install, opened with ./servoy.sh …

crashed with !Message Applicaion error
!Stack 1
org.eclipse.swt.SWTErrot: XPCOM error - 214024882

any tweaks you have done?

I re-pasted the two lines of code recommended into servoy.ini as the last two lines:

-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib64/xulrunner-2
-Dorg.eclipse.swt.browser.UseWebKitGTK=true

Installed server developer in home folder…

developer opens (eclipse) when I attempt to check-out a solution, it crashes with the following errors:

INTERRUPTED while loading Image

GThread-ERROR **: GThread system may only be initialized once.
aborting…
and
*** NSPlugin Wrapper *** WARNING:(…/src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
AWT blocker activation interrupted:
java.lang.InterruptedException

I thought it may be due to servoy server running, so i shut down that (psotgresql runs as a service), it still errors.
i installed chrome in hopes that would fix, but to no avail.

Hi Steve,

I actually only did what I wrote in the post. I downloaded and installed the JRE 64-bit RPM (not the JDK but that doesn’t matter) in a clean install of Centos 6.2 64-bit. This Centos version comes with with Firefox already installed, no need to play with symlinks and such. As for the JRE installation. The RPM does all that for you. Again, no need to change any settings.
Then I installed Servoy 6.1 in my home directory and ran it without any problems.
In short, I ran 2 installers and it worked.
Perhaps you have been tinkering too much with your system and it’s no longer in a sane state?

Robert,

This is good news and, sigh, a demonstration of failure on my part to make something work.
As I am writing this, I am saving data to a HD. I will then dump centos and load fresh.

Just to make sure I understand, you made no additions / changes / tweaks. Just installed Centos, did the updates, installed java jre, did not make any symlinks to firefox from java, then installed servoy developer with the internal postgresql and sample databases

no export statements for mozilla home, etc, just installed centos, installed java and installed developer

Oh, and installing as normal user to /home

Correct?

stevek:
Correct?

Correct. It did all but initializing the PostgreSQL database directory. Seems this is a problem on other platforms as well.
Will look into that a little more when I am back from vacation (sending you this over 3G from sea ;) )

Can I set InternetExplorer8 as environment variable?