One Star

[resolved] New Installation On UBUNTU Linux - launch does nothing.

This is a new installation on a Unbuntu server.
The java version is correct.  I have installed xulrunner.
Followed the instructions to the t.
When I launch ./TOS_DI-linux-gtk-x86.sh it pauses for about 30seconds and then returns to the prompt.  Nothing happens.  I am running this on a Joyent cloud.  I suspect this MAY have something to do with a port but I cannot get any ideas because I receive no error.
How /where do I find the logs.   I look in workspace and there is nothing there?
Help.
7 REPLIES
Community Manager

Re: [resolved] New Installation On UBUNTU Linux - launch does nothing.

Hi 
Please upload the log messages which are located in <Talend Studio install dir>/workspace/.metadata/.log
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] New Installation On UBUNTU Linux - launch does nothing.

Thank you so much for showing me where the log is.   Ok, so I am getting an error.   Here is the error log:

!SESSION 2014-09-17 23:59:17.121 -----------------------------------------------

eclipse.buildId=unknown

java.version=1.7.0_67

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.osgi 4 0 2014-09-18 00:00:20.263

!MESSAGE Application error

!STACK 1

java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:

/home/talend/TOS_DI-r118616-V5.5.1/configuration/org.eclipse.osgi/bundles/1025/1/.cp/libswt-pi-gtk-3655.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

no swt-pi-gtk in java.library.path

Can't load library: /tmp/swtlib-64/libswt-pi-gtk-3655.so

Can't load library: /tmp/swtlib-64/libswt-pi-gtk.so

/tmp/swtlib-64/libswt-pi-gtk-3655.so: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:267)

at org.eclipse.swt.internal.Library.loadLibrary(Library.java:174)

at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22)

at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)

at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)

at org.eclipse.swt.widgets.Display.<clinit>(Display.java:132)

at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:687)

at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)

at org.talend.rcp.intro.Application.start(Application.java:70)

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:606)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)

at org.eclipse.equinox.launcher.Main.run(Main.java:1407)

at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Moderator

Re: [resolved] New Installation On UBUNTU Linux - launch does nothing.

Hi,
What's your Unbuntu server version? Have you checked document TalendHelpCenter:Compatible Platforms to see if you are on a compatible platform?
Is your Unbuntu Virtual Machine? Is it workstation?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] New Installation On UBUNTU Linux - launch does nothing.

I am running Ubuntu 12.04.   This is compatable according to Talend.
I am running a VM via Joyent.
What does this error tend to indicate?
One Star

Re: [resolved] New Installation On UBUNTU Linux - launch does nothing.

Ok - so researching and found that this type of error indicates missing packages.   I executed the following:
sudo apt-get install libswt-gtk-3-jni libswt-gtk-3-java
This worked.  I am now getting a new set of errors  : )
The new set of errors are seen below.     You asked if this a VM.    Is it a problem to run this on a VM?
(TOS_DI-linux-gtk-x86_64:8341): GLib-GObject-WARNING **: invalid (NULL) pointer                                                                                         instance
(TOS_DI-linux-gtk-x86_64:8341): GLib-GObject-CRITICAL **: g_signal_connect_data:                                                                                         assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen                                                                                        : assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gtk-WARNING **: Screen for GtkWindow not set; yo                                                                                        u must always set
a screen for a GtkWindow before using the window
(TOS_DI-linux-gtk-x86_64:8341): Gtk-WARNING **: Screen for GtkWindow not set; yo                                                                                        u must always set
a screen for a GtkWindow before using the window
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_screen_get_display: ass                                                                                        ertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_display_get_pointer: as                                                                                        sertion `GDK_IS_DISPLAY (display)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gtk-WARNING **: Screen for GtkWindow not set; yo                                                                                        u must always set
a screen for a GtkWindow before using the window
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_screen_get_n_monitors:                                                                                         assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gtk-WARNING **: Screen for GtkWindow not set; yo                                                                                        u must always set
a screen for a GtkWindow before using the window
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geom                                                                                        etry: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_screen_get_default_colo                                                                                        rmap: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: as                                                                                        sertion `GDK_IS_COLORMAP (colormap)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_screen_get_default_colo                                                                                        rmap: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_screen_get_root_window:                                                                                         assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_screen_get_root_window:                                                                                         assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8341): Gdk-CRITICAL **: IA__gdk_window_new: assertion `                                                                                        GDK_IS_WINDOW (parent)' failed
talend@f7c0697d-ea6a-63bf-850c-922741e5821d:~/TOS_DI-r118616-V5.5.1$ vi kurt.log                                                                                        talend@f7c0697d-ea6a-63bf-850c-922741e5821d:~/TOS_DI-r118616-V5.5.1$ . ./TOS_DI*.sh
(TOS_DI-linux-gtk-x86_64:8357): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(TOS_DI-linux-gtk-x86_64:8357): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gtk-CRITICAL **: IA__gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(TOS_DI-linux-gtk-x86_64:8357): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_display_get_pointer: assertion `GDK_IS_DISPLAY (display)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_screen_get_n_monitors: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gtk-WARNING **: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_screen_get_monitor_geometry: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_colormap_get_visual: assertion `GDK_IS_COLORMAP (colormap)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_screen_get_default_colormap: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_screen_get_root_window: assertion `GDK_IS_SCREEN (screen)' failed
(TOS_DI-linux-gtk-x86_64:8357): Gdk-CRITICAL **: IA__gdk_window_new: assertion `GDK_IS_WINDOW (parent)' failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fb66c38130e, pid=8357, tid=140421552260864
#
# JRE version: Java(TM) SE Runtime Environment (7.0_67-b01) (build 1.7.0_67-b01)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C    gdk_window_enable_synchronized_configure+0xe
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/talend/TOS_DI-r118616-V5.5.1/hs_err_pid8357.log
#
# If you would like to submit a bug report, please visit:
#  
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
One Star

Re: [resolved] New Installation On UBUNTU Linux - launch does nothing.

Ok - among other things and the most important element that I did not understand is that you must connect via an X-Windows method.  I am using Putty w xMing.
Issue Closed.
Moderator

Re: [resolved] New Installation On UBUNTU Linux - launch does nothing.

Hi klueck,
Thanks for sharing your solution with us.

If the issue is closed, could you please click the "Set this topic as resolved" link which is right underneath your initial post? This way, other users will be informed that this thread has been resolved.
Many thanks

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.