RE: [flexcoders] FDS Samples

2006-06-19 Thread Peter Farland





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:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Sunday, June 18, 2006 3:20 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FDS 
Samples


I 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/SystemExceptionjava.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








   






  
  
SPONSORED LINKS
  
  
  

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.



  






__,_._,___



RE: [flexcoders] FDS Samples

2006-06-19 Thread Peter Farland





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:[EMAIL PROTECTED] On Behalf Of Peter 
FarlandSent: Monday, June 19, 2006 9:46 AMTo: 
flexcoders@yahoogroups.comSubject: 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:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Sunday, June 18, 2006 3:20 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FDS 
Samples


I 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/SystemExceptionjava.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








   






  
  
SPONSORED LINKS
  
  
  

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.



  






__,_._,___



Re: [flexcoders] FDS Samples

2006-06-19 Thread hank williams



Oh thanks. I was going to ask about that. I hate the idea of modifying the server.xml file for an app specific thing.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.ThanksHankOn 6/19/06, Peter Farland 
[EMAIL PROTECTED] wrote:






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 
FarlandSent: Monday, June 19, 2006 9:46 AMTo: 
flexcoders@yahoogroups.comSubject: 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 
williamsSent: Sunday, June 18, 2006 3:20 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] FDS 
Samples


I 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/SystemExceptionjava.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








   






  
  
SPONSORED LINKS
  
  
  

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.



  






__,_._,___



RE: [flexcoders] FDS Samples

2006-06-19 Thread Peter Farland






Make sure you mention that the Transaction tag for 
a Context is for Tomcat 5.5 only(I believe JOTM config is more 
complicated in earlier versions of Tomcat). This new tag makes it very simple to 
configure transactions with JOTM:

Context 
reloadable="true"
 
Transaction factory="org.objectweb.jotm.UserTransactionFactory" 
jotm.timeout="60" /
/Context


Since I had just one Tomcat samples web application using 
FDS I copied the JOTM jar files to the /WEB-INF/lib directory, although I 
believe they can also be installed into 
/common/lib.

I don't have an example of the overall format of the 
context.xml file for Tomcat in general... but, yes, it's the web application 
directory's META-INF folder.

/samples/META-INF/context.xml
/samples/WEB-INF/lib/...






From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Monday, June 19, 2006 11:22 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] FDS 
Samples


Oh thanks. I was going to ask about that. I hate the idea of modifying the 
server.xml file for an app specific thing.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.ThanksHank
On 6/19/06, Peter 
Farland  [EMAIL PROTECTED] 
wrote:

  
  
  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 
  FarlandSent: Monday, June 19, 2006 9:46 AMTo: flexcoders@yahoogroups.comSubject: 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 
  williamsSent: Sunday, June 18, 2006 3:20 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] 
  FDS Samples
  
  
  I 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/SystemExceptionjava.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








   






  
  
SPONSORED LINKS
  
  
  

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.



  






__,_._,___



Re: [flexcoders] FDS Samples

2006-06-19 Thread hank williams



On 6/19/06, Peter Farland [EMAIL PROTECTED] wrote:








Make sure you mention that the Transaction tag for 
a Context is for Tomcat 5.5 only(I believe JOTM config is more 
complicated in earlier versions of Tomcat). This new tag makes it very simple to 
configure transactions with JOTM:
Context 
reloadable=true
 
Transaction factory=org.objectweb.jotm.UserTransactionFactory 
jotm.timeout=60 /
/ContextThis is funny. You are talking about this as though I already knew about the transaction tag. I didnt before, but I do now! This is much much nicer than using the Resource and ResourceParams tags. I will add this as an option.

Since I had just one Tomcat samples web application using 
FDS I copied the JOTM jar files to the /WEB-INF/lib directory, although I 
believe they can also be installed into 
/common/lib.

I don't have an example of the overall format of the 
context.xml file for Tomcat in general... but, yes, it's the web application 
directory's META-INF folder.It looks like the context.xml file may just have the context xml in it with no other header stuff or anything. I am going to check today.
Hank
/samples/META-INF/context.xml
/samples/WEB-INF/lib/...






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
williamsSent: Monday, June 19, 2006 11:22 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] FDS 
Samples


Oh thanks. I was going to ask about that. I hate the idea of modifying the 
server.xml file for an app specific thing.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.ThanksHank
On 6/19/06, Peter 
Farland  [EMAIL PROTECTED] 
wrote:

  
  
  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 
  FarlandSent: Monday, June 19, 2006 9:46 AMTo: 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 
  williamsSent: Sunday, June 18, 2006 3:20 PMTo: flexcoders@yahoogroups.com
Subject: [flexcoders] 
  FDS Samples
  
  
  I 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/SystemExceptionjava.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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development