But I am not familiar with the context.xml file. What is the overall format of that file. Can I see a sample somewhere. Also, I presume that this *is* the META-INF in the application directory and not some global META-INF file, right?
Once I more fully understand I will re-post the steps with the new info.
Thanks
Hank
My apologies, this was sitting in my outbox for over a day and only went out now. I see that you've already got this to work.I agree that the docs could be better on this subject. Also, I've found for Tomcat 5.5 that modifying the <Context> in the /META-INF/context.xml file of the web application more convenient.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Peter Farland
Sent: Monday, June 19, 2006 9:46 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] FDS Samples
Are you running on Tomcat by any chance? If so, what version? For Tomcat you need to setup JOTM first as Data Services makes use of JTA (for transactions).
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
Sent: Sunday, June 18, 2006 3:20 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS SamplesI just downloaded flex data services, installed, and tried to run the the sample apps.
The flash UI part all works fine, but it cant connect to data. The error that comes in on the java console looks like this:
[Flex] [DEBUG] Before invoke service: data-service
incomingMessage: Flex Message (flex.data.messages.DataMessage)
operation = fill
id = null
clientId = 5C535BF9-496C-1163-025E-E8915E76244B
correlationId =
destination = contact
messageId = 43802177-0968-4AB3-9AB5-E8915E86D54E
timestamp = 1150658109140
timeToLive = 0
body =
[
]
hdr(DSEndpoint) = my-rtmp
Throwable in RtmpReader thread: java.lang.NoClassDefFoundError: javax/transaction/SystemException
java.lang.NoClassDefFoundError: javax/transaction/SystemException
at flex.data.DataService.serviceMessage (DataService.java:284)
at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:565)
at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:298)
at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage (AbstractRTMPServer.java:653)
at flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTMPConnection.java:650)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:643)
at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:668)
at java.lang.Thread.run(Unknown Source)
Obviously I have done something wrong from a setup perspective, but I am not sure what.
Any input would be greatly appreciated.
Hank
__._,_.___
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.