[
https://jira.jboss.org/browse/JBSEAM-4689?page=com.atlassian.jira.plugin....
]
Cedrik Mayer updated JBSEAM-4689:
---------------------------------
Attachment: 0001-Try-to-load-.page.xml-from-ServletContext-in-packed-.patch
Make SEAM work with Apache Tomcat 6 and unpackWARs="false"
----------------------------------------------------------
Key: JBSEAM-4689
URL:
https://jira.jboss.org/browse/JBSEAM-4689
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.2.1.CR1
Environment: Apache Tomcat 6.0.24, Ubuntu 10.4
Reporter: Cedrik Mayer
Priority: Critical
Fix For: 2.2.1.CR2
Attachments: 0001-Try-to-load-.page.xml-from-ServletContext-in-packed-.patch
Currently SEAM is not able to run in a Tomcat that does not unpack its war files. This is
because WarRootDeploymentStrategy + URLScanner is not capable of retrieving files from the
ServletContext so that *.page.xml files won't be found.
The attached patch tries to work around this problem but it's more of a hack than a
bugfix. It does not work properly as the information from the *.page.xml is read but not
fully used (e.g. rewrite pattern will work but s:link does not use them). And it also
spits many warnings to the console regarding getRealPath()-failures.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira