Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

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

...

  1. Stop the server if it is running;
  2. Open <Geronimo_Home>/var/catalina/conf/web.xml in edit mode;
  3. Locate <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> in the web.xml file;
  4. Change the value of development from false to true. The changed parameter will be like Code Blocktitleweb.xml <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> <init-param> <param-name>development</param-name> <param-value>true</param-value> </init-param>
  5. You can add the following code snippet into the web.xml under the above mentioned servlet class. Code Blocktitleweb.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.

...

...