Trying to create MySQL datasource, "There is no datasource with [name]"

Description

For testing purposes, I am trying to create a datasource named 'xxx', to eliminate any special characters. This has always worked fine before.

If I try to change the datasource name of the new datasource, say to `abc`, it still keeps telling me that there's no datasource named `xxx`.

Here is the stacktrace.

lucee.runtime.exp.ApplicationException: There is no datasource with name [xxx] at lucee.runtime.tag.Admin.doGetDatasource(Admin.java:3864) at lucee.runtime.tag.Admin._doStartTag(Admin.java:615) at lucee.runtime.tag.Admin.doStartTag(Admin.java:349) at services_datasource_create_cfm1334$cf.call(/admin/services.datasource.create.cfm:38) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:987) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:910) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:891) at services_datasource_cfm414$cf.call(/admin/services.datasource.cfm:108) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:987) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:910) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:891) at web_cfm$cf.call(/admin/web.cfm:491) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:987) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:910) at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:891) at server_cfm$cf.call(/admin/server.cfm:2) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:987) at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:910) at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:216) at lucee.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:104) at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2435) at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2425) at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2396) at lucee.runtime.engine.Request.exe(Request.java:43) at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1174) at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1120) at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:102) at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:504) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342) at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:486) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)

Environment

Windows 10, IIS 10, MySQL Driver 8.0.19

Activity

Pothys - MitrahSoft 
17 November 2022 at 10:27

I checked this ticket with latest version Lucee 5.3.10.94-SNAPSHOT. When tried to edit the datasource after creating the datasource name with special characters($%^&*) and hash(test#) and got the above mentioned error.

could you please check this with lucee latest version and report here back?

Pothys - MitrahSoft 
21 October 2022 at 07:31

Did you see my above comment? Could you please check this with the latest version of Lucee and report here back? This will update the status of this ticket .

Pothys - MitrahSoft 
6 July 2021 at 13:36

Can you share the screenshot of datasource creation and the error message. And also check with the latest release and report here back.

Bradley Hicks 
16 February 2021 at 17:05

Sorry, it’s been a busy few weeks. Unfortunately, I can’t imagine what more details I can give.

Pothys - MitrahSoft 
12 February 2021 at 11:45

Did you check my above comment? If Yes, please share your scenario. It'll improve the status of the ticket.

Details

Assignee

Reporter

Priority

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

Affects versions

Created 29 January 2021 at 19:15
Updated 17 November 2022 at 10:27