Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The other cause of this may be that your template files simply are not being packaged up correctly with the rest of your application. When in doubt, use the Java jar command to see exactly whats inside your WAR file. Your page templates should either be in the root folder of the WAR, or package with the corresponding .class file.

My application fails with the error PermGen, how do I fix this?

PermGen refers to the part of the Java memory space devoted to permanent objects which is mostly loaded classes. This When developing under Tapestry, many more classes and class loaders are created than normal; this is part of live class reloading. Because of this, you will want to up the amount of memory Java devotes to this.

The solution is to add -XX:MaxPermSize=512m to your command line. You may also want to up the regular amount of heap space with -Xmx600M. Of course, you may need to adjust the amount of memory in each category to match your actual application, but these are good starting values.

Java Virtual Machine arguments can be specified inside an Eclipse launch configuration:

Image Added