2005-12

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: chMethodError: org.apache.velocity.runtime.parser.node.Node.jjtGetChild (I)Lorg/apache/velocity/runtime/parser/node/Node; at org.objectstyle.cayenne.access.jdbc.ResultDirective.getChild( ResultDirective.java:190) As the Node.jttGetChild(i) returns: org.apache.velocity.runtime.parser.Node rather than: org.apache.velocity.runtime.parser.node.Node This issue, plus another Velocity/Cayenne issue of a disappearing object reference in the velocity Context, is causing a lot of grief. We have been burning a lot of time over the last couple of weeks trying identify the latter issue, plus having to rollback Velocity changes maintain Cayenne compatability. Running Fortress in Eclipse Fortress does not launch correctly embedded within an Eclipse plugin when using the meta info. SVN revision 160410 fixes a bug when using EMC-style "roles" files so that this method works in Eclipse, but switching to using the meta-format results in ClassNotFound exceptions. It is probably something with a Classloader that is not using the user supplied classloader from FortressConfig. When embedding in Eclipse, you must provide the classloader, for example: final FortressConfig config = new FortressConfig(); config.setContextClassLoader(MyPlugin.class.getClassLoader()); directive.Parse eating RuntimeException The org.apache.velocity.runtime.directive.Parse class is "eating" RuntimeExceptions thrown by Nodes being rendered on line 195. These errors are logged, but are not rethrown. These types of errors are typically NPE being thrown by model objects trying to render themselves using their toString() method. It is better if any RuntimeExceptions are not caught by this method, as it allows the calling code to document/report the error. Web Console indicates that web server stats are available for Tomcat when they really are not The Web Server view in the Web Console includes a portlet to display web server statistics. This functinoality is implemented for Jetty but is not currently implemented for...
View Full Document

This document was uploaded on 10/12/2012.

Ask a homework question - tutors are online