I was using the unexploded WAR file. I deleted that, exploded the samples.war into it's own directory, and what do you know?
It works!!! That was the only thing I did differently. Thanks for the idea and the help. Eric --- In [email protected], "Peter Farland" <[EMAIL PROTECTED]> wrote: > > Are you using an exploded or unexploded WAR file? If the latter, can you > try exploding it for deployment instead? > > > > When you're compiling the samples, are you using the browser to invoke > the .mxml files and thus relying on the FDS webtier to do the > compilation for you? Or are you using Flex Builder? If the former, then > have you checked that the /WEB-INF/flex/services-config.xml file is > present in your web application? If the latter, have you provided the > necessary --services and -contextRoot MXML compiler arguments to specify > the location of the top-level services-config.xml file and the J2EE web > application context root of your deployed samples.war file? > > > > Double check the destination names used in the samples MXML code and > compare them to the corresponding services-config.xml file (or, if it is > using includes (which it is likely to be by default), compare them to > the destinations in the appropriate service include config file as > referenced by the top level config). > > > > Note that JMS destinations should be defined under the message service > which by default is configured though the messaging-config.xml include. > > > > > > > > ________________________________ > > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of ericfillman > Sent: Monday, September 25, 2006 11:33 AM > To: [email protected] > Subject: [flexcoders] Need help configuring JBoss and Flex 2/FDS samples > > > > Hi. > > I'm new to both JBoss and Flex, and I'm trying to get the FDS Sample > applications to work in JBoss 4.04GA. > > I think I've got everything configured according the installation > instructions, and have spent countless hours Googling trying to find > an answer, but so far nothing has worked. > > The problem I'm having is that the sample apps aren't able to find > any of the data services configured through data-management- > service.xml, or the JMS destinations configured in the remoting- > config.xml. > > For example, when I try to run the Mini CRM Sample application, which > connects to a temporary Hypersonic database, this is the error I get. > > [MessagingError message='Unknown destination 'crm.employee' for > service with id 'data-service'.'] > at mx.messaging.config::ServerConfig$/getProperties() > at mx.data::Metadata$iinit() > at mx.data::ConcreteDataService$iinit() > at mx.data::ConcreteDataService$/getService() > at mx.data.mxml::DataService/set destination() > at mini/::_DataService1_i() > at mini$iinit() > at mx.managers::SystemManager/create() > at mx.managers::SystemManager/::initializeTopLevelWindow() > at mx.managers::SystemManager/::frameEndHandler() > > When I try to run the Dashboard sample, which uses JMS, I get this: > > [MessagingError message='Unknown destination 'dashboard_chat'.'] > at mx.messaging.config::ServerConfig$/getChannelSet() > at > mx.messaging::Consumer/mx.messaging:Consumer::initChannelSet() > at > mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend() > at mx.messaging::Consumer/subscribe() > at Chat/::initComp() > at Chat/___Panel1_creationComplete() > at > flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEv > entFunction() > at flash.events::EventDispatcher/dispatchEvent() > at mx.core::UIComponent/set initialized() > at mx.managers::LayoutManager/::doPhasedInstantiation() > at Function/http://adobe.com/AS3/2006/builtin::apply > <http://adobe.com/AS3/2006/builtin::apply> () > at mx.core::UIComponent/::callLaterDispatcher2() > at mx.core::UIComponent/::callLaterDispatcher() > > I know that the Flex is working with JBoss, because I was able to get > some other sample applications working that use web services to > retrieve data from exteranl sources (a couple of samples that > Cristophe had in his testdrive samples). > > Anyway, I'm sure I'm missing something in the configuration with > JBoss, but I just don't know what it is. > > If I need to provide additional information, please let me know. Any > help would be greatly appreciated. > > Thanks. > > Eric > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

