kettle启动闪退,报错

来源:互联网 发布:船舶钢材用量计算法 编辑:程序博客网 时间:2024/04/28 10:42
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ff2c237302c, pid=10261, tid=140680619304704
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0xe02c]  _dl_fixup+0x11c
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

#

按http://blog.csdn.net/taurendruids/article/details/37511791 这个上面改了以后还是有问题,

进一步查找资料找到了解决办法,按下面方法设置好后就解决了

Cause:
It turns out that it is an eclipse issue as depicted here:

After updating to GNOME 3.8 with libsoup 2.42.0, Eclipse reliably crashes after a few seconds of using:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=405786

Solution:
the workaround is modifying your spoon.sh file as follows

OPT="$OPT $PENTAHO_DI_JAVA_OPTIONS -Djava.library.path=$LIBPATH -DKETTLE_HOME=$KETTLE_HOME -DKETTLE_REPOSITORY=$KETTLE_REPOSITORY -DKETTLE_USER=$KETTLE_USER -DKETTLE_PASSWORD=$KETTLE_PASSWORD -DKETTLE_PLUGIN_PACKAGES=$KETTLE_PLUGIN_PACKAGES -DKETTLE_LOG_SIZE_LIMIT=$KETTLE_LOG_SIZE_LIMIT -Dorg.eclipse.swt.browser.DefaultType=mozilla"

Note that the thing you need to add to the JAVA options is:
 -Dorg.eclipse.swt.browser.DefaultType=mozilla

Should problems still arise, try adding this option too:
 -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib64/xulrunner/
or the equivalent path in your system to xulrunner

and that's it, I hope it helps.



0 0
原创粉丝点击