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

Locking issue in CF 2016

New Here ,
Aug 07, 2018 Aug 07, 2018

Copy link to clipboard

Copied

Hi there,

I've just installed CF 2016. Previously, I had an application running in CF 11. 

When I run my application in CF2016, it doesn't work due to locking issue, specifically with the Transfer ORM. Here's the error that I got:

A timeout occurred while attempting to lock transfer.Factory.transfer.com.sql.transaction.TransactionManager.

I would like to know if there is a compatibility issue between CF 2016 and Transfer ORM. If it doesn't have compatibility issue, could you please advise how to resolve the lock issue with the Transfer ORM.

Any feedback or suggestion is appreciated. Thank you.

Kind Regards,

Raquel Septiane

Views

536

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
Engaged ,
Aug 08, 2018 Aug 08, 2018

Copy link to clipboard

Copied

I can't think of any language changes off the top of my head that would prevent Transfer from running in CF11 but not CF2016, but transfer is a fairly old library which has been left stagnant since CF11, deprecated in favor of CF ORM.  If you post a full stack trace we might be able to help.

-Nic

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
New Here ,
Aug 08, 2018 Aug 08, 2018

Copy link to clipboard

Copied

Hi Nic,

Thank you for your comment. 

It appears that it's not only transfer but also Mach II and coldspring. So the scenario was like this:

1. Restart the CF 2016 service

2. Launch the application => it looks okay with the cflock 

3. but when I restart the application to reload my application, I got the lock error and when I looked in the log, the lock hasn't released yet. 

I'm not sure how to fix this issue. 

Any comment is appreciated. Thank you.

Kind Regards,

Raquel Septiane

Bean creation exception during init() of transfer.TransferFactory

A timeout occurred while attempting to lock transfer.Factory.transfer.com.sql.transaction.TransactionManager.:
 
The error occurred in C:/inetpub/wwwroot/coldspring1-2-final/beans/DefaultXmlBeanFactory.cfc: line 893
Called from C:/inetpub/wwwroot/coldspring1-2-final/beans/DefaultXmlBeanFactory.cfc: line 632
Called from C:/inetpub/wwwroot/xxxx/Application.cfc: line 285
891 :          <cfthrow type="coldspring.beanCreationException" 892 :           message="Bean creation exception during init() of #beanDef.getBeanClass()#"893 :           detail="#cfcatch.message#:#cfcatch.detail#">894 :         </cfcatch> 895 :        </cftry>

Resources:
Browser  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36
Remote Address  127.0.0.1
Referrer   
Date/Time  09-Aug-18 12:38 PM
Stack Trace
at cfDefaultXmlBeanFactory2ecfc1476315461$funcCONSTRUCTBEAN.runFunction(C:/inetpub/wwwroot/coldspring1-2-final/beans/DefaultXmlBeanFactory.cfc:893) at cfDefaultXmlBeanFactory2ecfc1476315461$funcGETBEAN.runFunction(C:/inetpub/wwwroot/coldspring1-2-final/beans/DefaultXmlBeanFactory.cfc:632) at cfApplication2ecfc499244611$funcONREQUEST.runFunction(C:/inetpub/wwwroot/xxxx/Application.cfc:285) 

coldfusion.runtime.CustomException: Bean creation exception during init() of transfer.TransferFactory  at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142)  at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:3683)  at cfDefaultXmlBeanFactory2ecfc1476315461$funcCONSTRUCTBEAN.runFunction(C:\inetpub\wwwroot\coldspring1-2-final\beans\DefaultXmlBeanFactory.cfc:893)  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)  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.CfJspPage._invokeUDF(CfJspPage.java:3529)  at coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:3509)  at cfDefaultXmlBeanFactory2ecfc1476315461$funcGETBEAN.runFunction(C:\inetpub\wwwroot\coldspring1-2-final\beans\DefaultXmlBeanFactory.cfc:632)  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:3089)  at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:3066)  at cfApplication2ecfc499244611$funcONREQUEST.runFunction(C:\inetpub\wwwroot\xxxxx\Application.cfc:285)  at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:492)  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.AppEventInvoker.invoke(AppEventInvoker.java:114)  at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:307)  at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:475)  at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:43)  at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)  at coldfusion.filter.PathFilter.invoke(PathFilter.java:142)  at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:30)  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:291)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  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:239)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at coldfusion.inspect.weinre.MobileDeviceDomInspectionFilter.doFilter(MobileDeviceDomInspectionFilter.java:121)  at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)  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:142)  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:532)  at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:874)  at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)  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
Community Expert ,
Aug 16, 2018 Aug 16, 2018

Copy link to clipboard

Copied

LATEST

Does it help to increase the value of the timeout attribute of the lock?

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