October 25, 2021
Coldfusion 2018/2021 – JEE Installation – JVM Settings
Comments
(1)
October 25, 2021
Coldfusion 2018/2021 – JEE Installation – JVM Settings
(1)

I need to setup development and Quality environments using JEE Installation.

I can use Wildfly and also Tomcat. I’ve generated the war and deploy it but my concerns regards the JVM settings needed to make Coldfusion work without issues in the same way it will work when doing the ‘classical installation’.

Because I’ve CF2018 and CF2021 ‘classical installations’ I was able to access the jvm.config, but I’m want to be sure what settings are really mandatory according to the JEE Server I’m using.

Some settings seems to be apache coyote specific then probably will have no effects on Wildfly/Undertow then I will be sure I can remove it.

I do not want to do several trial and error, run to understand what are the mandatory settings.

I’ve found a document for CF2018 ->

https://helpx.adobe.com/coldfusion/installing/coldfusion-2018-install-jee-configuration.html

and settings indicated here are completely different that setting present in jvm.config

For Coldfusion 2021 I was not able to find any detailed documentation.

I think this kind of documentation must be present in some ‘inside’ document in the Adobe CF Engineering team,

then it will be great if this information is shared.

Any hint/pointer (other that said ‘… blind copy the settings…)?

best regards

1 Comment
2021-10-25 19:49:25
2021-10-25 19:49:25

Francisco, while you await a reply from Adobe (which I assume you want, since you raise a concern about the docs), I will say that the difference between the JVM settings on that page and what you see in the jvm.config are indeed “completely different” because there’s no relationship between the jvm.config (in a “classical install” as you call it) and the deployment of CF on a JEE app server (like wildfly, websphere, tomcat, etc.)

As that doc explains (and it seems you know from prior experience), you use the CF feature to create a WAR or obtain the CF WAR from the Adobe site, then you deploy it (per the instructions in that page you linked to).

More specifically, any “jvm settings” for the JEE server are implemented in ways that are unique to that JEE server. Adobe does not document how to do it (because it varies based on each app server and also how that app server may be implemented: changing JVM args for Tomcat alone differs based on whether running Tomcat as a service or not). And not only are the “ways” different but also whatever JVM args that app server wants.

As for that page listing which args Adobe recommends you ADD to such JEE server jvm args (however they may be set), there’s not necessarily any need to await a specification from Adobe of what alternative JVM args (than those listed in that article) will be needed for CF2021. The differences between the jvm.config in CF2018 and 2021 is fairly little, when I have compared them.

So have you tried simply to deploy a CF2021 war on whatever jee server you prefer, whether Wildfly or Tomcat? How did it go? I will admit I have not tried it yet, on either. But I’ve not heard of any changes that are specific to deployment of CF2021 as a WAR being that different from CF2018, though I could be failing to remember something or just missed it.

I appreciate you “just wanted answers” rather than to “several trial and error” attempts. I don’t have the direct answer you seek (and only Adobe can speak to any plans to update the docs), but I do hope that what I’ve offered may help you or others get down the road in trying out CF2021 as a WAR on a JEE server.

More than anything, I wanted to help with that concern about comparing what you see in the doc to a CF jvm.config (even in CF2018 alone). I hope that may help you to move forward in your testing. If I’ve misunderstood your intention there, my apologies.

Finally, FWIW this would be a good place for you (or I) or others who may try it to share any observations/challenges about deploying CF 2021 on JEE servers, especially as it relates to JVM settings.

Like
Add Comment