1) MAPI uses 32-bit Java, so this needs to be installed on the AR System Server machine 2) Login to the AR System Server machine as the target profile user, create the 32-bit Mail profile (ensure Outlook is installed) 3) Create the new Mailbox to use MAPI, select the profile above to use 4) Login as Administrator, set Log On tab of Email Engine Service to login as the Profile user, then log out 5) Login to the AR System Server machine as profile user 6) Make a copy of the EmailStart.bat, modify EmailStart.bat to use 32-bit Java
As below: ------------------------------------------------------------- echo off rem ===================================================================== rem This batch file assumes that it is being run from the install directory rem and that java is in the the PATH. rem ===================================================================== rem -s servername -u username -p application password set LIBVER=81_build001 set JavaPath=C:\Program Files (x86)\Java\jre7\bin set JAVA_OPTS="-Xms256m -Xmx1024m -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false" "%JavaPath%\java" "%JAVA_OPTS%" -cp emaildaemon.jar;.;log4j-1.2.14.jar;arapi%LIBVER%.jar;arutil%LIBVER%.jar;activation.jar;icu4j.jar;mail.jar;imap.jar;smtp.jar;pop3.jar;armapi%LIBVER%.jar com.bmc.arsys.emaildaemon.EmailDaemon %* ------------------------------------------------------------- 7) Ensure 32-bit Java path is in the PATH variable 8) Test the Email Engine functionality by starting it via the EmailStart.bat file from the command line 9) Modify the Registry for the Email Engine service to use 32-bit Java (backup of registry is recommended) As below: ------------------------------------------------------------- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\BMC Remedy Email Engine - <hostname 1>\Parameters] "Current Directory"="C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail" "JVM Library"="C:\\PROGRA~2\\Java\\jre7\\bin\\client\\jvm.dll" "JVM Option Count"=dword:00000005 "JVM Option Number 0"="-Djava.library.path=C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail" "JVM Option Number 1"="-Djava.class.path=C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\emaildaemon.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\commons-configuration-1.3.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\commons-beanutils.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\commons-collections-3.2.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\commons-digester-1.7.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\commons-lang-2.2.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\icu4j.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\spring.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\commons-logging-1.1.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\commons-codec-1.3.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\Logger.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\log4j-1.2.14.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\arapi81_build001.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\arutil81_build001.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\arrpc81_build001.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\oncrpc.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\arcmn81_build001.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\activation.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\mail.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\imap.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\smtp.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\pop3.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\armapi81_build001.jar;C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail;." "JVM Option Number 2"=" -Xms256m" "JVM Option Number 3"=" -Xmx1024m" "Start Class"="com.bmc.arsys.emaildaemon.EmailDaemon" "Start Method"="main" "Start Param Count"=dword:00000000 "Stop Class"="com.bmc.arsys.emaildaemon.EmailDaemon" "Stop Method"="stopAllThreads" "Stop Param Count"=dword:00000000 "System.err File"="C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\logs\\stderr.log" "System.out File"="C:\\PROGRA~1\\BMCSOF~1\\ARSystem\\AREmail\\logs\\stdout.log" ------------------------------------------------------------- 10) Backup the 64-bit binaries armaild.exe & emaild.exe as armaild_64.exe & emaild_64.exe 11) Swap in the 32-bit armaild.exe & emaild.exe binaries 12) Start the Email Engine service NOTE: To get the required 32-bit binaries, you can either extract them from the installer (using the same version and Service Pack level you already have) or raise a support issue and request them to be sent to you. -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[email protected]] On Behalf Of Jim Hetfield Sent: 5 December 2014 03:39 To: [email protected] Subject: 8.1 Email Engine installed as 64 bit, how to switch to 32 bit? Listers, I was asked to troubleshoot a new email engine instance, as the person installing it had issues. The issue turns out that the 64 bit EE was installed rather than 32 bit (MAPI). I recall there was a method to swap that out by replacing armaild with the 32 bit version, updating paths and a registry update I believe among other items. Can anyone share the complete process for accomplishing this? Google has not been my friend.. TIA _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years" _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"

