0

次の Infosphere ストリーム アプリケーションをビルドすると、以下に引用されているようなエラー メッセージが表示されます。ご意見をお聞かせください。

namespace application;

use com.ibm.streams.db::*;

composite DB {

type
        temp1 = tuple<int32 i, rstring dateTime, timestamp time, uint32 secondValue,
            int64 seconds> ;
    graph
        stream<int32 id, rstring fname, rstring lname> MyPersonNamesStream = ODBCSource()
        {
            param
                connection : "ConnncetionSpec" ;
                access : "AccessSpec" ;
                connectionDocument : "/home/streamsadmin/Desktop/connectionDocument.xml" ;
                initDelay : 3 ;
                sleepTime : 6 ;
        }

}

.bashrc に環境変数を設定しました

export STREAMS_ADAPTERS_ODBC_DB2=1
export STREAMS_ADAPTERS_ODBC_INCPATH=/opt/ibm/db2/V10.1/include/
export STREAMS_ADAPTERS_ODBC_LIBPATH=/opt/ibm/db2/V10.1/lib64/

エラーメッセージは以下の通りです_

CDISP0411W WARNING: The error output from the /opt/ibm/InfoSphereStreams/StreamsStudio/workspace/DB/com.ibm.streams.db/com.ibm.streams.db/Common/ODBCLibInfo.pl script is: No STREAMS_ADAPTERS_ODBC environment variable set.  Exactly one environment variable beginning with STREAMS_ADAPTERS_ODBC_ (ending with the database name qualifier) must be set.
.
/opt/ibm/InfoSphereStreams/StreamsStudio/workspace/DB/com.ibm.streams.db/com.ibm.streams.db/ODBCSource/ODBCSource: CDISP0180E ERROR: An error occurred while the operator model was loading. The error is: The following non-zero return code was received from the /opt/ibm/InfoSphereStreams/StreamsStudio/workspace/DB/com.ibm.streams.db/com.ibm.streams.db/Common/ODBCLibInfo.pl script: 1.
4

1 に答える 1