Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Data Services
Viewing all articles
Browse latest Browse all 58696

RPC gives errors

$
0
0

I’ve created a AMF channel using the following block of codes:

 

var cs:ChannelSet = new ChannelSet();
var amfChannel:Channel = new AMFChannel("my-amf", "http://localhost:8080/lcds-samples/messagebroker/amf");
cs.addChannel(amfChannel);

 

This does not show any errors. But whenever I change ‘localhost’ by my machine’s IP, i.e.,

 

var cs:ChannelSet = new ChannelSet();
var amfChannel:Channel = new AMFChannel("my-amf", "http:// 192.168.1.102:8080/lcds-samples/messagebroker/amf");
cs.addChannel(amfChannel);

 

it is throwing errors as follows:

 

Received fault: [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed: url: 'http://192.168.1.102:8080/lcds-samples/messagebroker/amf'"]

 

I’m using JBoss 5. I could provide more details if it is required. Please help


Viewing all articles
Browse latest Browse all 58696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>