JavaLoader error setting up new ContentBox site on ACF 2016

Description

I am trying to set up the latest version of ContentBox (as of 7/3/16) on a CF2016 server with Windows. After manually creating the database and datasource, I start the installation process. It verifies the DSN and when I click to continue it does create the tables. The process then errors out with the following message in the coldfusion-out.log.

Jul 3, 2016 11:37:03 AM Error [ajp-nio-8016-exec-1] - Error building: jl@cbjavaloader -> wrong number of arguments with constructor arguments: {compileDirectory={W:\websites\ContentBox\coldbox\system\modules/cbjavaloadermodel/javaloader/tmp},trustedSource={false},loadPaths={[]},loadColdFusionClassPath={false},parentClassLoader={},sourceDirectories={[]}}Mapping: {PATH={/coldbox/system/modules/cbjavaloader.models.javaloader.JavaLoader},MIXINS={[]},THREADSAFE={false},DISETTERS={[]},PROVIDERMETHODS={[]},AUTOWIRE={true},SCOPE={noscope},ALIAS={[jl@cbjavaloader]},VALUE={},AUTOINIT={true},DSL={},DICONSTRUCTORARGS={[{JAVACAST={null},REF={null},SCOPE={variables},REQUIRED={true},VALUE={[]},DSL={null},TYPE={any},ARGNAME={},NAME={loadPaths}}, {JAVACAST={null},REF={null},SCOPE={variables},REQUIRED={true},VALUE={false},DSL={null},TYPE={any},ARGNAME={},NAME={loadColdFusionClassPath}}, {JAVACAST={null},REF={null},SCOPE={variables},REQUIRED={true},VALUE={},DSL={null},TYPE={any},ARGNAME={},NAME={parentClassLoader}}, {JAVACAST={null},REF={null},SCOPE={variables},REQUIRED... The specific sequence of files included or processed is: W:\websites\ContentBox\index.cfm, line: 132

I tried deleting everything, restarting CF, and re-installing but I get the same error. As mentioned, I just installed CF2016 standalone (it was running CF11 standalone) and configured things based on the CF 2016 Lockdown Guide. My other CF site, non-ContentBox, is running fine, so I can verify that CF, IIS, SQL are fine. Its possible that something in the lockdown might be conflicting so I set the CF service back to run as Administrator (as opposed to the custom CF service account), but I am seeing the same errors.

Gliffy Diagrams

Activity

Show:

Daniel GarciaAugust 6, 2016 at 9:30 PM

I was able to install ContentBox locally with CommandBox and CF 2016. I did not get any JavaLoader.cfc issues. Thanks.

Daniel GarciaAugust 6, 2016 at 4:26 AM
Edited

I can try it with CommandBox and see. In the meantime, if it would make things easier, I'd be fine giving you remote access to my server. This is the server we use to host the CFUG site and that's the only thing on it.

BTW, I am running Enterprise standalone (coexist) and the version is 2016.0.02.299200.

Luis MajanoAugust 6, 2016 at 4:23 AM

Hi Daniel, can you try with CommandBox and the version we have for 2016, I used this one 2016.0.02+299200.

However, the issue might be with the standalone version that leverages Tomcat. So it might be related to the Tomcat network class loader. Anyways, can you verify and If not, I need to install 2016 standalone.

Daniel GarciaAugust 6, 2016 at 4:19 AM
Edited

I just did a fresh installation of CF 2016 with the latest updates on Windows and am still having this issue. I found a reference to a similar issue with JavaLoader.cfc in another project. I applied their suggested fix (https://github.com/blueriver/MuraCMS/issues/2113) to the 4 JavaLoader.cfc files within /coldbox and got past my initial issue as reported above. I am now having an issue with JavaLoader.cfc within cbmarkdown. I applied the same fix to that file as the others, but I still get errors.

Error building: Processor@cbmarkdown -> wrong number of arguments with constructor arguments: {javaLoader={[(Component=cbjavaloader.models.Loader)]}} coldfusion.runtime.CustomException: Error building: Processor@cbmarkdown -> wrong number of arguments with constructor arguments: {javaLoader={[(Component=cbjavaloader.models.Loader)]}}

I am getting this error on the initial installation. It verifies my datasource and starts the installation process. The tables look like they get created in the database but then this error comes up. I never get to the next set of forms to complete the site installation/configuration. I have tried fresh installations a couple times including deleting the tables, files, and restarting the service, but keep getting the same error. I do apply the JavaLoader.cfc changes as that did work for the original error.

I looked to see where this ticket was in the release notes to try and find what this fix was but was unable to. Any ideas?

Luis MajanoAugust 2, 2016 at 4:04 PM

We have udpated our dependency and also tested with Adobe CF 2016.0.02.299200 and no issues anymore.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Components

Priority

Sentry

Created July 8, 2016 at 7:04 PM
Updated August 6, 2016 at 9:30 PM
Resolved August 2, 2016 at 4:04 PM