When I go to the CF Admin, and set null support, I...
# box-products
j
When I go to the CF Admin, and set null support, I am getting an error. When setting JVM in server.json I am trying to fix this error:
Unable to update server settings.
In memory file system limit cannot be more than JVM max heap size.
I am looking at this page - https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/jvm-args Im my server.json file I have, {
Copy code
"app":{
        "cfengine":"adobe@2021"
    },
    "trayEnable":"true",
    "server set JVM.heapSize=1024"
}
d
I'm guessing that server set command needs to just be run in commandbox, not saved in the server.json file.
j
Thanks so much for your reply, I took it out of the server.json file, and ran it in commanndBox (start minHeapSize=1024), but doiesn't fix the error in the CF Admin when I try to add null support.
d
That sounds like a different issue than the one you were describing.
j
sorry, I am trying to set the Enable Null Support in the ColdFusion Admin, but I am getting the error I described. Here is a video of what I am doing -

https://youtu.be/dJNm_MsK7Tk

Also, I updated my server.json to be - {
Copy code
"app": {
    "cfengine": "Adobe@2021"
  },
  "web": {
    "http": {
      "port": "2020"
    }
  },
  "jvm": {
    "heapSize": 512
  }
}
With this change in the server.json and restarted the server the issue is fixed 🙂 Thanks so much for your help @danmurphy
👍 1
b
@johnbarrett that's a CF bug related to not having a nax heap size set.
But your json was also invalid. The "server set" command just edits thw json for you
Here's the ticket for that Adobe bug. Please vote and comment so they'll fix it https://tracker.adobe.com/#/view/CF-4211182
j
@bdw429s thanks so much for your input. I didn't know that this is a bug within Adobe ColdFusion 2021. I was studying the certification exam for ColdFusion. I will vote for this bug.