Douglas,

> Anyway I followed the instructions in INSTALL.txt, copied the 
> Index.mxml file from the Cairngorm tree I unzip'ed into the 
> Tomcat try (an oversite, not mentioned in INSTALL.txt) and 
> ... nuthin'. All I see is the Index.mxml source, not 
> functionality. I checked the Tomcat logs and it mentions 
> something about a missing web.xml file. Huh? How do I make 
> this thing actually do anything. 
> 
> By the way as I am new to Tomcat, what is the significance of 
> the environment variable $WEB_APP? Must I define it on Windoze?
> 
> Almost there,

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

This e-mail and any associated attachments transmitted with it may contain
confidential information and must not be copied, or disclosed, or used by
anyone other than the intended recipient(s). If you are not the intended
recipient(s) please destroy this e-mail, and any copies of it, immediately.

Please also note that while software systems have been used to try to ensure
that this e-mail has been swept for viruses, iteration::two do not accept
responsibility for any damage or loss caused in respect of any viruses
transmitted by the e-mail. Please ensure your own checks are carried out
before any attachments are opened.



Reply via email to