Quantcast
Channel: DevOps tips & tricks
Viewing all articles
Browse latest Browse all 181

Running JSF 1.1 application on Weblogic 12.2.1.4 with latest patches

$
0
0

 HOWTO

 

javax.faces.FacesException: Expression Error: Named Object: not found 

 

Web app configuration files - placed into WEB-INF

  • faces-config.xml - JSF specific
  • web.xml - web app
  • weblogic.xml - app server specific

Debug compiled JSP pages - use keepgenerated in weblogic.xml to see produced Java code

jsp-descriptor https://docs.oracle.com/cd/E11035_01/wls100/webapp/weblogic_xml.html#wp1038491 

 


working-dir
internally generated directory
The name of a directory where WebLogic Server saves the generated Java and compiled class files for a JSP.

keepgenerated
false
Saves the Java files that are generated as an intermediary step in the JSP compilation process. Unless this parameter is set to true, the intermediate Java files are deleted after they are compiled.

TLD files - add custom files into WEB-INF

<%@ taglib uri="/WEB-INF/tags/customTags.tld"  prefix="tt"%>

 

Faces config - add custom files in faces-config.xml

<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/custom-config.xml,/WEB-INF/other-custom-config.xml
</param-value>
</init-param>


Viewing all articles
Browse latest Browse all 181

Trending Articles