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

QQ登录

只需一步,快速开始

查看: 4089|回复: 2

[结贴] 执行KSQL出错 编码:JUSTEP150210

[复制链接]

4

主题

11

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
发表于 2017-10-13 14:34:45 | 显示全部楼层 |阅读模式
版本: BeX5V3.4 小版本号:
数据库: MS SQLServer 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: Windows 其它 浏览器: Chrome

我把服务器代码拿到本机,运行tomcat,打开网页后,报错了,请问下面这个错应该怎么解决?
刷新数据失败! ,
执行KSQL出错, KSQL: SELECT YF_HS_HouseSaleContract.*,YF_HS_HouseArchieve,YF_HS_HouseArchieve.NodeId as NodeId,YF_HS_HouseArchieve.Garden as Garden,YF_HS_HouseArchieve.Building as Building,YF_HS_HouseArchieve.HouseLastNum as HouseLastNum,YF_HS_HouseArchieve.HouseNum as HouseNum,YF_HS_HouseArchieve.HouseType as HouseType,YF_HS_HouseArchieve.BuildingArea as BuildingArea,YF_HS_HouseArchieve.UserArea as UserArea,YF_HS_HouseArchieve.ShareRate as ShareRate,YF_HS_HouseArchieve.ShareArea as ShareArea,YF_HS_HouseArchieve.InnerAreaPrice as InnerAreaPrice,YF_HS_HouseArchieve.Amount as Amount,YF_HS_HouseArchieve.Remark as Remark1 FROM YF_HS_HouseSaleContract YF_HS_HouseSaleContract optional join YF_HS_HouseArchieve YF_HS_HouseArchieve on YF_HS_HouseSaleContract.HouseId = YF_HS_HouseArchieve.HouseId WHERE ((YF_HS_HouseSaleContract='1010')) LIMIT 0, 20
--> sql:
--> binds: []

编码:JUSTEP150210
[url=]隐藏详细[/url]
java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at com.justep.system.action.Engine.invokeActions(Native Method) at com.justep.system.action.Engine.invokeActions(Unknown Source) at com.justep.business.server.BusinessServer.doAction(Unknown Source) at com.justep.business.server.BusinessServer.doExcute(Unknown Source) at com.justep.business.server.BusinessServer.excute(Unknown Source) at com.justep.business.server.BusinessServer.excute(Unknown Source) at com.justep.business.server.BusinessServerServlet.execService(Unknown Source) at com.justep.business.server.BusinessServerServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at com.justep.x.bs.BusinessServerServlet.service(Unknown Source) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:745) Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT YF_HS_HouseSaleContract.*,YF_HS_HouseArchieve,YF_HS_HouseArchieve.NodeId as NodeId,YF_HS_HouseArchieve.Garden as Garden,YF_HS_HouseArchieve.Building as Building,YF_HS_HouseArchieve.HouseLastNum as HouseLastNum,YF_HS_HouseArchieve.HouseNum as HouseNum,YF_HS_HouseArchieve.HouseType as HouseType,YF_HS_HouseArchieve.BuildingArea as BuildingArea,YF_HS_HouseArchieve.UserArea as UserArea,YF_HS_HouseArchieve.ShareRate as ShareRate,YF_HS_HouseArchieve.ShareArea as ShareArea,YF_HS_HouseArchieve.InnerAreaPrice as InnerAreaPrice,YF_HS_HouseArchieve.Amount as Amount,YF_HS_HouseArchieve.Remark as Remark1 FROM YF_HS_HouseSaleContract YF_HS_HouseSaleContract optional join YF_HS_HouseArchieve YF_HS_HouseArchieve on YF_HS_HouseSaleContract.HouseId = YF_HS_HouseArchieve.HouseId WHERE ((YF_HS_HouseSaleContract='1010')) LIMIT 0, 20 --> sql:  --> binds: [] at com.justep.exception.BusinessException.create(Unknown Source) at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source) at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source) at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source) at com.justep.system.data.BizData.query(Unknown Source) at BizProcedure.query(BizProcedure.java:12) ... 27 more Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150055; 提示: 在模块"/YF_House/YF_HouseSale/data"下获取数据库连接出错 at com.justep.exception.BusinessException.create(Unknown Source) at com.justep.system.data.Transaction.getConnection(Unknown Source) at com.justep.system.data.Transaction.getConnection(Unknown Source) at com.justep.model.ModelUtils.getConnection(Unknown Source) ... 32 more Caused by: javax.naming.NameNotFoundException: Name yfx5 is not bound in this Context at org.apache.naming.NamingContext.lookup(NamingContext.java:770) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:140) at org.apache.naming.NamingContext.lookup(NamingContext.java:781) at org.apache.naming.NamingContext.lookup(NamingContext.java:153) at org.apache.naming.SelectorContext.lookup(SelectorContext.java:152) at javax.naming.InitialContext.lookup(InitialContext.java:417) at com.justep.system.data.Transaction.getConnectionWithJndi(Unknown Source) ... 35 more

ksql.png

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36178
发表于 2017-10-13 15:14:58 | 显示全部楼层
Name yfx5 is not bound in this Context

http://docs.wex5.com/bex5-deploy-question-list-10020/
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

4

主题

11

帖子

21

积分

新手上路

Rank: 1

积分
21
QQ
 楼主| 发表于 2017-10-13 15:36:49 | 显示全部楼层
在你的提示下,搞定了,确实是数据源配置的问题,谢谢!
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-26 21:01 , Processed in 0.061999 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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