Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q)
freetkh



发贴: 0
积分: 0
于 2003-08-28 18:01 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我要配置一个国内不常见的数据库DBMaker,知道它的JDBC驱动,但不知道配置WEBLOGIC的时候那个URL是什么,资料上也查不到,请各位大虾指点,weblogic连接池配置中的URL是如何确定的?我要如何才能配好。

why edited on 2003-08-29 05:48


作者 Re:weblogic 问题,超级高手请进 [Re:freetkh]
itemp





发贴: 49
积分: 0
于 2003-08-28 20:41 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
你有没有用该JDBC驱动的例子?
如果有的话照抄就ok了。



作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
why

問題兒童

总版主


发贴: 4629
积分: 388
于 2003-08-29 05:48 user profilesend a private message to usersend email to whysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
can't find JDBC info on DBMaker's homesite http://www.casemaker.com/
which JDBC driver are you referring to?Question
how about the ODBC-JDBC bridge?



作者 Re:weblogic 问题,超级高手请进 [Re:itemp]
freetkh



发贴: 0
积分: 0
于 2003-08-29 08:30 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我用了下面的程序是能操作数据库,但不知道怎么配置weblogic.

package tkh.jdbc.dbmaker;

//import javax.swing.*;
import java.sql.*;
import java.io.*;
import java.util.*;
import dbmaker.sql.*;

public class DataAccess// extends JApplet
{
private String dbName="";
private String userId="";
private String userPwd="";
private Connection cnn=null;
private String driver="dbmaker.sql.JdbcOdbcDriver";

public static void main(String[] args)
{
DataAccess app=new DataAccess("DBSAMPLE4","SYSADM","");
}

public DataAccess(String db,String id,String pwd)
{
dbName=db;
userId=id;
userPwd=pwd;
if(beginConnect()==0)
return;
readData("allType");
}

private int beginConnect()
{
try
{
prt("注册驱动:\n");
Class.forName(driver).newInstance();
}
catch(Exception e)
{
prt("数据驱动注册出错:\n");
prt("Message:"+e.getMessage());
e.printStackTrace();
return 0;
}
try
{
//DriverManager.registerDriver(new dbmaker.sql.JdbcOdbcDriver());
prt("连接数据库:\n");
cnn=DriverManager.getConnection("jdbc:dbmaker:"+dbName,userId,userPwd);
return 1;
}
catch(SQLException e)
{
prt("连接dbmaker数据库出错:\n");
//while(e!=null)
//{
prt("Message:"+e.getMessage());
//e=e.getNextException();
e.printStackTrace();
prt(" ");
//}
cnn=null;
return 0;
}
}

public void readData(String tableName)
{
try
{
Statement stmt=cnn.createStatement();
ResultSet rs=stmt.executeQuery("select * from "+tableName);
ResultSetMetaData rsmd=rs.getMetaData();
int cols=rsmd.getColumnCount();
int i=0;
prt("共有:"+cols+"列。");
for(i=0;i<cols;i++)
{
prt("列:"+i);//Stringrsmd.getColumnName()+"\t");
}
prt(" ");
}
catch(Exception e)
{
prt("数据读取错误:\n");
prt(e.getMessage());
e.printStackTrace();
}
}

private void prt(String s)
{
System.out.printlnMoon;
}
}




作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
freetkh



发贴: 0
积分: 0
于 2003-08-29 08:41 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我这儿有最新版的DBMaker数据库,功能非常强大,几可和Oracle比美!
尤其是多媒体处理方面,它是台湾凌群集团开发的,听说化了10多年,我听朋友说不错所以拿来用,ok! 功能强大,比SQL Server操作还方便,
安装时不到一分钟,faint ! 不知道台湾人咋搞的!但我想配weblogic却不知道怎样配!高手们执教啊!




