Compare commits
14 Commits
7078582040
...
V202509150
| Author | SHA1 | Date | |
|---|---|---|---|
| 8e9c6170bb | |||
| b60a9efd5a | |||
| 757e88f296 | |||
| 97c522508e | |||
| 438adc1b7c | |||
| 8197ec8782 | |||
| 26d0247810 | |||
| 7f0dcc8922 | |||
| 28d54d620d | |||
| c11eed1a5c | |||
| 6e7ca86285 | |||
| e920e5de88 | |||
| 6b2d6aafce | |||
| faa46b62e3 |
95
.classpath
95
.classpath
@@ -1,96 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/aopalliance-1.0.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/aspectjrt-1.8.4.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/aspectjweaver-1.8.4.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/cglib-3.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-beanutils-1.9.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-codec-1.9.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-collections-3.2.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-digester-1.8.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-httpclient-3.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-io-2.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-lang3-3.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-logging-1.1.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/commons-net-3.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/cos.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/egovframework.rte.ptl.mvc-3.1.0.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/external-debug.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/ezmorph-1.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/fontbox-2.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/gson-2.3.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/INICrypto_v3.1.6_signed.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/IntegratedCadServer.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jackson-core-asl-1.9.13.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jackson-mapper-asl-1.9.13.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/json-lib-2.2.2-jdk15.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/json-lib-ext-spring-1.0.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/json-simple-1.1.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jstl-1.2.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jxl.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/log4j-1.2.17.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/log4jdbc-remix-0.2.7.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/mail.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/mybatis-3.2.3.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/mybatis-spring-1.2.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/NETSSSOScriptAgent.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/nls-debug.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/ojdbc5.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/pdfbox-2.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/poi-3.11.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/poi-ooxml-3.11.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/poi-ooxml-schemas-3.11.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/scsl.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/slf4j-api-1.7.7.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/slf4j-log4j12-1.7.7.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-aop-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-beans-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-context-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-core-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-expression-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-jdbc-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-oxm-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-test-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-tx-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-web-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-webmvc-3.2.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-ws-core-2.1.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/spring-xml-2.1.4.RELEASE.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/stax-api-1.0-2.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-api-3.0.5.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-autotag-core-runtime-1.1.0.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-core-3.0.5.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-el-3.0.5.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-extras-3.0.5.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-jsp-3.0.5.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-request-api-1.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-request-jsp-1.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-request-servlet-1.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-request-servlet-wildcard-1.0.6.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-servlet-3.0.5.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/tiles-template-3.0.5.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/wsdl4j-1.6.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xercesImpl-2.11.0.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xml-apis-1.4.01.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xmlbeans-2.6.0.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xmlpull-1.1.3.1.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xpp3_min-1.1.4c.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/xstream-1.4.5.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/postgresql-42.2.16.jre7.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jsoup-1.14.3-sources.jar"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib/jsoup-1.14.3.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/woosung">
|
||||
<attributes>
|
||||
<attribute name="owner.project.facets" value="jst.web"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre7">
|
||||
<attributes>
|
||||
<attribute name="owner.project.facets" value="java"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||
<classpathentry kind="lib" path="WebContent/WEB-INF/lib"/>
|
||||
<classpathentry kind="output" path="WebContent/WEB-INF/classes"/>
|
||||
</classpath>
|
||||
</classpath>
|
||||
@@ -1,30 +1,22 @@
|
||||
# PLM WACE 운영환경 설정
|
||||
# App Service Configuration
|
||||
# Note: These keys (DB_URL, DB_USER, DB_PASSWORD) might need adjustment
|
||||
# based on how the actual Java application reads them (e.g., from System.getenv()).
|
||||
# The JNDI approach suggested earlier might ignore these direct env vars.
|
||||
# DB_URL=jdbc:postgresql://plm-ilshin-db:5432/ilshin
|
||||
# DB_USER=postgres
|
||||
# DB_PASSWORD=ilshin0909!!
|
||||
|
||||
# 애플리케이션 환경
|
||||
NODE_ENV=production
|
||||
|
||||
# 데이터베이스 설정
|
||||
DB_URL=jdbc:postgresql://localhost:5432/waceplm
|
||||
DB_USERNAME=postgres
|
||||
DB_PASSWORD=waceplm0909!!
|
||||
|
||||
# PostgreSQL 환경 변수
|
||||
# DB Service Configuration
|
||||
POSTGRES_DB=waceplm
|
||||
POSTGRES_USER=postgres
|
||||
POSTGRES_PASSWORD=waceplm0909!!
|
||||
|
||||
# JVM 옵션 (운영환경용)
|
||||
JAVA_OPTS=-Xms1024m -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=1024m
|
||||
|
||||
# 로그 레벨
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
# 개발 모드 플래그
|
||||
DEBUG=false
|
||||
|
||||
# SSL 설정
|
||||
SSL_ENABLED=true
|
||||
|
||||
# 도메인 설정
|
||||
DOMAIN=waceplm.esgrin.com
|
||||
ALT_DOMAIN=autoclave.co.kr
|
||||
# You can add other environment-specific variables here
|
||||
# Example: TOMCAT_JAVA_OPTS="-Xmx512m -Xms256m"
|
||||
DB_URL=jdbc:postgresql://wace-plm-db:5432/waceplm
|
||||
DB_USERNAME=postgres
|
||||
DB_PASSWORD=waceplm0909!!
|
||||
DB_DRIVER_CLASS_NAME=org.postgresql.Driver
|
||||
DB_MAX_TOTAL=200
|
||||
DB_MAX_IDLE=50
|
||||
DB_MAX_WAIT_MILLIS=-1
|
||||
23
.project
23
.project
@@ -1,41 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>samduck</name>
|
||||
<name>wace-plm</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.common.project.facet.core.builder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.wst.validation.validationbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
|
||||
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
|
||||
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
|
||||
</natures>
|
||||
<filteredResources>
|
||||
<filter>
|
||||
<id>1756446253951</id>
|
||||
<id>1754642369857</id>
|
||||
<name></name>
|
||||
<type>30</type>
|
||||
<matcher>
|
||||
|
||||
@@ -1,183 +0,0 @@
|
||||
# WACE PLM 데이터베이스 초기화 가이드
|
||||
|
||||
## 개요
|
||||
|
||||
WACE PLM 시스템의 데이터베이스를 초기화하는 방법을 설명합니다. `db/dbexport.pgsql` 파일을 사용하여 PostgreSQL 데이터베이스에 초기 데이터를 임포트할 수 있습니다.
|
||||
|
||||
## 방법 1: 독립실행환경 (Standalone) - 권장
|
||||
|
||||
로컬 PostgreSQL 컨테이너를 포함한 완전한 독립실행환경입니다. 데이터베이스가 자동으로 초기화됩니다.
|
||||
|
||||
### 사용법
|
||||
|
||||
```bash
|
||||
# 독립실행환경으로 시작 (로컬 DB 포함)
|
||||
./start-docker-linux.sh -e standalone
|
||||
|
||||
# 또는 Docker 정리 후 시작
|
||||
./start-docker-linux.sh -e standalone -c
|
||||
```
|
||||
|
||||
### 특징
|
||||
|
||||
- 로컬 PostgreSQL 컨테이너 자동 생성
|
||||
- `dbexport.pgsql` 파일 자동 임포트
|
||||
- 외부 데이터베이스 의존성 없음
|
||||
- 접속 정보:
|
||||
- 애플리케이션: http://localhost:8090
|
||||
- 데이터베이스: localhost:5432
|
||||
- 사용자: postgres
|
||||
- 비밀번호: waceplm0909!!
|
||||
|
||||
## 방법 2: 기존 환경에서 데이터베이스 초기화
|
||||
|
||||
기존 개발환경이나 운영환경에서 외부 데이터베이스에 초기 데이터를 임포트합니다.
|
||||
|
||||
### 사용법
|
||||
|
||||
```bash
|
||||
# 개발환경 데이터베이스 초기화
|
||||
./start-docker-linux.sh -e dev -i
|
||||
|
||||
# 운영환경 데이터베이스 초기화
|
||||
./start-docker-linux.sh -e prod -i
|
||||
|
||||
# 데이터베이스 초기화만 실행 (컨테이너 시작 안함)
|
||||
./start-docker-linux.sh -i
|
||||
```
|
||||
|
||||
### 특징
|
||||
|
||||
- 기존 데이터 자동 백업 생성
|
||||
- 연결 테스트 후 임포트 실행
|
||||
- 임포트 결과 검증
|
||||
- Docker를 사용한 안전한 임포트
|
||||
|
||||
## 방법 3: 수동 스크립트 사용
|
||||
|
||||
### PostgreSQL 클라이언트 직접 사용
|
||||
|
||||
```bash
|
||||
# 기본 설정으로 초기화
|
||||
./init-db.sh
|
||||
|
||||
# 사용자 정의 설정으로 초기화
|
||||
./init-db.sh dev 211.115.91.141 11132 waceplm postgres waceplm0909!!
|
||||
```
|
||||
|
||||
### Docker를 사용한 초기화
|
||||
|
||||
```bash
|
||||
# 기본 설정으로 초기화
|
||||
./init-db-docker.sh
|
||||
|
||||
# 사용자 정의 설정으로 초기화
|
||||
./init-db-docker.sh 211.115.91.141 11132 waceplm postgres waceplm0909!!
|
||||
```
|
||||
|
||||
## 파일 구조
|
||||
|
||||
```
|
||||
db/
|
||||
├── 00-create-roles.sh # 데이터베이스 역할 생성 스크립트
|
||||
└── dbexport.pgsql # 데이터베이스 덤프 파일 (200MB+)
|
||||
|
||||
# 새로 추가된 파일들
|
||||
├── docker-compose.standalone.yml # 독립실행환경 설정
|
||||
├── init-db.sh # 수동 DB 초기화 스크립트
|
||||
├── init-db-docker.sh # Docker 기반 DB 초기화 스크립트
|
||||
└── start-docker-linux.sh # 통합 실행 스크립트 (업데이트됨)
|
||||
```
|
||||
|
||||
## 환경별 설정
|
||||
|
||||
### 개발환경 (dev)
|
||||
- Docker Compose: `docker-compose.dev.yml`
|
||||
- 환경 변수: `.env.development`
|
||||
- 외부 DB: 211.115.91.141:11132
|
||||
|
||||
### 운영환경 (prod)
|
||||
- Docker Compose: `docker-compose.prod.yml`
|
||||
- 환경 변수: `.env.production`
|
||||
- 외부 DB: 설정에 따라
|
||||
|
||||
### 독립실행환경 (standalone)
|
||||
- Docker Compose: `docker-compose.standalone.yml`
|
||||
- 로컬 PostgreSQL 컨테이너 사용
|
||||
- 자동 DB 초기화
|
||||
|
||||
## 주의사항
|
||||
|
||||
1. **대용량 파일**: `dbexport.pgsql` 파일이 200MB 이상이므로 임포트에 시간이 걸릴 수 있습니다.
|
||||
|
||||
2. **백업**: 기존 데이터가 있는 경우 자동으로 백업이 생성됩니다.
|
||||
- 백업 파일명: `backup_YYYYMMDD_HHMMSS.sql`
|
||||
|
||||
3. **권한**: 스크립트 실행 전 권한을 확인하세요.
|
||||
```bash
|
||||
chmod +x *.sh
|
||||
```
|
||||
|
||||
4. **연결 테스트**: 임포트 전에 데이터베이스 연결을 테스트합니다.
|
||||
|
||||
5. **에러 처리**: 임포트 실패 시 백업 파일을 사용하여 복원할 수 있습니다.
|
||||
|
||||
## 트러블슈팅
|
||||
|
||||
### 연결 실패
|
||||
```bash
|
||||
# 데이터베이스 서비스 상태 확인
|
||||
docker ps | grep postgres
|
||||
|
||||
# 네트워크 연결 확인
|
||||
telnet [DB_HOST] [DB_PORT]
|
||||
```
|
||||
|
||||
### 임포트 실패
|
||||
```bash
|
||||
# 로그 확인
|
||||
./start-docker-linux.sh -l
|
||||
|
||||
# 수동 복원
|
||||
psql -h [HOST] -p [PORT] -U [USER] -d [DB] < backup_YYYYMMDD_HHMMSS.sql
|
||||
```
|
||||
|
||||
### 권한 문제
|
||||
```bash
|
||||
# 스크립트 권한 확인
|
||||
ls -la *.sh
|
||||
|
||||
# 권한 부여
|
||||
chmod +x *.sh
|
||||
```
|
||||
|
||||
## 예시 사용 시나리오
|
||||
|
||||
### 최초 설치 시
|
||||
```bash
|
||||
# 1. 독립실행환경으로 시작 (권장)
|
||||
./start-docker-linux.sh -e standalone
|
||||
|
||||
# 2. 또는 개발환경에서 DB 초기화 후 시작
|
||||
./start-docker-linux.sh -e dev -i
|
||||
```
|
||||
|
||||
### 데이터 리셋 시
|
||||
```bash
|
||||
# 1. 컨테이너 중지
|
||||
./start-docker-linux.sh -s
|
||||
|
||||
# 2. Docker 정리 후 재시작
|
||||
./start-docker-linux.sh -e standalone -c
|
||||
```
|
||||
|
||||
### 운영환경 배포 시
|
||||
```bash
|
||||
# 1. 데이터베이스 초기화
|
||||
./start-docker-linux.sh -e prod -i
|
||||
|
||||
# 2. 애플리케이션 시작
|
||||
./start-docker-linux.sh -e prod
|
||||
```
|
||||
|
||||
이 가이드를 통해 WACE PLM 시스템의 데이터베이스를 안전하고 효율적으로 초기화할 수 있습니다.
|
||||
@@ -146,7 +146,6 @@ chmod +x start-docker-linux.sh
|
||||
|
||||
### 운영환경
|
||||
- 애플리케이션: https://waceplm.esgrin.com
|
||||
- 대체 도메인: https://autoclave.co.kr
|
||||
|
||||
## 트러블슈팅
|
||||
|
||||
|
||||
@@ -17,4 +17,4 @@ COPY ./tomcat-conf/context.xml /usr/local/tomcat/conf/context.xml
|
||||
EXPOSE 8080
|
||||
|
||||
# Start Tomcat
|
||||
CMD ["catalina.sh", "run"]
|
||||
CMD ["catalina.sh", "run"]
|
||||
@@ -1,4 +1,4 @@
|
||||
# PLM 솔루션 (WACE PLM)
|
||||
# PLM 솔루션 (ILSHIN)
|
||||
|
||||
## 프로젝트 개요
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
이 프로젝트는 제공된 `Dockerfile` 및 `docker-compose.yml` 파일을 사용하여 Docker 컨테이너 환경에서 실행할 수 있습니다.
|
||||
|
||||
1. **Docker 및 Docker Compose 설치:** 시스템에 Docker와 Docker Compose가 설치되어 있어야 합니다.
|
||||
2. **데이터베이스 파일 준비:** `waceplm.pgsql` 파일이 프로젝트 루트 디렉토리에 있는지 확인합니다. (필요시 `docker-compose.yml`에서 파일 경로 수정)
|
||||
2. **데이터베이스 파일 준비:** `ilshin.pgsql` 파일이 프로젝트 루트 디렉토리에 있는지 확인합니다. (필요시 `docker-compose.yml`에서 파일 경로 수정)
|
||||
3. **Docker Compose 실행:** 프로젝트 루트 디렉토리에서 다음 명령어를 실행합니다.
|
||||
```bash
|
||||
docker-compose up --build -d
|
||||
@@ -77,4 +77,4 @@
|
||||
**참고:**
|
||||
|
||||
- 애플리케이션이 데이터베이스 연결 정보를 읽는 방식 (예: JNDI, 환경 변수, 설정 파일)에 따라 `docker-compose.yml`의 `app` 서비스 환경 변수 또는 Tomcat 설정 파일 (`context.xml` 등) 수정이 필요할 수 있습니다.
|
||||
- `SETTING_GUIDE.txt`에 명시된 Tomcat 컨텍스트 경로 (`/waceplm`)를 사용하려면 `Dockerfile`에서 `WebContent`를 `/usr/local/tomcat/webapps/waceplm`로 복사하거나 Tomcat 설정을 변경해야 할 수 있습니다. 현재 설정은 `/` (ROOT) 경로로 배포됩니다.
|
||||
- `SETTING_GUIDE.txt`에 명시된 Tomcat 컨텍스트 경로 (`/ilshin`)를 사용하려면 `Dockerfile`에서 `WebContent`를 `/usr/local/tomcat/webapps/ilshin`로 복사하거나 Tomcat 설정을 변경해야 할 수 있습니다. 현재 설정은 `/` (ROOT) 경로로 배포됩니다.
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<Context docBase="woosung" path="/" reloadable="true" source="org.eclipse.jst.jee.server:woosung">
|
||||
<Resource auth="Container" driverClassName="org.postgresql.Driver" maxActive="100" maxIdle="10" maxWait="-1" name="plm" password="admin0909!!" type="javax.sql.DataSource" url="jdbc:postgresql://211.224.136.4:5432/woosung" username="postgres"/>
|
||||
<Context docBase="ilshin" path="/" reloadable="true" source="org.eclipse.jst.jee.server:ilshin">
|
||||
<Resource auth="Container" driverClassName="org.postgresql.Driver" maxActive="100" maxIdle="10" maxWait="-1" name="plm" password="admin0909!!" type="javax.sql.DataSource" url="jdbc:postgresql://211.224.136.4:5432/ilshin" username="postgres"/>
|
||||
</Context>
|
||||
BIN
WebContent/WEB-INF/classes/com/pms/common/FileRenameClass.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/FileRenameClass.class
Normal file
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/JsonUtil.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/JsonUtil.class
Normal file
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/Message.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/Message.class
Normal file
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/SqlMapConfig.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/SqlMapConfig.class
Normal file
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/UpperKeyMap.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/UpperKeyMap.class
Normal file
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/bean/BaseBean.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/bean/BaseBean.class
Normal file
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/bean/PersonBean.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/bean/PersonBean.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/Constants.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/Constants.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/ErrorUtils.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/ErrorUtils.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/MailUtil$1.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/MailUtil$1.class
Normal file
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/MailUtil$2.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/MailUtil$2.class
Normal file
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/MailUtil$3.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/MailUtil$3.class
Normal file
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/MailUtil.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/MailUtil.class
Normal file
Binary file not shown.
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/Message.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/Message.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/XMLUtil.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/common/utils/XMLUtil.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/controller/AsController.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/controller/AsController.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/controller/EOController.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/controller/EOController.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
WebContent/WEB-INF/classes/com/pms/controller/Jsmppexample.class
Normal file
BIN
WebContent/WEB-INF/classes/com/pms/controller/Jsmppexample.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user