亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問(wèn)板塊 發(fā)新帖
查看: 4068 | 回復(fù): 1
打印 上一主題 下一主題

尋求幫助:JDBC連接400并監(jiān)聽(tīng)DATAQUEUE [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2009-11-17 12:09 |只看該作者 |倒序?yàn)g覽
最近公司做了一個(gè)數(shù)據(jù)接口,在linux上開(kāi)發(fā)Java程序?qū)崟r(shí)監(jiān)聽(tīng)并接收AS400上的DataQueue的消息,關(guān)鍵代碼如下:

      /** sysConn 定義系統(tǒng)連接,dqPath 定義DataQueue路徑 */
      DataQueue dq = new DataQueue(sysConn, dqPath);

      String request = null;
      
      while (true){
         request = dq.read(-1).getString();
        /**
         * 對(duì)request進(jìn)行處理
      * 不再對(duì)dq進(jìn)行操作
      *
         */

        }

現(xiàn)在出現(xiàn)的問(wèn)題是,在接收一次數(shù)據(jù)之后,程序繼續(xù)循環(huán)使用dq.read(-1)監(jiān)聽(tīng),大概空閑一個(gè)小時(shí)多一點(diǎn)時(shí)間后,AS400上JOBLOG中出現(xiàn)連接錯(cuò)誤信息,dq.read(-1)不報(bào)錯(cuò)但是監(jiān)聽(tīng)不到DataQueue的數(shù)據(jù)。
AS400上JOBLOG日志如下,各位大俠給看看是什么原因,非常感謝!