作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2003-08-29 09:22 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
首先 编辑 WEBLOGIC的 C:\bea\weblogic700\server\bin\startWLS.cmd
把JDBC。JAR加到set CLASSPATH=后。
然后 启动,进入CONSOLE配置与配置其他的步骤相同。



"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:jameszhang]
freetkh



发贴: 0
积分: 0
于 2003-08-29 09:31 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
是啊!我已经加了,使用的式weblogic 8.1
Driver name:dbmaker.sql.JdbcOdbcDriver
url:jdbc:dbmaker:SAMPLES4:2453 (samples4是数据库名,2453是端口,这个url是我估计的,不自到对不对?)

最后出现错误
fail to establish a connection (8007, [DBMaker] cannot find the specified database section in the configuration file [odbccon. 689],0,0,0)




作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
itemp





发贴: 49
积分: 0
于 2003-08-29 09:34 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
根据你的java程序:
URL:jdbc:dbmaker:db的名字(就是你的参数String db的值)
DRIVER:dbmaker.sql.JdbcOdbcDriver



作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2003-08-29 09:36 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
你上面的程序能访问DBMAKER,程序里怎么没看到端口2453


"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:itemp]
freetkh



发贴: 0
积分: 0
于 2003-08-29 09:37 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
对啊!我的db名就是samples4,服务端口是2543(不写端口还是会出现同样的错误!)增么办啊?


作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:jameszhang]
freetkh



发贴: 0
积分: 0
于 2003-08-29 09:42 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
谢谢老兄!我照你说的做现在好了!太感谢你了,能给我你的QQ或是MSN吗,我的QQ:176228470,MSN是freetkh@hotmail.com, 以后好向你请教。



作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
jameszhang



CJSDN高级会员


发贴: 1594
积分: 111
于 2003-08-29 09:46 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
来CJSDN灌水吧!呵呵,Big SmileCool


"First they ignore u, then they laugh at u, then they fight u, then u will win

Mahatma Gandhi"

作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
hwx

微风吹, 天又蓝...



发贴: 270
积分: 40
于 2003-08-29 14:21 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
恕我寡闻,有这么强大的数据库产品吗?怎么几乎没听过。
有什么优点,能否介绍一下,谢谢。



作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:hwx]
freetkh



发贴: 0
积分: 0
于 2003-08-29 14:25 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我也刚用,很多地方我也不太清楚,不过我觉得它的多媒体处理功能很强大,而且其它数据库有的功能它基本上也有,操桌很简单。


作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
ditty

负资产小资

CJSDN高级会员


发贴: 1038
积分: 143
于 2003-08-29 14:33 user profilesend a private message to usersend email to dittysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
当前版本是 4.05,感兴趣的朋友可以下来看看!

ftp://www.dbmaker.com/pub/DBMaker/4.05/dbmaker-4.0sp5-win32.exe



内忧外患的时代,洗心革面,阿咪豆腐~
作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
ditty

负资产小资

CJSDN高级会员


发贴: 1038
积分: 143
于 2003-08-29 14:40 user profilesend a private message to usersend email to dittysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
搂主提供一个JDBC驱动好吗?


内忧外患的时代,洗心革面,阿咪豆腐~
作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:ditty]
freetkh



发贴: 0
积分: 0
于 2003-08-29 14:45 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我有4.1的驱动不过我不知到上传到哪儿如有要的朋有给我邮箱我发给他.


作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:freetkh]
ditty

负资产小资

CJSDN高级会员


发贴: 1038
积分: 143
于 2003-08-29 14:52 user profilesend a private message to usersend email to dittysearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
一个driver不会很大吧?打包放在附件里就行了吧!


内忧外患的时代,洗心革面,阿咪豆腐~
作者 Re:weblogic 问题,超级高手请进 (In fact, it's a DBMaker Q) [Re:ditty]
freetkh



发贴: 0
积分: 0
于 2003-08-30 09:39 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
这个是DBMaker4.1的jdbc驱动,据我所知是最新的。

dmjdbc.jar (103.93k)




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923