Good point Steve, I'll dive into the O'Reilly Tomcat book for a while and see if that helps.
I think you'll find there are a lot of folks like myself who are drawn to Flex and come from other environments (.Net, php, perl, C++ in my case). Perhaps a tutorial of some kind to smooth the transition out would be helpful. Cheers, Douglass > > Respectfully, you're not almost there..... :-) > > You have to create a web application under Tomcat (or any other > appserver - this is not a tomcat specific error you're seeing, > rather, you haven't created an application context under your > application server). > > The easiest way of doing this is to take flex.war, unarchive > it (which will give you a WEB-INF directory, as well as all the > other files and directories necessary for a webapp) and > then deploy into that webapp. > > You're going to have to make sure that you deploy your compiled > class files into that webapp as well... > > To be honest, I'd suggest that you put Cairngorm aside for > a second, and start with: > > o Creating a new webapp under Tomcat > o Creating a new flex webapp under Tomcat for MXML only > o Compiling a Java class into an existing flex-based webapp > - setting up a RemoteObject call to that java class > > Once you can do/understand those processes above, then you > might want to think about taking Cairngorm for a spin; but > I think it's getting in the way of some more fundamental > learning about what's required to get running with Flex in > a Java Application Server environment. > > Cairngorm isn't a short-circuit way of getting started with > Flex; rather, once you're already a little immersed in Flex, > Cairngorm allows you to go from understanding Flex, MXML > and ActionScript 2.0 to building enterprise-scale RIAs > by leveraging some knowledge of architectural > best-practice gained on prior Flex RIA developments along > the way. > > Cheers, > > Steven > > -- > Steven Webster > Technical Director > iteration::two >

