Question : BlazeDS RDS Setup Issues

I have setup BlazeDS server and it works fine, I can create new Flex Web Applications and hook them up to the BlazeDS server no problem.

However

Whenever I attempt to use the "Connect to Data/Service" method or in Flash Builder

Data->Connect to BlazeDS...

I am presented with a Username/Password Popup.

I assume that no Username/Password is needed so I simply click "No password required"

Then I get the following message after clicking OK



RDS server message:
Error executing RDS command.  Status Code: 404, Reason:
/samples/CFIDE/main/ide.cfm

Suggestion:

1. Please make sure that the RDS Servlet is uncommented in C:/Java/blazeds/tomcat/webapps/samples/WEB-INF/web.xml.
2. Verify that the RDS Servlet is declared mapped properly in C:/Java/blazeds/tomcat/webapps/samples/WEB-INF/web.xml.
3. Make sure that no other server is running on the port 8400.
4. Verify the server configuration for this Flex project.




Now I am using BlazeDS-Turnkey from the Adobe website.

I was suggested to add the code attached below, but even after adding that data and restarting Tomcat I still get this error.  I am stumped, anyone got a clue?

Thank you
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
<!-- RDS Servlet -->
    <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>false</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>

Answer : BlazeDS RDS Setup Issues

I have solved this issue.  

You have to open up the blazeDS .war file that comes with BlazeDS Turnkey, find the web.xml file inside of it, copy and paste all the code inside there and paste it (overwrite) the default samples/WEB-INF/web.xml that is automatically installed by BlazeDS Turnkey.

Then uncomment out the RDS section and set the use security parameter to false, and it works no problem!
Random Solutions  
 
programming4us programming4us