I am struggling with a strange problem: when I make changes to POJO or Seam Component in my Jhost instance for the local host, reload it and load the page, this change is visible. However, on our server running the same version of JBoss, when I stop the instance, delete the WAR file, load the latest version and restart JBoss, it will not show some of the new server-side features.
In particular, this change relates to the POJO class, which implements the javax.faces.validator.Validator class. It is then used in the XHTML Facelet as follows:
<h:inputText value="#{outsideaccount.accountOrganizationEmail}" maxlength="50" id="txtOrganizationSupportEmail" validatorMessage="Organization Support Email is not valid. It must be in the pattern ' some_id@some _domain.com'."> <f:validator validatorId="AnyEmailValidator"/> </h:inputText>
I can correctly use the email checker on my local JBoss host; on the development server, it throws a validation error using the same email address on the same page. Very strange. Is JBoss caching class files? How to clear all contents of JBoss development server cache?
I use Win XP Pro locally; the development server uses JBoss 4.2.3.GA on JVM version 1.5.0_16-b02, with Unix SunOS 5.10. Thanks.
source share