Redhat7.1安装Wepsphere报ERROR [main] org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory

在/opt/IBM/InstallationManager/eclipse,执行./IBMIM,启动Install  Manager 的界面时报如下错误

[root@mywas eclipse]# ./IBMIM
02:08.38 ERROR [main] org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory safeLogged
  Application error
  org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
    at org.eclipse.swt.SWT.error(SWT.java:4394)
    at org.eclipse.swt.widgets.Display.createDisplay(Display.java:914)
    at org.eclipse.swt.widgets.Display.create(Display.java:900)
    at org.eclipse.swt.graphics.Device.<init>(Device.java:156)
    ...
IBMIM:
An error has occurred. See the log file
/opt/IBM/InstallationManager/eclipse/configuration/1559029594424.log.

查看详细日志 cat /opt/IBM/InstallationManager/eclipse/configuration/1559029594424.log

!SESSION 2019-05-28 00:44:26.659 -----------------------------------------------
eclipse.buildId=unknown
java.fullversion=JRE 1.7.0 IBM J9 2.6 Linux amd64-64 Compressed References 20160406_298397 (JIT enabled, AOT enabled)
J9VM - R26_Java726_SR9_20160406_0949_B298397
JIT  - tr.r11_20160328_114192
GC   - R26_Java726_SR9_20160406_0949_B298397_CMPRSS
J9CL - 20160406_298397
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -toolId ibmim -accessRights admin
Command-line arguments:  -os linux -ws gtk -arch x86_64 -toolId ibmim -accessRights admin

!ENTRY org.eclipse.osgi 4 0 2019-05-28 00:48:44.116
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
        at org.eclipse.swt.SWT.error(SWT.java:4394)
        at org.eclipse.swt.widgets.Display.createDisplay(Display.java:914)
        at org.eclipse.swt.widgets.Display.create(Display.java:900)
        at org.eclipse.swt.graphics.Device.<init>(Device.java:156)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:498)
        at org.eclipse.swt.widgets.Display.<init>(Display.java:489)
        at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:680)
        at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
        at com.ibm.cic.agent.internal.ui.AgentUIApplication.initDisplay(AgentUIApplication.java:164)
        at com.ibm.cic.agent.internal.ui.AgentUIApplication.launch(AgentUIApplication.java:200)
        at com.ibm.cic.agent.internal.ui.AgentUIApplication.start(AgentUIApplication.java:87)
        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:353)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
        at java.lang.reflect.Method.invoke(Method.java:620)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

原因请求不到display资源造成的,需要安装x11相关的rpm包

xorg-x11-xauth
xorg-x11-fonts-*
xorg-x11-utils

解决方式

挂载iso镜像文件

mount  /dev/cdrom /mnt/cdrom

搭建本地yum源

cd /etc/yum.repos.d
vi rh7ISO.repo
#添加如下内容
[rh7ISO]
name=rh7iso
baseurl=file:///mnt/cdrom
enabled=1
gpgcheck=1
gpgkey=file:///mnt/cdrom/RPM-GPG-KEY-redhat-release

保存后,执行以下命令

yum clean all
yum makecache 

安装rpm包

yum install xorg-x11-xauth
yum install xorg-x11-fonts-*
yum install xorg-x11-utils

重新执行./IBMIM命令,成功弹出IBM Install Manager窗口

如有疑问可加微信一起交流

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值