RE: [flexcoders] Getting a problem trying to do a remote object in FLEX

2006-08-16 Thread Seth Hodgson












Riding on Brians coat tails, youll
want the following servlet definition and mapping in the web.xml file for your
webapp.



 !-- MessageBroker Servlet --

 servlet


servlet-nameMessageBrokerServlet/servlet-name


display-nameMessageBrokerServlet/display-name


servlet-classflex.messaging.MessageBrokerServlet/servlet-class

 init-param


param-nameservices.configuration.file/param-name


param-value/WEB-INF/flex/services-config.xml/param-value

 /init-param

 init-param


param-nameflex.write.path/param-name

 param-value/WEB-INF/flex/param-value

 /init-param


load-on-startup1/load-on-startup

 /servlet



 .



 servlet-mapping


servlet-nameMessageBrokerServlet/servlet-name


url-pattern/messagebroker/*/url-pattern

 /servlet-mapping



Best,

Seth











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Brian Deitte
Sent: Tuesday, August 15, 2006
10:31 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Getting
a problem trying to do a remote object in FLEX











You don't
have the necessary servlet set up in web.xml. I don't know
the current FDS documentation, but I assume the details are in there, or
just look in another Flex install for the expected info that should be
in the web.xml. -Brian 


 -Original Message-
 From: [EMAIL PROTECTED]ups.com

 [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of laidezmon
 Sent: Tuesday, August 15, 2006 1:10 PM
 To: [EMAIL PROTECTED]ups.com
 Subject: [flexcoders] Getting a problem trying to do a remote 
 object in FLEX
 
 Here is the error I get when trying to access the remote object called
 simpleJava which is defined as a destination in my remote-config.xml
 file. 
 
 Here is the Flex error.
 
 [RPC Fault faultString=Send failed
 faultCode=Client.Error.MessageSend
 faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed:
 HTTP: Failed]
 at
 mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/inte
 rnal::faultHandler()
 at mx.rpc::Responder/fault()
 at mx.rpc::AsyncRequest/fault()
 at mx.messaging::ChannelSet/::faultPendingSends()
 at mx.messaging::ChannelSet/channelFaultHandler()
 at
 flash.events::EventDispatcher/flash.events:EventDispatcher::di
 spatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
 at
 mx.messaging.channels::PollingChannel/mx.messaging.channels:Po
 llingChannel::connectFailed()
 at
 mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFCha
 nnel::statusHandler()
 
 
 Here is the JRUN Server inline error.
 
 08/15 13:10:51 error Requested resource '/messagebroker/amf'
 (%2fmessagebroker%2famf) not found
 
 
 
 
 
 
 --
 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








   






  
  
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] Getting a problem trying to do a remote object in FLEX

2006-08-15 Thread Brian Deitte
You don't have the necessary servlet set up in web.xml.  I don't know
the current FDS documentation, but I assume the details are in there, or
just look in another Flex install for the expected info that should be
in the web.xml.  -Brian 
 

 -Original Message-
 From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On Behalf Of laidezmon
 Sent: Tuesday, August 15, 2006 1:10 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Getting a problem trying to do a remote 
 object in FLEX
 
 Here is the error I get when trying to access the remote object called
 simpleJava which is defined as a destination in my remote-config.xml
 file. 
 
 Here is the Flex error.
 
 [RPC Fault faultString=Send failed
 faultCode=Client.Error.MessageSend
 faultDetail=Channel.Connect.Failed error NetConnection.Call.Failed:
 HTTP: Failed]
   at
 mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/inte
 rnal::faultHandler()
   at mx.rpc::Responder/fault()
   at mx.rpc::AsyncRequest/fault()
   at mx.messaging::ChannelSet/::faultPendingSends()
   at mx.messaging::ChannelSet/channelFaultHandler()
   at
 flash.events::EventDispatcher/flash.events:EventDispatcher::di
 spatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at mx.messaging::Channel/mx.messaging:Channel::connectFailed()
   at
 mx.messaging.channels::PollingChannel/mx.messaging.channels:Po
 llingChannel::connectFailed()
   at
 mx.messaging.channels::AMFChannel/mx.messaging.channels:AMFCha
 nnel::statusHandler()
 
 
 Here is the JRUN Server inline error.
 
 08/15 13:10:51 error Requested resource '/messagebroker/amf'
 (%2fmessagebroker%2famf) not found
 
 
 
 
 
 
 --
 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/