• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ColdFusion 2016 install migration error "Could not import Runtime settings"

Explorer ,
Jun 22, 2017 Jun 22, 2017

Copy link to clipboard

Copied

Hello,

We are trying to upgrade from ColdFusion 11 to ColdFusion 2016.  During the migration, we had two errors:

"Error","Could not import your ColdFusion Runtime settings. - The current user is not authorized to invoke this method."

"Error","Could not import your ColdFusion Scheduled Tasks. - Advance Scheduling support is not available in this edition of ColdFusion server

I'm not too concerned about the Scheduled Tasks because we only have one that was a 'one time' task and now it's in the past. 

However, I'm not sure what is included in 'Runtime settings' so I am hesitant to just try and start using the new ColdFusion without knowing what did not get migrated correctly.

We tried running as administrator and that did not solve the problem.  How can we resolve the 'Runtime settings' error?

Thanks in advance for any help.

Views

1.8K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Jul 10, 2017 Jul 10, 2017

Thank you for your help!  For anyone else with this problem, we figured out that the debugging port in CF11 was the same as the port used by the Administration webpage in CF2016.

Votes

Translate

Translate
Adobe Employee ,
Jun 22, 2017 Jun 22, 2017

Copy link to clipboard

Copied

Hi,

Can you please share the car log which was created under \ColdFusion2016\cfusion\logs folder.

Thanks,

Priyank

Thanks,
Priyank Shrivastava

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 23, 2017 Jun 23, 2017

Copy link to clipboard

Copied

I did not see a car log in that directory, however I did find a migrationException log which has the following and will hopefully have enough information to help:

coldfusion.runtime.CustomException: The current user is not authorized to invoke this method.

  at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)

  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3698)

  at cfaccessmanager2ecfc103390807$funcCHECKADMINROLES.runFunction(/CFIDE/adminapi/accessmanager.cfc:69)

  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)

  at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)

  at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)

  at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)

  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)

  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:234)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:650)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:439)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:409)

  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3091)

  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3068)

  at cfruntime2ecfc1335407867$funcSETRUNTIMEPROPERTY.runFunction(/CFIDE/adminapi/runtime.cfc:619)

  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)

  at coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47)

  at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:425)

  at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:388)

  at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:95)

  at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:339)

  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:234)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:650)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:439)

  at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:409)

  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3091)

  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3068)

  at cfmigrationcf11_import2ecfm424029736._factor60(/CFIDE/administrator/setup/migrationcf11_import.cfm:2130)

  at cfmigrationcf11_import2ecfm424029736._factor80(/CFIDE/administrator/setup/migrationcf11_import.cfm:108)

  at cfmigrationcf11_import2ecfm424029736._factor86(/CFIDE/administrator/setup/migrationcf11_import.cfm:107)

  at cfmigrationcf11_import2ecfm424029736.runPage(/CFIDE/administrator/setup/migrationcf11_import.cfm:1)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251)

  at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737)

  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573)

  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3698)

  at cfwizard2ecfm1338958765._factor18(/CFIDE/administrator/cftags/wizard.cfm:226)

  at cfwizard2ecfm1338958765._factor19(/CFIDE/administrator/cftags/wizard.cfm:225)

  at cfwizard2ecfm1338958765._factor21(/CFIDE/administrator/cftags/wizard.cfm:223)

  at cfwizard2ecfm1338958765._factor14(/CFIDE/administrator/cftags/wizard.cfm)

  at cfwizard2ecfm1338958765._factor34(/CFIDE/administrator/cftags/wizard.cfm:146)

  at cfwizard2ecfm1338958765.runPage(/CFIDE/administrator/cftags/wizard.cfm:1)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251)

  at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)

  at coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java:413)

  at cfindex2ecfm1892608629.runPage(/CFIDE/administrator/setup/index.cfm:54)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251)

  at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737)

  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573)

  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3698)

  at cfApplication2ecfm1451348368._factor10(/CFIDE/administrator/Application.cfm:281)

  at cfApplication2ecfm1451348368.runPage(/CFIDE/administrator/Application.cfm:1)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251)

  at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737)

  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573)

  at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)

  at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)

  at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:401)

  at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)

  at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)

  at coldfusion.filter.PathFilter.invoke(PathFilter.java:153)

  at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)

  at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

  at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)

  at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)

  at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

  at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

  at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)

  at coldfusion.CfmServlet.service(CfmServlet.java:219)

  at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

  at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)

  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

  at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java:75)

  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:536)

  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

  at java.lang.Thread.run(Thread.java:745)

