java.lang.UnsatisfiedLinkError:/lcims/bea/jdk142_11/jre/lib/i386/libawt.so: libXp.so.6: cannot open

现象:

<2011-7-28下午03时47分20秒 CST><Error> <HTTP> <BEA-101017><[ServletContext(id=4824957,name=webapps,context-path=)] Root cause ofServletException.

java.lang.UnsatisfiedLinkError:/lcims/bea/jdk142_11/jre/lib/i386/libawt.so: libXp.so.6: cannot open sharedobject file: No such file or directory

        atjava.lang.ClassLoader$NativeLibrary.load(Native Method)

        atjava.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)

        atjava.lang.ClassLoader.loadLibrary(ClassLoader.java:1503)

        atjava.lang.Runtime.loadLibrary0(Runtime.java:788)

        atjava.lang.System.loadLibrary(System.java:834)

        atsun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)

        at java.security.AccessController.doPrivileged(NativeMethod)

        atjava.awt.image.ColorModel.loadLibraries(ColorModel.java:188)

        atjava.awt.image.ColorModel.<clinit>(ColorModel.java:196)

        atjava.awt.image.BufferedImage.<clinit>(BufferedImage.java:212)

        at com.linkage.lcunp.util.CreateVerifycodeServlet.doPost(CreateVerifycodeServlet.java:74)

        atcom.linkage.lcunp.util.CreateVerifycodeServlet.doGet(CreateVerifycodeServlet.java:42)

        atjavax.servlet.http.HttpServlet.service(HttpServlet.java:740)

        atjavax.servlet.http.HttpServlet.service(HttpServlet.java:853)

        atweblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)

        atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)

        atweblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)

        atweblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)

        at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)

        atweblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)

        atweblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)

        atweblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)

        atweblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)

        atweblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)

 

原因:linux缺少支持图形的包;

 

安装命令:

1)     rpm -ivh libXp-1.0.0-8.1.el5.x86_64.rpm

2)     rpm -ivh libXp-1.0.0-8.1.el5.i386.rpm


评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值