Jnlp not running in Linux

Questions, answers, tips and ideas on Servoy Client

Jnlp not running in Linux

Postby nromeou » Thu Sep 16, 2010 2:46 pm

Hi everybody,
I'm deploying a smar client app.
Servoy server is installed in a Linux pc.
I need to install the app in two other Linux pc's.
In the first one everything goes ok, but in the second pc, jnlp doesn't even run.
By this I mean that you double click it, or right click it and open it with java web start, but nothing happens.
No error, no window, no process, nothing.

Could something else be conflicting with the java web start??

Thanks for the help

Cheers

PD: Servoy 5.1.3 and latest version of Java. Also Java Web Start is installed in both pc's.
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Re: Jnlp not running in Linux

Postby lvostinar » Fri Sep 17, 2010 4:51 pm

nromeou wrote:Hi everybody,
I'm deploying a smar client app.
Servoy server is installed in a Linux pc.
I need to install the app in two other Linux pc's.
In the first one everything goes ok, but in the second pc, jnlp doesn't even run.
By this I mean that you double click it, or right click it and open it with java web start, but nothing happens.
No error, no window, no process, nothing.

Could something else be conflicting with the java web start??

Thanks for the help

Cheers

PD: Servoy 5.1.3 and latest version of Java. Also Java Web Start is installed in both pc's.


Do you use Sun/Oracle JDK ? Do you see the splash screen of webstart, or it doesn' get there ?
Laurian Vostinar
Servoy
lvostinar
 
Posts: 1062
Joined: Tue Feb 19, 2008 10:53 am

Re: Jnlp not running in Linux

Postby nromeou » Fri Sep 17, 2010 6:03 pm

Hi Laurian,
I don't know wich JDK is being used, will find out.
It never reaches the splash screen. Also no process is launched, as far as I know.

Thanks for the help.

Cheers
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Re: Jnlp not running in Linux

Postby rgansevles » Mon Sep 20, 2010 9:53 am

nromeou,

Also check the file $HOME/.xsession-errors
All errors from programs started from the UI are redirected there.

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

Re: Jnlp not running in Linux

Postby nromeou » Tue Sep 21, 2010 2:47 pm

Hi Rob,
I've checked the xsession files that I found on the pc, both a new and old version.
But there seems to be nothing related to the java web start.
I'm posting them here, I hope somebody notices something I didn't.

This is the last version.
Code: Select all
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=es_UY.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
gnome-session[1360]: EggSMClient-WARNING: Invalid Version string '0.9.4' in /home/incre/.config/autostart/amarok.desktop
GNOME_KEYRING_CONTROL=/tmp/keyring-DdrKdz
GNOME_KEYRING_CONTROL=/tmp/keyring-DdrKdz
SSH_AUTH_SOCK=/tmp/keyring-DdrKdz/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-DdrKdz
SSH_AUTH_SOCK=/tmp/keyring-DdrKdz/ssh
gnome-session[1360]: WARNING: Could not launch application 'amarok.desktop': Unable to start application: Ha ocurrido un error al ejecutar el proceso hijo «amarok» (No existe el archivo o directorio)

(polkit-gnome-authentication-agent-1:1441): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:1441): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

** (nm-applet:1429): WARNING **: Tried to set deprecated property gsm/band

