Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

messagebroker/amf configuration - BlazeDS

saravanakumar_n
Level 1
Level 1
Hi,

I am working on Flex with BlazeDS

I have a problem in channel-definition end point URL.

This is my services-config.xml configuration.

<channel-definition id="my-amf"
class="mx.messaging.channels.AMFChannel">

<endpoint url="
http://{server.name}:{server.port}/{context.root}/messagebroker/amf"
class="flex.messaging.endpoints.AMFEndpoint"/>

</channel-definition>



My Context path is MySite ==> ...TomcatX/webapps/MySite

It works fine in localhost.
http://localhost:8080/MySite/index.html



I moved the build to production environment, and run
http://www.mydomain.com.

I get

[RPC Fault faultString="Send failed"
faultCode="Client.Error.MessageSend"
faultDetail="Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Failed: url: '
http://www.mydomain.com/messagebroker/amf'"

error.







I have changed context root from '/MySite' to '/'

Again I am getting the same error.



Can someone help me to solve this issue?
0 Replies