FAQ
- Root cause exception NoSuchMethodException for javax.servlet.jsp.PageContext.pushBody(Ljava/io/Writer
- Root cause
NullPointerExceptioninUseBeansTag.doEndTag - While running
ant install.db.schemaget ERROR cannot findhibernate-mapping-2.0.dtd - Exception SQLException: Server configuration denies access to data source
- NullPointerException using SOAP
- "error: unrecognized character in input stream" Compilation error while building xplanner
- XPlanner servlet container running under Fedora 4 cannot connect to the database server
- Make mysql store chinese characters
- Running on Fedora Core 4 with default java components gets NoClassDefFoundError in db install and page view
Root cause exception NoSuchMethodException for javax.servlet.jsp.PageContext.pushBody(Ljava/io/Writer
Symptoms:
While trying to access the very first page (right after installation, you get this exception
Cause
XPlanner must be running on a servlet 2.4 compatible container (Tomcat5.0+). Tomcat4.1 does not work.
Root cause NullPointerException in UseBeansTag.doEndTag
Symptoms:
While trying to access the very first page, you get this exception
Cause
- If you are running 0.6.2, you may have specified your db connection settings directly in
resource/xplanner.properties. A bug in 0.6.2 build system makes it only look inresource/xplanner-custom.properties. Specify your db connection settings inresource/xplanner-custom.propertiesinstead. - Otherwise, check your connection settings. This exception indicates that xplanner could not create a connection.
While running ant install.db.schema get ERROR cannot find hibernate-mapping-2.0.dtd
Symptoms
Causes
The XML parser used requires internet access to download hibernate-mapping-2.0.
Remove the following line to all xml files in the resources/mappings folder
Exception SQLException: Server configuration denies access to data source
Symptoms
Causes
/etc/hosts is wrong. It had
It should be
Thanks for Bart Verwilst for this tip
NullPointerException using SOAP
Environment
Im using Xplanner 0.6.2, Tomcat 5.5, and axis 1.2.
Cause & Solutions
I downgraded from Tomcat 5.5.4 to 5.0.28 and suddenly the NPW went away and getProjects returned the list of projects known to XPlanner
"error: unrecognized character in input stream" Compilation error while building xplanner
Environment
Os: RedHat Enterprise Linus AS 3
Java : j2sdk1.4.2_08
ant : apache-ant-1.6.5
xplanner : xplanner_0.6.2
tomcat : tomcat-5.5.9
Symptoms:
https://sourceforge.net/forum/forum.php?thread_id=1328642&forum_id=161120
While building xplanner, get weird compilation error like "unrecognized character in input stream. "
Cause & Solutions
This was caused by the version of ant that I was using. I installed a newer version of ant, updated the ANT_HOME, and edited the /etc/ant.conf file.
XPlanner servlet container running under Fedora 4 cannot connect to the database server
Environment
Fedora 4, JDK1.4.2
Symptoms:
org.apache.commons.dbcp.DbcpException: java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.SocketException: Invalid argument or cannot assign requested address
Cause & Solutions
Disable ipv6 or add to your servlet container VM this option
See this for more details.
Make mysql store chinese characters
- In mysql
my.iniconfiguration file put - Modify the connection url in
xplanner/WEB-INF/classes/xplanner-custom.properties
Running on Fedora Core 4 with default java components gets NoClassDefFoundError in db install and page view
Environment
Fedora Core 4, java gcj
Symptoms:
- Problem in database creation
./install.sh new - In page view
Cause & Solutions
gcj is not fully compatible with the version of java used to compile xplanner. Please install the sun vm following these instructions
Template of a FAQ entry
<problem description>
Environment
XPlanner version, OS, Servlet container...
Symptoms:
Describe the problem, stacktrace


