Page History
...
- Modify the following entry to the JBoss run.bat file which is located at
<application_root_directory>/jboss-4.0.5.GA/bin/run.bat
. Find the line that begins with "set JAVA_OPTS= -Dbda=bda -Dprogram.name=%PROGNAME% -server", modify the "-Xms256m -Xmx512m" to read "-Xms4096m -Xmx4096m".
{info:title=Note If 4096m is higher than the physical memory on the machine, then performance could be severely impacted with performance degradation and errors. 4096m of physical memory is recommended.Info Warning title Warning Be careful when copying and pasting from this document, whether PDF or MS Word. No spaces must come before and after the columns. A safe way to ensure that the text has no unwanted space and unwanted characters is to copy the text into a blank text editor such as NotePad first. Then you can correct the spacing and copy-paste back into the run.bat file.
- Restart your JBoss 4.0.5 server for the changes to take effect. The method of doing this may depend on the start/stop/restart scripts you created after the installation. Most commonly, you can execute shutdown.bat and then run.bat under $JBOSS_HOME/bin. Refer to the publicly available JBoss user's guide at http://www.jboss.org for more information.
Configuring JBoss Servers and MySQL Server to Run as Services
Info title Note MySQL and the JBoss server that make up caIntegrator, and the JBoss server optionally installed for UPT, must run continually as services. The instructions in this section cover all of these scenarios. For a caIntegrator deployment, there are at least three servers, and if UPT is installed, four servers: * JBoss 4.0.4 for UPT (optional)
- JBoss 4.0.5 (for caIntegratorapplication)
- MySQL 5.0.45|
Running JBoss as a Service
BEFORE RUNNING JBOSS
Before starting the caIntegrator JBOSS server, change the default location for user data. User data consists of various files that are saved by caIntegrator during the deployment and querying of studies. The default location for user data should be changed via the Djava.io.tmpdir jvm parameter in the jboss run.conf file.
Example jvm parameter: -Djava.io.tmpdir=/local/content/caintegrator/jvmtmp
|Note title BEFORE YOU BEGIN The default caIntegrator installation runs JBoss as a command line process using the user currently logged on. Therefore, when you log out as this user, JBoss will no longer be available for caIntegrator. For that reason, it is recommended that you configure your JBoss servers to run as a Linux or Windows service. The instructions are contained in this section.
To run JBoss as a service, follow these steps:Linux
See http://wiki.jboss.org/wiki/Wiki.jsp?page=StartJBossOnBootWithLinux.Windows
To run an existing JBoss command line installation as a service, follow the directions for creating a user-defined service at http://support.microsoft.com/kb/137890/EN-US/
You need to have access to the Windows Resource Kit.Info title Note
Running MySQL as a Service
Info title Note It is assumed that your MySQL server was installed as a service. If it was not, follow these recommendations for installing this server as a service.
...