Marc,

We've mentioned this on a few lists now - you need to get the host to turn
off the *Component cache* in the cfadmin, or these issues are going to
continue.

Mark

On Fri, Apr 29, 2011 at 9:55 PM, Marc <[email protected]> wrote:

> Ok, the host probably flushed the cfc cache because the site is up
> again.
>
> So now I know how to have Transfer use application mappings. I might
> even add a config setting for this.
>
> Marc
>
> On Apr 29, 11:32 am, Marc <[email protected]> wrote:
> > Hi,
> >
> > I get a transfer.factory.AutoWireException when running my app in the
> > new CF9 environment of my virtual host. My app lives in
> > D:\home\marcbakker.com\subdomains\eenschoolintogo\ and my transfer
> > files live in D:\home\marcbakker.com\subdomains\eenschoolintogo
> > \transfer\.
> >
> > Below is the error. Note how the last line in the error points to a
> > different location:
> > =========================================================
> > [Line: 142 :: D:\home\marcbakker.com\subdomains\eenschoolintogo
> > \transfer\com\factory\AbstractBaseFactory.cfc ::
> > transfer.factory.AutoWireException ::
> > [Line: 142 :: D:\home\marcbakker.com\subdomains\eenschoolintogo
> > \transfer\com\factory\AbstractBaseFactory.cfc ::
> > transfer.factory.AutoWireException ::
> > [Line: -1 :: java.io.FilePermission D :: access denied
> > (java.io.FilePermission D:\home\spanishwizards.com\wwwroot\transfer\com
> > \util\javaloader\JavaProxy.cfc read) :: ]]]
> >
> > The error occurred in D:\home\marcbakker.com\subdomains\eenschoolintogo
> > \transfer\com\factory\AbstractBaseFactory.cfc: line 142
> > Called from D:\home\marcbakker.com\subdomains\eenschoolintogo\transfer
> > \com\factory\AbstractBaseFactory.cfc: line 73
> > Called from D:\home\marcbakker.com\subdomains\eenschoolintogo\transfer
> > \com\factory\Factory.cfc: line 83
> > Called from D:\home\marcbakker.com\subdomains\eenschoolintogo\transfer
> > \TransferFactory.cfc: line 94
> > Called from D:\home\marcbakker.com\subdomains\eenschoolintogo\coldbox
> > \system\orm\transfer\TransferLoader.cfc: line 86
> > Called from D:\home\marcbakker.com\subdomains\eenschoolintogo\coldbox
> > \system\web\context\InterceptorState.cfc: line 139
> > Called from D:\home\marcbakker.com\subdomains\eenschoolintogo\coldbox
> > \system\web\context\InterceptorState.cfc: line 86
> > Called from D:\home\marcbakker.com\subdomains\eenschoolintogo\coldbox
> > \system\web\services\InterceptorService.cfc: line 109
> > Called from D:\home\marcbakker.com\subdomains\eenschoolintogo\coldbox
> > \system\web\services\LoaderService.cfc: line 93
> > Called from D:\home\marcbakker.com\subdomains\eenschoolintogo\coldbox
> > \system\Coldbox.cfc: line 71
> > =========================================================
> >
> > D:\home\spanishwizards.com\wwwroot\transfer\ is someone else's domain,
> > they use transfer as well.
> >
> > Clearing the cache settings in the CF9 admin doesn't help (I asked my
> > host, they did it and error returns as soon as a request is made)
> >
> > So I added an application mapping to application.cfc:
> > <cfset this.mappings["/transfer"]="#ExpandPath('/')#transfer">
> > which translates to D:\home\marcbakker.com\subdomains\eenschoolintogo
> > \transfer
> >
> > Then I want to make sure that transfer uses the app mapping "/
> > transfer" instead of "transfer". The error occurs in \transfer\com
> > \factory\AbstractBaseFactory.cfc: at line 73. (line 142 is just where
> > the throw() gets called.)
> > Line 73 reads:
> > object = autowire(createObject("component", arguments.class));
> > The first part of arguments.class translates to "transfer". I changed
> > this to
> > object = autowire(createObject("component", '/#arguments.class#'));
> > to have the component path start with "/transfer" and be sure that
> > transfer is using my app mapping instead of the other guy's transfer
> > instance.
> >
> > Somehow this does not work, transfer is still looking at
> > spanishwizard...
> >
> > Transfer should be able to work on a shared host, even if there are
> > other instances of transfer and there is no mapping "transfer" in the
> > CF9 admin right?
> >
> > Marc
>
> --
> Before posting questions to the group please read:
>
> http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
>
> Try out the new Transfer ORM Custom Google Search:
> http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8
>
> You received this message because you are subscribed to the Google Groups
> "transfer-dev" 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/transfer-dev?hl=en
>



-- 
E: [email protected]
T: http://www.twitter.com/neurotic
W: www.compoundtheory.com

cf.Objective(ANZ) - Nov 17, 18 - Melbourne Australia
http://www.cfobjective.com.au

Hands-on ColdFusion ORM Training
www.ColdFusionOrmTraining.com

-- 
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

Try out the new Transfer ORM Custom Google Search:
http://www.google.com/cse/home?cx=002375903941309441958:2s7wbd5ocb8

You received this message because you are subscribed to the Google Groups 
"transfer-dev" 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/transfer-dev?hl=en

Reply via email to