I put:

<cffile action="read" file="D:\Inetpub\DomainID192060\ModelGlue\gesture
\configuration\ModelGlueConfiguration.xml" variable="contents">

<cfoutput>#contents#</cfoutput>

and got:

  /ModelGlue/gesture/modules/internal/initialization/config/
initialization.xml  /ModelGlue/gesture/modules/orm/config/
ModelGlue.xml           /ModelGlue/gesture/modules/internal/population/
config/population.xml  /ModelGlue/gesture/modules/internal/generation/
config/generation.xml           /ModelGlue/gesture/modules/internal/
configuration/config/configuration.xml           /ModelGlue/gesture/
modules/internal/invocation/config/
invocation.xml
ModelGlue.gesture.module.XMLModuleLoader     false
ModelGlue.gesture.eventhandler.EventHandler             10
60                ModelGlue.gesture.modules.scaffold.beans.Commit
true  false      ModelGlue.gesture.modules.scaffold.beans.Delete
true  false      ModelGlue.gesture.modules.scaffold.beans.Edit  true
true  Form.  .cfm      ModelGlue.gesture.modules.scaffold.beans.List
true  true  List.  .cfm
ModelGlue.gesture.modules.scaffold.beans.View  true  true
Display.  .cfm

I also put in a ticket with the host.

On Aug 7, 11:00 am, Dan Wilson <[email protected]> wrote:
> Jen,
> I'm not sure what to say. Obviously there is some sort of sandboxing going
> on. ModelGlue will need to read files from it's own directory in order to
> set itself up and run properly. I could be wrong about it being an issue
> with the host, but I've tested MG on CF9 without issue. (apart from the
> trace issue, which was fixed and checked in a month ago).
>
> So at this point, I'm at a loss for how to help over email. I would like to
> know the outcome of this issue, however, because many many people are on
> shared hosting and if there is some way we can design ModelGlue to work
> better on shared hosts, I'm all for it.
>
> One thing you could try, just to check out this sandbox, is to set up a
> test.cfm page in your application directory and try to read the
> ModelGlueConfiguration.xml file using standard CFFile tags/functions and see
> if that trips the file permissions...
>
> Please report back if you find something.
>
> DW
>
>
>
> On Fri, Aug 7, 2009 at 10:53 AM, jen <[email protected]> wrote:
>
> > <cfdump var="#this#"> returns:
>
> >  java method security exception.
> > A security exception occurred while invoking java method on a
> > "java.lang.Class" object. MethodName is getName. Possible cause:
> > createobject function and cfobject tag are disabled in the security
> > sandbox or you are trying to create a class in the coldfusion package
> > and that is disabled.
>
> > I can dump individual vars though. For example:
>
> > <cfdump var="#this.coreColdSpringPath#">
>
> > works and returns
>
> > /ModelGlue/gesture/configuration/ModelGlueConfiguration.xml
>
> > BTW, this is CF9.
>
> > On Aug 7, 10:24 am, Dan Wilson <[email protected]> wrote:
> > > Let's put a dump and see what could be going on inside ModelGlue, shall
> > we?
> > > Just before this line: (line 38) <cfif not fileExists(csPath)> inside
>
> > > D:\Inetpub\DomainID19\ModelGlue\gesture\loading
> > > \ColdSpringBootstrapper.cfc:
>
> > > Dump out the this scope.
>
> > > <cfdump var="#this#">
>
> > > and report back what you find.
>
> > > DW
>
> > > On Fri, Aug 7, 2009 at 10:08 AM, jen <[email protected]> wrote:
>
> > > > In the root. No mappings.
>
> > > > I installed MG2 in the same fashion and it works like a charm.
>
> > > > When I update to MG3, I get the error.
>
> > > > I wiped all off my root (this is not my main site) and started over
> > > > clean with MG3 and still got the error.
>
> > > > On Aug 7, 9:53 am, Dan Wilson <[email protected]> wrote:
> > > > > Maybe the path isn't what we think it is?
>
> > > > > Where exactly does
> > > > > \ModelGlue\gesture\configuration\ModelGlueConfiguration.xml exist on
> > your
> > > > > system?
>
> > > > > DW
>
> > > > > On Fri, Aug 7, 2009 at 9:27 AM, jen <[email protected]> wrote:
>
> > > > > > Blocked tags was the first thing I looked into. They block very
> > little
> > > > > > (cfexecute, cfregistry, and cfschedule only).  I checked the IIS
> > > > > > permissions as well and did not see anything amiss.
>
> > > > > > And, yes, it's shared on IIS.
>
> > > > > > MG2 works just fine. As soon as I go the MG3, I get the error.
>
> > > > > > On Aug 7, 8:39 am, Dan Wilson <[email protected]> wrote:
> > > > > > > Somehow it looks like the file modelglueconfiguration.xml can't
> > be
> > > > > > > read from the file system.
>
> > > > > > > MG2 had a similar process, reading it's own configuration from
> > the
> > > > > > filesystem.
>
> > > > > > > I've had file system permission issues before by using a
> > different
> > > > ftp
> > > > > > > user, than the user of the webserver. Though that was on Unix,
> > which
> > > > > > > is a little more particular on file permissions.
>
> > > > > > > It looks like you are on windows and on shared hosting. Does your
> > > > host
> > > > > > > block certain operations (like cffile, or createobject, etc)?
>
> > > > > > > Dan
>
> > > > > > > On 8/6/09, jen <[email protected]> wrote:
>
> > > > > > > > Hi,
>
> > > > > > > > I'm getting
>
> > > > > > > > "Security: The requested template has been denied access to
> > > > \ModelGlue
> > > > > > > > \gesture\configuration\ModelGlueConfiguration.xml. The
> > following is
> > > > > > > > the internal exception message: access denied
> > > > (java.io.FilePermission
> > > > > > > > \ModelGlue\gesture\configuration\ModelGlueConfiguration.xml
> > read)
>
> > > > > > > > The error occurred in
> > D:\Inetpub\DomainID192060\ModelGlue\gesture
> > > > > > > > \loading\ColdSpringBootstrapper.cfc: line 39"
>
> > > > > > > > with MG3. MG2 works just fine. Anybody seen this before?
>
> > > > > > > --
> > > > > > > “Come to the edge, he said. They said: We are afraid. Come to the
> > > > > > > edge, he said. They came. He pushed them and they flew.”
>
> > > > > > >  Guillaume Apollinaire quotes
>
> > > > > --
> > > > > “Come to the edge, he said. They said: We are afraid. Come to the
> > edge,
> > > > he
> > > > > said. They came. He pushed them and they flew.”
>
> > > > > Guillaume Apollinaire quotes
>
> > > --
> > > “Come to the edge, he said. They said: We are afraid. Come to the edge,
> > he
> > > said. They came. He pushed them and they flew.”
>
> > > Guillaume Apollinaire quotes
>
> --
> “Come to the edge, he said. They said: We are afraid. Come to the edge, he
> said. They came. He pushed them and they flew.”
>
> Guillaume Apollinaire quotes
--~--~---------~--~----~------------~-------~--~----~
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to