다운로드 "jboss-eap-6.3.0.zip"
압축풀기 "jboss-eap-6.3.0.zip"
JAVA_HOME 지정
rem # rem # Specify the location of the Java home directory (it is recommended that rem # this always be set). If set, then "%JAVA_HOME%\bin\java" will be used as rem # the Java VM executable; otherwise, "%JAVA%" will be used (see below). rem # set "JAVA_HOME=C:/Program Files/Java/jdk1.6.0_45"
CONFIG_PATH 추가
rem # rem # Specify options to pass to the Java VM. Note, there are some additional rem # options that are always passed by run.bat. rem # set "JAVA_OPTS=-Xms1G -Xmx1G -XX:MaxPermSize=256M" set "JAVA_OPTS=%JAVA_OPTS% -DCONFIG_PATH=C:/glueconf"
security-manager.property 를 복사
serviceLoader.rootPath=service glue-security-dataSource.name=glue-security-dataSource-jndi #glue-security-dataSource.name=glue-security-dataSource-jdbc glue-security-dataSource.jndiname=java:jboss/jdbc/rw/GlueSecurityDS glue-security-dataSource.driverClassName=oracle.jdbc.driver.OracleDriver glue-security-dataSource.url=jdbc:oracle:thin:@127.0.0.1:1521:XE glue-security-dataSource.username=security glue-security-dataSource.password=security glueUserService.crc=true log.file.path=C:/logs/security-manager.log
라이센스 정보 파일 복사
'org.bouncycastle' module 구성
<?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.1" name="org.bouncycastle" slot="main"> <resources> <resource-root path="bcprov-jdk15-1.46.jar"/> </resources> <dependencies> <module name="javax.api" export="true"/> </dependencies> </module>
'org.apache.commons.dbcp' module 구성
<?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.1" name="org.apache.commons.dbcp" slot="main"> <resources> <resource-root path="commons-dbcp-1.4.jar"/> <resource-root path="commons-pool-1.6.jar"/> </resources> <dependencies> <module name="javax.api" export="true"/> </dependencies> </module>
관리자 계정 추가
C:\>cd jboss-eap-6.3 C:\jboss-eap-6.3>cd bin C:\jboss-eap-6.3\bin>add-user.bat JAVA_HOME is not set. Unexpected results may occur. Set JAVA_HOME to the directory of your local JDK to avoid this message. What type of user do you wish to add? a) Management User (mgmt-users.properties) b) Application User (application-users.properties) (a):
jboss 실행후 관리 콘솔 로그인
관리콘솔을 통해 JDBC Driver 추가
DBMS 별로 JDBC Driver 설치 필요
edb-jdbc16.jar
mysql-connector-java-5.1.34.jar
관리콘솔을 통해 JDBC DataSource 구성
관리콘솔을 통해 Global Modules 등록
glue-security-manager-{version}.war 을 security-manager.war 로 파일명 변경 후 deploy
jboss 재시작
로그인