Cannot create class of type 'flex.messaging.endpoints.AMFEndPoint'

128 views
Skip to first unread message

theprophecy

unread,
Aug 24, 2015, 2:51:02 AM8/24/15
to Lucee
I know I need to get off of the old Flex remoting, but I have an old AIR app that will take forever to replace, and it has major usage coming up in a week. I just switched from ACF a couple of months ago, and this is the first time I'm trying to use the Flex remoting on the new Lucee server, current version 4.5.1.023 on Tomcat/7.0.59.

I followed the instructions on https://github.com/getrailo/railo/wiki/Amf:configuration , creating the config.xmls (as they did not exist on the install previously), only replacing railo.runtime.net.flex.RailoAdapter with lucee.runtime.net.flex.LuceeAdapter (which I verified is in the lib\lucee.jar). Unfortunately, even with barebones config, it won't load. Logging shows:

SEVERE: Servlet [MessageBrokerServlet] in web application [] threw load() exception
javax.servlet.UnavailableException: Cannot create class of type 'flex.messaging.endpoints.AMFEndPoint'.
    at flex.messaging.MessageBrokerServlet.init(MessageBrokerServlet.java:170)
    at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1284)...

I did of course confirm that all the flex jars are in the lib, and that the flex.messaging.endpoints.AMFEndPoint class is there.

Is there anyone with any info at all on how to get this to work?

theprophecy

unread,
Aug 24, 2015, 5:47:53 PM8/24/15
to Lucee
Reply all
Reply to author
Forward
0 new messages