Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 1.6DR#4
-
Fix Version/s: None
-
Component/s: Framework
-
Labels:None
-
Environment:JBoss 4.0.5
-
ICEsoft Forum Reference:
-
Workaround Exists:Yes
-
Workaround Description:
Description
application resources don't resolve properly and posts hang when running a Seam app in the context root:
<module>
<web>
<web-uri>Ice-seam-gen.war</web-uri>
<context-root>/Ice-seam-gen</context-root>
</web>
</module>
<module>
<web>
<web-uri>Ice-seam-gen.war</web-uri>
<context-root>/Ice-seam-gen</context-root>
</web>
</module>
There are actually two issues here:
1. Relative path resolution of server resources (images/css/etc); and,
2. Configuration of a root context (as in '/') within application.xml breaks form processing.
Issue 1 should not be described as a problem as it simply requires the configuration of a Seam factory in components.xml (as
described in workaround above). This factory includes the server context within the base href so any change in the context-root
within application.xml automatically resolves the relative paths.
Issue 2 is a problem and is what should be covered by this JIRA. Form processing breaks, or more specifically hangs and then
times out with no errors or exception stacktraces, when the context root for the application is set to '/' (i.e. ROOT). All non-root
declarations work e.g. /Ice-seam-gen, /MyApp, etc.
I trust this clarifies things.