---
# System prepended metadata

title: Webphere
tags: [WebSphere, intellij]

---

 # 外包打卡
 > <span style="color:#80ff80;background:#47D0F8; border-radius:8px; padding: 3px 9px;"> - [name= ] - **[線上簽到](http://cwams.ecloudsrv.com/OnlineSign/OnlineSignInOut.aspx)** </span>  > <span style="color:#112222
;background:#E6AB0D; border-radius:8px; padding: 3px 9px;"> **[線上差勤系統](http://cwams.ecloudsrv.com/Login.aspx?ReturnUrl=%2fLoginPage.aspx)** </span>  - v2.0 [time=Thu, Apr 11, 2025 11:19 AM]
 
 :::spoiler 外包請假規範
![1744178060620](https://hackmd.io/_uploads/HJabFoQRyx.jpg) 
:::

 # 網路連線
 
 :::spoiler 要先上申請單
 
 ### 外網
     - TP-Link_41EC_5G 　　　　　　| pwd:13710811
     - ORBI63 ，ORBI63－１　　　　　　pwd:fdccht6F
 ### 內網
     - INTRA_6F610-5GHz | pwd:1小2大3大
 :::
 
 # 乙測環境
   :::info
     NEina01; N1ina01
     ==密碼:1小2大==
     DB - ap_tax;taxtest    [中心]
     DB - ap_tax_ks;taxtest [高國]
     
     I系列-Web: /stsapp/logs/logs193   
  ::: 
  AWS
  :::danger 
     NEina01; N1ina01
     密碼:1小2大3大
     
     DB - ap_tax;taxtest    [中心]
     DB - ap_tax_ks;taxtest [高國]
  :::
  
  :::info

  :::
  
  :::warning
      
  :::
  ## 半自動布板
   + <span style="color:#black;background:#0fe7a2; border-radius:8px; padding: 3px 20px;">**Jenkins** </span>
  [**永續案Azure甲乙方Repo同步**](http://192.168.233.220:8080/login?from=%2F)
      -  ap0001/小1大2
   
  ## 乙測環境
 + <span style="color:#black;background:#0fe7a2; border-radius:8px; padding: 3px 20px;">**綜所** </span>
      - [**INA**](http://test.fia.gov.tw/INA/login)

 + <span style="color:#black;background:#a2d004; border-radius:8px; padding: 3px 20px;">**營所** </span>
  
      - [**PUA**](http://test.fia.gov.tw/INA/login)

 ## AWS環境(升版)
  ###
  + <span style="color:#black;background:#9ab0e5; border-radius:8px; padding: 3px 20px;">**綜所** </span>
      - [**INA**](https://www.fia.test/ina/login)

 + <span style="color:#black;background:#baf3df; border-radius:8px; padding: 3px 20px;">**營所** </span>
  
      - [**PUA**](https://www.fia.test/pua/login)

    #### 監測AWS
     > [grafana-ina](https://grafana.fia.internal/d/NClZGd6nA/useful-kubernetes-logs-finder?orgId=1&from=now-2d&to=now&timezone=browser&var-query=&var-namespace=i-systems&var-stream=$__all&var-container=ina-web&refresh=15m)
---
 :::spoiler 
 + 前置作業** 
    1. 先加入四組IP 在 HOST
    ``` 
    C:\Windows\System32\drivers\etc 
    ``` 
    ![image](https://hackmd.io/_uploads/r1LsyEURyg.png)
     
    2. **Edge**
        2-1. 
        ![image](https://hackmd.io/_uploads/Bk8NkNLCkg.png)
        2-2. **無設定會無法連至測試IP**
        ![image](https://hackmd.io/_uploads/rkmeeELCyl.png)
 ::: 
  
  ## 測試進度回報
  - [永續案(系統開發+SD文件)](https://docs.google.com/spreadsheets/d/1AjjPA950lCVMGzHamZltbN0Whx3XFZn2qZCE6L5p-s4/edit?gid=1952958822#gid=1952958822)
  
  - [乙測升版測試進度-回報測試表單](https://docs.google.com/spreadsheets/d/1KtATRIk_o2k4WNoDcrkd9e7mDh4dZJexpzOkGzobRqg/edit?gid=1179503288#gid=1179503288)
  
 ----
 # 開發環境
 ## Intellij IDEA 2020.1.3 ver
    
  :::spoiler Maven Settings  
![image](https://hackmd.io/_uploads/rk4O7wmAJx.png)

Build
![image](https://hackmd.io/_uploads/rkUWNDQAkl.png)
  :::
  
  :::spoiler Project Settings  
  ![image](https://hackmd.io/_uploads/ryh2XwQRJx.png)
:::

 :::spoiler WebSphere Server
 https:// localhost:9043/ibm/console/login.do
![image](https://hackmd.io/_uploads/H1u5VDmRkl.png)

 1.  最下方build 先移除，啟動後再 Artifacts
+ 取消啟動前自動 Build
![image](https://hackmd.io/_uploads/ryW3Wloele.png)
:::
 ----

 ## Intellij IDEA 2024.3.5 ver

:::spoiler Application Settings  
![image](https://hackmd.io/_uploads/rybWqnFxZe.png)

:::

:::spoiler SchedulerApplication Settings  
![image](https://hackmd.io/_uploads/BJzJcnYxZg.png)

:::

:::spoiler Maven Settings
![image](https://hackmd.io/_uploads/SJntPA8del.png)

+ mvn clean install -DskipTests=true -Dmaven.compiler.showDeprecation=false -Daether.metadataResolver.threads=1
![image](https://hackmd.io/_uploads/SJB5wA8Oxx.png)

+ dependency:tree
![image](https://hackmd.io/_uploads/BJfsw0L_ll.png)

:::

:::spoiler Spring Boot Settings

+ gov.fdc.scheduler.InaSchedulerApplication
![image](https://hackmd.io/_uploads/ByVaDAIueg.png)

![image](https://hackmd.io/_uploads/HkA0vCI_xl.png)

:::

:::spoiler maven Setting
![image](https://hackmd.io/_uploads/HJ_D23Kxbl.png)

:::

:::spoiler  temurin-21 SDK
![image](https://hackmd.io/_uploads/HkgMO0IOgx.png)

:::

:::spoiler File Encoding
![image](https://hackmd.io/_uploads/rJ8sB-MN-l.png)

:::

---- 
 ## AZURE 
 ### Personal Access Token 
 
   + [Access Token Link](https://dev.azure.com/chte/_usersSettings/tokens)
 
    - status code: 401, reason phrase: Unauthorized (401) -> 重設token
 
  ## Webphere
  ### JDBC 
  + **中心&高國設定**
  
  :::spoiler 範例圖: 
  ![image](https://hackmd.io/_uploads/SkuiGP7C1e.png)
  :::

  
  - FDC_TAX、E01_TAX 改 對 AWS
   
    1. ==jdbc:oracle:thin:@oracle.fia.test:1521:DATABASE==
  
  - FDC_TAX、E01_TAX 改 對 乙測
  
    2. ==jdbc:oracle:thin:@10.16.193.102:1521:dev02==

  ### 指令包版
      +
      :::
      --用local的jar
        mvn -o clean install -Dmaven.test.skip=true -Pproduction

        --捉最新的jar
        mvn  clean install -Dmaven.test.skip=true -Pproduction

        cd /d C:\CodeArea\Azure\4.0\INA\Java\ina


        D:\Program Files\PUA\Java\pua\pua-scheduler-ear\target
      :::
  
  
  ### 共用函式庫 SDP_SHARED_LIB_2.0.0
  
```javascript=
${M2_REPO}/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar
${M2_REPO}/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
${M2_REPO}/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
${M2_REPO}/commons-digester/commons-digester/2.1/commons-digester-2.1.jar
${M2_REPO}/commons-discovery/commons-discovery/0.5/commons-discovery-0.5.jar
${M2_REPO}/commons-fileupload/commons-fileupload/1.2.2/commons-fileupload-1.2.2.jar
${M2_REPO}/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar
${M2_REPO}/commons-io/commons-io/2.1/commons-io-2.1.jar
${M2_REPO}/commons-lang/commons-lang/2.6/commons-lang-2.6.jar
${M2_REPO}/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
${M2_REPO}/org/aspectj/aspectjrt/1.6.12/aspectjrt-1.6.12.jar
${M2_REPO}/org/aspectj/aspectjweaver/1.6.12/aspectjweaver-1.6.12.jar
${M2_REPO}/cglib/cglib-nodep/2.2.2/cglib-nodep-2.2.2.jar
${M2_REPO}/org/springframework/spring-aop/3.0.7.RELEASE/spring-aop-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-asm/3.0.7.RELEASE/spring-asm-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-beans/3.0.7.RELEASE/spring-beans-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-context/3.0.7.RELEASE/spring-context-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-context-support/3.0.7.RELEASE/spring-context-support-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-core/3.0.7.RELEASE/spring-core-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-expression/3.0.7.RELEASE/spring-expression-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-jdbc/3.0.7.RELEASE/spring-jdbc-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-jms/3.0.7.RELEASE/spring-jms-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-orm/3.0.7.RELEASE/spring-orm-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-tx/3.0.7.RELEASE/spring-tx-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/spring-web/3.0.7.RELEASE/spring-web-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/security/spring-security-config/3.0.7.RELEASE/spring-security-config-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/security/spring-security-core/3.0.7.RELEASE/spring-security-core-3.0.7.RELEASE.jar
${M2_REPO}/org/springframework/security/spring-security-web/3.0.7.RELEASE/spring-security-web-3.0.7.RELEASE.jar
${M2_REPO}/net/java/dev/rome/rome/1.0.0/rome-1.0.0.jar
${M2_REPO}/jdom/jdom/1.0/jdom-1.0.jar
${M2_REPO}/net/sf/ehcache/ehcache-core/2.6.0/ehcache-core-2.6.0.jar
${M2_REPO}/com/googlecode/ehcache-spring-annotations/ehcache-spring-annotations/1.2.0/ehcache-spring-annotations-1.2.0.jar
${M2_REPO}/com/google/guava/guava/11.0/guava-11.0.jar
${M2_REPO}/net/sf/jasperreports/jasperreports/4.5.0/jasperreports-4.5.0.jar
${M2_REPO}/com/lowagie/itext/2.1.7/itext-2.1.7.jar
${M2_REPO}/eclipse/jdtcore/3.1.0/jdtcore-3.1.0.jar
${M2_REPO}/jfree/jcommon/1.0.16/jcommon-1.0.16.jar
${M2_REPO}/jfree/jfreechart/1.0.13/jfreechart-1.0.13.jar
${M2_REPO}/org/apache/poi/poi/3.7/poi-3.7.jar
${M2_REPO}/jsqlparser/jsqlparser/1.0/jsqlparser-1.0.jar
${M2_REPO}/org/quartz-scheduler/quartz/1.8.5/quartz-1.8.5.jar
${M2_REPO}/org/quartz-scheduler/quartz-oracle/1.8.5/quartz-oracle-1.8.5.jar
${M2_REPO}/wsrr/WSRRCustomClient/1.1/WSRRCustomClient-1.1.jar
${M2_REPO}/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar
${M2_REPO}/org/hibernate/hibernate-validator/4.2.0.Final/hibernate-validator-4.2.0.Final.jar
${M2_REPO}/org/slf4j/slf4j-api/1.6.4/slf4j-api-1.6.4.jar
${M2_REPO}/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar
${M2_REPO}/ch/qos/logback/logback-classic/1.0.0/logback-classic-1.0.0.jar
${M2_REPO}/ch/qos/logback/logback-core/1.0.0/logback-core-1.0.0.jar
${M2_REPO}/net/sf/json-lib/json-lib/2.4/json-lib-2.4-jdk15.jar
${M2_REPO}/net/sf/ezmorph/ezmorph/1.0.6/ezmorph-1.0.6.jar
${M2_REPO}/org/codehaus/jackson/jackson-core-asl/1.8.7/jackson-core-asl-1.8.7.jar
${M2_REPO}/org/codehaus/jackson/jackson-mapper-asl/1.8.7/jackson-mapper-asl-1.8.7.jar
${M2_REPO}/org/apache/tiles/tiles-api/2.1.4/tiles-api-2.1.4.jar
${M2_REPO}/org/apache/tiles/tiles-compat/2.1.4/tiles-compat-2.1.4.jar
${M2_REPO}/org/apache/tiles/tiles-core/2.1.4/tiles-core-2.1.4.jar
${M2_REPO}/org/apache/tiles/tiles-servlet/2.1.4/tiles-servlet-2.1.4.jar
${M2_REPO}/com/jcraft/jsch/0.1.45/jsch-0.1.45.jar
${M2_REPO}/org/apache/xmlgraphics/batik-anim/1.7/batik-anim-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-awt-util/1.7/batik-awt-util-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-bridge/1.7/batik-bridge-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-css/1.7/batik-css-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-dom/1.7/batik-dom-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-ext/1.7/batik-ext-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-gvt/1.7/batik-gvt-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-js/1.7/batik-js-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-parser/1.7/batik-parser-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-script/1.7/batik-script-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-svg-dom/1.7/batik-svg-dom-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-svggen/1.7/batik-svggen-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-util/1.7/batik-util-1.7.jar
${M2_REPO}/org/apache/xmlgraphics/batik-xml/1.7/batik-xml-1.7.jar
${M2_REPO}/net/sf/barcode4j/barcode4j/2.0/barcode4j-2.0.jar
${M2_REPO}/net/sourceforge/barbecue/barbecue/1.5-beta1/barbecue-1.5-beta1.jar
${M2_REPO}/com/keypoint/png-encoder/1.5/png-encoder-1.5.jar
${M2_REPO}/commons-javaflow/commons-javaflow/20060411/commons-javaflow-20060411.jar
${M2_REPO}/xml-apis/xml-apis-ext/1.3.04/xml-apis-ext-1.3.04.jar
${M2_REPO}/gsp/gsp/1.0/gsp-1.0.jar
${M2_REPO}/ODApi/ODApi/1.0/ODApi-1.0.jar
${M2_REPO}/GODoms/iTextAsian/1.0/iTextAsian-1.0-b03.jar
${M2_REPO}/bouncycastle/bcprov/bcprov-jdk16/145/bcprov-jdk16-145.jar
${M2_REPO}/yct/yct-report-font/1.0/yct-report-font-1.0.jar
${M2_REPO}/sdp/sdp-api/2.0.0-SNAPSHOT/sdp-api-2.0.0-SNAPSHOT.jar
${M2_REPO}/sdp/sdp-core/2.0.0-SNAPSHOT/sdp-core-2.0.0-SNAPSHOT.jar
${M2_REPO}/sdp/sdp-report/2.0.0-SNAPSHOT/sdp-report-2.0.0-SNAPSHOT.jar
${CONFIG_PATH}
```
 
 
  ## JetBrains 产品专属激活码
  
  [JetBrains 产品专属激活码](http://jets.idejihuo.com/v3/)
  
  [激活教程](https://blog.idejihuo.com/topics/jetbrains)