Flex deployment.


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 [84]: Unable to resolve 84.0: missing requirement [84.0] osgi.wiring.bundle; (&(osgi.wiring.bundle=flex.messaging.core)(bundle-version>= [caused by: Unable to resolve 86.0: missing requirement [86.0] osgi.wiring.package; (osgi.wiring.package=org.jgroups)]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2114)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:977)
at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:964)
at lucee.loader.osgi.BundleUtil.start(BundleUtil.java:130)
at lucee.runtime.osgi.OSGiUtil.start(OSGiUtil.java:687)
at lucee.runtime.osgi.OSGiUtil.startIfNecessary(OSGiUtil.java:647)
at lucee.runtime.osgi.OSGiUtil.loadBundle(OSGiUtil.java:370)
at lucee.commons.lang.ClassUtil.loadClassByBundle(ClassUtil.java:130)
at lucee.transformer.library.ClassDefinitionImpl.getClazz(ClassDefinitionImpl.java:73)
at lucee.runtime.config.XMLConfigAdmin.setClass(XMLConfigAdmin.java:6329)
at lucee.runtime.config.XMLConfigAdmin._updateAMFEngine(XMLConfigAdmin.java:1902)
at lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4750)
at lucee.runtime.config.XMLConfigAdmin.updateRHExtension(XMLConfigAdmin.java:4575)
at lucee.runtime.config.XMLConfigAdmin._updateRHExtension(XMLConfigAdmin.java:4557)
at lucee.runtime.config.DeployHandler.deploy(DeployHandler.java:80)
at lucee.runtime.engine.Controler.control(Controler.java:204)
at lucee.runtime.engine.Controler.access$000(Controler.java:59)
at lucee.runtime.engine.Controler$ControlerThread.run(Controler.java:109)
Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle flex.extension [84]: Unable to resolve 84.0: missing requirement [84.0] osgi.wiring.bundle; (&(osgi.wiring.bundle=flex.messaging.core)(bundle-version>= [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!


Pat Moody
April 25, 2017, 10:54 PM

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?

Michael Offner
April 26, 2017, 7:21 AM

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.

Pat Moody
April 26, 2017, 8:56 AM

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.

Pat Moody
April 26, 2017, 11:24 PM


Pat Moody
June 26, 2017, 8:28 AM

This one can be closed too.
Many thanks for sorting this!



Michael Offner


Pat Moody





Fix versions




Affects versions