lucee 5 lucee-web.xml isn't being imported into 6

Description

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

Environment

None

Attachments

3
  • 08 Jun 2023, 09:51 am
  • 07 Jun 2023, 02:13 pm
  • 07 Jun 2023, 01:54 pm

Activity

Show:

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.

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

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

Zac Spitzer 12 June 2023 at 10:48

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)
Fixed

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

Sprint

Created 7 June 2023 at 13:54
Updated 13 June 2023 at 14:59
Resolved 8 June 2023 at 09:51