• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Weblogic 12.2.1 deployment

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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".



Can someone please help resolve this issue.

Thanks in advance
 
Sheriff
Posts: 21972
106
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
usha kannan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Bartender
Posts: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Weblogic 12.2.1 implements JEE 7 among other changes.   We had problems with changes to the Java Servlet 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?
 
usha kannan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your response Joe.
The InsertTag is from a third party library.
org.apache.struts.taglib.template.InsertTag


Thanks
 
Joe Ess
Bartender
Posts: 9615
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.  
 
Ranch Hand
Posts: 356
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try deploying it as exploded war file.
Let us know if it works.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"
 
    Bookmark Topic Watch Topic
  • New Topic