Yes it should but it doesn't for me for sure. Also i decided you get seam code and put some additional logs for filter. Here are my results:
| following statememnt always returns false | | | | if ( init!=null && init.hasHotDeployableComponents() ) | | | init != null returns true (because it exists in ServletContext) but has not got any hot deployable components | The for loop is never executed and the scan method also. | | When running on debug mode i also found in logs sth like this: | | | | DEBUG [Pages] reading pages.xml | | DEBUG [DTDEntityResolver] trying to resolve system-id http://jboss.com/products/seam/pages-1.2.dtd] | | DEBUG [DTDEntityResolver] recognized Seam namespace; attempting to resolve on classpath under org/jboss/seam/ | | DEBUG [DTDEntityResolver] located http://jboss.com/products/seam/pages-1.2.dtd] in classpath | | | | This comes from initialize method from Pages class | | | | @Create | | public void initialize() | | { | | InputStream stream = Resources.getResourceAsStream("/WEB-INF/pages.xml"); | | if (stream==null) | | { | | log.debug("no pages.xml file found"); | | } | | else | | { | | log.debug("reading pages.xml"); | | parse(stream); | | } | | } | | | So this method always is looking only for pages.xml. | | Because the filter is never executed and Pages class looks only for pages.xml in WEB-INF it does not refresh other page.xml files. | | When starting app the setter method from Init class | | | public void setHotDeployPaths(File[] hotDeployJars) | | | is executed. The problem is that the array is always null. Thats why statement init.hasHotDeployableComponents() return false | | Also my config in components.xml for debug mode looks like this | | | <core:init debug="true" jndi-pattern="@jndiPattern@" /> | | | jndiPattern is replaced by ant script | | I don't know why but for me the filter does absolutly nothing (for loop searching for refresh is never executed) | | Anyone has similar problem ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033062#4033062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033062 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
