1:Turnkey版的BlazeDS默认情况下是不开启RDS的。需要修改配置文件web.xml,将注释符号取消,即开启了RDS服务。
错误如图:
<!-- begin rds
<servlet>
<servlet-name>RDSDispatchServlet</servlet-name>
<display-name>RDSDispatchServlet</display-name>
<servlet-class>flex.rds.server.servlet.FrontEndServlet</servlet-class>
<init-param>
<param-name>useAppserverSecurity</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>10</load-on-startup>
</servlet>
<servlet-mapping id="RDS_DISPATCH_MAPPING">
<servlet-name>RDSDispatchServlet</servlet-name>
<url-pattern>/CFIDE/main/ide.cfm</url-pattern>
</servlet-mapping>
end rds -->
2:连接出现Unable to authenticate on RDS server using current security information.如下图错误提示。原因可能是可能是RDS服务器需要权限验证
解决办法:修改刚才那段解注释的代码,将true改为false如下所示:
<init-param>
<param-name>useAppserverSecurity</param-name>
<param-value>false</param-value>
</init-param>
重启tomact,重连服务即可。