I start with a complete new installation (windows XP machine):
Apache 2.2
Tomcat 7.0
Mysql 5.5.20
and the dhtlmxConnector_java example.
I changed the user password in DataBaseConnection.java. (in samples\WEB-INF\src)
But the 127.0.0.1:8080/samples/grid/01_basic.html returns a error message:
Apache Tomcat/7.0.25 - Error reportHTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.NullPointerException com.dhtmlx.connector.DBDataWrapper.getStatement(DBDataWrapper.java:336) com.dhtmlx.connector.DBDataWrapper.query(DBDataWrapper.java:351) com.dhtmlx.connector.DBDataWrapper.select(DBDataWrapper.java:214) com.dhtmlx.connector.BaseConnector.render(BaseConnector.java:308) com.dhtmlx.connector.BaseConnector.render_table(BaseConnector.java:210) com.dhtmlx.connector.BaseConnector.render_table(BaseConnector.java:178) Grid_01_BasicConnector.configure(Grid_01_BasicConnector.java:24) com.dhtmlx.connector.ConnectorServlet.doGet(ConnectorServlet.java:28) javax.servlet.http.HttpServlet.service(HttpServlet.java:621) javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.25 logs.