coldfusion.server.ServiceException: Advance Scheduling support is not available in this edition of ColdFusion server.

  at coldfusion.scheduling.CronServiceImpl.updateTaskForMigration(CronServiceImpl.java:2188)

  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

  at java.lang.reflect.Method.invoke(Method.java:498)

  at coldfusion.runtime.StructBean.invoke(StructBean.java:536)

  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3168)

  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3068)

  at cfmigrationcf11_import2ecfm424029736._factor66(/CFIDE/administrator/setup/migrationcf11_import.cfm:2452)

  at cfmigrationcf11_import2ecfm424029736._factor67(/CFIDE/administrator/setup/migrationcf11_import.cfm:2422)

  at cfmigrationcf11_import2ecfm424029736._factor81(/CFIDE/administrator/setup/migrationcf11_import.cfm:2419)

  at cfmigrationcf11_import2ecfm424029736._factor86(/CFIDE/administrator/setup/migrationcf11_import.cfm:107)

  at cfmigrationcf11_import2ecfm424029736.runPage(/CFIDE/administrator/setup/migrationcf11_import.cfm:1)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251)

  at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737)

  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573)

  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3698)

  at cfwizard2ecfm1338958765._factor18(/CFIDE/administrator/cftags/wizard.cfm:226)

  at cfwizard2ecfm1338958765._factor19(/CFIDE/administrator/cftags/wizard.cfm:225)

  at cfwizard2ecfm1338958765._factor21(/CFIDE/administrator/cftags/wizard.cfm:223)

  at cfwizard2ecfm1338958765._factor14(/CFIDE/administrator/cftags/wizard.cfm)

  at cfwizard2ecfm1338958765._factor34(/CFIDE/administrator/cftags/wizard.cfm:146)

  at cfwizard2ecfm1338958765.runPage(/CFIDE/administrator/cftags/wizard.cfm:1)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251)

  at coldfusion.filter.CFVariablesScopeFilter.invoke(CFVariablesScopeFilter.java:56)

  at coldfusion.tagext.lang.ModuleTag.doAfterBody(ModuleTag.java:413)

  at cfindex2ecfm1892608629.runPage(/CFIDE/administrator/setup/index.cfm:54)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251)

  at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737)

  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573)

  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3698)

  at cfApplication2ecfm1451348368._factor10(/CFIDE/administrator/Application.cfm:281)

  at cfApplication2ecfm1451348368.runPage(/CFIDE/administrator/Application.cfm:1)

  at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:251)

  at coldfusion.tagext.lang.IncludeTag.handlePageInvoke(IncludeTag.java:737)

  at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:573)

  at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)

  at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)

  at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:401)

  at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)

  at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)

  at coldfusion.filter.PathFilter.invoke(PathFilter.java:153)

  at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:94)

  at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)

  at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)

  at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:60)

  at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

  at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

  at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62)

  at coldfusion.CfmServlet.service(CfmServlet.java:219)

  at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

  at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)

  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

  at coldfusion.filter.ClickjackingProtectionFilter.doFilter(ClickjackingProtectionFilter.java:75)

  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)

  at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)

  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:536)

  at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)

  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)

  at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)

  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

  at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

  at java.lang.Thread.run(Thread.java:745)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 27, 2017 Jun 27, 2017

Copy link to clipboard

Copied

priyanks97293812​ Do you need more information than what is provided above?

If we cannot work around the 'Runtime' error, is it safe to just manually set up the connection to our Apache web server?  Is there anything outside of the 'cfusion\runtime' directory that is included in the definition of failure of 'Runtime' during migration that we would need to copy over?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 28, 2017 Jun 28, 2017

Copy link to clipboard

Copied

Hi, aliciam29605858​,

I'm going to totally guess:  Was the local account an administrator account?  I ask because the first error indicates a permission issue.

If the account is an admin account, I'm not sure what to say.  But if the account was NOT the admin account, then roll-back the upgrade and log on as admin to perform the install and see if that helps.

HTH,

^ _ ^

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 28, 2017 Jun 28, 2017

Copy link to clipboard

Copied

Thanks for the suggestion.  Unfortunately, yes, it was a local administrator account.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jun 28, 2017 Jun 28, 2017

Copy link to clipboard

Copied

Sorry about the delay. Could you please send an email at cf.install@adobe.com  and mentioned this forum post link.

Thanks,

Priyank

Thanks,
Priyank Shrivastava

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 10, 2017 Jul 10, 2017

Copy link to clipboard

Copied

Thank you for your help!  For anyone else with this problem, we figured out that the debugging port in CF11 was the same as the port used by the Administration webpage in CF2016.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 14, 2021 Sep 14, 2021

Copy link to clipboard

Copied

Hi, was trying to upgrade CF11 to CF2021 and facing the same problem. Everything migrates properly, except runtime. Stopped all CF11 services before starting the installation too. Migration log error reads:

 

"Error","http-nio-8500-exec-1","09/15/21","01:13:54","CFADMIN","Could not import your ColdFusion Runtime settings. - String index out of range: -1"

 

If needed, can post migrationException log too.

 

Thanks in advance!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 15, 2021 Sep 15, 2021

Copy link to clipboard

Copied

LATEST

You can share the migration logs, sure. That may help. But I will note that I won't be surprised if it's simply not supported to migrate CF11 settings into CF2021. That's jumping over CF2016 and 2018. I'm pretty sure CF has only tended to support migration of two versions back, not three.

 

Have you tried instead to use the CAR migration feature, to export your settings (some or all) out of your CF11 (to a .car file), and then import that into CF2021? I can't say for sure that it will work, but I think it might. It's worth a try.

 

That said, you may want to copy off first all the neo*.xml files in your CF2021 instance's lib folder (such as [cf]/cfusion/lib, or [cf]/[insancename[]/lib), since the import would try to modify those. If anything went amiss, you could stop CF, copy them back in, and restart to be back where you were before trying the CAR import (unless you or anyone may make changes in the CF Admin UI between then and when you took the backup).

 

One other thought: rather than resurrect a 4 year old thread, sometimes it would be better to open a new one (and point to this old one for context). At this point, it's probably moot. But I'll assume that comment marked as the "answer" for this thread did not work for you, is that right?


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation