王艳玲 发表于 2016-10-30 00:59:25

SQL server 小笔记

  折腾一个别人的Java项目,连接的SQL Server数据库。
  

  

  1.dwr的session error
  http://fenglingxuewqk.iyunv.com/blog/353922

  http://hi.baidu.com/%C9%ED%B4%A6%BD%AD%BA%FE/blog/item/f8b8587f9e63af320dd7daff.html

  

  在web.xml配置文件中:

  

<servlet>
<servlet-name>dwr-invoker</servlet-name>
<servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
<init-param>
<param-name>debug</param-name>
<param-value>true</param-value>
</init-param>
<init-param>   
<param-name>crossDomainSessionSecurity</param-name>   
<param-value>false</param-value>   
</init-param>
</servlet>


  

  

  2.SQL Server的TCP/IP协议未监听。
  

  http://blog.csdn.net/dba_huangzj/article/details/7881724

  

  在运行Microsoft SQL Server 2005/2008上的服务器上,配置TCP/IP协议需要在SQL Server配置管理器(Configuration Manager)工具下的Network Configuration下面。


版权声明:本文为博主原创文章,未经博主允许不得转载。
页: [1]
查看完整版本: SQL server 小笔记