Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Problem configurating message destinations

Avatar

Level 1
hi folks,



i just started playing around with the flex data services a
little and tried out the sample chat application that aou can find
on the labs site - it is called 'Simple Chat Application'. However,
I quickly ran into a problem regading the configuration of
dewstinations and channels in the xx-services.xml file. It just
didn't seem to work, the runtime compiler always tole ma, that the
destination does not exist, in fact it did and yes, it was the
right configuration file....



So, alone with my pain, I decided to work it all over again,
deinstalled all the stuff and started again from scratch. This time
I choose to install the FDS as a JRun server instance, since I'm
running a coldfusion j2ee-instance on the same machine. Now I don't
get the compile error anymore, and the application shows me, how
the message format ist, it is about to send. However, the message
doesn't arrive on a second instance of the same application.



One more disturbing thing... what do I need the flex-admin
package for? It doesn't seem to be able to configure anything, does
it? Is it for monitoring only? Couldn't find any documentation on
that, unfortunately. However, since the ladder installation, the
flash-UI of flex-admin doesn't show any data. in the installation
before, it did at least...



Help, anyone?

1 Accepted Solution

Avatar

Correct answer by
Level 1
thanks for the hint, i'll try that anytime soon.



but in the mrantine i figured out what the real problem
was...

i used the jrun installation that comes along with the
coldfusion installer package. when i finally browsed the flex-error
log files, i found out, that the messagebroker servlet couldn't be
instantiated due to an old jre version (the one that came along
with cf!?). however, i installed the current version and ever since
- everything works as expected :)



thanks again,

thomas

View solution in original post

4 Replies

Avatar

Level 1
FDS JMS destinations are same as J2EE messaging destinations.
You can go to JRUN admin /resources and define destinations.

Avatar

Correct answer by
Level 1
thanks for the hint, i'll try that anytime soon.



but in the mrantine i figured out what the real problem
was...

i used the jrun installation that comes along with the
coldfusion installer package. when i finally browsed the flex-error
log files, i found out, that the messagebroker servlet couldn't be
instantiated due to an old jre version (the one that came along
with cf!?). however, i installed the current version and ever since
- everything works as expected :)



thanks again,

thomas

Avatar

Level 3
At compile time did you point to the services configuration
file using the command line argument
--services=c:/dev/yourappserver/samples/WEB-INF/flex/flex-enterprise-services.xml



The flex-admin is for monitoring only at this time. Perhaps
the flex-admin web application isn't deployed by default in beta
2?

Avatar

Level 1
yeah, the properties were set correctly.

but the problam really was the wrong version of the JRE.



thanks anyway, thomas