モバイル・アプリ・プロジェクトに worklight 6.1 を使用しています。私の問題は、このドキュメントに従ってステップ 7 で .war ファイルを websphere にアップロードしようとしたときにこのエラーが発生したことです。
ADMA0007E: A Validation error occurred in task Mapping resource references to resources. The Java Naming and Directory Interface (JNDI) name is not specified for reference binding jdbc/WorklightDS in module Worklight with EJB name .
ADMA0007E: A Validation error occurred in task Mapping resource references to resources. The Java Naming and Directory Interface (JNDI) name is not specified for reference binding jdbc/WorklightReportsDS in module Worklight with EJB name .
.war ファイルを抽出し、web.xml を開きます。そしたらこんな詳細が出てきました。
<resource-ref>
<description>Worklight Server Database</description>
<res-ref-name>jdbc/WorklightDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
<resource-ref>
<description>Reports Database</description>
<res-ref-name>jdbc/WorklightReportsDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
このデータベースについてはまったく知りませんでした。これは、worklight のレポート ツールのようなものです。なぜそれが起こるのですか?なんで?