I’m trying to install the axis coldfusion package ...
# adobe
b
I’m trying to install the axis coldfusion package on a CF2021 server running via commandbox. In commandbox I run
cfpm install axis
and it says it installs successfully. I then run
cfpm list
and see that axis is in the list of installed packages. When I restart the server, however, axis is no longer installed. Same issue happened when using the coldfusion CLI. Looking at the server logs, upon startup it uninstalls the axis package for some reason. Anyone know why this is happening?
j
You might want to try the #box-products channel. They are likely more active on this topic there.
b
I did, Brad had no idea and suggested I ask here. Since it happens with the CF CLI as well, I’m not sure that it’s related to commandbox
👍🏻 1
Basically I’m curious whether anyone knows why CF would uninstall the package on startup. Is that a setting somewhere?
Brad replied there with an environment variable possible fix. I don't know what your setup is.
b
Thanks Jakob, I’ll look into that. My setup is just a simple commandbox server I’m using for local dev, so it pulls down the latest CF2021. I don’t really know what it’s doing in the background.
ok I found an error in the server logs that I missed earlier: [INFO ] Apr 19, 2024 083441 AM Information [Thread-5] - Package axis started... [INFO ] Apr 19, 2024 083441 AM Error [Thread-5] - Unable to install axis package: java.lang.ClassNotFoundException: coldfusion.xml.rpc.module.XmlRpcServiceImpl [INFO ] Apr 19, 2024 083442 AM Error [Thread-5] - An error has occurred while installing the package axis. Exception : Cannot invoke “coldfusion.server.XmlRpcService.setClassPath(String)” because “xmls” is null
do I need to install something else first?
r
No. I did a fresh CommandBox install with ACF2021 and just installing the axis package worked fine.
b
Thanks for testing Rodney. I think I’ll just start from scratch
r
I was able to duplicate your issue. Running an unsupported JVM (anything greater than 11) will cause the issue you are running into.
👍🏻 2
🏆 1
👍 2
b
whoa good catch, thanks
Switching to JVM11 did it, thanks so much @Rodney. I didn’t even think to check that.
👍🏻 1