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


你可能感兴趣的:(linux,File,图形)