SOA/WS/ebXML/ebXML
ebxml registry 설치하기
아름프로
2003. 4. 16. 15:53
먼저 설치 환경은 래드햇 8.0 입니다.
모든 작업은 /root 디렉 밑에서 하였습니다.
그전에 postgresql을 설치 하셔야 합니다.
그리고 실행해 주시고 적당한 user와 passwd 를 주셔야 합니다.
먼저 ebxml rr 소스가 필요한데..
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebxmlrr login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebxmlrr co ebxmlrr
로 소스를 받습니다.
그러면 /root/ebxmlrr 이란 디렉이 생기고 필요한 코드가 있을 것입니다.
그리고 buid.properties.template --> build.properties 로 바꾸고 아래와 같이 설정 해주십시요
# This file contains the properties for DEPLOYMENT of ebxmlrr. The RUNTIME
# properties should be set in ebxmlrr.properties in your home directory. You
# should copy this file and rename it as build.properties and edit the file.
#
# $Header: /cvsroot/ebxmlrr/ebxmlrr/build.properties.template,v 1.12 2002/12/30 04:00:30 skchonghk Exp $
# JAVA_HOME must be set in environment.
# Other environment properties should be set in this file.
# (use forward slashes for separators for all platforms)
ebxmlrr.home=${user.home}/ebxmlrr <-- ebxmlrr 의 위치
# the location of your JavaCC directory
javacc.home=./misc/lib
# Distribution version. Users need not edit this
dist.version=2.1-beta1
# The directory for storing repository items. When you execute a appropriate
# target in build.xml, this directory will be created for you.
ebxmlrr.repository.home=${ebxmlrr.home}/data/repository
# tomcat installation home
catalina.home=/root/jakarta-tomcat-4.0.6 <--- 탐캣의 위치
( 탐캣을 받으신후 적당한 곳에 압축을 푸세요
전 /root 에서 작업했습니다.)
# ebxmlrr SOAP interface URL
ebxmlrr.url.soap=http://localhost:8080/ebxmlrr/registry/soap
# Path of JDBC driver
jdbcDriver=${build.home}/lib/postgresql.jar
#jdbcDriver=C:/oracle/ora92/jdbc/lib/classes12.jar
# JDBC connection URL
dbURL=jdbc:postgresql://localhost:5432/registry
#dbURL=jdbc:oracle:thin:@localhost:1521:test
# Database username
dbUsername=pgsql
( 아까말한 db user 이름)
# Database password
dbPassword=123456
( 패스워드)
# JDBC driver class
jdbcClassName=org.postgresql.Driver
#jdbcClassName=oracle.jdbc.driver.OracleDriver
#
#Used in calls to SOAPSender in build.xml
#Set to true if you want to test without Tomcat (useful for ebxmlrr dev team)
#Set to false by default and if you are a user
localCall=false
#
#Used to control apache common logging
#Use SimpleLog to have logging output
#apacheLog=org.apache.commons.logging.impl.SimpleLog
apacheLog=org.apache.commons.logging.impl.NoOpLog
그리고 ./build.sh
을 실행 시키면 되는데 잘 안될 것입니다.
( 안되는 분들은 링크에서 제것을 가져 다가 하시면 됩니다.)
( 이유는 모르겠습니다만은 !!)
암튼 이렇게 하면 /root/ebxmlrr/build 디렉에 필요한 클래스들이 ..컴팔되어 있습니다.
그리고 나서 아마도 ./build.sh deploy
해주시면 /root/jakarta-tomcat-4.0.6/webapps/ 에 ebxmlrr이란 디렉이 생기면서
레지스트리 서버가 인스톨 될 것입니다.
( 당연히 탐캣을 시작해 주셔야 겠죠.)
/root/jakarta-tomcat-4.0.6/bin/startup.sh
하시고
logs 디렉에 가셔서 실행상에 문제가 없는지 살펴보십시오.
전 xalan 버젼이 낮다는 예외가 발생해서
이런 예외를 발생 시키지 않도록 코드를 고쳤습니다.
그리고 설명서대로 ./build.sh genKeys
하시고 ./build.sh createDemoDB 하셔서 레지스트리 운영에 필요한 디비를 만들어 주세요
그리고 다하셨으면
./build.sh test 하세요.
그럼 화면상에 성공여부를 알수 있는 xml 메시지가 나타 날 것입니다.
전 1달전에 이 걸 설치하려다가 못하고 ( 그때도 설치는 했는데...)
지금에서야 설치하고 테스트 해 보았습니다.
잘 설치 되었는지 더 알 수 있는 방법은 ebxmlrr-client를 받으셔서
( 제걸 받으시면 /root/ebxmlrr/ebxmlrr-client-beta2에 있습니다.)
빌드 하시고 실행 하시면
( cd build/lib ; java -jar registry-browser.jar 하시고
화면이 뜨면 첫번째 로컬 호스트로 접속해 보시면...됩니다.
그리고 아래 제 강좌예제에 RegistryBrowser.java 메인 함수의
연결 부분을 http://localhost:8080/ebxmlrr/registry/soap로
연결하시면 정상 작동하는 것을 보실수 있을 겁니다.
***** 아름다운프로님에 의해서 게시물 복사 + 카테고리변경되었습니다 (2003-12-18 16:51)
모든 작업은 /root 디렉 밑에서 하였습니다.
그전에 postgresql을 설치 하셔야 합니다.
그리고 실행해 주시고 적당한 user와 passwd 를 주셔야 합니다.
먼저 ebxml rr 소스가 필요한데..
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebxmlrr login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ebxmlrr co ebxmlrr
로 소스를 받습니다.
그러면 /root/ebxmlrr 이란 디렉이 생기고 필요한 코드가 있을 것입니다.
그리고 buid.properties.template --> build.properties 로 바꾸고 아래와 같이 설정 해주십시요
# This file contains the properties for DEPLOYMENT of ebxmlrr. The RUNTIME
# properties should be set in ebxmlrr.properties in your home directory. You
# should copy this file and rename it as build.properties and edit the file.
#
# $Header: /cvsroot/ebxmlrr/ebxmlrr/build.properties.template,v 1.12 2002/12/30 04:00:30 skchonghk Exp $
# JAVA_HOME must be set in environment.
# Other environment properties should be set in this file.
# (use forward slashes for separators for all platforms)
ebxmlrr.home=${user.home}/ebxmlrr <-- ebxmlrr 의 위치
# the location of your JavaCC directory
javacc.home=./misc/lib
# Distribution version. Users need not edit this
dist.version=2.1-beta1
# The directory for storing repository items. When you execute a appropriate
# target in build.xml, this directory will be created for you.
ebxmlrr.repository.home=${ebxmlrr.home}/data/repository
# tomcat installation home
catalina.home=/root/jakarta-tomcat-4.0.6 <--- 탐캣의 위치
( 탐캣을 받으신후 적당한 곳에 압축을 푸세요
전 /root 에서 작업했습니다.)
# ebxmlrr SOAP interface URL
ebxmlrr.url.soap=http://localhost:8080/ebxmlrr/registry/soap
# Path of JDBC driver
jdbcDriver=${build.home}/lib/postgresql.jar
#jdbcDriver=C:/oracle/ora92/jdbc/lib/classes12.jar
# JDBC connection URL
dbURL=jdbc:postgresql://localhost:5432/registry
#dbURL=jdbc:oracle:thin:@localhost:1521:test
# Database username
dbUsername=pgsql
( 아까말한 db user 이름)
# Database password
dbPassword=123456
( 패스워드)
# JDBC driver class
jdbcClassName=org.postgresql.Driver
#jdbcClassName=oracle.jdbc.driver.OracleDriver
#
#Used in calls to SOAPSender in build.xml
#Set to true if you want to test without Tomcat (useful for ebxmlrr dev team)
#Set to false by default and if you are a user
localCall=false
#
#Used to control apache common logging
#Use SimpleLog to have logging output
#apacheLog=org.apache.commons.logging.impl.SimpleLog
apacheLog=org.apache.commons.logging.impl.NoOpLog
그리고 ./build.sh
을 실행 시키면 되는데 잘 안될 것입니다.
( 안되는 분들은 링크에서 제것을 가져 다가 하시면 됩니다.)
( 이유는 모르겠습니다만은 !!)
암튼 이렇게 하면 /root/ebxmlrr/build 디렉에 필요한 클래스들이 ..컴팔되어 있습니다.
그리고 나서 아마도 ./build.sh deploy
해주시면 /root/jakarta-tomcat-4.0.6/webapps/ 에 ebxmlrr이란 디렉이 생기면서
레지스트리 서버가 인스톨 될 것입니다.
( 당연히 탐캣을 시작해 주셔야 겠죠.)
/root/jakarta-tomcat-4.0.6/bin/startup.sh
하시고
logs 디렉에 가셔서 실행상에 문제가 없는지 살펴보십시오.
전 xalan 버젼이 낮다는 예외가 발생해서
이런 예외를 발생 시키지 않도록 코드를 고쳤습니다.
그리고 설명서대로 ./build.sh genKeys
하시고 ./build.sh createDemoDB 하셔서 레지스트리 운영에 필요한 디비를 만들어 주세요
그리고 다하셨으면
./build.sh test 하세요.
그럼 화면상에 성공여부를 알수 있는 xml 메시지가 나타 날 것입니다.
전 1달전에 이 걸 설치하려다가 못하고 ( 그때도 설치는 했는데...)
지금에서야 설치하고 테스트 해 보았습니다.
잘 설치 되었는지 더 알 수 있는 방법은 ebxmlrr-client를 받으셔서
( 제걸 받으시면 /root/ebxmlrr/ebxmlrr-client-beta2에 있습니다.)
빌드 하시고 실행 하시면
( cd build/lib ; java -jar registry-browser.jar 하시고
화면이 뜨면 첫번째 로컬 호스트로 접속해 보시면...됩니다.
그리고 아래 제 강좌예제에 RegistryBrowser.java 메인 함수의
연결 부분을 http://localhost:8080/ebxmlrr/registry/soap로
연결하시면 정상 작동하는 것을 보실수 있을 겁니다.
***** 아름다운프로님에 의해서 게시물 복사 + 카테고리변경되었습니다 (2003-12-18 16:51)