We are striving to migrate Tapestry 4 pages to Tapestry 5. This endeavor
requires both Tapestry 4 and Tapestry 5 pages to co-exist.
I tried below options just to add a page which displays a "Hello" message in
Tapestry.
è Our current web.xml uses org.apache.tapestry.RedirectFilter which has filter
mapping to '/'.To co-exist Tapestry 5 we are adding below configuration to
web.xml.
<context-param>
<param-name>tapestry.app-package</param-name>
<param-value>com.cowww.tapestry5</param-value>
</context-param>
<filter>
<filter-name>tap5app</filter-name>
<filter-class>org.apache.tapestry5.TapestryFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>tap5app</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Above configuration at runtime requires class javax.validation.ValidatorFactory.
For this we added corresponding jar (tried validation-api-1.1.0.Final and
javax.validation-1.0.0.GA.jar).
But doing the above mentioned changes, it breaks one of the custom listeners we
have in our web.xml and hence breaks the application.
è Just adding validation-api-1.1.0.Final along with other Tapestry5.4 jars,
without doing any web.xml changes also breaks our listener.
è I also tried adding the two filters for Tapestry 4 and 5, along with their
jars in a standalone web-app project.
But there also I got some kind of LifeCycleException.
How will the both filters co-exist ? Please help.
Regards,
Gaurav
________________________________
NOTICE:
This e-mail is intended solely for the use of the individual to whom it is
addressed and may contain information that is privileged, confidential or
otherwise exempt from disclosure. If the reader of this e-mail is not the
intended recipient or the employee or agent responsible for delivering the
message to the intended recipient, you are hereby notified that any
dissemination, distribution, or copying of this communication is strictly
prohibited. If you have received this communication in error, please
immediately notify us by replying to the original message at the listed email
address. Thank You.