日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

Unable to load the Wrapper's native library because none of the following files及解决方法

發布時間:2025/4/14 编程问答 21 豆豆
生活随笔 收集整理的這篇文章主要介紹了 Unable to load the Wrapper's native library because none of the following files及解决方法 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

在有幾個應用中,在啟動的時候發現下列警告:

The version of the script (3.5.29) doesn't match the version of this Wrapper (3.5.27). This might cause some problems
--> Wrapper Started as Daemon
Java Service Wrapper Community Edition 64-bit 3.5.27
Copyright (C) 1999-2015 Tanuki Software, Ltd. All Rights Reserved.
http://wrapper.tanukisoftware.com

Launching a JVM...
WrapperManager: Initializing...
WrapperManager:
WrapperManager: WARNING - Unable to load the Wrapper's native library because none of the
WrapperManager: following files:
WrapperManager: libwrapper-linux-x86-64.so
WrapperManager: libwrapper.so
WrapperManager: could be located on the following java.library.path:
WrapperManager: /data/src/osm-route/bin/../lib
WrapperManager: Please see the documentation for the wrapper.java.library.path
WrapperManager: configuration property.
WrapperManager: System signals will not be handled correctly.
WrapperManager:
17-02-04 11:26:13.164 INFO WrapperSimpleAppMain org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:578): Refreshing org.springframework.context.suppor
t.ClassPathXmlApplicationContext@6ca9bb2b: startup date [Sat Feb 04 11:26:13 CST 2017]; root of context hierarchy

?但是,程序是可以正常起來的(如果不能起來,則多半不是因為缺少上面兩個so之一的原因)。

于是,筆者再看了下幾個其他應用的lib,如下:

[root@iZ23nn1p4mjZ lib]# ll
total 344
-rw-r--r-- 1 root root 44664 Jan 16 13:35 libwrapper.so
-rw-r--r-- 1 root root 67882 Jan 16 13:35 wrapperdemo.jar
-rw-r--r-- 1 root root 124041 Jan 16 13:35 wrapper.jar
-rw-r--r-- 1 root root 106706 Jan 16 13:35 wrappertest.jar
[root@iZ23nn1p4mjZ lib]# cd ../../osm-all/lib
[root@iZ23nn1p4mjZ lib]# ll
total 344
-rw-r--r-- 1 root root 44664 Jan 16 13:35 libwrapper.so
-rw-r--r-- 1 root root 67882 Jan 16 13:35 wrapperdemo.jar
-rw-r--r-- 1 root root 124041 Jan 16 13:35 wrapper.jar
-rw-r--r-- 1 root root 106706 Jan 16 13:35 wrappertest.jar
[root@iZ23nn1p4mjZ lib]# cd ../../osm-route/lib
[root@iZ23nn1p4mjZ lib]# ll
total 632
-rw-r--r-- 1 root root 67882 Jan 16 13:35 wrapperdemo.jar
-rw-r--r-- 1 root root 337176 Jan 16 13:35 wrapper.dll
-rw-r--r-- 1 root root 124041 Jan 16 13:35 wrapper.jar
-rw-r--r-- 1 root root 106706 Jan 16 13:35 wrappertest.jar
[root@iZ23nn1p4mjZ lib]# cd ../../osm-trade/lib
[root@iZ23nn1p4mjZ lib]# ll
total 344
-rw-r--r-- 1 root root 44664 Jan 16 13:35 libwrapper.so
-rw-r--r-- 1 root root 67882 Jan 16 13:35 wrapperdemo.jar
-rw-r--r-- 1 root root 124041 Jan 16 13:35 wrapper.jar
-rw-r--r-- 1 root root 106706 Jan 16 13:35 wrappertest.jar

其中一個確實沒有libwrapper.so,再看下這個so的作用,如下:

The Java component of Java Service Wrapper requires that a native library be loaded to be able to handle system signals and perform other functions which are not possible using the Java API. This property allows the name of the library to be modified to suit the needs of a particular application. In general, most users should not need to use this property.

The Java language specifies some rules about how Java Native Libraries (JNI) can be named. The Wrapper's library is no exception and must follow these naming conventions.

To explain this, we will use the default base name "wrapper" as an example.