5722SS1 V5R3M0 040528 Display Job Log MACHAO 11/16/09 16:44:22 Page 3
Job name . . . . . . . . . . : QZHQSSRV User . . . . . . : QUSER Number . . . . . . . . . . . : 236266
Job description . . . . . . : QZBSJOBD Library . . . . . : QSYS
MSGID TYPE SEV DATE TIME FROM PGM LIBRARY INST TO PGM LIBRARY INST
From user . . . . . . . . . : SUSER
From module . . . . . . . . : QZBSSECR
From procedure . . . . . . : QzbsCheckSwapResults__FiP17QzbsStrSrvRequestP1
2QzbsStdReplyP14QzbsReplyHdr_tPA10_cPcPiPsP8sockaddrN27
Statement . . . . . . . . . : 295
To module . . . . . . . . . : QZBSSECR
To procedure . . . . . . . : QzbsCheckSwapResults__FiP17QzbsStrSrvRequestP1
2QzbsStdReplyP14QzbsReplyHdr_tPA10_cPcPiPsP8sockaddrN27
Statement . . . . . . . . . : 295
Message . . . . : User SUSER from client 172.24.32.200 connected to server.
Cause . . . . . : User profile SUSER from client 172.24.32.200 is currently
connected to this server job. The client name is either a TCP/IP remote
system name, a dotted decimal IP address, or the local host name.
CPE3426 Diagnostic 10 11/16/09 16:26:00.213016 QZBSCOMM QSYS *STMT QZBSCOMM QSYS *STMT
From user . . . . . . . . . : SUSER
From module . . . . . . . . : QZBSCOMM
From procedure . . . . . . : SndErrnoMsg__FPc
Statement . . . . . . . . . : 18
To module . . . . . . . . . : QZBSCOMM
To procedure . . . . . . . : SndErrnoMsg__FPc
Statement . . . . . . . . . : 18
Message . . . . : A connection with a remote socket was reset by that
socket.
CPIAD08 Diagnostic 40 11/16/09 16:26:00.213040 QZBSCOMM QSYS *STMT QZBSCOMM QSYS *STMT
From user . . . . . . . . . : SUSER
From module . . . . . . . . : QZBSCOMM
From procedure . . . . . . : SndCPIAD08__FiN21
Statement . . . . . . . . . : 47
To module . . . . . . . . . : QZBSCOMM
To procedure . . . . . . . : SndCPIAD08__FiN21
Statement . . . . . . . . . : 47
Message . . . . : Host server communications error occurred on SSL_Read() -
Length.
Cause . . . . . : Error code 3426 was received while processing the
SSL_Read() - Length function for the host server communications. Recovery .
. . : See any previously listed message(s) to determine the cause of the
error; if necessary, correct the error and issue the request again.
CPF1301 Information 30 11/16/09 16:26:00.218376 QWTCHGJB QSYS 100D QZBSSECR QSYS *STMT
To module . . . . . . . . . : QZBSSECR
To procedure . . . . . . . : QzbsChangeJob__Fi
Statement . . . . . . . . . : 41
Message . . . . : ACGDTA for 236266/QUSER/QZHQSSRV not journaled; reason 2.
Cause . . . . . : Job resource accounting data for job 236266/QUSER/QZHQSSRV
was not journaled to the system accounting journal QSYS/QACGJRN. -- Reason
codes and their meanings follow: -- 1-The accounting level system value
(QACGLVL) indicated that this level of resource accounting was not to be
done when the job entered the system. -- 2-The accounting journal
QSYS/QACGJRN is unable to receive the data. The accounting data was sent to
the history log (QHST) as the text of a CPF1303 message. See CPF1302 in the
history log (QHST) for recovery action. -- 3-The accounting journal
QSYS/QACGJRN was allocated to another job. The accounting data was sent to
the history log (QHST) as the text of a CPF1303 message.
CPF1301 Information 30 11/16/09 16:26:00.283056 QWTCHGJB QSYS 100D QWCSVRST QSYS *STMT
To module . . . . . . . . . : QWCSVRST
To procedure . . . . . . . : restoreAllAttributes__FP12save_space_TPPvPv
Statement . . . . . . . . . : 17
Message . . . . : ACGDTA for 236266/QUSER/QZHQSSRV not journaled; reason 2.
Cause . . . . . : Job resource accounting data for job 236266/QUSER/QZHQSSRV
was not journaled to the system accounting journal QSYS/QACGJRN. -- Reason
codes and their meanings follow: -- 1-The accounting level system value
(QACGLVL) indicated that this level of resource accounting was not to be
done when the job entered the system. -- 2-The accounting journal
QSYS/QACGJRN is unable to receive the data. The accounting data was sent to
the history log (QHST) as the text of a CPF1303 message. See CPF1302 in the
history log (QHST) for recovery action. -- 3-The accounting journal
QSYS/QACGJRN was allocated to another job. The accounting data was sent to
the history log (QHST) as the text of a CPF1303 message.
CPF1301 Information 30 11/16/09 16:26:39.070872 QWTCHGJB QSYS 100D QZBSSECR QSYS *STMT
From user . . . . . . . . . : SUSER
To module . . . . . . . . . : QZBSSECR
To procedure . . . . . . . : QzbsChangeJob__Fi
Statement . . . . . . . . . : 41
Message . . . . : ACGDTA for 236266/QUSER/QZHQSSRV not journaled; reason 2.
Cause . . . . . : Job resource accounting data for job 236266/QUSER/QZHQSSRV
was not journaled to the system accounting journal QSYS/QACGJRN. -- Reason
codes and their meanings follow: -- 1-The accounting level system value
(QACGLVL) indicated that this level of resource accounting was not to be
done when the job entered the system. -- 2-The accounting journal
QSYS/QACGJRN is unable to receive the data. The accounting data was sent to
the history log (QHST) as the text of a CPF1303 message. See CPF1302 in the
history log (QHST) for recovery action. -- 3-The accounting journal
QSYS/QACGJRN was allocated to another job. The accounting data was sent to
the history log (QHST) as the text of a CPF1303 message.
CPIAD02 Information 00 11/16/09 16:26:39.071120 QZBSSECR QSYS *STMT QZBSSECR QSYS *STMT
From user . . . . . . . . . : SUSER
From module . . . . . . . . : QZBSSECR
From procedure . . . . . . : QzbsCheckSwapResults__FiP17QzbsStrSrvRequestP1
2QzbsStdReplyP14QzbsReplyHdr_tPA10_cPcPiPsP8sockaddrN27
Statement . . . . . . . . . : 295
To module . . . . . . . . . : QZBSSECR
To procedure . . . . . . . : QzbsCheckSwapResults__FiP17QzbsStrSrvRequestP1
2QzbsStdReplyP14QzbsReplyHdr_tPA10_cPcPiPsP8sockaddrN27
Statement . . . . . . . . . : 295
Message . . . . : User SUSER from client 172.24.32.200 connected to server.
Cause . . . . . : User profile SUSER from client 172.24.32.200 is currently
connected to this server job. The client name is either a TCP/IP remote
system name, a dotted decimal IP address, or the local host name.

[ 本帖最后由 leanrabbit 于 2009-11-17 12:43 編輯 ]

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2009-11-17 13:55 |只看該作者
找ADMIN 把你的電腦加到400的DEV里.
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專(zhuān)區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過(guò)ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP