RE: [flexcoders] Channel.Connect.Failed
The context-root is not specified correctly. The context-root is not a path on the server. This issue and the resolution and discussed in the following tech note - http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e329643d - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JaySent: Tuesday, November 07, 2006 2:12 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Channel.Connect.Failed I have a copuple different servers setup to work on several projects.On one server I can build, test and run a small application utilizing a CFC to pull data from a database.if I move this flex application to another CF server and try to run it I get this error[RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404"]I can make the error go awa by addig this (-context-root "D:\Inetpub\wwwroot"to my additional complier arguments : settings but it returns no data, do not get an error and looks like nothing is happening.any thoughts out there?? __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Installing Data services 2
There are links for installation included in the article under 'Installation' - http://www.adobe.com/devnet/flex/articles/helloworld.html It is not necessary to install Flex Data Services to run that example. - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of davidgarcia41Sent: Friday, November 03, 2006 3:58 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Installing Data services 2 Hello my name is David i want to know how as to install data service and to run this example:http://www.adobe.com/devnet/flex/articles/helloworld.htmlplease let me know how install and configurate the data service 2 thank you very mutch , i will apreciate your help __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] to invoke RemoteObjects
This issue and the resolution and discussed in the following tech note - http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=e329643d - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Juan Carlos B²Sent: Monday, November 06, 2006 11:45 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] to invoke RemoteObjects Because it sends the following message in the console, when I invoke an object in a class java.error Requested resource '/messagebroker/amf' (%2fmessagebroker%2famf) not foundAnd in the explorer show Send Failed.Somebody knows as they are the steps to invoke a remote method in java, to correct my error? NOTE: Excuse my English bad __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Is it possible to setup polling amf over HTTPS?
What's the channel type and endpoint for a HTTPS polling amf channel??? The differences in the definition between the AMF channels and the polling AMF channels are the 'polling-enabled' and 'polling-interval-seconds' properties. Here's an example that should get you started - channel-definition class="mx.messaging.channels.SecureAMFChannel" id="my-secure-polling-amf" endpoint class="flex.messaging.endpoints.SecureAMFEndpoint" uri="https://{server.name}:9100/myapp/messagebroker/amfpollingsecure"/endpoint properties polling-enabledtrue/polling-enabled polling-interval-seconds2/polling-interval-seconds /properties /channel-definition - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steven TothSent: Wednesday, November 01, 2006 10:08 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Is it possible to setup polling amf over HTTPS? I'm using a SecureAMFChannel for Remoting, but also need to use a DataService. I have a RTMPChannel that I'm going to switch over to SecureRTMPChannel, but have some users behind proxies. I want to setup a polling amf channel over HTTPS as a secondary channel. I haven't been able to find any documentation on whather it can be done, and if so, hwo to do it? I know the polling amf over HTTP uses the AMFChannel with the amfpolling endpoint. What's the channel type and endpoint for a HTTPS polling amf channel??? Thanks.-Steven __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] FDS Method Fill and List of parameters
Here's an example when using Hibernate Named Queries. If I defined the following query in pet.hbm.xml, query name="owner.by.pet.name"select pet.owner from Pet as pet where pet.name=?/query Then my fill operation requires a single parameter to be supplied. This is the value for the '?'. petDataService.fill(petCollection, "owner.by.pet.name", ["Buddy"]); In you're case, the query also has a single parameter. In this case, you should pass in a value for 'in (?)'. I'm not sure where the '*' comes in. Perhaps the query should be query name="taskProjects"select * From Task where idProject in (?, ?, ?)/query In which case, the fill would be taskDataService.fill(tasksArray, "tasksProjects", [1, 2, 3]); Which should resolve to 'select * From Task where idProject in (1, 2, 3)' that is Query q2 = s.getNamedQuery("taskProjects"); q2.setInt(0, 1); // where the first parameter is the position of the ? and the second parameters it the value passed in q2.setInt(1, 2); q2.setInt(2, 3); - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jonathan_mereySent: Thursday, November 02, 2006 11:53 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] FDS Method Fill and List of parameters Hi,I put this request in my mapping :query name="tasksProjects"From Task where idProject in (?)/queryI want to know how put in this call method to replace * :taskDataService.fill(tasksArray, "tasksProjects", [*]);The request must be like that :select * From Task where idProject in (1, 2, 3) __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Installing FDS As Win2003 WebService
The development version of JRun included with FDS does not include the Windows Service functionality. If you require this functionality, you may download JRun from the Adobe web site and deploy the FDS wars. - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shannon HicksSent: Tuesday, October 31, 2006 4:36 PMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Installing FDS As Win2003 WebService I wasn't able to get jrunsvc to work with what came with FDS 2 Express, so I ended up installing Tomcat instead. It took awhile to figure out, having never used Tomcat before, but I pieced together the install process form a few different resources, and put it in one handy step-by-step guide: http://www.webapper.net/index.cfm/2006/10/31/Installing-Flex-Data-Services-2-Express-on-Tomcat-for-Dummies Shan From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of João FernandesSent: Monday, October 02, 2006 7:27 AMTo: [EMAIL PROTECTED]ups.comSubject: [Junk E-Mail - LOW] RE: [flexcoders] Installing FDS As Win2003 WebService What is your server called? If your java server instance is called fds and located inside drive:\{jrun.home}\servers\ run the command from the bin folder drive:\{jrun.home}\bin : jrunsvc -install fds "Flex Data Service" "Flex Data Service" João Fernandes From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Francois DejardinSent: segunda-feira, 2 de Outubro de 2006 12:51To: [EMAIL PROTECTED]ups.comSubject: [flexcoders] Installing FDS As Win2003 WebService Hi all,I'm trying to install fds as service on Win2003.. i've read that it was possible with jrunsvc but it doesn't work with the following command line : jrunsvc.exe -install jrun-server "Flex data service" "Flex Data Service"(I find the jrunsvc from Coldfusion installation directory)Is it something wrong ? regards --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.407 / Virus Database: 268.12.11/460 - Release Date: 10/1/2006 --No virus found in this outgoing message.Checked by AVG Free Edition. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] When the assembler classes are instantiated and destroyed?
So my questions are: the assembler class is instantiated when theweb-app is loaded in server? Or when the client opens the application inhis browser? Or when the client tries to call a method from theassembler (e.g. fill)? And when it's destroyed? After method returns? Orit will remain until the web-app is loaded?? The create/destroy on the Assembler is related to the 'scope' property in the destination. The default scope is request-level. With request scope,a newAssembler is created on each request. With session scope, a new Assembler is createdfor each new session. With application scope, a new Assembler is created when the MessageBrokerServlet starts up at application startup. There is no explicit destroy method for the Assembler. - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of serolfleumasSent: Wednesday, November 01, 2006 8:11 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] When the assembler classes are instantiated and destroyed? Hi,I'm creating an application that uses Flex Data Management andeverything is working fine. I want to add something like a listener init that will push external changes in the underlying database to theclients. In my searches I found some information aboutDataServiceTransaction API and believe it's my solution, but I think theassembler class must exist during the entire application life.So my questions are: the assembler class is instantiated when theweb-app is loaded in server? Or when the client opens the application inhis browser? Or when the client tries to call a method from theassembler (e.g. fill)? And when it's destroyed? After method returns? Orit will remain until the web-app is loaded?? __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] Accessing HTTP headers from Flex Data Services
The JSP solution is a Flex 1.x solution. If you're using Flex 1.x, here's an alternative to the jsp option below, Note: The above seems to require a compile for every request for the page. With a minor modification to the code, you can eliminate the above issue - the flashvars are updated on every request but the page doesn't recompile. Use the flashvar tag to set a flashvar from the http header. Access as flashvars in your mxml. flex.:mxml mx:flashvar name="this_is_the_name_to_access_from_mxml" value='%= request.getHeader("XXX") %'/ ... Insert your mxml here, be sure to declare 'this_is_the_name_to_access_from_mxml at the root level. /flex:mxml - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]Sent: Monday, October 30, 2006 1:41 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Accessing HTTP headers from Flex Data Services I will give "an" answer which I know works, but there must be better ways. We wrapped our mxml with jsp using flex:mxml.../ accessed request.getHeader("XXX"); in the jsp pushed those values into jsp string variables (XXX = ) and substituted them in the mxml via %= XXX % flashvars will automatically pass in parameters if variables are declared in the flex at the root level to match, I haven't tried header variables.Note: The above seems to require a compile for every request for the page Roxanne "Dylan Schorer" dylanschorer@yahoo.com Sent by: [EMAIL PROTECTED]ups.com 10/30/2006 12:05 PM Please respond to[EMAIL PROTECTED]ups.com To [EMAIL PROTECTED]ups.com cc Subject [flexcoders] Accessing HTTP headers from Flex Data Services Hi,How can you access the HTTP header variables from within a Flex DataServices MXML application. The request variables are easily accessiblethrough Application.application.parameters, but how can you get atHTTP headers variables? This e-mail message and all attachments transmitted with it may contain legally privileged and/or confidential information intended solely for the use of the addressee(s). If the reader of this message is not the intended recipient, you are hereby notified that any reading, dissemination, distribution, copying, forwarding or other use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately and delete this message and all copies and backups thereof. Thank you. __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company Your email settings: Individual Email|Traditional Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___
RE: [flexcoders] FDS 2.0
Per the license, 1.9"Per-CPU" The total number of CPUs on the Computers used to operate the Software may not exceed the licensed quantity of CPUs. For purposes of this definition, all CPUs on a Computer on which the Software is installed shall be deemed to operate the Software unless Customer configures that Computer (using a reliable and verifiable means of hardware or software partitioning) such that the total number of CPUs that actually operate the Software is less than the total number on that Computer. You cannot install the express version (1 CPU) on a machine with more than one CPU. You can only deploy it into single CPU machines. - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João FernandesSent: Friday, August 18, 2006 5:41 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] FDS 2.0 You can use FDS express the very same way that FDS departmental or Enterprise, the only difference is that the express version cannot be deployed on a clustered invironment and more than 1 CPU. The only thing I never understood is if deployed on a 2 CPU server, express will only talk to a single CPU or if you can only deploy it into single CPU machines. João Fernandes From: [EMAIL PROTECTED]ups.com [mailto:[EMAIL PROTECTED]ups.com] On Behalf Of Mika KiljunenSent: sexta-feira, 18 de Agosto de 2006 9:54To: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] FDS 2.0 Hi, I need more info on this, since Adobe site claims Flex Data Services Express, a free product version of Flex Data Services 2, lets developers deploy a single application on a single, nonclustered CPU to take advantage of data services and messaging capabilities. Does this mean, that if I download Flex Data Services Express, I can develop using remote objects but I cannot release a commercial service without FDS Enterprise license OR does it mean that Express does not even contain the remote object support at all so that I cant even develop em with Express version and need Enterprise for development also? Latter would really change the development process, since Enterprise costs so much that for small companies it would really mean one central Enterprise version for all developers vs. Flex 1.5 model, where each developer could have their own flex server ie. on laptop on developer mode. This would really make things more complicated for developers. -Mika From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt ChotinSent: 16. elokuuta 2006 6:16To: [EMAIL PROTECTED]ups.comSubject: RE: [flexcoders] FDS 2.0 FDS Express does have the remote object support. I thought we were putting more info into the FAQ on the licenses but I cant find it, Ill ask around. Matt From: [EMAIL PROTECTED]ups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mika KiljunenSent: Monday, August 14, 2006 11:08 PMTo: [EMAIL PROTECTED]ups.comSubject: [flexcoders] FDS 2.0 Hi, Its a bit unclear to me does FDS 2.0 contain remote object support or is it contained with Enterprise license only? Hint Adobe could put more info to the Adobe site concerning the differences of FDS licenses, please J -Mika __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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] newbie question - HTTP servive
In Flex 2, you need to use 'event.lastResult' - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robin BurrerSent: Thursday, August 17, 2006 9:59 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] newbie question - HTTP servive Hi there, I started playing around with the HTTP service. However I cant figure out how to access the actual result (in my case an xml string) If I set up a listener it just returns me an object in the onResult event. Why cant I access my xml string through event.result? How do I access it? public function onResult(event:ResultEvent):void { // why doesnt this work? trace (event.result.toString()); // this works but its very ugly //trace(event.message.body.toString()); } Thanks Robin // the code of my sample application ?xml version="1.0"? !-- Simple example to demonstrate the HTTPService tag. -- mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="go();" mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; public function go():void { feedRequest.addEventListener(ResultEvent.RESULT,onResult); feedRequest.send(); } public function onResult(event:ResultEvent):void { trace (event.result.toString()); //trace(event.message.body.toString()); } ]] /mx:Script mx:HTTPService id="feedRequest" url="" useProxy="false" / /mx:Application __._,_.___ -- 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 Software development tool Software development Software development services Home design software Software development company 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] A bug with flash player 9??
Is it possible that you're running into an issue with the new version of IE? http://www.adobe.com/devnet/activecontent/ You don't mention how your html wrapper is generated. If you're using FB 2, FDS 2 Web Tier Compiler, or the html-templates that ship with Flex 2 SDK, then you've correctly coded the html wrapper to work with the new version of IE. If you've hand coded, be sure that you've followed the instructions in the link above. One easy way to tell if you're runnning into the Active Content issue is that you have a tooltip when you hover over the swf before the click, saying that you need to click or press enter to continue. Thus, the first click is for activation and every other click gets picked up. - Cathy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexava Sent: Thursday, July 27, 2006 8:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] A bug with flash player 9?? Hi,I wonder if there's a bug with the flash play 9.When I specify that a web service be called when a button is clicked,like this: mx:WebService id=demoService service=Demo port=DemoSoap wsdl=some wsdl here showBusyCursor=true mx:operation name=demo mx:request param1param/param1 /mx:request /mx:operation /mx:WebService mx:Button label=Demo click=demoService.demo.send()/ The call isn't made when the button is clicked for the first time,seeming that nothing happend(and actually nothing didn't happen!!),but everything is ok in the successive clicks.Does anybody else run into similar situation?? -- 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 -- 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/ * 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/
RE: [flexcoders] FDS sporadically works, but why?
This information is available in services-config.xml. Check the endpoint which you're exposing, in particular, you'll probably have to add the rtmp port, if you're using that channel. - Cathy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ryan harlin Sent: Tuesday, July 25, 2006 8:17 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] FDS sporadically works, but why? Okay... I figured out my problem and it was pretty silly. It worked when I tested on the internal IP address and didn't work through the external IP address. So I forwarded every port on my firewall (not the smartest) to my PC serving flex FDS. Now it works. But I don't want to leave my computer open like this. What port specifically is Flex FDS using? It's not just 8700. The data management service must have it's own port because 8700 was forwarding back when it wasn't working. So it's something else between 408 and 8699. Anyone know the exact port numbers I need to direct to my server? Thanks for the help! --- Dustin Mercer [EMAIL PROTECTED] wrote: Out of curiosity, was the server restarted between the last time it didn't work and the time it did an hour later? If so, you may have some heap size issues (java could be running out of memory) or connection pooling issues. I have had both of these bring a server to its knees (no fault of FDS, just the way things work). Something to also look for is the logging section in the services-config.mxml. (below) . Main thing to look for here is if your logging level is set to anything other than Error, maybe Info or Debug. I have seen this cause me memory problems on WebSphere 6 when the heap size was only 128 min. I bumped my heap up to 256 min and that helped a ton. You could also set the logging back to Error, but that only bandaids the real issue, java loves memory :-) You will probably end up having to increase the 128 default eventually. GL! logging target class=flex.messaging.log.ConsoleTarget level=Error ... /target /logging From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ryan harlin Sent: Tuesday, July 25, 2006 10:13 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] FDS sporadically works, but why? Does anyone know why (or has anyone had a similar experience) a Flex Data Services tutorial project... the FDS Java Adapter example from Adobe would work sporadically? The tutorial is essentiall a DataGrid with 3 columns: ID, First Name, Last Name. They have you edit the data-management-config.xml file to add a destination and then type up some mxml into a file called lesson2.mxml After getting all the pieces placed correctly on the server (the db, the .as file, etc.) It work like a charm. I could open on two computers and see the server push happening when I changed a DataGrid's cell contents. Then I went to demo it for someone and it didn't work. The DataGrid loads but doesn't populate with data. I looked around but nothing had changed on the server. We gave up and went home. Later that evening I tried again and didn't work. Same problem. An hour later it did! This morning it didn't work. And by early afternoon it does again. Anyone know why FDS is seemingly so flakey? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com http://mail.yahoo.com __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- 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 Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
RE: [flexcoders] Using taglib in JSPs
The tag library feature is not available in Flex 2. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joonha Lee Sent: Wednesday, July 19, 2006 10:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using taglib in JSPs I am not found MxmlTag.class in '/WEB-INF/lib/flex-bootstrap.jar' Therefore, I found error the past jsp code !! This code is no use in Flex2 ? %@ taglib uri=FlexTagLib prefix=mm % mm:mxml mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Canvas width=506 height=382 mx:LinkButton x=10 y=10 label=TEST/ /mx:Canvas /mx:Application /mm:mxml -- 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 Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
RE: [flexcoders] compilation error?
Check your /WEB-INF/flex/services-config.xml file (or one of the files referenced in the services-config.xml service-include section) for the error. - Cathy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ryanharlin Sent: Wednesday, July 19, 2006 12:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] compilation error? I'm trying to set up and run the CRM coldfusion example from the adobe dev website. Everything seems to go well and I can run the .cfm files to access the datasource in a traditional coldfusion setting. But when i try to run the .mxml file (the last step of the tutorial) I get the following error: 1 Exception found. Exception flex.messaging.config.ConfigurationException Configuration error encountered on line 9, column 52: 'Open quote is expected for attribute class.' What would this mean and how would I fix it? I'm new to coldfusion and flex. I love flex and the mxml language but I'm finding the documentation on Flex Data Services to be a little lacking in detail. I can't wait for the first flex books to come out. Thanks to all for any help! -- 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 Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
RE: [flexcoders] Re: Running Flex Data Services apps outside of the server root/flex/ dir
when referencing mxml files that is, prompts us to download the mxml file whichever application that includes the mxml file, must have a definition of the servlet and a servlet mapping for *.mxml what you're trying to do, should be possible but will take some work to get the correct paths/configurations, etc Here's a start - (a) determine if you need the MessageBrokerServlet or MxmlServlet functionality or both In the standard FDS documentation, there is documentation on setting up a MessageBrokerServlet only configuration, which can be a starting point. If you're trying to compile mxml, then you need the MxmlServlet functionality. i. make sure that the application containing the mxml files have all the required definitions in web.xml ii. make sure that flex-bootstrap.jar is in the web application classpath, as defined by your application server iii. make sure that the jars in /WEB-INF/flex/jars are in a central location and update web.xml flex.bootstrap.classpath to point to that location iv. specify the location of /WEB-INF/flex/flex-webtier-config.xml in web.xml within the MxmlServlet definition servlet servlet-nameFlexMxmlServlet/servlet-name ... init-param param-namewebtier.configuration.file/param-name param-value/WEB-INF/flex/flex-webtier-config.xml/param-value /init-param /servlet v. update the flex-config element in flex-webtier-config.xml to point to flex-config.xml vi. open up flex-config.xml and be sure that all paths are specified correctly (use absolute or relative to flex-config.xml) vii. if you're compiling to connect with MessageBrokerServlet functionality, you'll need the flex-services.xml and include files to compiel against. This location can be specified in flex-webtier-config.xml services element (I think) If you need the MessageBrokerServlet functionality, i. make sure that jars in flex/WEB-INF/lib (except flex-bootstrap.jar) are available in the web application classpath ii. be sure that MessageBrokerServlet is defined in your application's web.xml, whichever application contains the server-side classes iii the servlet definition should specific the location of /WEB-INF/flex/services-config.xml - Cathy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of klumikaze Sent: Wednesday, July 19, 2006 1:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Running Flex Data Services apps outside of the server root/flex/ dir Hey Dave, Sorry for the confusion. :) Basically what we want, is to have a /flex/ directory where the FDS libraries exist, and then have web applications at the server root level that are Flex based. An example: We want to have a directory under our server root called 'myApp' with a file called 'main.mxml'. We then want to be able to access http://www.mydomain.com/myApp/main.mxml and have it use the FDS libraries and compile the app properly. Essentially the behavior we're seeing is that any application that's not a subdir of the /flex/ directory, when referencing mxml files that is, prompts us to download the mxml file (I assume because it doesn't understand what to do with the MXML mime type). Does that clarify it at all? Thanks Dave, Brian --- In flexcoders@yahoogroups.com, Dave Wolf [EMAIL PROTECTED] wrote: Brian, I am a little confused by your question. You seem to indicate you want to have a seperate web application for the FDS services from where the Flex/Flash application lives. Then you kind of confuse me when you say you want a shared library. The idea is that /flex is where FDS lives, and you can then create /snoopy and put your web applications under there. Thats not quite what I would call a shared library. The /flex web app contains the FDS services and associated libraries. The /snoopy web app contains your swfs and assets and connects to the services at /flex as needed. What errors are you seeing? Is what you are really saying that you just dont want the FDS web app named /flex? -- Dave Wolf Cynergy Systems, Inc. Adobe Flex Alliance Partner http://www.cynergysystems.com http://www.cynergysystems.com/blogs Email: [EMAIL PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, klumikaze dunphy@ wrote: Link didn't appear to work... if you click on 'Options for developing a Flex Data Services application' once you're on that page, you'll see the second diagram I mean. Thanks, Brian --- In flexcoders@yahoogroups.com, klumikaze dunphy@ wrote: We've been pulling our hair out trying to figure out how to run applications outside of the /flex/ dir in our J2EE server. Currently we're using JBoss, but I would assume that the configuration is similar across all application servers. Essentially, what we want to do is create a structure like the second diagram in the following page (from the Flex 2 documentation):
RE: [flexcoders] Undeploying Data Services Project
I'm not sure what type of log file entries you're seeing for the RedeployManager so I'm not sure what errors you're encountering. However,RedeployManager isn't a critical piece of FDS and can be disabled through services-config.xml. If you disable this functionality, you'll need to redeploy your application/restart your server for changes to services-config.xml or the other services config files to be picked up. - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Allen RiddleSent: Tuesday, July 18, 2006 3:03 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Undeploying Data Services Project Whenever I WAR up my Data Services project, everything is fine. Whenever I undeploy it, whether through ANT or the Tomcat Manager, my log file has numerous entries for RedeployManater, and the entries never end. When I came in today, the log file was at 53 gig. Is there anything specific you have to do when deploying to Tomcat? I did the extra steps that Adobe specified, like the JOTM Jars, etc. Allen Riddle Sofware Development x3217 __._,_.___ -- 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] HTTPS and Remote passwords
One thing I noticed, class=flex.messaging.endpoints.AMFEndpoint - class=flex.messaging.endpoints.SecureAMFEndpoint - Cathy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, July 13, 2006 10:11 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTTPS and Remote passwords On Wednesday 12 July 2006 15:00, Tom Chiverton wrote: All right, fixed that, my bad :-) I take it all back :-( If I have the end point URL (http://somehost/flex2gateway) protected at the web server level, how can I make Flex send along a particular username/password in the HTTP 'Authorization' header when it calls a remote object ? Neither setCredentials() or setRemoteCredentials() work - the web browser just displays it's normal HTTP 'authorisation needed' prompt, and once entered there all proceeds well, so it's just a case of making Flex do the same thing. All is well if I protect the root URL (but then the web browser prompts the user before loading the Flex before passing on the Authorization header OK). Any word on HTTPS endpoints ? *No one* is trying to do CFC remoting over SSL ? With destination id=environmentService channels channel ref=my-cfamf-arch-sec/ /channels properties sourcecom.XXX.EnvironmentService/source access use-mappingstrue/use-mappings method-access-levelremote/method-access-level /access property-case force-cfc-lowercasefalse/force-cfc-lowercase force-query-lowercasefalse/force-query-lowercase force-struct-lowercasefalse/force-struct-lowercase /property-case /properties /destination and channel-definition id=my-cfamf-arch-sec class=mx.messaging.channels.SecureAMFChannel endpoint uri=https://archiving.localdomain:443/flex2gateway/; class=flex.messaging.endpoints.AMFEndpoint/ properties polling-enabledfalse/polling-enabled serialization instantiate-typesfalse/instantiate-types /serialization /properties /channel-definition I get an error when trying to use it that says destination environmentService not accessible over channel my-cfamf-arch-sec :-( The SWF is being served via HTTPS from the same host name, but I've stuck the following cross domain policy file in anyway to no avail: cross-domain-policy allow-access-from domain=* secure=false / /cross-domain-policy -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- 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 Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
RE: [flexcoders] Remote JNDI server
I've detailed troubleshooting information for this situation on the Adobe forums. In particular, you'll want to create a jndiTest.jsp which works for your situation. Once you have that running, you'll know which properties to use in the initial-context-environment as well as the message destinations. http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=583threadid=1160937messageid=4158668 - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Allen RiddleSent: Thursday, July 13, 2006 3:57 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Remote JNDI server Has anybody been able to set up the Messaging Services to send messages to a remote machine using the initial-context-environment configurations? Im unable to connect to my remote server. Allen Riddle Sofware Development x3217 __._,_.___ -- 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] Flex2.0 'ANY_HOST_CONFIGURATION'
We haven't seen this issue before. Based on the information that you've provided, I might suspect that the flex.war's version of commons-httpclient.jar isn't getting used but rather a different version of that jar in your classpath. - which application server are you running? - are you running any other applications on that server? - are there any additions to your classpath for the web application? Either through configuration or something you've added to /WEB-INF/lib,/WEB-INF/classes yourself? My recommendation would be to try to isolate the issue by deploying flex.war (without any additions) on its own application server. Then, work from there to determine the cause of the problem. - Cathy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hemantkamatgi Sent: Friday, June 30, 2006 4:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex2.0 'ANY_HOST_CONFIGURATION' Hi, I've installed the latest flex2.0 war. I'm getting the exception shown below: flex.messaging.config.ConfigurationException: Unable to create service 'flex.messaging.services.HTTPProxyService' for 'proxy-service' due to the following error: org.apache.commons.httpclient.HostConfiguration: field ANY_HOST_CONFIGURATION not found. However, in commons-httpclient.jar,the class HostConfiguration has a public filed named 'ANY_HOST_CONFIGURATION'. pls, help. -- 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 Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
RE: [flexcoders] macromedia.css.LocatorParser Problem
This Beta 3 issue will be fixed in the final version. In the meantime, Flex 2b3 should be run in its own VM separate from Flex 1.x and prior betas. Again, this will be fixed and these restrictions will be lifted. - Cathy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sinacapho Sent: Monday, June 26, 2006 4:45 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] macromedia.css.LocatorParser Problem Dear all, I have the macromedia.css.LocatorParser problem after install the Flex 2b3 and move the war to tomcat 5.0. I also face this problem. I have search for the web that only flex with weblogic have this problem. I have also find that there are not fop.jar in the lib folder . What can i do ? thx capho -- 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 Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM ~- -- 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/ * 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/
RE: [flexcoders] install Flex Data Services 2 Beta 3 as a J2EE web application: JONAS
Great! Adding this note for others who may be encountering similar issues - To simplify configuration, if FDS and your JMStopics/queues/destinationsare running in the same enterprise application, you should not need to specify the initial-context-environment for your destination. FDS will call new InitialContext() without any properties to obtain the jndi objects. - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of HOUMANI Nawal RD-BIZZ-ISSSent: Wednesday, June 28, 2006 7:37 AMTo: flexcoders@yahoogroups.comSubject: RE: [flexcoders] install Flex Data Services 2 Beta 3 as a J2EE web application: JONAS I use the version 4.6. I resolved the problem javax.naming.NamingException by changing the configuration of JMS destination and specially the JNDI context for the server in flex-message-service.xml but I had another problem caused by a NullPointerException I figured it by changing the version of Jonas from 4.6 to 4.7. The version of joram integrated it isn't the same. De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Carlos RoviraEnvoyé: lundi 26 juin 2006 19:36À: flexcoders@yahoogroups.comObjet: Re: [flexcoders] install Flex Data Services 2 Beta 3 as a J2EE web application: JONAS Hi Rania,What version of JOnAS are you using? On 6/26/06, rania_aya_tgfrd [EMAIL PROTECTED] wrote: Hello,I try to deploy a flex application on jonas. The flex application use JMS Adapter of flex data service 2 beta3 but I have an error when running due to my jms destination configuration. The error is : flex.messaging.messages.ErrorMessage')rootCause = (Typed Object #1 'javax.naming.NamingException')rootCause = (Typed Object #2 'javax.naming.NamingException')rootCause = nulllocalizedMessage = "Unknown protocol:joram"anyone know how to figure with this error ?Thanks-- ::| Carlos Rovira::| http://www.carlosrovira.com __._,_.___ -- 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] Integrated JRun Axis Deployment..
Before adding Flex to the mix, recommend that you get Apache Axis 2 running in a web app on the JRun server. Once that's running successfully, add Flex 2 to the mix. Some settings in /WEB-INF/jrun-web.xml, which you may find useful - load-system-classes-firstfalse/load-system-classes-firstenable-jrun-web-servicesfalse/enable-jrun-web-services - Cathy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tolulope OlonadeSent: Tuesday, June 27, 2006 3:50 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Integrated JRun Axis Deployment.. Has anybody deployed the Apache axis 2 into the Flex 2 Beta 3 Integrated Jrun server? Deploys well but when I call up the happyaxis.jsp test page it throws exception. Thanks for any help. Regards __._,_.___ -- 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] Using JMS Adapter: 'javax.naming.NamingException unknown protocol : joram.
I testes my JMS destination by coding MessageDrivenBean that subscribe to the topic and it works fine. Could you include the 'message-driven' definition in ejb-jar.xml as well as any application specific configuration file that may map resource-ref or resource-env-refs to actual jndi names? The ClassCastException that you're seeing is due to a failure in the jndi lookup on the destination. Could you give me more explanations of these properties (Context.INITIAL_CONTEXT_FACTORY,Context.PROVIDER_URL)? The properties used by Flex are the ones defined by the naming api - http://java.sun.com/j2se/1.4.2/docs/api/javax/naming/Context.html And, be sure that the troubleshooting JSP page is working first. - Cathy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of HOUMANI Nawal RD-BIZZ-ISS Sent: Monday, June 26, 2006 11:46 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Using JMS Adapter: 'javax.naming.NamingException unknown protocol : joram. Thanks for your reply. I testes my JMS destination by coding MessageDrivenBean that subscribe to the topic and it works fine. What I have done since I posted my subject is to change the properties : Context.INITIAL_CONTEXT_FACTORY=com.sun.jndi.rmi.registry.RegistryContextFactory And Context.PROVIDER_URL=rmi://localhost:1099 And i Have another error : java.lang.ClassCastException at flex.messaging.services.messaging.adapters.JMSProxy.getDestination(JM SProxy.java:186) at flex.messaging.services.messaging.adapters.JMSTopicConsumer.start(JMS TopicConsumer.java:59) at flex.messaging.services.messaging.adapters.JMSAdapter.manage(JMSAdapt er.java:343) at flex.messaging.services.MessageService.manageSubscriptions(MessageSer vice.java:510) at flex.messaging.services.MessageService.serviceCommand(MessageService. java:151) at flex.messaging.MessageBroker.routeCommandToService(MessageBroker.java :640) at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndp oint.java:294) at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(Abst ractRTMPServer.java:653) at flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTM PConnection.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor ker.runTask(ThreadPoolExecutor.java:643) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor ker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Thread.java:534) Exception in RtmpReader thread: java.lang.ClassCastException java.lang.ClassCastException at flex.messaging.services.messaging.adapters.JMSProxy.getConnectionFact ory(JMSProxy.java:173) at flex.messaging.services.messaging.adapters.JMSTopicConsumer.start(JMS TopicConsumer.java:72) at flex.messaging.services.messaging.adapters.JMSAdapter.manage(JMSAdapt er.java:343) at flex.messaging.services.MessageService.manageSubscriptions(MessageSer vice.java:510) at flex.messaging.services.MessageService.serviceCommand(MessageService. java:151) at flex.messaging.MessageBroker.routeCommandToService(MessageBroker.java :640) at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndp oint.java:294) at flex.messaging.endpoints.rtmp.AbstractRTMPServer.dispatchMessage(Abst ractRTMPServer.java:653) at flex.messaging.endpoints.rtmp.NIORTMPConnection$RTMPReader.run(NIORTM PConnection.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor ker.runTask(ThreadPoolExecutor.java:643) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Wor ker.run(ThreadPoolExecutor.java:668) at java.lang.Thread.run(Thread.java:534) Could you give me more explanations of these properties (Context.INITIAL_CONTEXT_FACTORY,Context.PROVIDER_URL)? I will try to test my jms topic using the jsp code you give me. -Message d'origine- De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part de Cathy Reilly Envoyé : lundi 26 juin 2006 17:08 À : flexcoders@yahoogroups.com Objet : RE: [flexcoders] Using JMS Adapter: 'javax.naming.NamingException unknown protocol : joram. Here's my advice on troubleshooting the issue. In flex-enterprise-services.xml (may be called services-config.xml depending on which prerelease you're using), enable logging and the debug level and check your server console for errors. Another thing that might be helpful is ensure that you can reach the destinations via jndi. You can do this by using a jsp page. If the page runs without stack traces, then you know that your jndi and jms factory and destination are configured correctly. Be sure to update flex-message-service.xml with those jndi names. If you have troubles running the jsp page, the destinations are not configured correctly and you should check your
RE: [flexcoders] Using JMS Adapter: 'javax.naming.NamingException unknown protocol : joram.
Here's my advice on troubleshooting the issue. In flex-enterprise-services.xml (may be called services-config.xml depending on which prerelease you're using), enable logging and the debug level and check your server console for errors. Another thing that might be helpful is ensure that you can reach the destinations via jndi. You can do this by using a jsp page. If the page runs without stack traces, then you know that your jndi and jms factory and destination are configured correctly. Be sure to update flex-message-service.xml with those jndi names. If you have troubles running the jsp page, the destinations are not configured correctly and you should check your application server documentation for details. jndiTest.jsp % Properties p = new Properties(); // as configured in your destination's initial-context-environment in flex-message-service.xml p.setProperty(java.naming.factory.initial,fr.dyade.aaa.jndi2.client.N amingContextFactory); p.setProperty(com.sonicsw.jndi.mfcontext.domain,Domain1); p.setProperty(java.naming.provider.url,joram://localhost:16010); p.setProperty(java.naming.security.principal,anonymous); p.setProperty(java.naming.security.credentials,anonymous); Context ctx = new InitialContext(p); ctx.lookup(TCF); // this maps to connection-factory on the destination in flex-message-service.xml ctx.lookup(sampleTopic); // this maps to destination-jndi-name on the destination in flex-message-service.xml % /* If you get an exception running with the above try, generally application servers make resource available to the application at java:comp/env/resource-name. However, additional configuration may be required so check your application server documentation. ctx.lookup(java:comp/env/TCF); ctx.lookup(java:comp/env/sampleTopic); */ -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rania_aya_tgfrd Sent: Monday, June 26, 2006 9:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using JMS Adapter: 'javax.naming.NamingException unknown protocol : joram. Hello, I'm using a JMS adapter to send a message from java programme to flex. My JSM server is JONAS and my flex application is running on Jonas also. when in try to use the flex application with a consumer to JMS Topics I have this error : [Flex] Deserializing AMF/RTMP request Version: 3 (Command method=null (0) trxId=2.0) null (Typed Object #0 'flex.messaging.messages.CommandMessage') messageRefType = flex.messaging.messages.AsyncMessage operation = 0 correlationId = body = (Object #1) messageId = 5EC587BB-D811-7E41-E072-105E379C38DA destination = stock-feed headers = (Object #2) DSEndpoint = my-rtmp timestamp = 0 timeToLive = 0 clientId = null [Flex] Serializing AMF/RTMP response Version: 3 (Command method=_error (0) trxId=2) (Typed Object #0 'flex.messaging.messages.ErrorMessage') rootCause = (Typed Object #1 'javax.naming.NamingException') rootCause = (Typed Object #2 'javax.naming.NamingException') rootCause = null localizedMessage = Unknown protocol:joram resolvedObj = null resolvedName = null remainingName = null message = Unknown protocol:joram cause = null explanation = Unknown protocol:joram localizedMessage = null resolvedObj = null resolvedName = null remainingName = null message = null cause = (Ref #2) explanation = null destination = null headers = (Object #3) correlationId = 5EC587BB-D811-7E41-E072-105E379C38DA faultString = null messageId = 73F616F5-B70E-E9D8-28A4-BD2460D808AB faultCode = Server.Processing timeToLive = 0.0 extendedData = null faultDetail = null clientId = null timestamp = 1.151325847207E12 body = null I configure the file flex-message-service.xml as follow : destination id=stock-feed properties server durablefalse/durable durable-store- managerflex.messaging.durability.FileStoreManager/durable-store- manager /server jms destination-typeTopic/destination-type message-typejavax.jms.TextMessage/message- type !-- the name of the JMS connection factory in JNDI-- connection-factoryTCF/connection-factory !-- the name of the destination in JNDI-- destination-jndi- namesampleTopic/destination-jndi-name durable-consumersfalse/durable-consumers delivery-modeNON_PERSISTENT/delivery-mode message-priorityDEFAULT_PRIORITY/message- priority acknowledge-