(gnome-power-manager:1443): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2273: signal `proxy-status' is invalid for instance `0x13c9df0'
CachingBackend: Cargando instancia desde el cache
CachingBackend: Cargando <ClearWeather1>
CachingBackend: Cargando instancia desde el cache
CachingBackend: Cargando <Trash1>
CachingBackend: Cargando instancia desde el cache
CachingBackend: Cargando <Clock1>
CachingBackend: Cargando instancia desde el cache
CachingBackend: Cargando <FuriusMoon1>
No global tempdir found, creating new one.
Temp directory /tmp/screenlets created.
Creando una nueva entrada de ClearWeatherScreenlet en /tmp/screenlets/screenlets.incre.running
Cargando instancias en: /home/incre/.config/Screenlets/ClearWeather/default/
Archivo: ClearWeather1.ini
Encontrada una sesión corriendo de Trash, añadiendo una nueva instancia al servicio.
Error en screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Trash was not provided by any .service files
Encontrada una sesión corriendo de Clock, añadiendo una nueva instancia al servicio.
Error en screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Clock was not provided by any .service files
Encontrada una sesión corriendo de FuriusMoon, añadiendo una nueva instancia al servicio.
Error en screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.FuriusMoon was not provided by any .service files
Initializing nautilus-open-terminal extension
** Message: Initializing gksu extension...
Screenlet has already been added to /tmp/screenlets/screenlets.incre.running
Cargando instancias en: /home/incre/.config/Screenlets/Trash/default/
Archivo: Trash1.ini
Screenlet has already been added to /tmp/screenlets/screenlets.incre.running
Cargando instancias en: /home/incre/.config/Screenlets/Clock/default/
Screenlet has already been added to /tmp/screenlets/screenlets.incre.running
Cargando instancias en: /home/incre/.config/Screenlets/FuriusMoon/default/
Archivo: FuriusMoon1.ini
Archivo: Clock1.ini
/home/incre/.config/Screenlets/ClearWeather/default/ClearWeather1
NUEVO TEMA CARGADO: default
ENCONTRADO: /usr/share/screenlets/ClearWeather/themes/default
/home/incre/.config/Screenlets/Clock/default/Clock1
NUEVO TEMA CARGADO: station
ENCONTRADO: /usr/share/screenlets/Clock/themes/station
/home/incre/.config/Screenlets/FuriusMoon/default/FuriusMoon1
NUEVO TEMA CARGADO: default
ENCONTRADO: /home/incre/.screenlets/FuriusMoon/themes/default
theme.conf encontrando! Sobrescribiendo opciones por defecto.
/home/incre/.config/Screenlets/Trash/default/Trash1
NUEVO TEMA CARGADO: default
ENCONTRADO: /usr/share/screenlets/Trash/themes/default
theme.conf cargado:
Nombre: Default
Autor: marcus-furius.com
Versión: 0.1
Info: Classic theme
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
/usr/lib/pymodules/python2.6/screenlets/drawing.py:114: DeprecationWarning: use copy pango.FontDescription.set_family instead
  self.p_fdesc.set_family_static(font)
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: RYX's railway-station clock
Autor: RYX (aka Rico Pfaus)
Versión: 1.0
Info: A typical railway-station look-alike
Aplicando opciones en FuriusMoonScreenlet
NUEVO TEMA CARGADO: default
ENCONTRADO: /home/incre/.screenlets/FuriusMoon/themes/default
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: Default
Autor: marcus-furius.com
Versión: 0.1
Info: Classic theme
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: Stardock weather icons
Autor: Stardock Corporation
Versión: 1.0
Info: These weather images are (c) 2003 by Stardock Corporation.  All rights reserved.
/usr/lib/pymodules/python2.6/screenlets/drawing.py:114: DeprecationWarning: use copy pango.FontDescription.set_family instead
  self.p_fdesc.set_family_static(font)
Starting gtk-window-decorator
WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported!  This is an application bug!
Recargando instancias de la sesion 'default' ...
Aplicando opciones en TrashScreenlet
NUEVO TEMA CARGADO: default
ENCONTRADO: /usr/share/screenlets/Trash/themes/default
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
Aplicando opciones en ClearWeatherScreenlet
NUEVO TEMA CARGADO: default
ENCONTRADO: /usr/share/screenlets/ClearWeather/themes/default
Recargando instancias de la sesion 'default' ...
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: Stardock weather icons
Autor: Stardock Corporation
Versión: 1.0
Info: These weather images are (c) 2003 by Stardock Corporation.  All rights reserved.
Aplicando opciones en ClockScreenlet
NUEVO TEMA CARGADO: vintage
ENCONTRADO: /usr/share/screenlets/Clock/themes/vintage
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado: Screenlet has been initialized.

Nombre: Vintage Clock
Autor: Thanius
Versión: 1.0
Info: Vintage clock based upon Cairo-clock's antique theme
Recargando instancias de la sesion 'default' ...
Unable to find a synaptics device.
OK - Clock has been initialized.
Recargando instancias de la sesion 'default' ...
I/O warning : failed to load external entity "/home/incre/.compiz/session/101d6ee331cbcb278d128498104860115700000013600030"
compiz (cube) - Warn: Failed to load slide: /usr/share/gdm/themes/Human/ubuntu.png
WARNING: Application calling GLX 1.3 function "glXDestroyPixmap" when GLX 1.3 is not supported!  This is an application bug!
rm: No se puede eliminar «.» directorio «/home/incre/.local/share/Trash/files/.»
rm: No se puede eliminar «..» directorio «/home/incre/.local/share/Trash/files/..»
Button release
Error retrieving weather data [Errno socket error] [Errno 110] Expiró el tiempo de conexión
Traceback (most recent call last):
  File "/usr/share/screenlets/ClearWeather/ClearWeatherScreenlet.py", line 130, in update_weather_data
    temp2 = self.parseWeatherDataHourly()
  File "/usr/share/screenlets/ClearWeather/ClearWeatherScreenlet.py", line 193, in parseWeatherDataHourly
    self.show_error(("Error retrieving weather data", e))
  File "/usr/share/screenlets/ClearWeather/ClearWeatherScreenlet.py", line 565, in show_error
    reasonstr = "\nReason: %s" % reason if reason is not None else ""
