起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: 你不会了解

[处理中3] 请问wex5如何在linux下部署

[复制链接]
发表于 2017-1-18 14:15:25 | 显示全部楼层
你不会了解 发表于 2017-1-18 13:43
如何配置jndi,和windows下面一样吗,直接拷贝过去,
tomcat中server.xml中新加的context标签里面路径怎么 ...

是的,和windows一样! tomcat的数据源配置就是:apache-tomcat\conf\context.xml
自己改对就行了!
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

51

主题

161

帖子

381

积分

中级会员

Rank: 3Rank: 3

积分
381
QQ
 楼主| 发表于 2017-1-18 15:07:18 | 显示全部楼层
请问我把context.xml和server.xml文件配置完以后在重启tomcat,打开localhost浏览器空白是什么问题,并没有跳转到登录页,tomcat正常启动
回复 支持 反对

使用道具 举报

发表于 2017-1-18 15:45:44 | 显示全部楼层
你不会了解 发表于 2017-1-18 15:07
请问我把context.xml和server.xml文件配置完以后在重启tomcat,打开localhost浏览器空白是什么问题,并没有 ...

你是指定了默认访问页面的url吗??怎么设置的?写上全路径是否可以正常打来?
http://docs.wex5.com/wex5-server-question-list-2013/
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

51

主题

161

帖子

381

积分

中级会员

Rank: 3Rank: 3

积分
381
QQ
 楼主| 发表于 2017-1-18 16:38:58 | 显示全部楼层
是这么加的吗 ,你看下我的目录对不对
QQ截图20170118163443.png
QQ截图20170118163826.png
回复 支持 反对

使用道具 举报

发表于 2017-1-19 09:56:56 | 显示全部楼层
你不会了解 发表于 2017-1-18 16:38
是这么加的吗 ,你看下我的目录对不对

请问你是部署UIServer吗??如果是的话!请按这个文档来:http://docs.wex5.com/wex5-server-question-list-2013/

如果不是部署UIServer  ,那么就按照tomcat的标准放置!指定首页即可!
页面编译后需要部署到webapps下,是这个文档:http://docs.wex5.com/wex5-runtime-java/
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

80

主题

245

帖子

586

积分

高级会员

Rank: 4

积分
586
QQ
发表于 2017-1-20 16:48:41 | 显示全部楼层
liangyongfei 发表于 2017-1-19 09:56
请问你是部署UIServer吗??如果是的话!请按这个文档来:http://docs.wex5.com/wex5-server-question-li ...

在linux下部署UIServer不行啊
错误信息如下:

  1. 一月 21, 2017 12:38:46 上午 org.apache.catalina.startup.HostConfig deployDescriptor
  2. 信息: Deploying configuration descriptor x5.xml
  3. [JUSTEP_HOME in UIServer]: /home/wex5/wex5_3.6
  4. Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/wex5/wex5_3.6/apache-tomcat/temp/dll/libui-core-jni-dev-linux-x64_2d9bf293aede4d54a92c05412bd1b346.so which might have disabled stack guard. The VM will try to fix the stack guard now.
  5. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
  6. 2017-01-21 00:38:48 编码: JUSTEP000030; 提示: 加载ui-core-jni出错
  7. com.justep.ui.exception.UIException: 编码: JUSTEP000030; 提示: 加载ui-core-jni出错
  8.         at com.justep.ui.exception.UIException.create(Unknown Source)
  9.         at com.justep.ui.listener.NativeLoaderListener.contextInitialized(Unknown Source)
  10.         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210)
  11.         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4709)
  12.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799)
  13.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779)
  14.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583)
  15.         at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675)
  16.         at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601)
  17.         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
  18.         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317)
  19.         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324)
  20.         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
  21.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065)
  22.         at org.apache.catalina.core.StandardHost.start(StandardHost.java:822)
  23.         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
  24.         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
  25.         at org.apache.catalina.core.StandardService.start(StandardService.java:525)
  26.         at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
  27.         at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
  28.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  29.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  30.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  31.         at java.lang.reflect.Method.invoke(Method.java:497)
  32.         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
  33.         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
  34. Caused by: java.lang.UnsatisfiedLinkError: /home/wex5/wex5_3.6/apache-tomcat/temp/dll/libui-core-jni-dev-linux-x64_2d9bf293aede4d54a92c05412bd1b346.so: /home/wex5/wex5_3.6/apache-tomcat/temp/dll/libui-core-jni-dev-linux-x64_2d9bf293aede4d54a92c05412bd1b346.so: 无效的 ELF 头 (Possible cause: endianness mismatch)
  35.         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  36.         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1938)
  37.         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1821)
  38.         at java.lang.Runtime.load0(Runtime.java:809)
  39.         at java.lang.System.load(System.java:1086)
  40.         ... 25 more
