Thanks
Error while attempting to autowire object of type
transfer.com.sql.mssql.SQLFactory ::
[Line: -1 :: java.io.FilePermission D :: access denied
(java.io.FilePermission D:\ColdFusion8\wwwroot\WEB-INF\cftags
\component.cfc read)
thanks
Marlon
Description: Entered on 07/02/2008 at 00:50:00 by Konstantin G.:
Hello!
Could you please precise to what exact Coldfusion folder you need "read" access.
Awaiting for your response.
Entered on 07/01/2008 at 11:36:54 by Konstantin G.:
Hello!
Unfortunately, we can't open access to any system files.
If you need our further access please don't hesitate to contact us.
Entered on 07/01/2008 at 11:03:23 by lana
I believe that the web-inf.component.types directory is somewhere
nested inside maybe the Cold Fusion installation files? I don't know
how to get to those files via the Host Pilot???
Lana
----- Original Message -----
From: Intermedia Technical Support<mailto:sup...@intermedia.net>
To: lana
Sent: Tuesday, July 01, 2008 11:47 AM
Subject: read access to the web-inf.component.types directory
ISSUE=248464 PROJ=1
[https://www.intermedia.net/images/email/aMessageFromIntermedia.gif]
<http://www.intermedia.net/?utm_source=im&utm_medium=email&utm_content=supportticket>
________________________________
[Duplicate message snipped]
Entered on 07/01/2008 at 09:47:19 by Konstantin G.:
Hello!
We were unable to find the folder that you specified.
However you can find an instruction on how to manage folder
permissions in our article: "How do I
manage 'User/File level permissions'?"
at http://www.intermedia.net/support/kb/viewKBArticle.asp?id=623
Entered on 07/01/2008 at 08:06:10 by SWH1087592:
Hi,
I have a developer helping me with an online store for one of my
websites. He is using a transfer object, and he needs read access to
the
web-inf.component.types directory. Is that something you can do for
me, or can I do that from the host pilot?? The website resides in
the /fork directory.
I appreciate your help,
Lana
--
Marlon
--
Marlon
This was just causing too many issues with shared hosts for exactly this reason.
Mark
What error did you get, and what line did it come from?
Maybe I missed one?
Mark
Unfortuntely I can't get any more detailed debuging out than this:
Error while attempting to autowire object of type transfer.com.sql.SQLManager
[Line: 210 :: D:\ftp\mikekernan\Htdocs\transfer\com\factory\AbstractBaseFactory.cfc
:: Error while attempting to autowire object of type
transfer.com.sql.mssql.SQLFactory ::
[Line: -1 :: java.io.FilePermission D :: access denied
(java.io.FilePermission
D:\ColdFusion8\wwwroot\WEB-INF\cftags\component.cfc read) :: ]]
"I don't want the world, I just want your half", They Might Be Giants
I don't know what else would cause that then.... duplicate() maybe?
Mark
0
ID CF_TEMPLATEPROXY
LINE 31
RAW_TRACE at
cfAbstractBaseFactory2ecfc736984883$funcSETSINGLETON.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\factory\AbstractBaseFactory.cfc:31)
TEMPLATE
D:\ftp\mikekernan\Htdocs\transfer\com\factory\AbstractBaseFactory.cfc
TYPE CFML
which translates to:
arguments.class = getMetaData(arguments.object).name;
The real error is probably firing behind the DI mechanism in Transfer.
Mark
Switch to HostMySite. Tell 'em I sent you.
--
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
On Tue, Jul 22, 2008 at 11:15 PM, Mark Mandel <mark....@gmail.com> wrote:
>
> With the dump do you get a full stack trace?
>
> The real error is probably firing behind the DI mechanism in Transfer.
>
> Mark
>
java.security.AccessControlException: access denied
(java.io.FilePermission
D:\ColdFusion8\wwwroot\WEB-INF\cftags\component.cfc read) at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
at java.security.AccessController.checkPermission(AccessController.java:546)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkRead(SecurityManager.java:871) at
java.io.File.lastModified(File.java:824) at
coldfusion.compiler.NeoTranslator.getLastModiofiedTime(NeoTranslator.java:729)
at coldfusion.runtime.TemplateClassLoader.getLastModifiedTime(TemplateClassLoader.java:203)
at coldfusion.runtime.TemplateProxy.isParentComponentChanged(TemplateProxy.java:1576)
at coldfusion.runtime.TemplateProxy.isParentComponentChanged(TemplateProxy.java:1584)
at coldfusion.runtime.TemplateProxy.getRuntimeComponentMetadata(TemplateProxy.java:1647)
at coldfusion.runtime.TemplateProxy.getRuntimeMetadata(TemplateProxy.java:1554)
at coldfusion.runtime.CfJspPage.GetMetaData(CfJspPage.java:2538) at
cfAbstractBaseFactory2ecfc736984883$funcSETSINGLETON.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\factory\AbstractBaseFactory.cfc:31)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at
cfSQLFactory2ecfc1837702680$funcINIT.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\sql\SQLFactory.cfc:37)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:463) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:453) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:320) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2222) at
coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:362) at
coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2662) at
cfMethodInvoker2ecfc345314554$funcINVOKEMETHOD.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\dynamic\MethodInvoker.cfc:47)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at
cfAbstractBaseFactory2ecfc736984883$funcAUTOWIRE.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\factory\AbstractBaseFactory.cfc:138)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at
cfAbstractBaseFactory2ecfc736984883$funcGETSINGLETON.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\factory\AbstractBaseFactory.cfc:73)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at
cfFactory2ecfc558475937$funcGETSQLFACTORY.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\factory\Factory.cfc:100)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:463) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:453) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:320) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2222) at
coldfusion.tagext.lang.InvokeTag.doEndTag(InvokeTag.java:362) at
coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2662) at
cfMethodInvoker2ecfc345314554$funcINVOKEMETHOD.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\dynamic\MethodInvoker.cfc:47)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at
cfAbstractBaseFactory2ecfc736984883$funcAUTOWIRE.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\factory\AbstractBaseFactory.cfc:121)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at
cfAbstractBaseFactory2ecfc736984883$funcGETSINGLETON.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\factory\AbstractBaseFactory.cfc:73)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.CfJspPage._invokeUDF(CfJspPage.java:2471) at
cfFactory2ecfc558475937$funcGETSQLMANAGER.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\factory\Factory.cfc:59)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at
cfTransfer2ecfc1194135417$funcINIT.runFunction(D:\ftp\mikekernan\Htdocs\transfer\com\Transfer.cfc:44)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at
cfTransferFactory2ecfc1849538563$funcINIT.runFunction(D:\ftp\mikekernan\Htdocs\transfer\TransferFactory.cfc:96)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272) at
cfApplication2ecfc761338475$funcONAPPLICATIONSTART.runFunction(D:\ftp\mikekernan\Htdocs\Fork\Application.cfc:40)
at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:418) at
coldfusion.filter.SilentFilter.invoke(SilentFilter.java:47) at
coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:360)
at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:324)
at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:59)
at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:277) at
coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:192) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:448) at
coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:308) at
coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:74) at
coldfusion.runtime.AppEventInvoker.onApplicationStart(AppEventInvoker.java:174)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:196)
at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) 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.CfmServlet.service(CfmServlet.java:175) 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.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
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)
This makes it crystal clear that the hosting company has setup sandbox
security but disallowed read access to the core cftags directory which
is not very smart... Tell them they need to add read access to that
directory and if they won't, switch hosting companies because they
clearly don't know what they're doing.