TypeError: not all arguments converted during string formatting
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x7f4087f9fb20)" of type `GString'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x7fcb6e69fb20)" of type `GString'
Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `GtkTreeView::odd-row-color' of type `GdkColor' from rc file value "((GString*) 0x221f9a0)" of type `GString'


And this is an older version.
Code: Select all
/etc/gdm/Xsession: Beginning session setup...
Setting IM through im-switch for locale=es_UY.
Start IM through /etc/X11/xinit/xinput.d/all_ALL linked to /etc/X11/xinit/xinput.d/default.
gnome-session[1366]: EggSMClient-WARNING: Invalid Version string '0.9.4' in /home/incre/.config/autostart/amarok.desktop
GNOME_KEYRING_CONTROL=/tmp/keyring-qmL74b
GNOME_KEYRING_CONTROL=/tmp/keyring-qmL74b
SSH_AUTH_SOCK=/tmp/keyring-qmL74b/ssh
GNOME_KEYRING_CONTROL=/tmp/keyring-qmL74b
SSH_AUTH_SOCK=/tmp/keyring-qmL74b/ssh
gnome-session[1366]: WARNING: Could not launch application 'amarok.desktop': Unable to start application: Ha ocurrido un error al ejecutar el proceso hijo «amarok» (No existe el archivo o directorio)

(polkit-gnome-authentication-agent-1:1447): GLib-GObject-WARNING **: cannot register existing type `_PolkitError'

(polkit-gnome-authentication-agent-1:1447): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

** (nm-applet:1435): WARNING **: Tried to set deprecated property gsm/band

(gnome-power-manager:1449): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:2273: signal `proxy-status' is invalid for instance `0xad6df0'
CachingBackend: Cargando instancia desde el cache
CachingBackend: Cargando <Trash1>
CachingBackend: Cargando instancia desde el cache
CachingBackend: Cargando <Clock1>
CachingBackend: Cargando instancia desde el cache
CachingBackend: Cargando <FuriusMoon1>
Initializing nautilus-open-terminal extension
** Message: Initializing gksu extension...
CachingBackend: Cargando instancia desde el cache
CachingBackend: Cargando <ClearWeather1>
daemon already started
WARNING: Application calling GLX 1.3 function "glXCreatePixmap" when GLX 1.3 is not supported!  This is an application bug!
Starting gtk-window-decorator
No global tempdir found, creating new one.
Temp directory /tmp/screenlets created.
Creando una nueva entrada de TrashScreenlet en /tmp/screenlets/screenlets.incre.running
Encontrada una sesión corriendo de FuriusMoon, añadiendo una nueva instancia al servicio.
Error en screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.FuriusMoon was not provided by any .service files
Encontrada una sesión corriendo de ClearWeather, añadiendo una nueva instancia al servicio.
Error en screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.ClearWeather was not provided by any .service filesEncontrada una sesión corriendo de Clock, añadiendo una nueva instancia al servicio.
Error en screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Clock was not provided by any .service files

Cargando instancias en: /home/incre/.config/Screenlets/Trash/default/
Archivo: Trash1.ini
Unable to find a synaptics device.
Screenlet has already been added to /tmp/screenlets/screenlets.incre.running
Screenlet has already been added to /tmp/screenlets/screenlets.incre.running
Cargando instancias en: /home/incre/.config/Screenlets/FuriusMoon/default/
Archivo: FuriusMoon1.ini
Screenlet has already been added to /tmp/screenlets/screenlets.incre.running
Cargando instancias en: /home/incre/.config/Screenlets/Clock/default/
Archivo: Clock1.ini
Cargando instancias en: /home/incre/.config/Screenlets/ClearWeather/default/
Archivo: ClearWeather1.ini
/home/incre/.config/Screenlets/ClearWeather/default/ClearWeather1
NUEVO TEMA CARGADO: default
ENCONTRADO: /usr/share/screenlets/ClearWeather/themes/default
/home/incre/.config/Screenlets/Trash/default/Trash1
NUEVO TEMA CARGADO: default
ENCONTRADO: /usr/share/screenlets/Trash/themes/default
/usr/lib/pymodules/python2.6/screenlets/drawing.py:114: DeprecationWarning: use copy pango.FontDescription.set_family instead
  self.p_fdesc.set_family_static(font)
