3.x: RHEL/CentOS 6.5 Multi-Server Installation

3.x: RHEL/CentOS 6.5 Multi-Server Installation

Ephesoft Linux Multi-Server Installation guide – Red Hat/CentOS 6.5 (CentOS 6.X and Transact 4.X are not compliant, only for testing!) Prerequisites Following configuration is required for installing Ephesoft on Linux machine … Continued
Changing log locations in Windows

Changing log locations in Windows

  Question: Customer would like to change the location of the log files in Ephesoft such as the <ephesoft installation>/JavaAppServer/logs directory. Answer: 1. Application Logs Edit <ephesoft installation>\Application\log4j.xml and replace … Continued
Java OutofMemory Error

Java OutofMemory Error

Issue: Exception in thread “pool-4-thread-5” java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390) at java.lang.StringBuilder.append(StringBuilder.java:119) at com.ephesoft.dcma.util.EphesoftStringUtil.concatenate(EphesoftStringUtil.java:194) at com.ephesoft.dcma.core.threadpool.EphesoftProcessExecutor.executeProcess(EphesoftProcessExecutor.java:249) at com.ephesoft.dcma.core.threadpool.EphesoftProcessExecutor.run(EphesoftProcessExecutor.java:186) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Solution: … Continued
Control Log File Size

Control Log File Size

Go to [EphesoftInstallationDirectory]\JavaAppServer\lib\log4j.properties. Make sure to limit the size of catalina.log file and its back up count by writing sample configuration as follows: log4j.appender.CATALINA=org.apache.log4j.RollingFileAppender log4j.appender.CATALINA.File=${catalina.base}/logs/catalina.log. log4j.appender.CATALINA.Append=true log4j.appender.CATALINA.MaxFileSize=2MB log4j.appender.CATALINA.MaxBackupIndex = 30 … Continued