Issues
2 of 2
add a way to unload a web context without restarting
Description
Environment
None
Details
Assignee
Michael OffnerMichael OffnerReporter
Zac SpitzerZac SpitzerPriority
NewLabels
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
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Zac Spitzer
Zac SpitzerPriority
Labels
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
Created 27 May 2022 at 15:08
Updated 7 June 2022 at 11:05
Activity
Show:
Pothys - MitrahSoft7 June 2022 at 11:05Edited
I've checked this ticket with the lucee latest version 5.3.10.10-SNAPSHOT. Deleting the file lucee-web.xml.cfm file or WEB-INF folder of one web-context. (ex: I deleted that file from the web-context lucee.localtest.com ) and update any admin settings( ex: datasource, mapping, logging ) in server admin from any other web context (ex: localhost:8888 ) that shows the above-mentioned error in admin. Seems to update the web admin settings from other web-context works fine.
https://dev.lucee.org/t/deleting-a-website/10245
after a context is manually deleted, without restarting, this error is thrown
lucee.runtime.exp.NativeException: D:\luceeTest\WEB-INF\lucee\lucee-web.xml.cfm at sun.nio.fs.WindowsException.translateToIOException(Unknown Source) at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source) at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(Unknown Source) at java.nio.file.Files.newByteChannel(Unknown Source) at java.nio.file.Files.newByteChannel(Unknown Source) at java.nio.file.spi.FileSystemProvider.newInputStream(Unknown Source) at java.nio.file.Files.newInputStream(Unknown Source) at lucee.commons.io.res.type.file.FileResource.getInputStream(FileResource.java:243) at lucee.runtime.config.XMLConfigFactory.loadDocument(XMLConfigFactory.java:157) at lucee.runtime.config.XMLConfigWebFactory.reloadInstance(XMLConfigWebFactory.java:333) at lucee.runtime.config.XMLConfigAdmin._reload(XMLConfigAdmin.java:322) at lucee.runtime.config.XMLConfigAdmin.storeAndReload(XMLConfigAdmin.java:305) at lucee.runtime.tag.Admin.store(Admin.java:5240) at lucee.runtime.tag.Admin.doUpdateDatasource(Admin.java:2716) at lucee.runtime.tag.Admin._doStartTag(Admin.java:742) at lucee.runtime.tag.Admin.doStartTag(Admin.java:355) at services_datasource_create_cfm1334$cf.call(/admin/services.datasource.create.cfm:88) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1012) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:935) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:916) at services_datasource_cfm414$cf.call(/admin/services.datasource.cfm:108) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1012) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:935) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:916) at web_cfm$cf.call(/admin/web.cfm:492) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1012) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:935) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:916) at server_cfm$cf.call(/admin/server.cfm:2) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:1012) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:935) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:219) at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:44) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2475) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2465) at