By default, the EPXTomcat service is installed as a 32-bit application and can be configured to use up to 4 GB of memory. If you need more memory, EPXTomcat can be configured as a 64-bit application. Different configuration files are used to define the classpath for the service depending upon whether it is configured as 32-bit or 64-bit.
-
<drive>:\Enterworks\EPX\bin\wrapper.exe
:EPXTomcat
service is configured as 32-bit. -
<drive>:\Enterworks\EPX\bin\EPXService64.exe
:EPXTomcat
service is configured as 64-bit.
To determine if EPXTomcat has been configured as 32-bit or 64-bit, see: Determine if EPXTomcat is Configured as 32-bit or 64-bit.
To configure EPXTomcat service to be 64-bit:
- If EPX services are running, Stop EPX Services.
- Open a command prompt as Administrator.
- Change the current directory to:
<drive>:\Enterworks\EPX\bin
- Execute the command:
wrapper.exe -r "<drive>:\Enterworks\EPX\bin\EPX_Web_Wrapper.conf"
- Edit the file:
<drive>:\Enterworks\EPX\bin\EPXTomcatService64.bat
- Update the
ENTERWORKS_TOP
setting to point to the<drive>:\Enterworks folder
. - Update the jvm max memory setting --
JvmMx 6144
to have the desired maximum memory in megabytes. - Change the
CLASSPATH
reference forjdbcBIC.jar
to point to the actual folder:<drive>:\Enterworks\EPX\bin\agents\<server>
- Change the
CLASSPATH
reference to thestandalone/configuration/conf
folder to match what is specified in the file:<drive>:\Enterworks\EPX\bin\EPX_Web_Wrapper.conf
- At the bottom of the classpath statements, add:
rem Add classpaths for any custom .jar files below this comment.
- Compare the classpaths defined in
EPXTomcatService64.bat
with the classpaths defined in theEPX_Web_Wrapper.conf
file. Make sure that all the classpaths that are defined inEPX_Web_Wrapper.conf
are defined inEPXTomcatService64.bat
and that they have the correct .jar file version numbers. Put classpaths forany custom .jar files below the comment. - Save the file.
- Update the
- Install the new EPXTomcat service wrapper by executing the command:
EPXTomcatService64.bat install
- If this environment is distributed and it uses a network service account that is not mapped
to a drive, you must set the EPXTomcat service's Log On properties:
- Open the Services window, right-click EPXTomcat, and select Properties. The Properties window will appear.
- Open the Log On tab.
- Select This account and enter the network service account's name and password.
- Click Apply.
- Edit the file
Add the following text right above the set of<drive>:\Enterworks\EPX\bin\EPX_Web_Wrapper.conf
wrapper.java.classpath
entries, then save the file.######################################################################## # # N O T I C E ! ! ! ! # # This file has been supplanted by the EPXTomcatService64.bat file. Any change that # would have been made here needs to be made to the EPXTomcatService64.bat file and # then the service must be re-installed to make those changes go into effect. # # N O T I C E ! ! ! ! # ########################################################################
- If you are in the process of installing or upgrading EnterWorks, do not start EPX
Services now. If your EnterWorks system is already operational, run the following as
an Administrator:
<drive>:\Enterworks\bin\EPX Start.cmd
You have finished configuring EPXTomcat to run as a 64-bit service.