aspose file tools*
The moose likes Flex and the fly likes BlazeDS is not responding through Apache Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "BlazeDS is not responding through Apache" Watch "BlazeDS is not responding through Apache" New topic
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...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: BlazeDS is not responding through Apache