I have an AMF channel configured in a standard way...
<endpoint uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
In the flex-config.xml file I have the conext root defined as...
<context-root>/metalsmith</context-root>
When starting the server (Tomcat) at least the placeholder for the context.root seems to be there...
[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
However, when attempting to connect to the service it is apparent that the context.root info has been lost...
'my-amf' channel endpoint set tohttp://localhost:8080//messagebroker/amf
'my-amf' channel settings are:
<channel id="my-amf" type="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}//messagebroker/amf"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel>
'my-amf' pinging endpoint.
'my-amf' channel got status. (Object)#0
code = "NetConnection.Call.Failed"
description = "HTTP: Failed"
details = "http://localhost:8080//messagebroker/amf"
level = "error"
Any suggestions on what might be wrong?
<endpoint uri="http://{server.name}:{server.port}/{context.root}/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
In the flex-config.xml file I have the conext root defined as...
<context-root>/metalsmith</context-root>
When starting the server (Tomcat) at least the placeholder for the context.root seems to be there...
[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
However, when attempting to connect to the service it is apparent that the context.root info has been lost...
'my-amf' channel endpoint set tohttp://localhost:8080//messagebroker/amf
'my-amf' channel settings are:
<channel id="my-amf" type="mx.messaging.channels.AMFChannel">
<endpoint uri="http://{server.name}:{server.port}//messagebroker/amf"/>
<properties>
<polling-enabled>false</polling-enabled>
</properties>
</channel>
'my-amf' pinging endpoint.
'my-amf' channel got status. (Object)#0
code = "NetConnection.Call.Failed"
description = "HTTP: Failed"
details = "http://localhost:8080//messagebroker/amf"
level = "error"
Any suggestions on what might be wrong?