你用的是什么数据库?mySql?还是其他?

解决方案 »

  1.   

    what version of mysql jdbc driver did u use ?try to change one !!if u still get the same exception , could u post ur sourcecode and setting about datasource invokes and settings ?
      

  2.   

    兄弟,贴一下你pool的配置属性吧,比如你用的什么驱动?
      

  3.   

    i guess u r getting trouble in XA "TRANSACTION ISOLATION LEVEL".well, why not post ur settings about jdbc driver (some xmls)?
    and ur sourcecode about calling the XADatasource ?
    the final answer i wanna know is the Mysql version. 
    MySQL supports "TRANSACTION ISOLATION LEVEL" after 3.23.36 !
      

  4.   

    应是mysql不支持分布式事务吧?
      

  5.   

    TO:jakarta99(99% jakarta) 
    我的MYSQL版本是4.0.15
    我的WEBLOGIC为什么在JDBC里面没有TX Data Sources
     我用的是8版本...
    还有一个问题不明白.我想问题应该出在这里==>
    我C:\MYSQL\LIB 有几个驱动程序...1.2 2.0 3.0版本...
    我在STARTWSL.CMD里面指定了这个目录的任何一个版本...但还都是出现-------------------
    Distributed Management [1 exceptions] Error creating connection pool MyJDBC Connection Pool: 0:Could not map transaction isolation 'l to a valid JDBC level.
    -------------------在WEBLOGIC里面执行===>Test dirver configuration<===Connection successful
    就是不能Create and Deploy...
      

  6.   

    我的POOL属性是==>
    Name: MyJDBC Connection Pool
    URL:  jdbc:mysql://127.0.0.1:3306/show
    Driver Classname:org.gjt.mm.mysql.DriverInitial Capacity:1
    Maximum Capacity:15
    Capacity Increment:1
    Statement Cache Type:LRU
    Statement Cache Size:10
    ...
      

  7.   

    to:: jakarta99(99% jakarta)
    can you speak chinese???
      

  8.   

    重新换个驱动来试试,在C:\MYSQL\LIB 的几个驱动程序不好用吧。
    我建议你去网上下载一个。
      

  9.   

    TO:xwlovesh(xiewei) 
    不是的,放在LIB下的驱动有几个是我从网上下来的...我在STARTWSL.CMD中指定c:\mysql\lib\mysql.jar
      

  10.   

    新发现===>
    以前我进入控制台都是先启动MYSERVER...
    这次我用JB启动WEBLOGIC...连接池CREATE AND DEPLOY成功...没有错误显示...但是TEST的时候发生如下错误
    -----------------
    Warning! Connectivity to backend database not verified. This is either because required connection pool attributes "TestConnectionsOnReserve" or "TestConnectionsOnRelease" have not been enabled, or an invalid value has been specified for attribute "TestTableName". Please check the server log for more details..
    -----------------
    大家帮我分析一下是什么问题...为什么会这样...是不是我的MYSERVER配置错误还是???
      

  11.   

    问题解决了一半...
    现在连接池和连接数据源都已经配置成功了...
    但是====>在JB启动WEBLOGIC和在mydomain中启动myserver有何不同???还有====>不管是用JB启动还是在DOMAING中启动都会有如下的错误
    ----------------
    <2003-10-21 下午13时49分03秒 CST> <Error> <Logging> <000000> <Handler: '.\myserver\myserver.log' raised exception when opening. Exception weblogic.logging.LogRotationException null>
    ----------------
    大家能不能帮我解释一下是不是打开weblogic.log错误还是???最后====>在这里再一次真诚感谢大家的回贴...
    因为配置这个东西花了我四天的时间找资料...找答案...但还有很多东西不清楚...
    因为是新手...只是个学生...经验都没有...遇到问题所能思考到的范围有限...
    有你们的回贴让我感到一定会成功...还望大家以后多多指教...(配置好后我就可以在JB中做练习了...谢谢!!!谢谢!!!)
      

  12.   

    JB启动WEBLOGIC中有如下警告==>-------------
    <2003-10-21 下午14时52分33秒CST> <Warning> <Management> <BEA-149317> <Application JBuilder_WebRun is configured with a deprecated deployment protocol and will be deployed as such.> 
    <2003-10-21 下午14时52分36秒 CST> <Warning> <HTTP> <BEA-101296> <Unable to load the default compiler class "com.sun.tools.javac.Main". Using the default javac compiler to compile JSPs.> 
    -------------