Synchronization Failed Due To A Java Heap Error When Starting Application Server 8.2 Instance

(Doc ID 1357581.1)

Last updated on NOVEMBER 05, 2016

Applies to:

Oracle GlassFish Server - Version: 8.2 to 8.2 - Release: 8.2 to 8.2
Information in this document applies to any platform.

Symptoms

When starting a server instance requiring synchronization, the instance was started up successfully but the synchronization failed with exception message "Java heap space".
[#|2011-08-16T12:47:41.354+0800|WARNING|sun-appserver-ee8.2|javax.ee.enterprise.system.tools.synchronization|_ThreadID=12;|SYNC029: There was an exception during synchronization.
com.sun.enterprise.ee.synchronization.SynchronizationException: com.sun.enterprise.ee.synchronization.SynchronizationException: Error while retrieving file from central repository: ${com.sun.aas.instanceRoot}/applications/
at com.sun.enterprise.ee.synchronization.JmxSynchronizationDriver.synchronizeInternal(JmxSynchronizationDriver.java:243)
at com.sun.enterprise.ee.synchronization.JmxSynchronizationDriver.synchronize(JmxSynchronizationDriver.java:117)
at com.sun.enterprise.ee.synchronization.SynchronizationMain.main(SynchronizationMain.java:67)
Caused by: com.sun.enterprise.ee.synchronization.SynchronizationException: Error while retrieving file from central repository: ${com.sun.aas.instanceRoot}/applications/
at com.sun.enterprise.ee.synchronization.JmxGetCommand.execute(JmxGetCommand.java:75)
at com.sun.enterprise.ee.synchronization.JmxRequestMediator.execute(JmxRequestMediator.java:68)
at com.sun.enterprise.ee.synchronization.JmxRequestMediator.run(JmxRequestMediator.java:91)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.management.MBeanException: Operation 'synchronize' failed in 'Synchronization' Config Mbean.
Target exception message: Java heap space
at com.sun.enterprise.admin.MBeanHelper.extractAndWrapTargetException(MBeanHelper.java:371)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:382)
... more
Caused by: java.lang.Exception: Java heap space
at com.sun.enterprise.admin.MBeanHelper.extractAndWrapTargetException(MBeanHelper.java:360)
at com.sun.enterprise.admin.config.BaseConfigMBean.invoke(BaseConfigMBean.java:382)
at com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:815)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784)
... more

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms