...
Table of Contents |
---|
Troubleshooting Eclipse
Finding errors in Eclipse error log view
...
This could happen if you have used @ManagedBean
annotation in your application, while according to JSF 2.0 specification, only those jar files which contains a faces-config.xml
in its /META-INF
folder will be scanned. You need to manually add a faces-config.xml
file in the /META-INF
of your application if there are jar files under /WEB-INF/lib/
directory which have @ManagedBean annotation definition in jar files.
...
...
Troubleshooting Container problems
...
- Stop the server if it is running;
- Open <Geronimo_Home>/var/catalina/conf/web.xml in edit mode;
- Locate <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> in the web.xml file;
- Change the value of development from false to true. The changed parameter will be like
Code Block title web.xml<servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> <init-param> <param-name>development</param-name> <param-value>true</param-value> </init-param> - You can add the following code snippet into the web.xml under the above mentioned servlet class.
Code Block title web.xml<init-param> <param-name>modificationTestInterval</param-name> <param-value>10</param-value> </init-param> where modificationTestInterval is the time in seconds, which configures the server for JSP reloading interval. In the above configuration, the changes will be reloaded within 10 seconds.
...
You can override xml attributes in config.xml
by configuring defaultJspServlet parameters to enable development mode for JSP and servelets as followed in Tomcat assembly. You need to replicate the same Jasper configuration for jetty8-deployer if you are using Jetty assembly.
...
...