Page 1 of 1

Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Wed Jan 04, 2012 4:08 pm
by Armin_kessler
I installed Servoy Developer 6.0.3 on Fedora 16.

The installation process works OK , but when trying to start servoy developer
a crash occurs ... ( details in attached file ).
server.log and servoy_log.txt in application_server do not report errors.

Thanks in advance Armin Kessler

java version 1.6.0_21

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Thu Jan 05, 2012 11:58 am
by Andrei Costescu
It crashes when trying to show the start page in a browser editor.

There seems to be an incompatibility between the Firefox browser installed on your system and eclipse libs present in Servoy.
The version of the eclipse platform your Servoy install is based on is part of the feature name in [install_dir]/developer/features/org.eclipse.platform_(...).

Here is a list of compatibilities: http://www.eclipse.org/swt/faq.php#browserlinux

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Fri Jan 06, 2012 3:58 am
by Armin_kessler
Is possible to start Servoy 6.0.3 without the start page ?

Is possible to change de browser start page ? example Opera , Google chrome etc.

For me the Start page made Servoy not standard in other Operating Systems.
Example Debian don't install firefox by defalt.

Thanks Armin

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Fri Jan 06, 2012 10:20 am
by Andrei Costescu
Servoy uses default renderer for the Browser component (so Firefox is not hard-coded). That means that it will try to find and work with a native renderer that works.
Unfortunately in this case it chooses a Mozilla based browser (this can be seen in the attachment above - so I assumed it's Firefox) with incompatible libs...

You can prevent the start page from appearing if you have a Servoy Developer license and a "servoy.developer.showStartPage=false" Servoy property defined.
That doesn't actually fix your problem though I suspect, because that same will probably happen when the welcome page or any other default browser component is displayed.
In the next major version of Servoy (appeared in SWT 3.7.1) there will be a way to specify the native browser renderer to be used by default (for example -Dorg.eclipse.swt.browser.DefaultType=webkit in servoy.ini file vmargs).

If you have 64bit OS: try to install Servoy using a 64 bit Oracle JVM and also start Servoy with the same 64 bit JVM. There may also be an incopatibility of this sort between eclipse and your system browser libs.

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Tue Jan 10, 2012 2:27 pm
by Andrei Costescu
For 6.0.3 you can also try to add system property org.eclipse.swt.browser.UseWebKitGTK=true and see if that works.
Add a line at the end of servoy.ini (after the -vmargs line):

Code: Select all
-Dorg.eclipse.swt.browser.UseWebKitGTK=true

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Tue Jan 10, 2012 5:47 pm
by Armin_kessler
Andrei:

I added the system property:

Code: Select all
-Dorg.eclipse.swt.browser.UseWebKitGTK=true


The operating system is: Fedora 16 32 bits , also tried in Debian 6.0.3 i386 and openSUSE 12.1 32 bits ,
java version 1.5.0_22 , 1.6.0_04 ( included in Sql Anywhere 11 ) , 1.6.0_21 , 1.6.0_30 32 bits ,
and Servoy Developer 6.0.3 always crashed ... , I'm forget to work in Linux , it seems that the developer
must be a Guru.

I think that the browser affected the installation of Servoy Developer and is not necessary ... , or
could be optional.
I use SQL Anywhere 11 for the servoy_repository and database information and it is installed
and UP OK on all the Linux distro that I have tried.

Thanks Andrei and sorry for troubles ... Armin

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Wed Jan 11, 2012 10:03 am
by Andrei Costescu
Hmm. Other ppl. I know working on Linux have no such problem with the developer. But they are either on other distributions or 64 bit...

Did you try without the -Dorg.eclipse.swt.browser.UseWebKitGTK=true property as well on Debian/openSUSE?
Did a previous version of Servoy Developer work on the same OSes? If it did please go in to Help->Welcome in previous versions and see if that leads to a crash.

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Tue Jan 17, 2012 4:33 pm
by Armin_kessler
Andrei:

Thank you for your attention to my problem.

In witch linux distro have you installed Servoy Developer 6.0.x without problems ?

I yesterday install Fedora 16 64 bits and crashed when started, I tried with
servoy_repository with postgres and SQL Anywhere 11 with the same result.
( with and without the param -Dorg.eclipse.swt.browser.UseWebKitGTK=true ).

Previusly I tried with Debian 603 i386, Open SUSE 12.1 32 bits with KDE and
Mandriva 2011 32 bits , Fedora 15 32 bits.

Thanks and have a good day Armin

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Tue Jan 17, 2012 5:29 pm
by Andrei Costescu
For example Ubuntu 10.0.4 64 bits, java 6 or java 7 from sun/oracle.
Did you try showing the welcome screen in a 5.x Servoy Developer that works on these OSes?

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Tue Jan 24, 2012 1:08 am
by rgansevles
Armin,

This crash seems to be related to xulrunner lib that comes with the distro.
I see similar crashes of eclipse discussed.

Try adding

Code: Select all
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-2/


(or where the xulrunner lives on your system)
To the vmargs in eclipe.ini

Rob

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Sun Jul 15, 2012 12:28 am
by stevek
There is no eclipse.ini that I can find. I have a servoy.ini

Where exactly is this file you are speaking of? I am running Centos

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Mon Jul 30, 2012 9:18 am
by rgansevles
Steve,

It should be in the servoy.ini.

Rob

Re: Servoy developer 6.0.3 crash in Fedora 16

PostPosted: Sun Jan 12, 2014 4:42 pm
by gras0011
On Linux OpenSuse I tried editing servoy.ini file, on the last line I put konqueror instead of mozilla:
-Dorg.eclipse.swt.browser.DefaultType=konqueror
it works!