Servoy developer 6.0.3 crash in Fedora 16

Questions and answers for all installation-related topics for Servoy products

Servoy developer 6.0.3 crash in Fedora 16

Postby Armin_kessler » Wed Jan 04, 2012 4:08 pm

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
Attachments
hs_err_pid7254.txt
crash detail
(68.01 KiB) Downloaded 400 times
Sistemas de Computación KOINFO, C.A.
Armin Kessler Winkler
"El imperio de un solo hombre"
Armin_kessler
 
Posts: 59
Joined: Sun Oct 28, 2007 6:12 am
Location: Venezuela

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby Andrei Costescu » Thu Jan 05, 2012 11:58 am

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
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby Armin_kessler » Fri Jan 06, 2012 3:58 am

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
Sistemas de Computación KOINFO, C.A.
Armin Kessler Winkler
"El imperio de un solo hombre"
Armin_kessler
 
Posts: 59
Joined: Sun Oct 28, 2007 6:12 am
Location: Venezuela

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby Andrei Costescu » Fri Jan 06, 2012 10:20 am

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.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby Andrei Costescu » Tue Jan 10, 2012 2:27 pm

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
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby Armin_kessler » Tue Jan 10, 2012 5:47 pm

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
Attachments
hs_err_pid2951.txt
Java crash details ...
(64.29 KiB) Downloaded 357 times
Sistemas de Computación KOINFO, C.A.
Armin Kessler Winkler
"El imperio de un solo hombre"
Armin_kessler
 
Posts: 59
Joined: Sun Oct 28, 2007 6:12 am
Location: Venezuela

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby Andrei Costescu » Wed Jan 11, 2012 10:03 am

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.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby Armin_kessler » Tue Jan 17, 2012 4:33 pm

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
Sistemas de Computación KOINFO, C.A.
Armin Kessler Winkler
"El imperio de un solo hombre"
Armin_kessler
 
Posts: 59
Joined: Sun Oct 28, 2007 6:12 am
Location: Venezuela

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby Andrei Costescu » Tue Jan 17, 2012 5:29 pm

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?
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby rgansevles » Tue Jan 24, 2012 1:08 am

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
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby stevek » Sun Jul 15, 2012 12:28 am

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
stevek
 
Posts: 53
Joined: Thu Jan 25, 2007 7:19 pm

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby rgansevles » Mon Jul 30, 2012 9:18 am

Steve,

It should be in the servoy.ini.

Rob
Rob Gansevles
Servoy
User avatar
rgansevles
 
Posts: 1927
Joined: Wed Nov 15, 2006 6:17 pm
Location: Amersfoort, NL

Re: Servoy developer 6.0.3 crash in Fedora 16

Postby gras0011 » Sun Jan 12, 2014 4:42 pm

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!
gras0011
 
Posts: 1
Joined: Sun Jan 12, 2014 4:37 pm


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest