Logidex Windows Install

From RepositoryManager-InstallGuide-J2EE.doc

Set env
JDK_HOME=c:\java\jdk1.4.2_14
LIB_ROOT=c:\logidex

Install
-Unzip lib.zip into %LIB_ROOT%
-Copy javaclients.zip to %LIB_ROOT%. Rename if necessary.
-Copy license.xml to conf
-Copy conf\lib.conf.orig to conf\lib.conf
-Edit lib.conf
logidex.password=logidex
db.server.type=oracle10
db.server.host=localhost
app.server.type=jboss4
app.server.host=localhost
web.server.host=localhost
smtp.host=smtp.my.com
db.instance.name=orcl
logidex.db.user=LOGIDEX
logidex.app.root=C:/jboss-4.0.5.GA/server/default/deploy/logidex.ear
context.root=rm
db.datafile.dir=C:/oracle/product/10.2.0/oradata/orcl
logidex.data.ts=LOGIDEXDATA
logidex.long.ts=LOGIDEXLONG
logidex.indx.ts=LOGIDEXINDX
logidex.temp.ts=LOGIDEXTEMP
temp.dir=C:/temp/rm
superuser.password=logidex_adm
app.server.root=C:/jml/prog/org/jboss/jboss-4.0.5.GA
web.server.url.host=localhost:8080
ldap.ownership.mode=guest
ldap.url=ldap://localhost:389/ou=Users,dc=example,dc=com?uid?one??
ldap.binddn=cn=Manager,dc=example,dc=com
ldap.bindpassword=secret
# MS Active Directory
#ldap.url=ldap://dc1.my.com:389/OU=United States,DC=my,DC=com?sAMAccountName?sub??
#ldap.binddn=me@my.com

Install Database
-Run from bin directory
bin>install dbsetup
Resulting a sql file: orcl.setup.sql
-From SqlPlus

bin>sqlplus /nolog
SQL> connect / as sysdba
Connected.
SQL> @orcl.setup.sql
Tablespace created.
Tablespace created.
Tablespace created.
Tablespace created.
User created.
User altered.
Grant succeeded.

Install RM into JBoss 4.0.5
-Copy jdbc driver from LIB_ROOT\lib\jdbc_12_ora9i.jar to JBOSS_HOME\server\default\lib
-Modify JBOSS_HOME\bin\run.bat (windows)

rem JVM memory allocation pool parameters. Modify as appropriate.
rem set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
set JAVA_OPTS=%JAVA_OPTS% -Xms256m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=128m

Or run.conf (unix)

JAVA_OPTS="-Xms128m -Xmx1024m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000  -XX:PermSize=128m -XX:MaxPermSize=128m"

-Modify the {app.server.root}/server/default/deploy/ear-deployer.xml and set Isolated attribute to “true”

<attribute name="Isolated">true</attribute>

-Run
%LIB_ROOT%\bin\install install

-Modify jboss-4.0.5.GA\server\default\conf\jboss-service.xml (jboss4.0.x only)

This entry was posted in R&R, soa. Bookmark the permalink.