File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "BlazeDS is not responding through Apache" Watch "BlazeDS is not responding through Apache" New topic

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.


<channel-definition id="streaming-amf" class="mx.messaging.channels.StreamingAMFChannel">
<endpoint url="http://{}:{server.port}/{context.root}/messagebroker/streamingamf" class="flex.messaging.endpoints.StreamingAMFEndpoint" />
<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" />

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

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
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:
subject: BlazeDS is not responding through Apache
jQuery in Action, 3rd edition