I'm trying to get an app running on openbd but i don't seem to be able to
get past onApplicationStart

My test case Application.cfc looks like this

<cfcomponent>

    <cfset this.name = "openbd_test1" />
    <cfset this.sessionManagement = true>
    <cfset this.sessionTimeout = createTimeSpan(0,0,50,0)>

    <cfset settings = structnew() />
    <cfset settings["basedir"] = expandpath("/apps")>

    <cfset this.mappings["/coldspring"] =
"#settings.basedir#/shared/coldspring" />

    <cffunction name="onApplicationStart">
        <cfset var beans = "" />

        <cfdump var="#settings#">
        <cfdump var="#this.mappings#">
        <cfflush/>

        <cfset application.cs = createobject("component",
"coldspring.beans.DefaultXmlBeanFactory").init() />
    </cffunction>

</cfcomponent>


This gives me the following output

basedir = /home/chris/Desktop/openbd/webroot_cfmlapps/cfmlWebContext_1/apps
- correct
/coldspring =
/home/chris/Desktop/openbd/webroot_cfmlapps/cfmlWebContext_1/apps/shared/coldspring
- correct

followed by an error instantiatin the coldspring beanfactory

TypeApplicationFunction(s)onApplicationStart
DetailA request was made to a resource that could not be locatedMissing File
coldspring.beans.DefaultXmlBeanFactory
In other quick tests i don't seem to be able to get openbd to recognize any
app mappings at all, not just this one

I'm using the ready2run download (buildate 2009-02-02 05:55:54 GMT) on
ubuntu 8.04.

Anyone know what might be going on here?

Cheers, Chris

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to