freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

openmeeting經(jīng)驗(yàn)總結(jié)-資料下載頁

2024-10-28 08:33本頁面

【導(dǎo)讀】東軟集團(tuán)股份有限公司。政府事業(yè)部衛(wèi)生開發(fā)部。版本號日期審閱人更新摘要。第二章增加SOAP-Gateway測試分解。第三章增加關(guān)于調(diào)用WebServices

  

【正文】 邏輯性的為其他應(yīng)用程序提供數(shù)據(jù)與 服務(wù) .各應(yīng)用程序通過網(wǎng)絡(luò)協(xié)議和規(guī)定的一些標(biāo)準(zhǔn)數(shù)據(jù)格式( Http, XML, Soap)來訪問 Web Service,通過 Web Service 內(nèi)部執(zhí)行得到所需結(jié)果 .Web Service 可以執(zhí)行從簡單的請求到復(fù)雜商務(wù)處理的任何功能。 Axis1 和 Axis2 的區(qū)別 WebServices 的框架主要有 XFire、 Axis Axis2 的。其中 Axis1 更繁雜、而 XFire和 Axis2 是 并列的新一代 WebService 平臺 。學(xué)習(xí) WebService 建議 Axis1 還是要有所了解, Axis2 與 Axis1 兩者的 API 差別 非常大, Axis2 基本上是顛覆了 Axis1重新做了設(shè)計。 openmeetings 采用的是 Axis2 的 WebService 平臺。 OpenmeetingsWebServices 調(diào)用示例代碼 : //使用 RPC方式調(diào)用 WebService RPCServiceClient serviceClient = new RPCServiceClient()。 Options options = ()。 EndpointReference targetEPR = new EndpointReference(rvice)。 (targetEPR)。 //下面的代碼調(diào)用了 getSession方法,并返回 Sessiondata對象實(shí)例 QName opAddEntry = new QName( getSession)。 第 31 頁 共 41 頁 Sessiondata sd = (Sessiondata) (opAddEntry, new Object[] {}, new Class[] { })[0]。 (getSession: + ())。 UserService getSession 描述: 獲得 Session 對象 參數(shù): 無 返回 : Sessiondata 對象 示例代碼: //使用 RPC方式調(diào)用 WebService RPCServiceClient serviceClient = new RPCServiceClient()。 Options options = ()。 EndpointReference targetEPR = new EndpointReference(rvice)。 (targetEPR)。 //下面的代碼調(diào)用了 getSession方法,并返回 Sessiondata對象實(shí)例 QName opAddEntry = new QName( getSession)。 Sessiondata sd = (Sessiondata) (opAddEntry, new Object[] {}, new Class[] 第 32 頁 共 41 頁 { })[0]。 loginUser 描述: 注冊 用戶 參數(shù): sessionID,用戶名、用戶密碼 返回: Long 示例代碼: opAddEntry = new QName( loginUser)。 String sid = ()。 String username = admin。 String userpass = admin。 Long returnVal = (Long) (opAddEntry, new Object[] {sid,username,userpass}, new Class[] { })[0]。 其中: SID是第 一步時返回的 SessionID, username/userpass 是管理員的登錄名 /密碼(注意,必須是管理員的), 返回值為 1表示登錄成功 。 setUserObjectAndGenerateRoomHash 描述: 設(shè)置用戶對象并獲取房間 Hash 參數(shù): sid, username, firstname, lastname, profilePictureUrl, , externalUserId, externalUserType, room_id, beeModeratorAsInt, showAudioVideoTestAsInt 返回: String 示例代碼: String hash = (String) (opAddEntry, new Object[] {sid, 第 33 頁 共 41 頁 username, firstname, lastname, profilePictureUrl, , externalUserId, externalUserType, room_id, beeModeratorAsInt, showAudioVideoTestAsInt}, new Class[] { })[0]。 第三章 常見問題 啟動超時 Tomcat 啟動超時的配置文件設(shè)置 修改好程序, Publish 之后啟動 Tomcat 時往往會提示一個超時的錯誤,這是eclipse 的問題,找到你的項(xiàng)目所在根目錄: 圖 17 找到 .metadata\.plugins\\目錄下的 文件,打開它找到下圖這樣一個位置,將 starttimeout 設(shè)置為一個很大的時間(如 10000)即可,重啟 eclipse 就可以解決問題 。 數(shù)據(jù)庫 在建立數(shù)據(jù)庫時 ,openmeetings 的字符集應(yīng)為 utf8,否則中文處理時有亂碼。 第 34 頁 共 41 頁 圖 18 搭建 oracle 環(huán)境時,要在環(huán)境變量里加入 oracle 的驅(qū)動。并修改修改配置參數(shù),在自己的數(shù)據(jù)庫實(shí)例下(我的是 ggws),建立數(shù)據(jù)庫用戶 openmeetings/ openmeetings property name=openmeetings/property property name=openmeetings/property property name=/property property name=dialect/property property name=jdbc:oracle:thin:@localhost:1521:ggws/property 例子 錯 主要錯誤: 404 和 js 腳本沒有對象。 報 404 錯誤 我們訪問的路徑是: 而 里的配置信息是: welefile/welefile 第 35 頁 共 41 頁 welefile/welefile !welefile/welefile welefile/welefile welefile/welefile js 腳本沒有對象 修改完 后,還是報 js 腳本錯誤。主要是由于找不到 文件,我把 \singlewebapp\WebContent\openmeetings\test\ 拷貝到\singlewebapp\WebContent\openmeetings 里了,即與 位于同一目錄。 關(guān)于調(diào)用 web services java的不同 webservice實(shí)現(xiàn)包,有不同的要求和限制(也可以說是不完善的地方)。需要客戶端與服務(wù)端 Axis 版 本及 java 環(huán)境一樣才可以成功。 連 oracle啟動時報錯 主要是由于一些表的字段與 oracle 的關(guān)鍵字相 沖突。 比如 : create table flvrecording (flvrecording_id number(19,0) not null, filename varchar2(255 char), ment varchar2(255 char), filehash varchar2(255 char), parent_fileexploreritem_id number(19,0), room_id number(19,0), owner_id number(19,0), is_folder number(1,0), is_image number(1,0), is_presentation number(1,0), is_recording number(1,0), inserted_by number(19,0), inserted timestamp, deleted varchar2(255 char), updated timestamp, filesize number(19,0), record_start timestamp, record_end timestamp, recorder_stream_id varchar2(255 char), anization_id number(19,0), width number(10,0), height number(10,0), flv_width number(10,0), flv_height 第 36 頁 共 41 頁 number(10,0), preview_image varchar2(255 char), alternate_download varchar2(255 char), is_interview number(1,0), progress_post_processing number(10,0), primary key (flvrecording_id)) 紅色部分的 ment 為 oracle 的關(guān)鍵字,另外如 desc。 空指針 Openmeetings 是開源的,開源的好處就是免費(fèi),但會有不少的 bug。 畢竟團(tuán)隊沒有做充分的測試, 可謂是魚和熊掌不能兼得啊。 還原 問題 : 圖 19 Mysql導(dǎo)出可以, Oralce 不 行。 對于記錄為空的字段 : 圖 20 這條數(shù)據(jù)中的 value 是空的。 后臺: ().getValue()。 如果連 oracle,在后臺得到的就是 null,而 mysql 的話就是 ””, 通常來說對 null做處理會報空指針異常 nullpointerexception 的。 這里為: : Adding text to an XML document must not be null。 另外 openmeetings 有兩個日志文件: 、 ,便于分析 。
點(diǎn)擊復(fù)制文檔內(nèi)容
高考資料相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1