AppFuseEnvironmentIssues |
|
Your trail: |
This is version 5.
It is not the current version, and thus it cannot be edited.
[Back to current version]
[Restore this version]
There are some environments that cause errors when deploying or running an AppFuse application. As you run into problems add them to this list so others know what to look for when they have the same problem.
- Tomcat 4.1.27 throws an exception when using the compressionFilter.
- Resolution 1: Don't use the compressionFilter, by commenting out the mapping in metadata/web/filter-mappings:
<!--filter-mapping> \\
<filter-name>compressionFilter</filter-name> \\
<url-pattern>*.do</url-pattern> \\
</filter-mapping--> \\
- Resolution 2: Upgrade your version of Tomcat. Version 4.1.30 is known to resolve this issue.
- Ant throws an error when running the "test-canoo" target. The following error is caused by "nekohtml.jar" being in ANT_HOME/lib:
com.canoo.webtest.engine.StepExecutionException: Unexpected
exception caught: org.w3c.dom.DOMException: NAMESPACE_ERR:
An attempt is made to create or change an object in a way
which is incorrect with regard to namespaces., Step:
VerifyElementText at file:./login.xml:3: with
(text="AppFuse ~ Login", type="title", stepId="we should see
the login title", regex="false",
stepType="verifytitle")com.canoo.webtest.engine.StepExecutionException:
Unexpected exception caught: org.w3c.dom.DOMException:
NAMESPACE_ERR: An attempt is made to create or change an
object in a way which is incorrect with regard to
namespaces., Step: VerifyElementText at file:./login.xml:3:
with (text="AppFuse ~ Login", type="title", stepId="we
should see the login title", regex="false",
stepType="verifytitle")
- Resolution: Remove "nekohtml.jar" from ANT_HOME/lib
|