Failed on the first line...

Unfortunately, MG-U may not be supported on bd.net 6.2.1:

http://forums.newatlanta.com/messages.cfm?threadid=66446D35-52D2-414B-AF78287F1E8A703E

That is bad news for me!  Although I do know that MG-1 works, but ugh.

On Oct 29, 11:10 am, Jared Rypka-Hauer <[EMAIL PROTECTED]>
wrote:
> A couple thoughts...
>
> First, try remarking out all the contents of your index.cfm template
> (so it doesn't do the include) and put this in there:
>
> <cfset xml = xmlParse("C:/Inetpub/consumer.pma.com/config/
> ColdSpring.xml")>
> <cfdump var="#variables#" />
> <cfdump var="#xmlSearch(xml,"/includes")>
>
> My guess is that you'll get the first dump and not the second one. If
> that works, try doing it against  expandPath("/modelglue/config/
> coldspring.xml") to see if it can parse that one.
>
> It actually looks like the error is happening when it tries to parse
> (or possibly search) your local coldspring config file. The error is
> actually emanating from the XML libraries within BlueDragon... you
> may have a problem with the XML itself. If you have an issue in the
> XML, and since the MG bootstrap template (ModelGlue.cfm) is
> delegating the loading and parsing of the XML file to ColdSpring's
> DefaultXmlBeanFactory.loadBeansFromXmlFile() (which is where the
> error you've shown below is coming from), the error is actually being
> thrown from inside ColdSpring's findImports() function (which is what
> lets you include other ColdSpring configs into a config file). It
> looks like it can find the file just fine but is having issues using
> xmlSearch() to find the import tags. I'm not sure why their XQuery
> implementation should be different, but that's where that error is
> coming from.
>
> If you want, just for S&G, try lines 63-67 from this:
> <cfif fileExists(ModelGlue_CORE_COLDSPRING_PATH)>
>         <cfset _modelglue.beanFactory.loadBeans
> (ModelGlue_CORE_COLDSPRING_PATH) />
> <cfelse>
>         <cfthrow type="ModelGlue.CoreConfigurationMissing" message="Model-
> Glue can't start because it can't find its core Configuration.xml
> file." detail="It's looking in ""#ModelGlue_CORE_COLDSPRING_PATH#"".
> Usually, this file is at whatever expandPath(/ModelGlue/unity/config/
> Configuration.xml) resolves to ." />
> </cfif>
>
> to this:
>
> <cfset _modelglue.beanFactory.loadBeans("C:/Inetpub/consumer.pma.com/
> config/ColdSpring.xml") />
>
> Any of these should help you shrink the problem sphere so you can get
> to the bottom of what's happening.
>
> J
>
> On Oct 29, 2008, at 12:45 PM, jeff wrote:
>
>
>
> > Tried your suggestion, and I tried a few other slight derivations of
> > the same line.  I even tried hardcoding it to /config/ColdSpring.xml.
> > But I keep getting this error:
>
> > It seems to have a problem with line 63. Since this app is being
> > deployed on its own subdomain and no other applications are touching
> > the modelglue/coldspring directories here, I tried to modify the line
> > to hard code the path in, like this:
>
> > <cfparam name="ModelGlue_LOCAL_COLDSPRING_PATH" type="string"
> > default="/config/ColdSpring.xml" />
>
> > That produced THIS error:
>
> > BlueDragon Internal Server Error
> > The page you were executing caused an internal BlueDragon server error
> > Request   /index.cfm
> > File Trace   C:/Inetpub/consumer.pma.com/index.cfm
> > |
> > +-- C:/inetpub/consumer.pma.com/ModelGlue/unity/ModelGlue.cfm
> > |
> > +-- C:/inetpub/consumer.pma.com/coldspring/beans/
> > DefaultXmlBeanFactory.cfc
>
> > Type   Internal
> > Tag Context   CFINCLUDE: Line=74; Column=1
> > |
> > +-- CFSILENT: Line=23; Column=5
> > |
> > +-- CFIF: Line=46; Column=2
> > |
> > +-- CFLOCK: Line=47; Column=2
> > |
> > +-- CFIF: Line=59; Column=4
> > |
> > +-- CFIF: Line=81; Column=4
> > |
> > +-- CFSET: Line=82; Column=5
> > |
> > +-- CFFUNCTION: Line=40; Column=2
> > |
> > +-- CFSET: Line=44; Column=3
> > |
> > +-- CFFUNCTION: Line=52; Column=2
> > |
> > +-- CFIF: Line=62; Column=3
> > |
> > +-- CFSET: Line=75; Column=4
> > Source
>
> > 72: <cffile action="read" file="#arguments.importedFilename#"
> > variable="fileContent" />
> > 73:
> > 74: <cfset xml = xmlParse(fileContent)>
> > 75: <cfset imports = xmlSearch(xml,"/beans/import")>
> > 76:
>
> > ^ Snippet from underlying CFML source
> > Stack Trace
>
> > java.lang.NoClassDefFoundError: Could not load type
> > com.naryx.tagfusion.cfm.xml.LocalXmlNamespaceResolver from assembly
> > BlueDragon.Utils, Version=6.2.1.0, Culture=neutral,
> > PublicKeyToken=f9a2a3d3ef8fcb36.
> > at com.naryx.tagfusion.expression.function.XmlSearch.execute(cfSession
> > _session, VectorArrayList parameters)
> > at
> > com.naryx.tagfusion.expression.compile.CFFunctionExpression.Eval
> > (CFContext
> > context)
> > at
> > com.naryx.tagfusion.expression.compile.CFAssignmentExpression.Eval
> > (CFContext
> > context)
> > at com.naryx.tagfusion.expression.compile.runTime.run(cfSession
> > Session, CFExpression expression)
> > at
> > com.naryx.tagfusion.expression.compile.runTime.runExpression(cfSession
> > Session, String variable, Boolean _fullyEvaluate)
> > at
> > com.naryx.tagfusion.expression.compile.runTime.runExpression(cfSession
> > Session, String variable)
> > at com.naryx.tagfusion.cfm.tag.cfSET.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfIF.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.renderToString(cfSession
> > _Session, Int32 options)
> > at com.naryx.tagfusion.cfm.tag.cfFUNCTION.realRun(cfSession session,
> > cfArgStructData actualArgs, cfStructData superScope)
> > at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(cfSession session,
> > cfArgStructData actualArgs, cfStructData superScope)
> > at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(cfSession session,
> > String tagName, cfArgStructData parameters, cfStructData superScope)
> > at
> > com.naryx.tagfusion.cfm.script.userDefinedFunction.execute(cfSession
> > _session, cfArgStructData _args)
> > at
> > com.naryx.tagfusion.expression.compile.CFFunctionExpression.Eval
> > (CFContext
> > context)
> > at com.naryx.tagfusion.expression.compile.runTime.run(cfSession
> > Session, CFExpression expression)
> > at
> > com.naryx.tagfusion.expression.compile.runTime.runExpression(cfSession
> > Session, String variable, Boolean _fullyEvaluate)
> > at
> > com.naryx.tagfusion.expression.compile.runTime.runExpression(cfSession
> > Session, String variable)
> > at com.naryx.tagfusion.cfm.tag.cfSET.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.renderToString(cfSession
> > _Session, Int32 options)
> > at com.naryx.tagfusion.cfm.tag.cfFUNCTION.realRun(cfSession session,
> > cfArgStructData actualArgs, cfStructData superScope)
> > at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(cfSession session,
> > cfArgStructData actualArgs, cfStructData superScope)
> > at com.naryx.tagfusion.cfm.tag.cfFUNCTION.run(cfSession session,
> > String tagName, VectorArrayList parameters, cfStructData superScope)
> > at
> > com.naryx.tagfusion.cfm.script.userDefinedFunction.execute(cfSession
> > _session, VectorArrayList _actuals)
> > at
> > com.naryx.tagfusion.cfm.engine.cfComponentObjectData.invokeComponentFu
> > nction(cfSession
> > session, javaMethodDataInterface method)
> > at
> > com.naryx.tagfusion.cfm.engine.cfComponentObjectData.invokeComponentFu
> > nction(cfSession
> > session, String objName, javaMethodDataInterface method)
> > at
> > com.naryx.tagfusion.expression.compile.cfFullVarExpression.Eval
> > (CFContext
> > _context, cfData _leftData, Int32 _exprIndex, CFExpression _right,
> > Boolean _op, Boolean _doquerysearch, Boolean _create)
> > at
> > com.naryx.tagfusion.expression.compile.cfFullVarExpression.evalNatural
> > (CFContext
> > _context, Boolean _create)
> > at
> > com.naryx.tagfusion.expression.compile.cfFullVarExpression.Eval
> > (CFContext
> > _context)
> > at com.naryx.tagfusion.expression.compile.runTime.run(cfSession
> > Session, CFExpression expression)
> > at
> > com.naryx.tagfusion.expression.compile.runTime.runExpression(cfSession
> > Session, String variable, Boolean _fullyEvaluate)
> > at
> > com.naryx.tagfusion.expression.compile.runTime.runExpression(cfSession
> > Session, String variable)
> > at com.naryx.tagfusion.cfm.tag.cfSET.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfIF.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfIF.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfLOCK.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfIF.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.renderToString(cfSession
> > _Session, Int32 options)
> > at com.naryx.tagfusion.cfm.tag.cfSILENT.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.file.cfFile.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfINCLUDE.renderTemplate(cfTag tag,
> > cfSession _Session, String template)
> > at com.naryx.tagfusion.cfm.tag.cfINCLUDE.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.coreRender(cfSession _Session)
> > at com.naryx.tagfusion.cfm.tag.cfTag.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.file.cfFile.render(cfSession _Session)
> > at com.naryx.tagfusion.cfm.engine.cfEngine.service(HttpServletRequest
> > req, HttpServletResponse res)
>
> > =================================
>
> > Any suggestions??
>
> > On Oct 29, 1:37 am, Martijn van der Woud <[EMAIL PROTECTED]>
> > wrote:
> >> My bet would be replacing
>
> >> default="#expandPath(".") & "/config/ColdSpring.xml"#"
>
> >> with
>
> >> default="#expandPath('.') & '/config/ColdSpring.xml'#"
>
> >> maybe BD is more strict than CF on using double quotes inside double
> >> quotes (in my opinion one should alway use single quotes within
> >> double
> >> quotes, for readability)?
>
> >> Don't have BD installed myself so cannot test this. Hope this is of
> >> any help.
>
> >> Martijn
>
> >> On 29 okt, 02:56, jeff <[EMAIL PROTECTED]> wrote:
>
> >>> I was trying to migrate a new web application to a bd.net server
> >>> for a
> >>> client, but I am getting this error:
>
> >>> Type    Application
> >>> Detail  Problem occurred while parsing, "#expandPath(".") & "
> >>> Extended Info   Invalid string
> >>> Tag Context
>
> ...
>
> read more ยป
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to