Part VIII Appendixes
Question 4
When I request a page from WebLogic Mobility Server, I receive a short message on my web
browser indicating that the following error occurred:
Internal error [40010u]
In addition, the following error message displays on the Server Console window:
*[MIS.FatalException] content processing exception building idocument
[40010]:com.mobileaware.mobilitycontrol.MMParseException: SAXException
processing: null [60040]( Time:1037190843650,
SessionID:1BB7FCD73D36AF9BFA74436AEBD3C8B3, Username:null,
ServerIP:199.199.199.199, ServerPort:8080, ServerHostname:199.199.199.199,
RequestRemoteHost:MYHOST, Errors:true, RequestRemoteAddr:199.199.199.199,
RequestURL:/myapp/index.jsp, deviceName:root^html^mozilla/4, webAppName:/myapp)
Solution
This problem is most commonly caused by mistakes in the content that is being processed by
WebLogic Mobility Server. Check for the following common errors:
Presence of special characters: certain characters such as ( &, <, >) have special meaning in
XHTML/XML. If these characters are used incorrectly, it can cause WebLogic Mobility Server to
fail in the transformation of the content.
The following table will help guide you in replacing the characters with their correct entity
reference.
Entity References
Character
&
<
>
Note: WebLogic Mobility Server does not normally tolerate single ampersand characters (aside
from the entity reference) within the page, however to help integration with content management
systems and portals, you can configure WebLogic Mobility Server to allow for ampersands inside
attributes. To configure this feature, see the section "Enable Less Strict Document Checking."
This query string could cause errors:
<a href="/blah/checkout.jsp?item=2&qty=70&id=JoeBloggs">This might not work.</
a>
This is the same query string using entities:
<a href="/blah/checkout.jsp?item=2&qty=70&id=JoeBloggs">Notice the
entities replacing the '&'s</a>
Another potential source of the problem is improperly quoted attributes in the code such as:
<img src="/img/blah.jpg height="20" width="10" alt="Blah"/>
204 - BEA WebLogic Mobility Server User Guide
Entity
&
<
>
Need help?
Do you have a question about the WebLogic and is the answer not in the manual?