My Oracle Support Banner

FileNotFoundException After Deploying Application with User Customizations Enabled for a Second Time (Doc ID 1278935.1)

Last updated on AUGUST 05, 2024

Applies to:

Oracle WebCenter Portal - Version 11.1.1.3.0 and later
Oracle WebCenter Portal for OCI - Version 12.2.1.4_24.2 and later
Information in this document applies to any platform.

Goal

There is an ADF/WebCenter application with a region in which users can choose which task flows they want to see (by using the Composer). These user customizations are stored in MDS.

When a user has his page personalized and we change a JSF fragment and deploy the application again, the user gets a FileNotFoundException when logging in.

Is there any way to solve this?

Steps to reproduce:
1. Create taskflow with a jsf fragment on it (in our case mytest.jsff)
2. Deploy application
3. User X logs in
4. Place taskflow on customizable page by using composer
4. Edit JSF fragment in taskflow (again: mytest.jsff)
5. Undeploy and Deploy application
6. User X logs in

After this, we get an FileNotFoundException. See also the stacktrace.

2010-12-10 11:12:43,473 <USER>@<SERVERNAME> DEBUG (JSFUtils.java:51) - resolved expression '#{pageFlowScope.nullTaskFlowConfig}' to object: null
<Dec 10, 2010 11:12:44 AM CET> <Error> <HTTP> <BEA-101017> <[ServletContext@11632287[app:portal module:portal path:/portal spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@7f4578[
GET /portal/faces/home.jspx?_afrLoop=3254147626348509&_afrWindowMode=0&_afrWindowId=null HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Connection: Keep-Alive
Cookie: JSESSIONID=<JSESSIONID>

]] Root cause of ServletException.
java.io.FileNotFoundException: /mytest.jsff
at oracle.adf.library.webapp.ADFJspResourceProvider.internalFromStream(ADFJspResourceProvider.java:591)
at oracle.adf.library.webapp.ADFJspResourceProvider.fromStream(ADFJspResourceProvider.java:346)
at oracle.jsp.parse.XMLUtil.getFromStream(XMLUtil.java:280)
at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:478)
at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:455)
Truncated. see log file for complete stacktrace
>
<Dec 10, 2010 11:12:44 AM CET> <Notice> <Diagnostics> <BEA-320068> <Watch 'UncheckedException' with severity 'Notice' on server 'DefaultServer' has triggered at Dec 10, 2010 11:12:44 AM CET. Notification details:
WatchRuleType: Log
WatchRule: (SEVERITY = 'Error') AND ((MSGID = 'BEA-101020') OR (MSGID = 'BEA-101017') OR (MSGID = 'BEA-000802'))
WatchData: DATE = Dec 10, 2010 11:12:44 AM CET SERVER = DefaultServer MESSAGE = [ServletContext@11632287[app:portal module:portal path:/portal spec-version:2.5 version:V2.0], request: weblogic.servlet.internal.ServletRequestImpl@7f4578[
GET /portal/faces/home.jspx?_afrLoop=3254147626348509&_afrWindowMode=0&_afrWindowId=null HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */*
Accept-Language: en-us
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Connection: Keep-Alive
Cookie: JSESSIONID=<JSESSIONID>

]] Root cause of ServletException.
java.io.FileNotFoundException: /mytest.jsff
at oracle.adf.library.webapp.ADFJspResourceProvider.internalFromStream(ADFJspResourceProvider.java:591)
at oracle.adf.library.webapp.ADFJspResourceProvider.fromStream(ADFJspResourceProvider.java:346)
at oracle.jsp.parse.XMLUtil.getFromStream(XMLUtil.java:280)
at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:478)
...
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '20' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = <MACHINE-NAME> = CONTEXTID = <CONTEXT-ID> TIMESTAMP = 1291975964864
WatchAlarmType: AutomaticReset
WatchAlarmResetPeriod: 30000

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.