Ortus-Solutions / docker-commandbox

Official CommandBox Docker Image for ColdFusion/CFML/Java applications
62 stars 41 forks source link

Issue with EHCache #57

Closed andybellenie closed 3 years ago

andybellenie commented 3 years ago

Hi,

I'm trying to get EHCache to work across containers and it's throwing an error when I call CacheGet()

"Unable to resolve ehcache.extension [47](R 47.0): missing requirement [ehcache.extension [47](R 47.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.xml)(bundle-version>=1.0.0.0)) [caused by: Unable to resolve org.lucee.xml [50](R 50.0): missing requirement [org.lucee.xml [50](R 50.0)] osgi.wiring.package; (osgi.wiring.package=org.apache.xalan.processor)] Unresolved requirements: [[ehcache.extension [47](R 47.0)] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.lucee.xml)(bundle-version>=1.0.0.0))]"

I've tested the same server config running a local copy of Commandbox instead of a container and it's working ok.

I'm using my own image based upon the default one with no special config, i.e. just

-DockerFile:

FROM ortussolutions/commandbox
ENV APP_DIR=/[myappdir]
ENV cfconfig_adminPassword=[mypass]

Any ideas what's going on?

andybellenie commented 3 years ago

My local commandbox version and the container are using the same server.json and lucee config file, so they are on the same lucee version