2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

「exists_table.sql is not found」というエラーについて

Last updated at Posted at 2019-09-18

intra-mart実行時に、下記ログメッセージが表示されることがある。
主な原因はDBへ接続できないことによるものである。

参考サイト:「intra-mart Accel Platform セットアップガイド」

[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.
        at jp.co.intra_mart.mirage.SqlManagerImpl.prepareNode(SqlManagerImpl.java:143)
        at jp.co.intra_mart.mirage.SqlManagerImpl.getSingleResult(SqlManagerImpl.java:218)
        at jp.co.intra_mart.mirage.ext.IntramartSqlManager.getSingleResult(IntramartSqlManager.java:39)
        at jp.co.intra_mart.mirage.SqlManagerImpl.getSingleResult(SqlManagerImpl.java:214)
        at jp.co.intra_mart.system.service.provider.updater.dao.ImSchemaUpdateDAO.existsTable(ImSchemaUpdateDAO.java:34)        at jp.co.intra_mart.system.service.provider.checker.SystemSchemaUpdateChecker$1.execute(SystemSchemaUpdateChecker.java:37)
        at jp.co.intra_mart.mirage.ext.session.SessionTemplate.execute(SessionTemplate.java:21)
        at jp.co.intra_mart.system.service.provider.checker.SystemSchemaUpdateChecker.checkSchema(SystemSchemaUpdateChecker.java:31)
        at jp.co.intra_mart.system.service.provider.checker.SchemaUpdateChecker.initialize(SchemaUpdateChecker.java:78)
        at jp.co.intra_mart.system.servlet.PlatformServletContextListener.contextInitialized(PlatformServletContextListener.java:108)
        at com.caucho.server.webapp.WebApp.callInitializers(WebApp.java:3564)
        at com.caucho.server.webapp.WebApp.startImpl(WebApp.java:3882)
        at com.caucho.server.webapp.WebApp.access$700(WebApp.java:209)
        at com.caucho.server.webapp.WebApp$StartupTask.run(WebApp.java:5451)
        at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:173)
        at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:118)

このときに確認すべきことは
 1.JDBCライブラリは入っているか?
 2.resin-web.xmlの定義は間違っていないか?
 3.storage-config.xmlの定義は間違っていないか?
 4.DBへアクセス可能か?
  (DBサーバ上のqsplコマンドで接続ができるか。DBアカウントとパスワードの確認。)
 5.DBへアクセス可能か?
  (APサーバからftpやtelnetコマンドを使用し、ポート番号指定で接続してみる)
など。

様々な要因があるため、特定が難しいがjuggling時の設定が間違っていないならファイヤーウォールなどの設定も見直してみると良い(自分への戒め)

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?