smart工作流程管理系統的安裝與配置方法

來源:互聯網
上載者:User

1)下載smart工作流程管理系統

方法一: 群內使用者請到“群共用”中下載3個檔案:smart_forleave.rar  smart_lib1.rar smart_lib2.rar。下載後解壓,並把 smart_lib1和smart_lib2中的 .jar包 copy到 smart_forleave的 D:/smart_forleave/webroot/WEB-INF/lib/ 目錄下。

方法二: 從SF下載 http://sourceforge.net/project/showfiles.php?group_id=124606 。

方法三: CVS下載:http://sourceforge.net/cvs/?group_id=124606  模組名稱為 smart_forleave。

2)安裝mysql (或者其他資料庫也都可以)。本人用的mysql 4.1版,其他版也可以。

安裝mysql時,一定使用 UTF-8字元集,否則會有 中文亂碼問題。smart預設您使用3306連接埠,root使用者的口令為 123456。如果您這樣配置,則後面不需要改任何配置。

3)啟動mysql 。  在mysql的用戶端中,建立資料庫 jbpm,此時庫中沒有任何錶。

4) 找到 D:/smart_forleave/sql/smart.sql檔案, 在cmd中 執行命令: 

mysql  -u root -p123456 jbpm < D:/smart_forleave/sql/smart.sql

這樣jbpm庫中,就有了所有需要的 初始資料。請不要直接執行檔案中的SQL命令!

5)server的配置我們在tomcat和resin下測試通過,最好是用我們的版本或者高於我們的版本。

如果是resin3.0.13,則直接配置如下:

<web-app id="/smart" document-directory="D:/smart_forleave/webroot" />

如果是 tomcat5.0.19/tomcat5.0.28,則在 D:/Tomcat 5.0/conf/Catalina/localhost下建立檔案smart.xml,內容

<Context path="/smart" docBase="D:/smart_forleave/webroot"
        debug="0" privileged="true">

  <!-- Link to the user database we will get roles from -->
  <ResourceLink name="users" global="UserDatabase"
                type="org.apache.catalina.UserDatabase"/>

</Context>

關於配置的測試,要感謝“花旗”和“西濱”等朋友的 bug反饋,現在已經沒有中文亂碼問題。

tomcat5.5也有朋友布署成功了。因為要用到EL語言,tomcat5以下的應該是不支援的,請不要使用。

6)啟動tomcat,訪問  http://localhost:8080/smart/    (連接埠自己調整)。

已經預設有4個使用者,xiaowang 是普通員工,manager是經理,boss是 老闆,hr是 人力資源員工。沒有密碼。

已經預設有一個 “請假銷假流程”。 運行介面就可以知道。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.