"Unable to connect to the server specified" error during the replication of Symantec Endpoint Protection Manager

Article Id:151651

Status:Published

Updated On:29-11-2011 06:06

Legacy Id:TECH106224

Products:

Endpoint Protection

Issue/Introduction:

In this document the "Source Manager" will be the Symantec Endpoint Protection Manager (SEPM) connected to the database that is to be replicated and "Destination Manager" the Symantec Endpoint Protection Manager whose database will be created as a replication of the source Manager Database.

After a SEPM Replication Partner is added, the error "Unable to connect to the server specified" occurs.
There may be other errors.

Symptoms
The following errors occur:

Error "Unable to connect to the server specified" during the first replication on the destination Manager, while trying to add the replication partner via the Management Server Configuration Wizard. After this error the destination Manager installation is damaged due to the database replication failure.

at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:768)
at java.security.KeyStore.load(KeyStore.java:1150)
at org.apache.tomcat.util.net.jsse.JSSESocketFactory.getStore(JSSESocketFactory.java:287)

Cause:

The SEPM is a Java-based application, much of its performance is related to the size of the "Java Heap".
Modifying the settings that control the size of the Java Heap will improve the performance of a wide variety of the functions performed by the Symantec Endpoint Protection Manager.

Resolution:

To adjust the Symantec Endpoint Protection Manager heap size:

Click Start> Run.

In the Run dialog box, type regedit

Press Enter.

Locate the following registry key: HKLM\SYSTEM\CurrentControlSet\Services\semsrv\Parameters\

Locate the following keys: JVM Option Number 0
JVM Option Number 1

Adjust the key values upward, and for optimal performance, match the key values.
For example, to create a 1 GB static heap, set: "JVM Option Number 0" to "-Xms512m", and set "JVM Option Number 1" to "-Xmx1024m".

Technical Information
The Heap Size for Symantec Endpoint Protection Manager is specified with two values, stored in the registry.

JVM Option 0 specifies the minimum size of the Java Heap

JVM Option 1 specifies the maximum size of the Java Heap.

The default value for JVM Option 1 is 256 MB, while the default value for JVM Option 0 was reduced from 256 MB to 64 MB in SEP 11 MR2 to reduce the memory footprint of the application in smaller environments - the application will automatically increase the size of the Java Heap as required until it encounters the configured maximum size.

These values can be increased to better suit the available resources on the computer; performance can be optimized by following the guidelines below:

The Java Heap starting value () must not be larger that the Java Heap maximum value ().

If the working size of the Java Heap exceeds the available physical RAM, the computer will begin paging the Java Heap. This will dramatically increase Disk I/O and reduce the overall performance.

Note: Always allow for at least 256 MB to be allocated to the Operating System.
For Example: On a computer with 1 GB of RAM, the maximum value for the Java Heap should not exceed 768 MB.