Example:
wrapper.native_library=wrapper
  • On Windows systems, the library file name will be "wrapper.dll".
  • On Mac OSX systems, the library file name will be "libwrapper.jnilib".
  • And on all other Linux/UNIX platforms, the library file name will be "libwrapper.so".

If this property is given any other value, that base-name will be used to construct the actual name of the native library file using the above rules.

Library Path:

Regardless of the name specified, the native library must be located within a directory specified using thewrapper.java.library.path.<n>?property.

Platform specific native libraries:

The Wrapper also provides a facility to make it easy to create binary distributions that run on any platform, even if the application makes use of native libraries. In detail, see the?Platform specific native libraries.


所以,其實libwrapper其實是處理平臺相關的一些信號的,比如kill -N的個中含義。并不影響其本身,當然最好是應該有的。萬一不見了的話,可以從官網http://wrapper.tanukisoftware.com/doc/english/download.jsp下載對應版本放進去就可以了。

?

轉載于:https://www.cnblogs.com/zhjh256/p/6364514.html

總結

以上是生活随笔為你收集整理的Unable to load the Wrapper's native library because none of the following files及解决方法的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 日韩成人动漫在线观看 | 日韩黄色免费网站 | 国产三级网站 | 91无限观看| 操欧美女 | 老外一级片 | 超碰资源在线 | 骑骑上司妻电影 | 宅男深夜视频 | 软萌小仙自慰喷白浆 | 久久作爱视频 | 久久在线中文字幕 | 亚洲成人中文字幕在线 | 99这里有精品 | 精品少妇一区二区三区免费观 | 高清一区二区三区四区五区 | 久久国产精品久久久久久 | 蜜桃精品成人影片 | 国产成人愉拍精品久久 | 国产一区二区麻豆 | 红桃av| 精品视频无码一区二区三区 | 九九热综合 | 草民午夜理伦三级 | 在线观看成年人视频 | 欧美最猛黑人xxxx | 一级全黄裸体免费观看视频 | 在线观看福利电影 | 成人性做爰aaa片免费看不忠 | 调教少妇视频 | 日本精品久久久久中文字幕 | 亚洲欧美综合久久 | 日本中出视频 | 日韩福利一区 | 午夜福利毛片 | 超碰影院在线 | 欧美成人综合在线 | av黄色一级片 | 亚洲人成电影网站 | 日本全黄裸体片 | 伊人av网站 | 在线观看黄av | 久久久精品一区二区三区 | 精品福利一区二区 | 一级特黄妇女高潮2 | 男人你懂的网站 | 亚洲一区免费 | av中文字幕一区 | 亚洲av首页在线 | 91精品国产91久久久久青草 | 草1024榴社区成人 | 久久久久久中文 | 免费污视频在线观看 | 久久久综合网 | h无码动漫在线观看 | 久99精品| 无码一区二区三区免费 | 国产精品 欧美精品 | 日韩视频在线免费观看 | 人妖交videohd另类 | 在线va| 久色88| 欧美日韩午夜激情 | 法国空姐电影在线观看 | 激情小说亚洲色图 | 免费看黄色的网站 | 国产视频麻豆 | 成人av中文解说水果派 | 国产免费美女 | 艳妇臀荡乳欲伦交换在线播放 | 天天舔天天 | 伊人手机视频 | 欧美日韩视频在线观看一区 | 亚洲免费色视频 | 国产麻豆电影在线观看 | 男人午夜免费视频 | 狠狠操免费视频 | 中文字幕在线观看网址 | 精品人妻一区二区三区久久夜夜嗨 | 国产激情av | 欧美黑人做爰爽爽爽 | 国产成人精品无码免费看在线 | 国产精品一区二区三区在线看 | 美女露出让男生揉的视频 | 天码人妻一区二区三区在线看 | 亚洲jizzjizz| 久久神马影院 | 美女视频毛片 | 伦理自拍 | 久操视频免费观看 | 亚洲婷婷综合网 | 欧美自拍偷拍一区 | 欧美在线观看视频一区 | www.国产欧美 | 国产午夜无码精品免费看奶水 | 国产乱国产乱300精品 | 91丝袜视频 | 国产一级三级 | www.午夜激情|