tracker issue : CF-3037339

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 75118:CFFeed fails with sandboxing enabled

| View in Tracker

Status/Resolution/Reason: Closed/Fixed/

Reporter/Name(from Bugbase): James Holmes / James Holmes (JRH@C)

Created: 01/21/2009

Components: CFFeed

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 / 230992

Priority/Frequency: Normal / Unknown

Locale/System: English / Linux OpenSuSE 10

Vote Count: 1

Problem:

CFFeed fails with sandboxing enabled.

With the default sandbox rules, a sandboxed file that calls cffeed fails when trying to load the rome.propeties file from rome-cf.jar. 

The workaround is to add {cf-instance}/WEB-INF/cfusion/lib/- (RX) access to the sandbox.


Method:

1) Enable sandboxing
2) sandbox a folder
3) call cffeed to parse a feed from within a file in that sandbox

Jayesh: trying to repro this issue, I get e different type of error, as given in the Comments section.
Result:

01/21 15:40:37 error ROOT CAUSE: 
java.lang.NoClassDefFoundError: Could not initialize class coldfusion.syndication.FeedDateParser
        at coldfusion.tagext.io.FeedTag.<init>(FeedTag.java:80)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at java.lang.Class.newInstance0(Class.java:355)
        at java.lang.Class.newInstance(Class.java:308)
        at coldfusion.runtime.NeoPageContext$TagSet.getTagHandlerInstance(NeoPageContext.java:2410)
        at coldfusion.runtime.NeoPageContext.getTagHandlerInstance(NeoPageContext.java:2318)
        at coldfusion.runtime.CfJspPage._initTag(CfJspPage.java:1821)
        at cfindex2ecfm406867347.runPage(/srv/www/htdocs/sandbox/index.cfm:2)
        at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:214)
        at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416)
        at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
        at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:295)
        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.filter.CachingFilter.invoke(CachingFilter.java:53)
        at coldfusion.CfmServlet.service(CfmServlet.java:177)
        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$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
        at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3037339

External Customer Info:
External Company:  
External Customer Name: James Holmes
External Customer Email: 0CC1035E44C9EAD8992015D5
External Test Config: 01/21/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
24118 | November 10, 2011 07:13:38 PM GMT