We upgraded our weblogic server from 12.1 to 12.2 recently. One of our applications that works fine in weblogic 12.1 is not working as expected in weblogic 12.2. It is getting deployed successfully but fails to show up the login page and throws an exception as below.
'weblogic.kernel.Default (self-tuning)']: InsertTag|Can't insert page '' : [HTTP:101214]Included resource or file "/projectname/WEB-INF/layout/" not found from requested resource "/projectname/WEB-INF/layout/allAccessLayout.jsp".
java.io.FileNotFoundException: [HTTP:101214]Included resource or file "/projectname/WEB-INF/layout/" not found from requested resource "/projectname/WEB-INF/layout/allAccessLayout.jsp".
The WEB-INF folder is at the root of the web application. You're trying to access it through a project (module?). Are you trying to access the resource from another WAR, or from the same WAR? In case of the latter, just use /WEB-INF (without the project name in front of it).
Thanks for your response Rob. This application works fine when deployed to weblogic 12.1 . what could possibly be the reason for this application not to function properly in weblogic 12.2.1(when the url is launched the header and title appears but the login page is not shown).
The exception I have posted is what I got from the logs. Sorry I don't really understand the point where you say just use /WEB-INF . Can you please explain it in more details. Thanks a lot
Weblogic 12.2.1 implements JEE 7 among other changes. We had problems with changes to the JavaServlet API in JEE 7, so it would not surprise me to see other issues. Is InsertTag something that you wrote or is it from a third-party library?
Struts 1.x is past end of life and is no longer supported (see here). The last update to Struts 1.x was at the end of 2008, so again, issues would not surprise me. You could try posting to the Struts User Mailing List.
this problem is caused by a attribute of on tiles:insert in allAccessLayout (or in one of its ancestors). This attribue is refering to a struts-tiles-def entry with value ="" . When tiles looks for this value it searches at "/projectname/WEB-INF/layout/" which doesn't point to any jsp. If your value were "myJsp.jsp" it would be "/projectname/WEB-INF/layout/myJsp.jsp"