Building the extension-lucee.lex file and deploying.
Have managed to deploy this extension without any deployment errors.
After starting up Lucee Server and logging into server.cfm
All flex.messaging jars are active except for flex.messaging.core-3-3-0-224970002L.jar which says loaded.
The log reports this error:
lucee.runtime.exp.NativeException: Unresolved constraint in bundle flex.extension : Unable to resolve 84.0: missing requirement [84.0] osgi.wiring.bundle; (&(osgi.wiring.bundle=flex.messaging.core)(bundle-version>=220.127.116.11970002L)) [caused by: Unable to resolve 86.0: missing requirement [86.0] osgi.wiring.package; (osgi.wiring.package=org.jgroups)]
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle flex.extension : Unable to resolve 84.0: missing requirement [84.0] osgi.wiring.bundle; (&(osgi.wiring.bundle=flex.messaging.core)(bundle-version>=18.104.22.168970002L)) [caused by: Unable to resolve 86.0: missing requirement [86.0] osgi.wiring.package; (osgi.wiring.package=org.jgroups)]
... 19 more
I have updated the web.xml file to include the servlet information but as the jar is not being made active this is probably not relevant.
We are trying to migrate from CF9 to Lucee 5 so this is a blocker for us if we can't resolve it.
Windows - most probably Linux too. I've installed to Windows as I was having similar issues with Linux. As I am more familiar with Windows I am able to debug quicker at the moment!
The session scope should be available throughout the flex application according to Ben Forta's blog above. This was made possible through the AMFServlet.
Can this be made available through BrokerServlet - if so, how?
so you don not have a constant session scope with BrokerServlet, but you had with AMFServelt?
If so, please raise a new ticket for this, we should not handle all flex issues in a single ticket. Please link that new ticket here.
I don't know what BrokerServlet is or have any reference to it. Perhaps you / someone can provide reference to how to set it up?
A feature of Flex is to have session scope available as discussed in the blog by Ben Forta mentioned above. It appears that this was with AMFServlet.
This is certainly the case when working with Flex in CF9.
I can raise a new ticket if you still feel it is necessary.
Perhaps you are meaning MessageBroker?
Thanks for your time.
This one can be closed too.
Many thanks for sorting this!