Serverj2eeapplicationorgapachegeronimoconsolej2eemodul

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: ified by the user) of .c, .java etc. The intent was only to scan source code. This will miss other interesting files like "readme" and "license". The other thing that the tool will miss is when source code (or anything) exists in a zip or tar file. The attached patch modifies the scanner to scan all text files under the root directory and to warn the user if it finds zip, tar etc files. The user provides a list of file types that he'd like to be warned about in KEYWD_CONFIG - so I'll submit a patch to the sample file too [BootJVM] MakeSetup contains an uncorrectly escaped shell command DIRNAME:=$(shell expr $(PWD) : '\(.*[^/]\)/*$' : '.*/\(..*\)') should be DIRNAME:=$(shell expr $(PWD) : '\(.*[^/]\)/*$$' : '.*/\(..*\)') HtmlTextareaRenderer method isDisabled generates an infinite loop The HtmlTextareaRenderer isDisabled(FacesContext facesContext, UIComponent uiComponent) contains a reference to itself. I'm not sure whether it should be calling super.isDisabled on the impl project or something else. protected boolean isDisabled(FacesContext facesContext, UIComponent uiComponent) { if (!UserRoleUtils.isEnabledOnUserRole(uiComponent)) { return true; } else { //This is causing the StackOverflow, entering in a infinite loop return isDisabled(facesContext, uiComponent); } } Log: java.lang.StackOverflowError^M at java.util.HashMap.get(HashMap.java:320)^M at javax.faces.component.UIComponentBase.getValueBinding(UIComponentBase.java:80)^M at org.apache.myfaces.component.html.ext.HtmlInputTextarea.getEnabledOnUserRole(HtmlInputTextarea.java:70)^M at org.apache.myfaces.component.UserRoleUtils.isEnabledOnUserRole(UserRoleUtils.java:80)^M at org.apache.myfaces.renderkit.html.ext.HtmlTextareaRenderer.isDisabled(HtmlTextareaRenderer.java:39)^M : : ----------------- Latest svn log entry ------------------------------------------------------------------------ r166820 | manolito | 2004-05-19 02:31:40 +1200 (Wed, 19 May 2004) | 2 lines user role support completely moved to components source tree ------------------------------------------------------------------------ Portlet Error in Console Realm portlets When configured for tomcat the console realm...
View Full Document

Ask a homework question - tutors are online