Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

RPC call failure flex to J2EE container


Level 1
I am a flex newby so I am sure this is a 'dumb' problem. I
have installed flex.war (FDS) on my J2EE server and successfully
started it. I changed the remoting-config.xml file and added the

<destination id="portfolio">





and the java code exists and has successfully compiled within
the flex profject under src folder.

I then exported a 'release build' which produced a bunch of
files including the .html and .swf. I then copied these files to a
directory I created on the web server. I then invoked the .html
file and the app popped up but when it tried to make the RPC call I
got the error...

Portfolio feed failure...

Invoke failed

Couldn't establish a connection to 'portfolio'

I am assuming I have incorrectly deployed the app but I have
no idea what to do.

Help !!!!!!

0 Replies


Level 2

Firstly you should not be compiling your your Java classes
with Flex project. Java classes have to be in the classes folder of
the web application, which has BlazeDS/LCDS jar files deployed.

Please visit the URL below for details on how to use
RemoteObject to invoke methods on Java classes on the server.

Hope this helps.