| Author |
BlazeDS is not responding through Apache
|
Selva Prakash
Ranch Hand
Joined: Sep 03, 2009
Posts: 41
|
|
hai ,
i am using apache as webserver and jboss as application server. i have desinged application like, client server messaging using streaming amf channgel.
Services-Config.xml,
<channel-definition id="streaming-amf" class="mx.messaging.channels.StreamingAMFChannel">
<endpoint url="http://{server.name}:{server.port}/{context.root}/messagebroker/streamingamf" class="flex.messaging.endpoints.StreamingAMFEndpoint" />
<properties>
<idle-timeout-minutes>0</idle-timeout-minutes>
<max-streaming-clients>1000</max-streaming-clients>
<server-to-client-heartbeat-millis>5000</server-to-client-heartbeat-millis>
<user-agent-settings>
<user-agent match-on="MSIE" kickstart-bytes="2048" max-streaming-connections-per-session="500" />
<user-agent match-on="Firefox" kickstart-bytes="2048" max-streaming-connections-per-session="500" />
</user-agent-settings>
</properties>
</channel-definition>
if client subcribing for the message using jboss ip , messaging is working fine.
if client using apache ip for subcribing message, the messaging is not working.
my question is any configuration needed sending and receiving messages through apache server.
because if client directly connect with jboss, messaing is working..otherwise it is not working
thanks in advance.
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
|
Make sure you have a version of Apache HTTP Server that supports AMF. After that it should be no different to any other protocol.
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Selva Prakash
Ranch Hand
Joined: Sep 03, 2009
Posts: 41
|
|
hi,
i am using apache2.2 and jboss 4.2.2 version. apache supports http1.1 version...
in adobe docs, they mentioned
" The streaming AMF and HTTP channels are HTTP-based streaming channels that the BlazeDS server can use to push updates to clients using a technique called HTTP streaming. These channels give you the option of using standard HTTP for real-time messaging. This capability is supported for HTTP 1.1, but is not available for HTTP 1.0. "
but it is not working , any configurations to be done for this...
kindly post your suggesions...
|
 |
Selva Prakash
Ranch Hand
Joined: Sep 03, 2009
Posts: 41
|
|
|
please post your suggesions...
|
 |
 |
|
|
subject: BlazeDS is not responding through Apache
|
|
|