tracker issue : CF-3039413

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 79026:Using a mapping, in this case to VFS, throws an error and does not search for persistant CFC's in the ram based VFS

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): Sam Farmer / Sam Farmer (sam.farmer.cfm)

Created: 07/23/2009

Components: ORM Support

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 245176

Priority/Frequency: Major / Unknown

Locale/System: English / Platforms All

Vote Count: 2

Problem:

Using a mapping, in this case to VFS, throws an error and does not search for persistant CFC's  in the ram based VFS.
Method:

<cfcomponent><cfset this.name = "myVirtualORMApplication"><cfset this.ormenabled = "true"><cfset this.datasource = "cfartgallery"><cfset this.mappings[ "/ram" ] = "ram://" /><!---- ORM Setting not suggeted for production use----><cfset this.ormsettings = {autorebuild="true", cfclocation=["/ram"]}><cfdump var="#this#"><cfdump var="#expandPath('/ram')#"><cffunction name="onRequestStart"><cfset ormReload()></cffunction></cfcomponent>
Result:

Path /ram specified in the cfclocation does not exist. Resources:Check the ColdFusion documentation to verify that you are using the correct syntax.Search the Knowledge Base to find a solution to your problem.Browser  Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_7; en-us) AppleWebKit/530.17 (KHTML, like Gecko) Version/4.0 Safari/530.17Remote Address  127.0.0.1Referrer  http://localhost:8500/Dropbox/b9/orm/virtual/Date/Time  23-Jul-09 04:45 PMStack Tracecoldfusion.orm.hibernate.HibernateConfiguration$CFCLocationNotFoundException: Path /ram specified in the cfclocation does not exist.at coldfusion.orm.hibernate.HibernateConfiguration.loadFilesFromPaths(HibernateConfiguration.java:790)at coldfusion.orm.hibernate.HibernateConfiguration.getHbmFiles(HibernateConfiguration.java:765)at coldfusion.orm.hibernate.HibernateConfiguration.buildConfiguration(HibernateConfiguration.java:408)at coldfusion.orm.hibernate.HibernateConfiguration.initHibernateConfiguration(HibernateConfiguration.java:177)at coldfusion.orm.hibernate.HibernateConfiguration.<init>(HibernateConfiguration.java:138)at coldfusion.orm.hibernate.ConfigurationManager.initConfiguration(ConfigurationManager.java:69)at coldfusion.orm.hibernate.HibernateProvider.InitializeORMForApplication(HibernateProvider.java:168)at coldfusion.orm.hibernate.HibernateProvider.beforeApplicationStart(HibernateProvider.java:83)at coldfusion.filter.ApplicationFilter.fireBeforeAppStartEvent(ApplicationFilter.java:422)at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:209)at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)at coldfusion.filter.PathFilter.invoke(PathFilter.java:87)at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:53)at coldfusion.CfmServlet.service(CfmServlet.java:200)at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)at jrun.servlet.FilterChain.service(FilterChain.java:101)at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)at jrun.servlet.http.WebService.invokeRunnable(WebService.java:172)at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3039413

External Customer Info:
External Company:  
External Customer Name: Sam Farmer
External Customer Email: 183F5AA44911D0AB992016B6
External Test Config: 07/23/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
23249 | November 10, 2011 06:59:44 PM GMT
This bug has been voted..
Vote by External U.
23250 | November 10, 2011 06:59:45 PM GMT