/home/incre/.config/Screenlets/FuriusMoon/default/FuriusMoon1
NUEVO TEMA CARGADO: default
ENCONTRADO: /home/incre/.screenlets/FuriusMoon/themes/default
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: Default
Autor: marcus-furius.com
Versión: 0.1
Info: Classic theme
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
Aplicando opciones en FuriusMoonScreenlet
NUEVO TEMA CARGADO: default
ENCONTRADO: /home/incre/.screenlets/FuriusMoon/themes/default
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: Default
Autor: marcus-furius.com
Versión: 0.1
Info: Classic theme
Aplicando opciones en TrashScreenlet
NUEVO TEMA CARGADO: default
ENCONTRADO: /usr/share/screenlets/Trash/themes/default
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: Stardock weather icons
Autor: Stardock Corporation
Versión: 1.0
Info: These weather images are (c) 2003 by Stardock Corporation.  All rights reserved.
/home/incre/.config/Screenlets/Clock/default/Clock1
NUEVO TEMA CARGADO: station
Recargando instancias de la sesion 'default' ...
ENCONTRADO: /usr/share/screenlets/Clock/themes/station
/usr/lib/pymodules/python2.6/screenlets/drawing.py:114: DeprecationWarning: use copy pango.FontDescription.set_family instead
  self.p_fdesc.set_family_static(font)
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: RYX's railway-station clock
Autor: RYX (aka Rico Pfaus)
Versión: 1.0
Info: A typical railway-station look-alike
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
WARNING - add_default_menuitems and add_menuitems should be set in on_init ,menu values will be displayed incorrectly
Aplicando opciones en ClearWeatherScreenlet
NUEVO TEMA CARGADO: default
ENCONTRADO: /usr/share/screenlets/ClearWeather/themes/default
Recargando instancias de la sesion 'default' ...
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: Stardock weather icons
Autor: Stardock Corporation
Versión: 1.0
Info: These weather images are (c) 2003 by Stardock Corporation.  All rights reserved.
Aplicando opciones en ClockScreenlet
NUEVO TEMA CARGADO: vintage
ENCONTRADO: /usr/share/screenlets/Clock/themes/vintage
theme.conf encontrando! Sobrescribiendo opciones por defecto.
theme.conf cargado:
Nombre: Vintage Clock
Autor: Thanius
Versión: 1.0
Info: Vintage clock based upon Cairo-clock's antique theme
Screenlet has been initialized.
I/O warning : failed to load external entity "/home/incre/.compiz/session/103b610ed7d1b6d0ee128475957617184300000013660030"
Recargando instancias de la sesion 'default' ...
OK - Clock has been initialized.
Recargando instancias de la sesion 'default' ...
compiz (cube) - Warn: Failed to load slide: /usr/share/gdm/themes/Human/ubuntu.png
WARNING: Application calling GLX 1.3 function "glXDestroyPixmap" when GLX 1.3 is not supported!  This is an application bug!

(eog:1682): GLib-GIO-CRITICAL **: g_app_info_equal: assertion `G_IS_APP_INFO (appinfo1)' failed

(eog:1682): GLib-GIO-CRITICAL **: g_app_info_equal: assertion `G_IS_APP_INFO (appinfo1)' failed

(gnome-power-manager:1449): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
Sense key: 0x72 0x0b 0x47 0x00 0x00 0x00 0x00 0x0e 0x09 0x0c 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00
Shutting down nautilus-open-terminal extension

--- Hash table keys for warning below:
--> l2054
--> root
--> inode/directory
--> incre
--> l2055
--> l2816

(nautilus:1437): Eel-WARNING **: "unique eel_ref_str" hash table still has 6 elements at quit time (keys above)

(nautilus:1437): Eel-WARNING **: "nautilus-directory.c: directories" hash table still has 6 elements at quit time
** Message: NM disappeared
PolicyKit daemon disconnected from the bus.
We are no longer a registered authentication agent.

** (polkit-gnome-authentication-agent-1:1447): WARNING **: no sender

gnome-settings-daemon: Fatal IO error 11 (Recurso temporalmente no disponible) on X server :0.0.
ClearWeatherScreenlet.py: Fatal IO error 11 (Recurso temporalmente no disponible) on X server :0.0.
gtk-window-decorator: Fatal IO error 11 (Recurso temporalmente no disponible) on X server :0.0.
** Message: Got disconnected from the system message bus; retrying to reconnect every 10 seconds
** Message: Got disconnected from the session message bus; retrying to reconnect every 10 seconds
mintUpdate.py: Fatal IO error 11 (Recurso temporalmente no disponible) on X server :0.0.
gnome-screensaver: Fatal IO error 11 (Recurso temporalmente no disponible) on X server :0.0.
nm-applet: Fatal IO error 0 (Éxito) on X server :0.0.


