Yes, note that if (1) The component is not in the classpath, or does not sit beside a seam.properties file OR (2) You have two different seam jars in your classpath (so that the seam annotations are loaded on different classloaders)
Seam will NOT detect the existence of the component! This means that then if you later refer to the component by name, without having required=true, you will expose yourself to NPEs, since there is no component with the name of the context variable, so Seam will simply take the current value of the context variable (null). Always make sure that Seam logs all your components during the startup sequence! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910766#3910766 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910766 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
