This content has been marked as final. Show 4 replies
I had tons of problems getting my flexdata app to work, had the same problem as yourself just kept getting page not found and there were no error message so it could have been server, app or code.
Anyway I ditched the tutorial I was following used a chapter in the "Friends of ED foundation for flex developers" it has a great chapter on flexdata services, it had far more steps than the tutorial and more detail I was using before so I guess I missed something out in the first tutorial I found.
you might be able to grab the chapter from "certain websties" and preview before you buy but I consider it one of the best flex books on the market.
edit**** incidently the chapter was called "introduction to livecycle data services" ;)
http://localhost:8080/myfirst/messagebroker/amf is the servlet mapping that should be defined in web.xml
make sure tomcat is running, blazeDS is deployed and most imporantly try accessing http://localhost:8080/myfirst/messagebroker/amf". with browser, if blazeDS is deployed you get blank page, if not than servlet and or/tomcat is not running
based on url : http://localhost:8080/myfirst/messagebroker/amf".
conclusions are following :
you have webapplication context named "myfirst" deployed inside webapps directory of tomcat,
(assuming you use tomcat).
Thank you everyone for the reply!
I figured out what was the problem. When I was doing the tutorial for the first time, I put a destination with the name "tutorial-product" in the XMLs "messaging-config.xml" and "remoting-config.xml".
So, when I tried to start the server, it crashed, but with my lack of knowledge in Java, only now I've came to realize that I could solve out something by reading the "echos" of the Java Server Initialization...
Anyway, thank you for the help nintendofanboy8, the book is really good!