网站是JSP编写的,用的是SQL2005,现在因为重装了WIN2003 SP2补丁,升级了漏洞补丁导致网页打不开了,请问如何配置JSP网站,这个网站是之前别人配置的,现在我是JSP新手,如何处理啊,安装了JDK+TOMCAT5.0,请问我如何做啊,详细点好吗,SQL用的SA登陆,带密码。帮帮我啊,感谢!

解决方案 »

  1.   

    你可以把TOMCAT控制台的错误发上来让大家参考一下。
      

  2.   

    提示的是什么unlockd,警告,error不行我想自己重新配置一下,请教下有什么教程吗,因为还涉及配置sql,我是新手啊,查了好多资料都没有关于jsp+sql一起配置的,如果sql有密码是不是需要写入tomcat/conf/server.xml中呢??
      

  3.   

    TOMCAT控制台的错误:警告: Unknown default host: localhost
    0 [http80-Processor23] ERROR util.SelectRecords  - com.microsoft.sqlserver.jdbc.
    SQLServerException: Login failed for user 'sa' because the account is currently
    locked out. The system administrator can unlock it.
    2007-12-20 15:09:34 org.apache.catalina.startup.Catalina start
    信息: Server startup in 21453 ms
      

  4.   

    警告: Unknown default host: localhost
    2007-12-20 15:09:30 org.apache.jk.common.ChannelSocket init
    信息: JK2: ajp13 listening on /0.0.0.0:8009
    2007-12-20 15:09:31 org.apache.jk.server.JkMain start
    信息: Jk running ID=0 time=0/656  config=D:\Tomcat 5.0\conf\jk2.properties
    DBCP borrowObject failed: com.microsoft.sqlserver.jdbc.SQLServerException: Login
     failed for user 'sa' because the account is currently locked out. The system ad
    ministrator can unlock it.
    2007-12-20 15:09:32 org.apache.coyote.tomcat5.MapperListener registerEngine
    警告: Unknown default host: localhost
    0 [http80-Processor23] ERROR util.SelectRecords  - com.microsoft.sqlserver.jdbc.
    SQLServerException: Login failed for user 'sa' because the account is currently
    locked out. The system administrator can unlock it.
    2007-12-20 15:09:34 org.apache.catalina.startup.Catalina start
    信息: Server startup in 21453 ms
    报错的地方还有上面的
      

  5.   

    应该是在项目目录下。在tomcat/webapps/你的项目名.至于连数据库,要看看你的项目有没有用到框架。还是直接在jsp里面建立的连接。
    至于unlocked.是你页面上的?你可不可以看一下tomcst/logs/里面今天最新的日志说了什么。
      

  6.   

    SQL2005的“sa"帐号被锁住了。你可以用它的管理平台吗?用信任登陆。
      

  7.   

    重装系统以后~jdk得重装~
      

  8.   

    如果你公司有人会sql,你可以找他帮忙。如果没有。你可以打开"SQL Server Management Studio"。然后连接的时候用"windows 身份验证”进去把数据库改成混合认证模式。这个步骤网上可以找到的。
      

  9.   

    谢谢楼上2位的解答,我看了下,更新了SP2补丁后的sql2005能连接上数据库,但是却打不开数据库属性窗口,报错找不到模块,所以可能就是因为这个把,那是不是我应该重装遍SQL2005呢,还是怎么做?谢谢了
      

  10.   

    对啊,就是这个,怎么看来不能随便更新服务器补丁啊,玩大了我啊,但是不更新补丁,老是有人来你服务器捣乱,真是无语了,我该怎么做啊,是不是重装SQL2005能解决呢