lucee 5 lucee-web.xml isn't being imported into 6
Description
Environment
Attachments
- 08 Jun 2023, 09:51 am
- 07 Jun 2023, 02:13 pm
- 07 Jun 2023, 01:54 pm
causes
Activity

Michael Offner 13 June 2023 at 13:27
in my opinion this is a unrelated issue, when I use your example server.xml and web.xml the import now work as expected for me. I was able to reproduce the issue and fix it.
But the log you show, clearly shows that there is no server.xml, if there is no server.xml, lucee will not look for a web.xml, that is expected behaviour. If you expect a different behaviour please open a new ticket for it, then we can discuss this in that ticket.
@Zac Spitzer can we set that ticket to resolved, is the initial issue solved or not?
Zac Spitzer 13 June 2023 at 12:30
as per the task title, I think the problem is it’s not also checking if there’s a lucee-web.xml.cfm
file which indicates multi mode?

Michael Offner 13 June 2023 at 12:16
@Zac Spitzer when you look at your log output
has no xml server context config [C:\Users\WDAGUtilityAccount\.CommandBox\server\015F6F7E07A72FFFD41228CCF9F82779-preside\lucee-6.0.0-BETA.451\WEB-INF\lucee-server\context\lucee-server.xml]
2023-06-12 12:40:39.556 lucee.runtime.config.ConfigServerFactory c4
it does NOT find a xml to convert at C:\Users\WDAGUtilityAccount\.CommandBox\server\015F6F7E07A72FFFD41228CCF9F82779-preside\lucee-6.0.0-BETA.451\WEB-INF\lucee-server\context\lucee-server.xml
, so if you do a xml with that flag, it is in the wrong place i assume. where is the xml containing that flag?
Zac Spitzer 12 June 2023 at 11:05
would be good to log out the single / multi mode here https://github.com/lucee/Lucee/blob/6.0/core/src/main/java/lucee/runtime/engine/CFMLEngineImpl.java#L931
Zac Spitzer 12 June 2023 at 10:48
@Michael Offner this isn’t working
just tried in windows sandbox with commandbox
using the following commands from https://docs.preside.org/quickstart.html
install --force preside-commands
preside new site
preside start cfengine=lucee@6.0.0-BETA+451
you don’t even need to setup a datasource when it prompts to repo the problem
it’s still booting Lucee 6 up into single mode, thus not picking up the lucee-web config.xml
2023-06-12 12:40:39.352 lucee.runtime.config.ConfigServerFactory ===================================================================
SERVER CONTEXT
-------------------------------------------------------------------
- config:C:\Users\WDAGUtilityAccount\.CommandBox\server\015F6F7E07A72FFFD41228CCF9F82779-preside\lucee-6.0.0-BETA.451\WEB-INF\lucee-server\context
- loader-version:6.3
- core-version:6.0.0.451-BETA
===================================================================
2023-06-12 12:40:39.352 lucee.runtime.config.ConfigServerFactory
has no json server context config [C:\Users\WDAGUtilityAccount\.CommandBox\server\015F6F7E07A72FFFD41228CCF9F82779-preside\lucee-6.0.0-BETA.451\WEB-INF\lucee-server\context\.CFConfig.json]
2023-06-12 12:40:39.352 lucee.runtime.config.ConfigServerFactory
has no xml server context config [C:\Users\WDAGUtilityAccount\.CommandBox\server\015F6F7E07A72FFFD41228CCF9F82779-preside\lucee-6.0.0-BETA.451\WEB-INF\lucee-server\context\lucee-server.xml]
2023-06-12 12:40:39.556 lucee.runtime.config.ConfigServerFactory c4
create new server context json config file [C:\Users\WDAGUtilityAccount\.CommandBox\server\015F6F7E07A72FFFD41228CCF9F82779-preside\lucee-6.0.0-BETA.451\WEB-INF\lucee-server\context\.CFConfig.json]
2023-06-12 12:40:39.556 lucee.runtime.config.ConfigFactory
Write file: [C:\Users\WDAGUtilityAccount\.CommandBox\server\015F6F7E07A72FFFD41228CCF9F82779-preside\lucee-6.0.0-BETA.451\WEB-INF\lucee-server\context\.CFConfig.json]
2023-06-12 12:40:39.556 lucee.runtime.config.ConfigServerFactory
load config file
sniip
WEB CONTEXT (SINGLE) (2ba40b9324838b93ee4f1a5c0250da3c)
Details
Assignee
Michael OffnerMichael OffnerReporter
Zac SpitzerZac SpitzerPriority
NewFix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Details
Details
Assignee

Reporter
Priority
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
just following these steps https://docs.preside.org/quickstart.html
end up with a multi mode server, but CFconfig.json hasn't migrated the lucee-web.xml settings
would be good to add a few logs to deploy.log when migrating / importing too
results in this
Preside could not automatically update Lucee settings to ensure dot notation for structs preserves case