[flexcoders] Re: Remote object invocation failure

2006-06-27 Thread Mike_Robinson_98
Mistake found. I inadvertently removed the servlet mapping for the
MessageBrokerServlet in the web.xml file.

Sorry, but I'm just getting used to all the configuration files.

Thanks,
Mike

--- In flexcoders@yahoogroups.com, "Mike_Robinson_98"
<[EMAIL PROTECTED]> wrote:
>
> I'm trying to call a method on a Java object and keep getting
> "Connection failed" when I try the method call. I know it must be a
> configuration issue but have been plugging away at this all morning
> with out making any headway. Maybe some of you can see the problem
> easily. I'm using Tomcat. Thanks in advance.
> 
> Here are the relevant details (I think):
> // ** The error messages *
> [SWF] /metalsmith/metalsmith-flex/metalsmith-debug.swf - 1,196,373
> bytes after decompression
> 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer set destination to
> 'loginService'.
> 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer sending message
> 'E164544F-F6BF-7F4E-D9C7-11B613446EE4'
> 'my-amf' channel endpoint set to
> http://localhost:8080/metalsmith/messagebroker/amf
> 'my-amf' channel settings are:
> 
>uri="http://{server.name}:{server.port}/metalsmith/messagebroker/amf"/>
>   
> false
>   
> 
> 'my-amf' pinging endpoint.
> 'my-amf' channel got status. (Object)#0
>   code = "NetConnection.Call.Failed"
>   description = "HTTP: Failed"
>   details = "http://localhost:8080/metalsmith/messagebroker/amf";
>   level = "error"
> 'my-amf' channel polling stopped.
> 'my-amf' channel connect failed.
> 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer channel faulted with
> Channel.Connect.Failed NetConnection.Call.Failed: HTTP: Failed
> 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer fault for
> 'E164544F-F6BF-7F4E-D9C7-11B613446EE4'.
> 
> // *** The mxml file defining and calling the remote object
> 
>   
> 
>   showBusyCursor="true" 
>  result="loginHandler(event)"
>  fault="failureHandler(event)" />
> 
> // *** The flex-remoting-service.xml 
> 
>  class="flex.messaging.services.RemotingService"
> messageTypes="flex.messaging.messages.RemotingMessage">
> 
> 
>class="flex.messaging.services.remoting.adapters.JavaAdapter" 
>   default="true"/>
> 
> 
> 
> 
> 
> 
> 
> 
>
> com.othenos.metalsmith.assembler.UserAssembler
> application   
> 
> 
> 
> 
> 
> // flex-enterprise-services (partial)
> 
>  
>  
> 
> 
> 
>  class="mx.messaging.channels.AMFChannel">
> 
uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf";
> class="flex.messaging.endpoints.AMFEndpoint"/>
>  
>  false
>  
>  
> 
> //  finally, startup messages
> [Flex] [INFO] Starting Adobe Flex Data Services 2.0 Express (beta
> period ends Jul 31, 2006)
> [Flex] [INFO] Adobe Flex Data Services Build: 138139
> [Flex] [INFO] Endpoint my-amf created with security: None
> at URI:
> http://{server.name}:{server.port}/{context.root}/messagebroker/amf
> [Flex] [INFO] Endpoint ms-rtmp created with security: None
> at URI: rtmp://{server.name}:2035
> [Flex] [INFO] RTMP-Server listening on port:2035
>






 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/
 





[flexcoders] Re: Remote object invocation failure

2006-06-26 Thread Mike_Robinson_98
When I try to browse the endpoint
"http://localhost:8080/metalsmith/messagebroker/amf"; I get an error
saying the resource is not available.

I did a clean of the project and restarted the server with the same
result.

I have logging turned on in the flex-enterprises-services but it never
reports anything other than ...
06/26 12:11:55 DEBUG configuration service started.
06/26 12:11:55 DEBUG logger services started.

I would hope for a lot more detail than that. Is my configuration correct?




  [Flex] 
  false
  false
  true
  false


  Endpoint.*
  Service.*
  Message.*
  DataService.*
  Configuration






--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Have you tried browsing to the endpoint URI to check it's accessible?
> What URL are you using to load the SWF? Perhaps you've changed the
> configuration but not restarted the server nor forced a recompile of
> your SWF (i.e. doing a clean and forcing FB to recompile)?
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Mike_Robinson_98
> Sent: Monday, June 26, 2006 3:15 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Remote object invocation failure
> 
>  
> 
> I'm trying to call a method on a Java object and keep getting
> "Connection failed" when I try the method call. I know it must be a
> configuration issue but have been plugging away at this all morning
> with out making any headway. Maybe some of you can see the problem
> easily. I'm using Tomcat. Thanks in advance.
> 
> Here are the relevant details (I think):
> // ** The error messages *
> [SWF] /metalsmith/metalsmith-flex/metalsmith-debug.swf - 1,196,373
> bytes after decompression
> 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer set destination to
> 'loginService'.
> 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer sending message
> 'E164544F-F6BF-7F4E-D9C7-11B613446EE4'
> 'my-amf' channel endpoint set to
> http://localhost:8080/metalsmith/messagebroker/amf
>  
> 'my-amf' channel settings are:
> 
>  uri="http://{server.name}:{server.port}/metalsmith/messagebroker/amf"/>
> 
> false
> 
> 
> 'my-amf' pinging endpoint.
> 'my-amf' channel got status. (Object)#0
> code = "NetConnection.Call.Failed"
> description = "HTTP: Failed"
> details = "http://localhost:8080/metalsmith/messagebroker/amf
>  "
> level = "error"
> 'my-amf' channel polling stopped.
> 'my-amf' channel connect failed.
> 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer channel faulted with
> Channel.Connect.Failed NetConnection.Call.Failed: HTTP: Failed
> 'B82DD8CB-1D89-50BA-17CE-11B6029AA47B' producer fault for
> 'E164544F-F6BF-7F4E-D9C7-11B613446EE4'.
> 
> // *** The mxml file defining and calling the remote object
> 
> 
> 
>  showBusyCursor="true" 
> result="loginHandler(event)"
> fault="failureHandler(event)" />
> 
> // *** The flex-remoting-service.xml 
> 
>  class="flex.messaging.services.RemotingService"
> messageTypes="flex.messaging.messages.RemotingMessage">
> 
> 
>  class="flex.messaging.services.remoting.adapters.JavaAdapter" 
> default="true"/>
> 
> 
> 
> 
> 
> 
> 
> 
> 
> com.othenos.metalsmith.assembler.UserAssembler
> application 
> 
> 
> 
> 
> 
> // flex-enterprise-services (partial)
> 
> 
> 
> 
> 
> 
>  class="mx.messaging.channels.AMFChannel">
>  uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf
> "
> class="flex.messaging.endpoints.AMFEndpoint"/>
> 
> false
> 
> 
> 
> //  finally, startup messages
> [Flex] [INFO] Starting Adobe Flex Data Services 2.0 Express (beta
> period ends Jul 31, 2006)
> [Flex] [INFO] Adobe Flex Data Services Build: 138139
> [Flex] [INFO] Endpoint my-amf created with security: None
> at URI:
> http://{server.name}:{server.port}/{context.root}/messagebroker/amf
> [Flex] [INFO] Endpoint ms-rtmp created with security: None
> at URI: rtmp://{server.name}:2035
> [Flex] [INFO] RTMP-Server listening on port:2035
>






 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/