首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > 其他服务器 >

AIX报错java.lang.UnsatisfiedLinkError: license解决方案

2012-08-09 
AIX报错java.lang.UnsatisfiedLinkError: license我在AIX下编译运行服务器,在客户端链接到其中一个网页是

AIX报错java.lang.UnsatisfiedLinkError: license
我在AIX下编译运行服务器,在客户端链接到其中一个网页是报错,

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.UnsatisfiedLinkError: license (A file or directory in the path name does not exist.)

  at java.lang.ClassLoader.loadLibraryWithPath(ClassLoader.java:896)
  at java.lang.ClassLoader.loadLibraryWithClassLoader(ClassLoader.java:865)
  at java.lang.System.loadLibrary(System.java:445)
  at licensePkg.SLMStandAloneLicense.<clinit>(Unknown Source)
  at java.lang.J9VMInternals.initializeImpl(Native Method)
  at java.lang.J9VMInternals.initialize(J9VMInternals.java:148)
  at ism.security.IsmSessionServer.featureAllowed(IsmSessionServer.java:123)
  at ism.security.IsmSessionServer.featureAllowed(IsmSessionServer.java:100)
  at ism.sca.ArborFXBean.getReports(ArborFXBean.java:1788)
  at org.apache.jsp.OpCenter.Parts.Core.ArborFXPart_jsp._jspService(org.apache.jsp.OpCenter.Parts.Core.ArborFXPart_jsp:202)
  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)
  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:615)
  at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
  at java.security.AccessController.doPrivileged(AccessController.java:270)
  at javax.security.auth.Subject.doAsPrivileged(Subject.java:727)
  at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
  at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
  at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
  at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
  at java.security.AccessController.doPrivileged(AccessController.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
  at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
  at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
  at org.apache.catalina.core.ApplicationDispatcher.access$100(ApplicationDispatcher.java:66)
  at org.apache.catalina.core.ApplicationDispatcher$PrivilegedInclude.run(ApplicationDispatcher.java:97)
  at java.security.AccessController.doPrivileged(AccessController.java:241)
  at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:490)
  at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966)
  at org.apache.jsp.OpCenter.Pages.ArborFXMain_jsp._jspService(org.apache.jsp.OpCenter.Pages.ArborFXMain_jsp:609)
  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322)


  at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:291)
  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
  at sun.reflect.GeneratedMethodAccessor36.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:615)
  at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
  at java.security.AccessController.doPrivileged(AccessController.java:270)
  at javax.security.auth.Subject.doAsPrivileged(Subject.java:727)
  at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
  at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:245)
  at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:50)
  at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:156)
  at java.security.AccessController.doPrivileged(AccessController.java:241)
  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:152)
  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
这些需要的库都是set到classpath里面去了的~~而且在其他linux,solaris,HPUX上都没该问题。。
是不是和AIX 机器位数有关呀?

[解决办法]
SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.UnsatisfiedLinkError: license (A file or directory in the path name does not exist.)

文件是否存在?
[解决办法]

探讨

liblicense.so,license.jar,都设置到环境变量里面去了,
license这个文件夹也是存在的~~~。。。
在程序的HOME目录下面有license文件夹

热点排行