是加在了C:\JBuilder7\jakarta-tomcat-4.0.3\conf\server.xml文件中的

解决方案 »

  1.   

    可能是tomcat版本过低,或sqlserver的jdbc驱动吧;
      

  2.   

    驱动程序都用的是一样
    tomcat4.1和4.0应该都支持吧
      

  3.   

    发布是有关的错误信息
    ContextConfig[/nmw]: Added certificates -> request attribute ValveContextConfig[/nmw]: No Realm has been configured to authenticate againstContextConfig[/nmw]: Marking this application unavailable due to previous error(s)StandardContext[/nmw]: Error initializing naming context for context /nmwStandardContext[/nmw]: Context startup failed due to previous errorsStandardContext[/nmw]: Error initializing naming context for context /nmw
      

  4.   

    不是这个问题,在jb里面不用realm认证,自己写的认证可以运行,说明JDBC和数据库连接没有问题