你的SQL SERVER没有启动,所以会出这个异常

解决方案 »

  1.   

    要见ejb-jar-bnd.xml中的ejbBindings 中的JndiName这个才是真的调用者需要lookup的JDNI的名字
      

  2.   

    SQL SERVER启动模式改为混合模式启动.
      

  3.   

    你的SQL SERVER没有启动,所以会出这个异常
      

  4.   

    zxl19790710(雪龙) :“你的SQL SERVER没有启动,所以会出这个异常”呵呵。有趣。
      

  5.   

    我启动start server 后出现情况如下
    <2003-7-3 下午04时02分36秒> <Notice> <Management> <140005> <Loading configuration D:\bea\user_projects\mydomain\.\config.xml> <2003-7-3 下午04时02分56秒> <Notice> <Security> <090082> <Security initializing using realm myrealm.> <2003-7-3 下午04时02分57秒> <Notice> <WebLogicServer> <000327> <Starting WebLogic Admin Server "myserver" for domain "mydomain"> JNDI DataSource Pool connection:javax.naming.NameNotFoundException: Unable to resolve 'SQLServerJNDI' Resolved: '' Unresolved:'SQLServerJNDI' ; remaining name 'SQLServerJNDI'
    <2003-7-3 下午04时02分57秒> <Notice> <Mamagerment> <141052> <Apllication Poll started fro depvelopment server> 
    ......
    <2003-7-3 下午04时02分57秒> <Notice> <WebLogicServer> <000360><server started in RUNNING mode>
    这难道是没有启动码??
    还有怎样改为混合模式启动???
      

  6.   

    贴出你的配置 !!! ------------------------------------------------------
               我们还年轻牛奶会有的奶牛也会有的 
                 可天天在 csdn 混这些会有吗 ??
      

  7.   

    url:jdbc:weblogic:mssqlserver4:jf2003@srv2:1433
    driver:weblogic.jdbc.mssqlserver4.Driver
    user=sa
    password=2002
    name=sqlServerPool
    ---------------------------
    data source:
    poolname:sqlServerPool
    jndi name=SQLServerJNDI
    name=MyJDBC Data Source
      

  8.   

    看看你的部署文件!肯定有问题!
    试试jndi为jdbc/SQLServerJNDI看看。
    然后看看你的配置文件!
      

  9.   

    请问ybcheng:主要是看那些文件??
      

  10.   

    启动你的SQL SERVER,然后在起你的WL