Jeffrey's Sky

          Go with wind
          隨筆 - 14, 文章 - 1, 評(píng)論 - 15, 引用 - 0
          數(shù)據(jù)加載中……

          2010年8月2日

          安裝配置 IBM FileNet 所遇問題記錄系列 之六 使用好 VWTool工具以及 log。

          在 使用 PE WorkFlow 的過程中, 總會(huì)遇到流程中的一些異常情況。 如果,某些節(jié)點(diǎn)執(zhí)行出現(xiàn)異常,Hang住等等。 因此,此時(shí)使用一些 PE下的工具尤為重要。

          (1) vwtool 
           
                a. 啟動(dòng)
                    vwtool -r <region number> -Y <admin user>+<pwd>

                b. 常用命令
                    count *     : 列出所有系統(tǒng) queue
                    wobquery <Queue name>   : 在這里,可以列出隊(duì)列里的內(nèi)容,以及某個(gè)wobnum下的參數(shù)值等等,以便debug.

           (2) elog

                elog 記錄了PE在啟動(dòng)運(yùn)行過程中的事件, 包括 PE的system default locale. 
                elog 所在的位置在 \fnsw\local\logs\elogs folder (the same folder where you installed the Process Service software).
           

          posted @ 2011-10-21 00:46 Jeffrey Feng 閱讀(345) | 評(píng)論 (0)編輯 收藏

          在IBM P Server (LPAR)上重裝AIX操作系統(tǒng)記錄

          前幾天,有機(jī)會(huì)自己實(shí)戰(zhàn)了將刻好的AIX6.1系統(tǒng)(里面還有一些FileNet相關(guān)軟件)盤恢復(fù)到一個(gè)IBM P570 Server 上。 其中,使用了HMC,設(shè)置引導(dǎo)程序。
          現(xiàn)將過程記錄如下:

          posted @ 2011-10-21 00:46 Jeffrey Feng 閱讀(445) | 評(píng)論 (0)編輯 收藏

          在 WebSphere中 配置 Oracle Datasource 問題記錄

               摘要: 在 WebSphere中 配置 Oracle Datasource 問題記錄  閱讀全文

          posted @ 2010-09-07 11:53 Jeffrey Feng 閱讀(756) | 評(píng)論 (0)編輯 收藏

          XA Datasource 與 Non-XA Datasource 區(qū)別

               摘要:   閱讀全文

          posted @ 2010-08-27 13:39 Jeffrey Feng 閱讀(4580) | 評(píng)論 (2)編輯 收藏

          安裝配置 IBM FileNet 所遇問題記錄系列 之五 打好客戶端的Patch

          CE 和 PE都有自己的客戶端安裝包。 這些安裝包有助于CE,PE, AE間在相互通訊時(shí)不會(huì)因?yàn)槟承┬“姹镜母膭?dòng)而使得相互不匹配。

          因此,注意,一定要, CE,PE間相互的Client端相互打好Patch.
          還要將CE,PE的Client 端都給AE打一遍。


          posted @ 2010-08-11 11:00 Jeffrey Feng 閱讀(340) | 評(píng)論 (0)編輯 收藏

          安裝配置 IBM FileNet 所遇問題記錄系列 之四 檢查AE,PE, CE 狀態(tài)是否正常


          在Install & Config 完 IBM FileNet之后,一個(gè)重要的事情就是check所安裝的AE,PE,CE是否安裝正確、能夠正常啟動(dòng)。 這里,簡(jiǎn)要列出一些check方法。

          1. 啟動(dòng) CE DB .
              與CE有關(guān)的一般有兩個(gè) DB。 一個(gè) 是 FNGCDDB用于記錄 CE Domain的一些配置信息。 主要有以FNGCD為 prefix 的四個(gè)表(FNGCD, FNGCD_ADDON, FNGCD_CESERVERS, FNGCD_OSCBROWNERS)。 當(dāng)你有需要想重新建立CE Domain的時(shí)候,最好將這四個(gè)表刪掉,然后重新建。
               再一個(gè)DB就是 Object Store所在的DB,比如FNOS1DB. 在這個(gè)DB中,在建完Domain之后共有179張表。
           
                值得注意的是,CE App Server是通過 DataSource來連接CE的DB的。所以,如果,有任何CE DB的改變,也同時(shí)需要更改DataSource。 顯而易見,因?yàn)橛袃蓚€(gè) CE DB,所以也有兩套CE DataSource, 一個(gè)是用于連接 FNGCDDB(還有個(gè)以XA結(jié)尾的,這個(gè)在運(yùn)行時(shí)經(jīng)常被用到),一個(gè)是用于連接FNOSDB,即Object Store DB。CE 就是靠這兩個(gè)Source來取得CE 信息的。

                Check CE 狀態(tài)的方法:
                http://localhost:9080/FileNet/Engine.

          2.  啟動(dòng) AE。
          由于 AE是一個(gè) WebApp 程序,所以只需要啟動(dòng) AE所在的 Server即可。
               
                Check AE 狀態(tài)的方法:
               http://localhost:9080/Workplace

          3. 啟動(dòng) PE
          PE 核心是一個(gè) C++程序。在運(yùn)行時(shí), AE會(huì)嘗試連接 PE,CE,而PE和CE之間也有連接關(guān)系。

          Windows based 的PE server需要注意有兩個(gè)系統(tǒng) Service(通過 Service.msc)是需要起來的。 一個(gè) 叫 PE Service Manager,一個(gè)是Img ControlService;需要檢查;

          再有一個(gè) 重要的命令是 initfnsw,可以通過這個(gè)命令來起停 PE server。

          ① initfnsw start     //-啟動(dòng)PE
          ② initfnsw stop      //-停止PE
               killfnsw -y          //-停止PE
          ③ initfnsw status    //-查看PE狀態(tài)
          ④ initfnsw restart   //-重啟PE

          另外, 檢查 PE的狀態(tài),可以用這個(gè)URL 來 check,

          http://localhost:32776/IOR/ping.

          另外,有關(guān) PE 和 CE間連接性的檢查方法:

          在 PE所在 Server上,用如下URL check,

          http://localhost:32776/IOR/FileNet.CE.PEDirectoryServer

          A "good" sample response from the PEDirectoryServer looks something like this:
          IOR:000000000000002049444c3a46696c654e65745f63656d707270632f63656d707270633a312e300000000001000000000000007e000102000000000c31302e31352e372e31303800071d000000000031afabcb000000002084240cba00000001000000000000000100000008526f6f74504f41000000000800000001000000001400000000000002000000010000001800000000050100010000000000010109000000010001010000000026000000020002
           
          此外,quick test are (on PE  server):

          If you’re having trouble with the PE to CE communications, there may be something wrong with the java environment. Try the following tests in a command prompt window on the PE Server (Substituting appropriate host names, ports, user names, group names, and passwords as appropriate for your configuration):

          On your PE Server:

          cd \fnsw\bin

          Try a basic "little pipe" ping:
          \fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=ping

          Set the little pipe’s CE connection configuration:
          \fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=setConfig /uri=http://hqbpm34:7001/wsi/FNCEWS40DIME/ /user=PEAdmin /password=secret

          Get a list of all realm names:
          \fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=getRealmNames

          Get info about a user named PEAdmin:
          \fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=getUserInfo /user=PEAdmin

          Get info about a user named PEAdmin in a specific realm:
          \fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=getUserInfo /user=PEAdmin /realm= dc=epbdc,dc=eng,dc=filenet,dc=com

          Get info about a group named PEAdministrators:
          \fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=getUserInfo /user=PEAdministrators

          Get “group expansion info” for a group named PEAdministrators:
          \fnsw\java\jre\bin\java -classpath pe.jar;pe3pt.jar filenet.pe.ceorb.test.PEDirectoryClientTest /port=32776 /rpc=expandGroup /group=PEAdministrators

          The above runs should produce output of some sort that might shed light on a CE configuration or connection problem…

          取得 PE run 的 LOG:
          Get some detailed information about the PE to CE communications

          If the PE still can not get connected to the CE, we need to enable some of the java tracing to see what’s happening when the PEDirectoryServer communicates with the CE.

          For PE 4.0.2 and newer, including PE 4.5

          To enable the tracing, we need an fnlog4j.properties file in the \fnsw\java\jre\lib directory on the PE Server. The fnlog4j.properties file needs to include a line something like this:

          log4j.logger.filenet.pe.ceorb.server=DEBUG, TXT

          The easiest way to do this is to copy the \fnsw_loc\sd\fnlog4j.properties.sample file as \fnsw\jre\lib\fnlog4j.properties (without the “.sample”). Then, using a simple text editor (e.g., notepad), add the “, TXT” to the above line of text in the fnlog4j.properties file.

          The PEDirectoryServer will see the fnlog4j.properties file and that will trigger additional tracing and logging to occur. After putting the fnlog4j.properties file in the \fnsw\java\jre\lib directory, click the Apply button in the Process Task Manager’s Security tab again.

          After it fails, check the java trace file. The location of the java trace file is defined in the fnlog4j.properties file itself. By default, it's c:\PE.txt.

          3. 檢查 connection to PE from AE.

          在登錄到 AE 之后,可以點(diǎn)擊 AE Site Preference中 Task Pages頁面,看是否能打開。以及PCC, Process Designer是否都能夠打開以及 Transfer Workflow.



          posted @ 2010-08-08 13:20 Jeffrey Feng 閱讀(1120) | 評(píng)論 (0)編輯 收藏

          安裝配置(Install configure IBM FileNet) 所遇問題記錄系列 之三 配置 (Configure) Application Engine (AE)

               摘要: 配置 (Configure) Application Engine (AE)  閱讀全文

          posted @ 2010-08-02 23:03 Jeffrey Feng 閱讀(522) | 評(píng)論 (0)編輯 收藏

          開源軟件問題記錄系列 之一 在 Tomcat 中設(shè)置 Datasource

               摘要: 開源軟件問題記錄系列 之一 在 Tomcat 中設(shè)置 Datasource  閱讀全文

          posted @ 2010-08-02 10:51 Jeffrey Feng 閱讀(229) | 評(píng)論 (0)編輯 收藏

          主站蜘蛛池模板: 杂多县| 九龙县| 建水县| 榆中县| 来安县| 海南省| 霍林郭勒市| 娄烦县| 福鼎市| 望江县| 寻乌县| 连云港市| 武城县| 望奎县| 清苑县| 改则县| 汉寿县| 乌拉特前旗| 方山县| 阜平县| 丹巴县| 鹰潭市| 太保市| 开远市| 石城县| 太白县| 扶余县| 仁寿县| 泉州市| 华阴市| 北京市| 如东县| 石屏县| 晋州市| 招远市| 舞阳县| 景德镇市| 台山市| 南充市| 韶山市| 慈利县|