找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

初学者课程:T3自学|T6自学|U8自学软件下载课件下载工具下载资料:通资料|U8资料|NC|培训|年结积分规则 | 使用常见问题Q&A
知识库:U8 | | NC | U9 | OA | 政务U8|U9|NCC|NC65|NC65客开|NCC客开新手必读 | 任务 | 快速增金币用友QQ群[微信群]
查看: 2975|回复: 1

[求助] 万分紧急 接口连数据库得不到连接

[复制链接]
发表于 2008-10-21 14:57:46 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册账号

×
[AWT-EventQueue-0] ERROR - get data sourcezxxt error,can't connect to database
[AWT-EventQueue-0] ERROR - try to get data source zxxt error
nc.bs.framework.exception.FrameworkConnectorException: Server is not defined as expected:zxxt
        at nc.bs.framework.comn.cli.RemoteResolverImpl.lookup(RemoteResolverImpl.java:124)
        at nc.bs.framework.comn.cli.ClientNCLocator.lookup(ClientNCLocator.java:28)
        at nc.jdbc.framework.DataSourceCenter.getConnection(DataSourceCenter.java:99)
        at nc.jdbc.framework.DataSourceCenter.getConnection(DataSourceCenter.java:75)
        at nc.jdbc.framework.ConnectionFactory.getConnection(ConnectionFactory.java:28)
        at nc.jdbc.framework.JdbcSession.<init>(JdbcSession.java:65)
        at nc.jdbc.framework.JdbcPersistenceManager.a(JdbcPersistenceManager.java:925)
        at nc.jdbc.framework.JdbcPersistenceManager.<init>(JdbcPersistenceManager.java:53)
        at nc.jdbc.framework.PersistenceManager.getInstance(PersistenceManager.java:379)
        at nc.bs.citic.test.TestDMO.getAllNames(TestDMO.java:11)
        at nc.bs.citic.test.TestBO.getAllNames(TestBO.java:10)
        at nc.impl.citic.test.QueryNamesImpl.getAllNames(QueryNamesImpl.java:15)
        at nc.ui.citic.projectset.params.MyEventHandler.onBoSave(MyEventHandler.java:40)
        at nc.ui.trade.bill.BillEventHandler.simpleOnButton(BillEventHandler.java:1531)
        at nc.ui.trade.bill.BillEventHandler.onButton(BillEventHandler.java:1378)
        at nc.ui.trade.manage.BillManageUI.onButtonClicked(BillManageUI.java:775)
        at nc.ui.pub.ToftPanel.handleButtonEvent(ToftPanel.java:220)
        at nc.ui.pub.FramePanel.dispatchButtonEvent(FramePanel.java:308)
        at nc.ui.pub.FramePanel.access$100(FramePanel.java:58)
        at nc.ui.pub.FramePanel$ButtonHandler.buttonClicked(FramePanel.java:181)
        at nc.ui.pub.ButtonBar.firePostEvent(ButtonBar.java:356)
        at nc.ui.pub.ButtonBar$1.run(ButtonBar.java:224)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.ClassNotFoundException: nc.middleware.tran.NCDataSource
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:242)
        at nc.bs.framework.comn.cli.RemoteResolverImpl.lookup(RemoteResolverImpl.java:120)
        ... 28 more

数据源是zxxt 并且测试也通过了。。。
发表于 2012-11-14 10:10:11 | 显示全部楼层
这个问题没人知道怎么解决吗?
回复 点赞 拍砖

使用道具 举报

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

本版积分规则

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-11-17 22:32 , Processed in 0.062383 second(s), 10 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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