Thanks for the help.

Cheers

PD: Just in case I need to reinstall the pc, wich version/edition of linux do you think is best to work with servoy?
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Re: Jnlp not running in Linux

Postby rgansevles » Tue Sep 21, 2010 7:59 pm

nromeou,

That is a lot of stuff from other apps.

Try starting the smart client from the command line, hopefully this wil give a clue:

Code: Select all
wget http://yourhost:8080/servoy-client/yoursolution.jnlp
javaws yoursolution.jnlp


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

Re: Jnlp not running in Linux

Postby nromeou » Fri Sep 24, 2010 2:14 pm

Thanks Rob,
I'll try that and get to you.

Cheers
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Re: Jnlp not running in Linux

Postby nromeou » Tue Sep 28, 2010 2:53 pm

Hi Rob,

Sorry for the delay.

I've tried the command you posted.
This is the exception thrown at calling the javaws,

Code: Select all
incre01 zeus # javaws crm_Colegio.jnpl
No protocol specified
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':1036.0' as the value of the DISPLAY variable.
    at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:62)
    at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:166)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:142)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:186)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
    at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:112)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:186)
    at java.awt.Toolkit$2.run(Toolkit.java:849)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:841)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:136)
    at javax.swing.ImageIcon.<init>(ImageIcon.java:155)
    at net.sourceforge.jnlp.runtime.JNLPRuntime.loadWindowIcon(JNLPRuntime.java:540)
    at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:180)
    at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:203)
    at java.security.AccessController.doPrivileged(Native Method)
    at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:193)


I'm not sure what "Can't connect to X11 window server using ':1036.0' as the value of the DISPLAY variable." migth mean.
Ideas??

Thanks for the help
Cheers
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Re: Jnlp not running in Linux

Postby rgansevles » Thu Sep 30, 2010 9:05 am

nromeou,

That is a weird error about the DISPLAY variable.
It does not have anything to do with Servoy, this variable is used in the X windows system, it tells to which desktop to connect.
Did you sit behind the screen of he failing computer and typed this in a terminal window?

From the stacktrace it looks you are not using the sun java which is what you need.
What does command 'java -version' print?

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

Re: Jnlp not running in Linux

Postby nromeou » Tue Oct 05, 2010 1:35 pm

Rob, I have no remote access to the failing desktop.
But I can't access it myself either.
I asked the desktop admin to try the command you posted.

I'll ask for the java version if you think it would help.
But I would rather reinstall the desktop because this has been going on for a while now and we need to solve it real quick.

Do you think reinstalling would solve the problem??
It should if it is not a servoy problem right??

Thanks for the help
Cheers
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Re: Jnlp not running in Linux

Postby rgansevles » Tue Oct 05, 2010 7:15 pm

nromeou,

I think installing sun (oracle?) java should fix this.

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

Re: Jnlp not running in Linux

Postby nromeou » Wed Oct 06, 2010 1:30 pm

Ok Rob,
I'll let you know how this went.
Thanks for the help
Cheers
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Re: Jnlp not running in Linux

Postby nromeou » Thu Oct 07, 2010 1:37 pm

Hi Rob,
I reinstalled the desktop.

Tried the same commands from last time.

Code: Select all
zeus@incre01 ~ $ javaws crm_Colegio.jnlp
netx: Unexpected net.sourceforge.jnlp.ParseException: Invalid XML document syntax. at net.sourceforge.jnlp.Parser.getRootNode(Parser.java:1203)


Ideas???

Cheers
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Re: Jnlp not running in Linux

Postby rgansevles » Thu Oct 07, 2010 10:26 pm

nromeou,

You still seem to be running open-jdk java, and not sun-java.
The net.sourceforge part tells me that from the exception.

Someone with a similar problem in ubuntu solved it here https://bugs.launchpad.net/ubuntu/+sour ... bug/182971 with:

sudo update-java-alternatives --set sun-6-java

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

Re: Jnlp not running in Linux

Postby nromeou » Fri Oct 08, 2010 1:31 pm

Hi Rob,

I'll try that and get to you.

Thanks for the help.
Cheers
nromeou
 
Posts: 215
Joined: Fri Sep 18, 2009 8:38 pm
Location: Montevideo, Uruguay

Next

Return to Servoy Client

Who is online

Users browsing this forum: No registered users and 5 guests

cron