sql server+weblogic+jbuider怎么使用jdbc?

xmlj 2003-09-23 05:37:37
各位高手,我用jbuilder在weblogic环境下连接sql server出现如下问题,怎么解决,怎么配置,希望大家帮帮我呀
ava.lang.Exception: weblogic/version at com.borland.jdbcx.metadata.DatabaseInfo.loadDatabase(Unknown Source) at com.borland.jdbcx.metadata.DatabaseInfo.openDatabase(Unknown Source) at com.borland.jbuilder.wizard.schemaprovider.jdbc.DataSourcePage.checkPage(Unknown Source) at com.borland.primetime.wizard.BasicWizard.checkPage(Unknown Source) at com.borland.jbuilder.wizard.schemaprovider.jdbc.JdbcProviderWizard.checkPage(Unknown Source) at com.borland.primetime.wizard.BasicWizard.finish(Unknown Source) at com.borland.primetime.wizard.WizardDialog.b(Unknown Source) at com.borland.primetime.wizard.i.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245) at java.awt.Component.processMouseEvent(Component.java:5093) at java.awt.Component.processEvent(Component.java:4890) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3598) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1585) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140) at java.awt.Dialog.show(Dialog.java:538) at com.borland.primetime.ui.DefaultDialog.show(Unknown Source) at com.borland.primetime.wizard.WizardDialog.show(Unknown Source) at com.borland.primetime.wizard.WizardAction.invokeWizard(Unknown Source) at com.borland.primetime.wizard.WizardAction.actionPerformed(Unknown Source) at com.borland.primetime.actions.r.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257) at javax.swing.AbstractButton.doClick(AbstractButton.java:289) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227) at java.awt.Component.processMouseEvent(Component.java:5093) at java.awt.Component.processEvent(Component.java:4890) at java.awt.Container.processEvent(Container.java:1566) at java.awt.Component.dispatchEventImpl(Component.java:3598) at java.awt.Container.dispatchEventImpl(Container.java:1623) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095) at java.awt.Container.dispatchEventImpl(Container.java:1609) at java.awt.Window.dispatchEventImpl(Window.java:1585) at java.awt.Component.dispatchEvent(Component.java:3439) at java.awt.EventQueue.dispatchEvent(EventQueue.java:450) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136) at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
...全文
10 点赞 收藏 7
写回复
7 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
xmlj 2003-09-24
谢谢 gyscsdn(geng) ,终于联上了,我还想问一个问题,Microsoft Sql Server For jdbc 怎么配置才能联上呀
回复
gyscsdn 2003-09-24
哈哈!我也遇过你的问题!不要用其它驱动!用weblogic自带的!在weblogic.jar包中的!切记在weblogic.jar包中的!
回复
xmlj 2003-09-24
zhx_232(笨狗熊妹妹),我和你的配法一样,但是不好用,并且我也使用了weblogic自带的sql server驱动包也同样不好用,怎么办?
回复
zhx_232 2003-09-24
首先下载一个sqlserver2000最新的JDBC驱动,一定要最新的哦。
然后,将sqlserver的三个jar文件在weblogic的server/bin/startWLS.cmd文件中写到classpath里面去;
接着在jbuilder里面配置library,写将三个jar文件包含。
回复
xmlj 2003-09-24
waqiwe@163.com
谢谢了,不过oracle的,我配起来了,就是sql server的驱动不好用。
回复
liuxingwen 2003-09-24
暈,我給你個相關的配置文檔,是關係連接orcale9i,的不過你稍稍改一下應該可以
希望能對你有所幫助 。
請示email
回复
huisky 2003-09-24
呵呵...没有事帮你顶一下...
回复
相关推荐
发帖
Java EE
创建于2007-09-28

6.6w+

社区成员

J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
申请成为版主
帖子事件
创建了帖子
2003-09-23 05:37
社区公告
暂无公告