Thursday, March 4, 2010

How To Install LiveCycle 8.2.2 with MSSQL 2005

This article is designed to aid in the manual installation of LiveCycle 8.2.2 with MSSQL 2005. Attached is a zip file with all the files that I reference that should be easily dropped.

This article was intended to create development environments.

JBossService_64-bit.zip

LiveCycle-JBoss-MSSQL -Install.zip

  1. Install JVM
    1. Install JDK 1.5.0.12.
    2. Create JAVA_HOME environment variable under "My Computer | Properties | Advanced" and point to your JDK installation folder.
  2. Install Database
    1. Install MSSQL 2005. The only thing you need to install is "Server" and "Client/Workstation" components.
    2. Create a database called "lc_es".
    3. Run the 6 attached scripts (*.sql) in order against the "lc_es" database. These scripts will prepare your database for Configuration Manager. These scripts will create a user called "lc_db_usr" with a password "password". NOTE: some SQL installs don't let you use "password" as a password so you will have to search and replace this password in all the files from step 6 below and the files in this step.
  3. Install LiveCycle 8.2.2
    1. Unpack the LiveCycle install files to "C:Installs".
    2. Install LiveCycle 8.2.2 using "Manual". Stop before you run configuration manager (LCM). Let the install hang here.
  4. Install JBoss
    1. Copy "C:InstallsAdobe_LC_ES_JBOSS_WIN_8.2third_partyjboss" folder to the "C:AdobeLiveCycle8.2" folder.
    2. For JBoss 4.2.0 on 64-bit Windows 2003 copy "C:InstallsAdobe_LC_ES_JBOSS_WIN_8.2third_partyjboss_4.2.0" to "C:AdobeLiveCycle8.2" and rename "jboss_4.2.0" to "jboss"
    3. Copy attached "JBossService.exe" to the "C:AdobeLiveCycle8.2jboss" folder.
    4. For JBoss 4.2.0 on 64-bit Windows 2003 you will need to use the 64-bit version of "JBossService.exe" which is also attached here.
    5. Run "InstallJBossService.bat" to install JBoss as a Windows Service.
    6. For JBoss 4.2.0 on 64-bit Windows 2003 you will need to copy "C:InstallsAdobe_LC_ES_JBOSS_WIN_8.2third_partyjbossInstallJBossService.bat" to the "C:AdobeLiveCycle8.2jboss" folder.
    7. For JBoss 4.2.0 on 64-bit Windows 2003 you will need to add "-b <your jboss server ip address>" to the parameters in "InstallJBossService.bat" before you run it. Find "-c all" and add it immediately after this. If the IP address changes you will likely have uninstall the Windows Service, change the IP address in "InstallJBossService.bat" and rerun it.
    8. To uninstall change "-install JBoss for Adobe LiveCycle ES" to "-uninstall JBoss for Adobe LiveCycle ES" and remove all the parameters after that.
  5. Deploy LiveCycle
    1. Run LCM past the step where it configures the LiveCycle components for deployement and then STOP there (at the LiveCycle ES Database Initialization screen).
    2. Copy files from the EAR files from the "C:AdobeLiveCycle8.2configurationManagerexport" folder to the "C:AdobeLiveCycle8.2jbossserveralldeploy" folder.
  6. Configure JDBC Datasource for LC and JMS
    1. Copy attached "sqljdbc.jar" to the "C:AdobeLiveCycle8.2jbossserveralllib" folder.
    2. Copy attached "jbossmq.jar" to the "C:AdobeLiveCycle8.2jbossserveralllib" folder.
    3. For JBoss 4.2.0 on 64-bit Windows 2003 ignore this step.
    4. Copy attached "mssql-ds.xml" and "adobe-ds.xml" to the "C:AdobeLiveCycle8.2jbossserveralldeploy" folder (replace existing file).
    5. Delete the file "C:AdobeLiveCycle8.2jbossserveralldeploymysql-ds.xml".
    6. Copy "standardjbosscmp-jdbc.xml", "login-config.xml", "standardjaws.xml" to the "C:AdobeLiveCycle8.2jbossserverallconf" folder (replace existing files).
    7. For JBoss 4.2.0 on 64-bit Windows 2003 copy ONLY "standardjbosscmp-jdbc.xml" and "login-config.xml" to the "C:AdobeLiveCycle8.2jbossserverallconf" folder (replace existing files).
    8. Copy "mssql-jdbc2-service.xml" and "mssql-jdbc-state-service.xml" to the "C:AdobeLiveCycle8.2jbossserveralldeploy-hasingletonjms" folder.
    9. For JBoss 4.2.0 on 64-bit Windows 2003 copy "mssql-jdbc2-service.xml" and "mssql-jdbc-state-service.xml" to the "C:AdobeLiveCycle8.2jbossserverall deploy jms" folder.
    10. Delete "mysql-jdbc2-service.xml" and "mysql-jdbc-state-service.xml".
    11. Start "JBoss
  7. Run Configuration Manager
    1. Finish running LCM.
  8. That's it

courtsey : Brad White

No comments: