我已经按照页面服务UIServer部署文章(http://doc.wex5.com/uiserver-deploy/)的方法在linux上搭建了。
可运行tomcat的时候总报错如下:
[JUSTEP_HOME in UIServer]: /var/apps/wex5
Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /var/apps/wex5/apache-tomcat-7.0.67/temp/dll/libui-core-jni-dev-linux-x64_875cd66efefd43b9b2c3688ab0afbbd4.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
2016-04-28 18:26:17 编码: JUSTEP000030; 提示: 加载ui-core-jni出错
com.justep.ui.exception.UIException: 编码: JUSTEP000030; 提示: 加载ui-core-jni出错
at com.justep.ui.exception.UIException.create(Unknown Source)
at com.justep.ui.listener.NativeLoaderListener.contextInitialized(Unknown Source)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1574)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.UnsatisfiedLinkError: /var/apps/wex5/apache-tomcat-7.0.67/temp/dll/libui-core-jni-dev-linux-x64_875cd66efefd43b9b2c3688ab0afbbd4.so: /var/apps/wex5/apache-tomcat-7.0.67/temp/dll/libui-core-jni-dev-linux-x64_875cd66efefd43b9b2c3688ab0afbbd4.so: invalid ELF header (Possible cause: endianness mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
at java.lang.Runtime.load0(Runtime.java:795)
at java.lang.System.load(System.java:1062)
... 10 more