■ Jetty(Web Server) 起動

  (1) Eclipse RCP メニューの Jetty(web server) メニュー click

  (2) Jetty View表示

  (3) Startボタン押下によりJetty web server起動

  (4) Jetty server status が unready(赤色) から ready(青色) になるまでWait

  (5) status が ready(青色)になればブラウザにてアクセス

    【URL】
     http://localhost:8080/netjfwatcher/start.jsp

   (6) 必要であればエンジンも起動


■ ブラウザでのWeb認証について

   ユーザ名  : admin
   パスワード: admin


■ Jetty構成情報

 (1) コンテキストパス、ポート

    インストールディレクトリ\plugins\netjfwatcher_jetty_x.x.x\resources\jetty_conf.xml

<?xml version="1.0" encoding="UTF-8"?>
<jetty_conf>
    <webAppContext_War value="webapps/netjfwatcher0.9.4.war" />
    <connector_port value="8080" />                        ...... コネクトポート
    <contextPath value="/netjfwatcher" />                  ...... コンテキストパス
    <userRealmName value="netwatcher Realm" />
    <userRealmPath value="./etc/netjfwatcherRealm.properties" />
</jetty_conf>


 (2) 認証

     インストールディレクトリ\etc\netjfwatcherRealm.properties


#
# This file defines users passwords and roles for a HashUserRealm
#
# The format is
#  <username>: <password>[,<rolename> ...]
#
# Passwords may be clear text, obfuscated or checksummed.  The class 
# org.mortbay.util.Password should be used to generate obfuscated
# passwords or password checksums
#
# If DIGEST Authentication is used, the password must be in a recoverable
# format, either plain text or OBF:.
#
# jetty: MD5:164c88b302622e17050af52c89945d44,user
# admin: CRYPT:adpexzg3FUZAk,server-administrator,content-administrator,admin,manager

admin: admin,admin,manager           ......... ★<username>: <password>[,<rolename> ...]
manager: manager,manager                         ( ロール名(rolename)は『manager』 )
netwatcher: netwatcher,manager
other: OBF:1xmk1w261u9r1w1c1xmq
plain: plain

# This entry is for digest auth.  The credential is a MD5 hash of username:realmname:password
digest: MD5:6e120743ad67abfbc385bc2bb754e297


■ Eclipse RCP 構成

Eclipse RCP netjfwatcher_jed

                                Eclipse RCP netjfwatcher_jed
                               +--------------------------------------------------------------+
                               |                                                              |
                               |      +---------------+                                       |
   Eclipse RCP       Socket    |      |               | --------------------------------------|---- Network watch
    Socket Client -------------|----- |    Engine     |                                       |      -snmp
                               |      |               |                   +--------------+    |      -ping
                               |      |               |-------------------|              |    |      -http
                               |      +---------------+                   | Apache Derby |    |      -smtp
                               |              | netjfwatcher plugin       | Database     |    |      -pop3
                               |              |                           |              |    |
                               |              |                           +--------------+    |
                               |              |                                               |
                               |              |Socket                                         |
                               |              |                                               |
                               |              |                                               |
                               |              |                                               |
                               |     +---------------------+                                  |
                      HTTP     |     |                     |                                  |
   Browser Client -------------|---- |  Jetty              |                                  |
                               |     |  Web(HTTP) Server   | ------- Web apps War file        |
                               |     |  (Servlet container)|         (netjfwatcher.war)       |
                               |     |                     |                                  |
                               |     +---------------------+                                  |
                               |         netjfwatcher_jetty plugin                            |
                               |                                                              |
                               |                                                              |
                               +--------------------------------------------------------------+
                                                          |
                                                          |
                                                          |
                                                          |
                                                   Standalone Client


 ■ Engine部構成

             +-- Engine ----------------------------+
             |                                      |
             |     +-------------------------+      |
             |     |                         |      |
             |     | SNMP Browser(Manager)   |      |
   GUI ----- |     |                         |      |
             |     +-------------------------+      |
             |     +-------------------------+      |
             |     |                         |      |
             |     | SNMP Agent              |      |
             |     |                         |      |
             |     +-------------------------+      |
             |     +-------------------------+      |
             |     |                         |      |
             |     | Network Watch           | -----|--- Network
             |     |   snmp/ping/http etc    |      |
             |     |                         |      |
             |     +-------------------------+      |
             |     +-------------------------+      |
             |     |                         |      |
             |     | Database Control/Access | -----|--- Database
             |     |                         |      |
             |     +-------------------------+      |
             |     +-------------------------+      |
             |     |                         |      |
             |     | Socket communication    | -----|--- Web App/Socket Client
             |     |                         |      |
             |     +-------------------------+      |
             |                                      |
             +--------------------------------------+

