具体一点,当时的StackTrace贴出来

解决方案 »

  1.   

    所有的開發環境為WIN2K+WEBLOGIC 首先設置1.CLASSPATH=.;.\lib\weblogic_sp.jar;.\lib\weblogic.jar;.\lib\jdbc\mssqlserver.jar;.\lib\jdbc\msbase.jar;.\lib\jdbc\msutil.jar
    2.在控制台中設置如下:
    新建一個JDBC名為Test
    url 中輸入:jdbc:microsoft:sqlserver
    Driver classname :com.microsoft.jdbc.sqlserver.SQLServerDriver
    Properties 中輸入: user=sa
    db=whbbs
    port=1433
    password=whmistemp
    server=sunhome新建一個數據源DataSource名為TestDs然後打開WEBLOGIC運行環境出現以下問題
    ####<2002/10/4 上午10時29分42秒> <Notice> <WebLogicServer> <xj_xiao> <xxjserver> <main> <system> <> <000327> <Starting WebLogic Admin Server "xxjserver" for domain "xxjdomain"> 
    ####<2002/10/4 上午10時29分45秒> <Notice> <Management> <xj_xiao> <xxjserver> <main> <system> <> <141030> <Starting discovery of Managed Server... This feature is on by default, you may turn this off by passing -Dweblogic.management.discover=false> 
    ####<2002/10/4 上午10時29分50秒> <Error> <JDBC> <xj_xiao> <xxjserver> <main> <system> <> <001060> <Cannot startup connection pool "Test" String index out of range: 0> 
    ####<2002/10/4 上午10時29分50秒> <Error> <JDBC> <xj_xiao> <xxjserver> <main> <system> <> <001059> <Error during Data Source creation: weblogic.common.ResourceException: DataSource(TestJNDI) can't be created with non-existent Pool (connection or multi) (Test)> 
    ####<2002/10/4 上午10時29分53秒> <Notice> <Management> <xj_xiao> <xxjserver> <main> <system> <> <141053> <Application Poller not started for production server.> 
    ####<2002/10/4 上午10時29分53秒> <Notice> <WebLogicServer> <xj_xiao> <xxjserver> <ListenThread> <system> <> <000202> <ListenThread listening on port 7001> 
    ####<2002/10/4 上午10時29分53秒> <Notice> <WebLogicServer> <xj_xiao> <xxjserver> <SSLListenThread> <system> <> <000202> <SSLListenThread listening on port 7002>請問該如何解決?
      

  2.   

    你连接池还没加到目标主机吧?另外jdbcdriver加到classpath了吗?