复制代码



回复 支持 反对

使用道具 举报

发表于 2017-1-20 16:52:30 | 显示全部楼层
ghj 发表于 2017-1-20 16:48
在linux下部署UIServer不行啊
错误信息如下:

http://bbs.wex5.com/forum.php?mod=viewthread&tid=92352
论坛搜下
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

80

主题

245

帖子

586

积分

高级会员

Rank: 4

积分
586
QQ
发表于 2017-1-20 17:49:01 | 显示全部楼层
liangyongfei 发表于 2017-1-20 16:52
http://bbs.wex5.com/forum.php?mod=viewthread&tid=92352
论坛搜下

我下载的linux的jdk64位,tomcat7.0.73版本,配置好以后启动正常。
然后将UIServer直接扔进$Tomcat_Home/webapps目录,启动依旧报错
  1. [JUSTEP_HOME in UIServer]: /home/wex5/wex5_3.6
  2. Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /home/wex5/wex5_3.6/apache-tomcat-7.0.73/temp/dll/libui-core-jni-dev-linux-x64_1f82c99dcdd84e4a9908b2e88c468096.so which might have disabled stack guard. The VM will try to fix the stack guard now.
  3. It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.
  4. 2017-01-21 01:37:12 编码: JUSTEP000030; 提示: 加载ui-core-jni出错
  5. com.justep.ui.exception.UIException: 编码: JUSTEP000030; 提示: 加载ui-core-jni出错
  6.         at com.justep.ui.exception.UIException.create(Unknown Source)
  7.         at com.justep.ui.listener.NativeLoaderListener.contextInitialized(Unknown Source)
  8.         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
  9.         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
  10.         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
  11.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
  12.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
  13.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
  14.         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1260)
  15.         at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:2002)
  16.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  17.         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  18.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  19.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  20.         at java.lang.Thread.run(Thread.java:745)
  21. Caused by: java.lang.UnsatisfiedLinkError: /home/wex5/wex5_3.6/apache-tomcat-7.0.73/temp/dll/libui-core-jni-dev-linux-x64_1f82c99dcdd84e4a9908b2e88c468096.so: /home/wex5/wex5_3.6/apache-tomcat-7.0.73/temp/dll/libui-core-jni-dev-linux-x64_1f82c99dcdd84e4a9908b2e88c468096.so: 无效的 ELF 头 (Possible cause: endianness mismatch)
  22.         at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  23.         at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
  24.         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
  25.         at java.lang.Runtime.load0(Runtime.java:809)
  26.         at java.lang.System.load(System.java:1086)
  27.         ... 14 more
复制代码
回复 支持 反对

使用道具 举报

80

主题

245

帖子

586

积分

高级会员

Rank: 4

积分
586
QQ
发表于 2017-1-20 17:50:05 | 显示全部楼层
liangyongfei 发表于 2017-1-20 16:52
http://bbs.wex5.com/forum.php?mod=viewthread&tid=92352
论坛搜下

环境如下
Using CATALINA_BASE:   ../../apache-tomcat-7.0.73
Using CATALINA_HOME:   /home/wex5/wex5_3.6/apache-tomcat-7.0.73
Using CATALINA_TMPDIR: ../../apache-tomcat-7.0.73/temp
Using JRE_HOME:        ../../java/jdk1.8.0_111/jre
Using CLASSPATH:       ../../java/jdk1.8.0_111/jre/lib/tools.jar:../../apache-tomcat-7.0.73/bin/tomcat-juli.jar:/home/wex5/wex5_3.6/apache-tomcat-7.0.73/bin/bootstrap.jar
回复 支持 反对

使用道具 举报

发表于 2017-1-20 17:50:32 | 显示全部楼层
ghj 发表于 2017-1-20 17:49
我下载的linux的jdk64位,tomcat7.0.73版本,配置好以后启动正常。
然后将UIServer直接扔进$Tomcat_Home/ ...

他的贴身说:
把conf/Catalina/localhost/的x5.xml删除即可
你删除了am??或者加他好友咨询下
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2025-7-17 02:36 , Processed in 0.066536 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表