Expand my Community achievements bar.

NetConnection.Call.Failed: HTTP: Status 404; messagebroker/amf'

Avatar

Level 1

Hi,

I have been trying to solve this problem could not. Can some one help me?

My environment is Tomcat6+ LCDS ES2

My Flex app is hosted on tomcat and connects to a REST web service in the same tomcat server. The data is received in XML from Webservice

When developing the app is able to connect to the web service but when deployed on the final server (on a CentOS linux with Tomcat 6) I get the following error

faultCode:Client.Error.MessageSend  faultString:'Send failed'

faultDetail:'Channel.Connect.Failed  error NetConnection.Call.Failed:

HTTP: Status 404:

url:  'http://172.23.156.76:8080/Flex_App/messagebroker/amf''

I've checked the config files and found the channel definition for AMF correct.

Although I tried removing all the references to the AMF(including my-amf default channels) from config files the error persists.

Am I missing anything here?

Any ideas/pointers on how I can debug this is much appreciated.

Thanks in advance,

cccedy

2 Replies

Avatar

Former Community Member

The MessageBroker servlet is not installed properly. The context-root of the two Tomcat LC DS installs must be different. Test hitting the context-root Flex_App on both machines (http://hostIP:8080/Flex_App). If the context-root is valid you will hit the index.html page of the valid context-root which looks like this...

Welcome to Adobe LiveCycle Data Services ES2 Version  3!
 
This is an empty LiveCycle Data Services ES application that serves as a  template for creating your custom application.
 
Visit the product page for documentation and further information.

Steve