10.11.4.1. In case you cannot log-in (cannot connect to database) after Web Application Server started¶
- There may be some errors in the database to be connected. Confirmation method of causes in this case is described.
10.11.4.1.1. Console Information Confirmation when Web Application Server is started¶
It confirms if the next message is output when Web Application Server is started.[WARN] c.c.s.w.WebApp - [] java.lang.RuntimeException: resource: iwp/platform/schema/exists_table.sql is not found. java.lang.RuntimeException: resource: iwp/platform/schema/exists_table.sql is not found.If this message is confirmed, there is error in database setting.To check causes in detail, [Database Log Setting] described below should be changed.
10.11.4.1.2. Database Log Setting¶
In case of Resin, directory /WEB-INF/conf/log/im_logger_database.xml file with the same same as war file under <%RESIN_HOME%/webapps>should be opened by the editor and L.43rd should be changed as below.before change <level value=”off” />after change <level value=”trace” />After edit, Web Application Server is restarted.Trace information related to database will be valid by this setting change, and you can confirm log information from JDBC driver on the console.Note
In case of Web Application Server other than Resin,connection is confirmed by the data source screen in management console in each Web Application Server.Note
- Followings are considered as main causes in this case.
- Error of IP address, port number, database user, or password of database at connection destination.
- Insufficiency of authority of database user (cannot be connected due to insufficiency of authority. Table cannot be created.)