I tried to install Content Box CMS on my host (Hostek), they had an installer. They tell me that I need to use Lucee and not ACF. Is this true? I get a nasty error:
at cfBuilder2ecfc533687992$funcBUILDCFC.runFunction(D:/home/cfhawaii.net/wwwroot/coldbox/system/ioc/Builder.cfc:132) at cfInjector2ecfc1777318116$funcBUILDINSTANCE.runFunction(D:/home/cfhawaii.net/wwwroot/coldbox/system/ioc/Injector.cfc:290) at cfNoScope2ecfc460839901$funcGETFROMSCOPE.runFunction(D:/home/cfhawaii.net/wwwroot/coldbox/system/ioc/scopes/NoScope.cfc:31) at cfInjector2ecfc1777318116$funcGETINSTANCE.runFunction(D:/home/cfhawaii.net/wwwroot/coldbox/system/ioc/Injector.cfc:263) at cfLoader2ecfc506566234$funcSETUP.runFunction(D:/home/cfhawaii.net/wwwroot/modules/contentbox/modules/contentbox-deps/modules/BCrypt/modules/cbjavaloader/models/Loader.cfc:43) at cfModuleConfig2ecfc1077531618$funcONLOAD.runFunction(D:/home/cfhawaii.net/wwwroot/modules/contentbox/modules/contentbox-deps/modules/BCrypt/modules/cbjavaloader/ModuleConfig.cfc:44) at cfModuleService2ecfc1979165563$funcACTIVATEMODULE.runFunction(D:/home/cfhawaii.net/wwwroot/coldbox/system/web/services/ModuleService.cfc:458) at cfModuleService2ecfc1979165563$funcACTIVATEALLMODULES.runFunction(D:/home/cfhawaii.net/wwwroot/coldbox/system/web/services/ModuleService.cfc:345) at cfLoaderService2ecfc162667661$funcLOADAPPLICATION.runFunction(D:/home/cfhawaii.net/wwwroot/coldbox/system/web/services/LoaderService.cfc:57) at cfBootstrap2ecfc11787530$funcLOADCOLDBOX.runFunction(D:/home/cfhawaii.net/wwwroot/coldbox/system/Bootstrap.cfc:70) at cfApplication2ecfc1857985566$funcONAPPLICATIONSTART.runFunction(D:/home/cfhawaii.net/wwwroot/Application.cfc:85)
coldfusion.runtime.CustomException: Error building: jl@cbjavaloader -> java.lang.reflect.InaccessibleObjectException: Unable to make public void jdk.internal.loader.BuiltinClassLoader.loadModule(java.lang.module.ModuleReference) accessible: module java.base does not "exports jdk.internal.loader" to unnamed module @566c1e71 with constructor arguments: {compileDirectory={D:\home\cfhawaii.net\wwwroot\modules\contentbox\modules\contentbox-deps\modules\BCrypt\modules/cbjavaloadermodel/javaloader/tmp},trustedSource={false},loadPaths={[]},loadColdFusionClassPath={false},parentClassLoader={},sourceDirectories={[]}}
at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:139)
at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:5191)
at cfBuilder2ecfc533687992$funcBUILDCFC.runFunction(D:\home\cfhawaii.net\wwwroot\coldbox\system\ioc\Builder.cfc:132)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:623)
at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)
at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:553)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:516)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:463)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:438)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:310)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:975)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:696)
at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:503)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:4254)
at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:4217)
at cfInjector2ecfc1777318116$funcBUILDINSTANCE.runFunction(D:\home\cfhawaii.net\wwwroot\coldbox\system\ioc\Injector.cfc:290)
http://cfhawaii.net/index.cfm I am using content-box 5, MySQL 8. I hoe that you can see the error, it’;s too long to display here.
Ok, the site is loading now so I added the error to your post. What version of Java is the site running on? This is a very low level error coming from Java itself.
Here is the whole error, and thanks so much for your help!
Error building: jl@cbjavaloader → java.lang.reflect.InaccessibleObjectException: Unable to make public void jdk.internal.loader.BuiltinClassLoader.loadModule(java.lang.module.ModuleReference) accessible: module java.base does not “exports jdk.internal.loader” to unnamed module @566c1e71 with constructor arguments: {compileDirectory={D:/home/cfhawaii.net/wwwroot/modules/contentbox/modules/contentbox-deps/modules/BCrypt/modules/cbjavaloadermodel/javaloader/tmp},trustedSource={false},loadPaths={[]},loadColdFusionClassPath={false},parentClassLoader={},sourceDirectories={[]}}
That is not the “whole” error Always post the full stack trace all the way down to the bottom. Now, you may note when I edited your post above I didn’t do that, but I also knew by looking at it in this case that all the useful info was at the top. But in general, always post the full stack trace leaving nothing out.
When you use phrases like “the installer”, you may know what you mean, but we have no earthly clue We don’t work for Hostek and I’ve never personally used their services. That’s like telling me you tried fixing your car with “the tool” from the garage. yeah-- I’ve no clue what that means You need to be much, much more specific about whatever it is Hostek is doing.
Also, still waiting for your reply to my question about your Java version above.
I am so sorry. Hostek, the hosting company has an installer that you can use to install conentBox. It is one of their installers, just like they have an installer for WordPress. I am going to try to upload the files from your installer. I am still waiting to hear back from the hosting provider about the java version
Just dump it out! it’s available in the server scope. no need to ask them about it.
My recommendation is to forget hostek for a minute. Use our installer locally and see if it works. if so, you can take up a conversation with Hostek about what may be wrong with their installer. But we can’t support hostek’s installer here since we didn’t write it and we don’t know what it even is.
I formatted your stack trace above and placed it in a code block which is three backticks before and after-- just like Slack. This is easier to read AND automatically scrolls when it’s long to keep things tidy.
@johnbarrett@lmajano I have split these two threads. This original thread is for the Hostek errors. The primary question is whether ContentBox CMS is tested and works on Adobe ColdFusion 2021 and Java 11.
module java.base does not "exports jdk.internal.loader" to unnamed module
It is. We have this all automated in github actions, ohh spoke too soon. I see that acf2021 is not running the automated tests. I will have to add them and verify.
I’ve heard from two people today who said Hostek explicitly told them they couldn’t use Contentbox on Adobe-- only Lucee. We may want to follow up with Hostek and see why they’re telling people this and if we can help them update their information.