다운로드 "apache-tomcat-7.0.56.zip"
압축풀기 "apache-tomcat-7.0.56.zip"
JAVA_HOME 지정
set JAVA_HOME=C:/Program Files/Java/jdk1.6.0_45
CONFIG_PATH 추가
set JAVA_OPTS=%JAVA_OPTS% -DCONFIG_PATH=C:/glueconf %LOGGING_MANAGER%
DataSource 추가 : ResourceLink와 Resource 추가
<Context> . . . <ResourceLink global="jdbc/oracle/GlueSecurityDS" name="jdbc/oracle/GlueSecurityDS" type="javax.sql.DataSource" /> </Context>
<Server ...> . . . <GlobalNamingResources> <Resource name="jdbc/oracle/GlueSecurityDS" type="javax.sql.DataSource" driverClassName="oracle.jdbc.driver.OracleDriver" maxIdle="1" username="gluesecurity" password="gluesecurity" url="jdbc:oracle:thin:@127.0.0.1:1521:XE" /> </GlobalNamingResources> </Server>
security-manager.properties 를 복사
queryLoader.rootPath=query glue-security-dataSource.jndiname=java:comp/env/jdbc/oracle/GlueSecurityDS glueUserService.crc=true log.file.path=C:/logs/security-manager.log
라이센스 정보 파일 복사
library 추가
DBMS 별로 JDBC Driver 설치 필요
edb-jdbc16.jar
mysql-connector-java-5.1.34.jar
glue-security-manager-{version}.war 을 security-manager.war 로 파일명 변경 후 deploy
tomcat 실행
로그인