Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Permission denied for creating Java object: coldfusion.server.SystemInfo

Guest
Jan 17, 2008 Jan 17, 2008
I am getting this ColdFusion error when I try to access the administrator for a new ColdFusion 8 Enterprise instance. It is the 3rd one I have created and the other two, which I created months ago, do not generate this error when I access their admin.

The Instance Manager shows the instance as running and Windows services shows the J2EE Application Server for the instance as running.

The error:

Permission denied for creating Java object: coldfusion.server.SystemInfo.
Access to Java objects in the ColdFusion package has been disabled by the administrator.
3.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 25, 2008 Jan 25, 2008
Someone please help. I have a website which is periodically crashing an instance and I want to isolate it in its own instance.

For some reason I am getting an error when I try to use the instance. I don't think I made any changes since I created the other two, which work fine, but something is different.

To repeat, the error I am getting is:

Permission denied for creating Java object: coldfusion.server.SystemInfo.
Access to Java objects in the ColdFusion package has been disabled by the administrator.

and I'm pretty sure I haven't disabled anything. I don't even know what I would need to do to enable or disable access to Java objects. The other two instances are running fine, so whatever has changed hasn't interfered with their execution.

Please help!

Thanks.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 10, 2008 Apr 10, 2008
Hey Al, any news on this?

I run a CF8.0.1 on Mac OS X Server 10.4.11, and for some super-weird reason, when trying to access the admin interface today, it comes up with the error message below. The most annoying part apart from the non-working admin interface right now, is that I do not even have CF8 installed in

E:\cf8_final\cfusion\wwwroot\C

what the heck is that about? I am on Unix, if anything, it should read

/Volumes/xyzdrive/cfusion/

?!?!?!



The web site you are accessing has experienced an unexpected error.
Please contact the website administrator.

The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
Permission denied for creating Java object: coldfusion.server.SystemInfo.
Access to Java objects in the ColdFusion package has been disabled by the administrator.

The error occurred in E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 50
Called from E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 4
Called from E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm: line 1

-1 : Unable to display error's location in a CFML template.

Resources:

* Check the ColdFusion documentation to verify that you are using the correct syntax.
* Search the Knowledge Base to find a solution to your problem.

Browser Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13
Referrer
Date/Time 10-Apr-08 03:36 PM
Stack Trace
at cfApplication2ecfm1439570487._factor1(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:50) at cfApplication2ecfm1439570487._factor7(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:4) at cfApplication2ecfm1439570487.runPage(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:1)

coldfusion.runtime.java.JavaProxyFactory$ColdFusionJavaNotAllowedException: Permission denied for creating Java object: coldfusion.server.SystemInfo.
at coldfusion.runtime.java.JavaProxyFactory.getProxy(JavaProxyFactory.java:77)
at coldfusion.runtime.ProxyFactory.getProxy(ProxyFactory.java:65)
at coldfusion.runtime.CFPage.createObjectProxy(CFPage.java:4707)
at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4678)
at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4619)
at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4597)
at coldfusion.runtime.CFPage.CreateObject(CFPage.java:4553)
at cfApplication2ecfm1439570487._factor1(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:50)
at cfApplication2ecfm1439570487._factor7(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:4)
at cfApplication2ecfm1439570487.runPage(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\Application.cfm:1)
at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
at coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)
at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:214)
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.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
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)

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 10, 2008 Apr 10, 2008
JonusUVS,

I determined that my problem was that I had the option "Disable access to internal ColdFusion Java components" checked on the "Server Settings > Settings" page in CFAdmin.

Once I unchecked that box, everything worked again.

I do remember reading somehwere that some errors report the location of ColdFusion as being the place that the ColdFusion DEVELOPERS were using! The path you quote, "E:\cf8_final\cfusion\wwwroot\C" fits that profile perfectly!!!!

Ergo, I would ignore the path information. My guess is that you also have that box checked. Since you can't even access CFAdmin to turn it off, I'd be interested in someone responding with information on how to set CFAdmin parameters without runing CFAdmin!!! Hopefully there is a way to edit config or ini files manually! My understanding is that there is. I just don't know what they are.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 10, 2008 Apr 10, 2008
Hi Al,

Thanks for this. Once I get into the friggin' Administrator I'll tackle that checkbox. In the meantime, I came across Raymond Camden's blog post
" http://www.coldfusionjedi.com/index.cfm/2007/8/28/Avoid-those-hidden-features"

discussing this. Since I installed a copy of BlogCFC last night I just emailed him if there might be any relation (i.e. I might have screwed up a ini file, although even shutting that test website down doesn't change anything. I realize I might have to restart CF services, but as my other projects seem to be running smooth, I don't really want to risk the bugger not coming up alive and kicking if I restart now...

On a side-note, one would like to think Adobe's Dev Team could output the right path perhaps in the 8.0.2 revision then? Had I been on Windows boxes, I might have been searching that elusive line a little bit longer.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 10, 2008 Apr 10, 2008
JonasUVS wrote:
> On a side-note, one would like to think Adobe's Dev Team could output the
> right path perhaps in the 8.0.2 revision then?

It s the right path: that is where the file was located when it was
compiled.

Jochem


--
Jochem van Dieten
Adobe Community Expert for ColdFusion
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Apr 10, 2008 Apr 10, 2008
LATEST
ah, ok. Little do I know about hard-core software develoment :-)

Thanks for your answer though, I'm testing as soon as the other sites get hit a bit less. 🙂
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources