Showing posts with label RemoteContainerService. Show all posts
Showing posts with label RemoteContainerService. Show all posts

Tuesday, March 26, 2013

RemotingContainer Service May Not Start Due to Event Viewer Log File Being Full


Applies to:
Oracle Agile Product Data Management for Process - Version: 6.0.0.3 and later [Release: 6.0.0.0 and later ]
Information in this document applies to any platform.
Symptoms
After configuring Content Synchronization and Syndication (CSS), the RemotingContainer service may
sporadically fail to start.
The following error message appears in the remotecontainer-stdout.log file,
"System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port)
is normally permitted at RemotingContainer.RemotingContainer.RunRemoteServer_Internal()."
An additional symptom of the syndication event log file being full is the error message listed below (from the
Windows application event log):
The description for Event ID ( 0 ) in Source ( Syndication Services ) cannot be found. The local computer may
not have the necessary registry information or message DLL files to display messages from a remote computer.
You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details.
The following information is part of the event: System.ComponentModel.Win32Exception: The event log file is
full
at System.Diagnostics.EventLog.InternalWriteEvent(UInt32 eventID, UInt16 category, EventLogEntryType type,
String[] strings, Byte[] rawData, String currentMachineName)
Steps to Reproduce:
1. Start > Settings > Control Panel > Administrative Tools > Services.
2. Select 'RemotingContainer' Service
3. Click Start.
4. RemotingContainer service fails to start.

Business Impact:
When the remoting container is not running, there are a number of specialized background processes that will
not work. For example, it is not possible to transfer admin data from one environment to another
environment.


Cause

As CSS polls every 5 minutes generating a large number of information events in the Syndication event log, the
log can become full in less than 7 days. The full event log, in turn, prevented the remoting container service
from starting correctly resulting in the error,
"System.Net.Sockets.SocketException: Only one usage of each socket address (protocol/network address/port)
is normally permitted at RemotingContainer.RemotingContainer.RunRemoteServer_Internal()."

Solution
It is necessary to ensure that the event log will not become full too quickly without the option to write to the
log. For this reason, follow the procedure below to change any event log that will become full in less than 7
days:
1. Navigate to Event Viewer - Start > Settings > Control Panel > Administrative Tools > Event viewer or
Navigate to Start > Administrative Tools > Event Viewer
2. Right mouse click on the syndication event log and choose properties.
3. Change the syndication event log option from "Overwrite events older than 7 days" to "Overwrite events as
needed".
4. Click OK to save the change.

Note
: If you would still like to maintain a 7 day log, another option would be to increase the size of the log
file. The option to change the event log size is also found under the properties of the event log.

Syndicate Internal Reconciler Stopped with Error, 'Css:Syndicationresponse/Css:Header/Css:Messageidentifier' Cannot Be Null

Applies to:
Oracle Agile Product Data Management for Process - Version: 6.0.0.4 and later [Release: 6.0.0.0 and later ]
Information in this document applies to any platform.

Symptoms
Syndication was working fine initially but suddenly began to produce an error causing the RemotingContainer
service to abort.
Xeno.Prodika.Common.AssertionException: Value 'css:syndicationResponse/css:header/css:messageIdentifier'
cannot be null
at Xeno.Prodika.Common.Assert.Fail(String msg)
at Xeno.Prodika.Common.Assert.NotNull(String name, Object value)
at Xeno.Prodika.CSS.Reconciliation.CrossReferenceResponse.get_CorrelationID()
at Xeno.Prodika.CSS.Reconciliation.StandardCssReconciler.GetStandardSql(ICollection responses)
at Xeno.Prodika.CSS.Reconciliation.StandardCssReconciler.LoadRelatedTips(ICollection responses)
at Xeno.Prodika.CSS.Reconciliation.StandardCssReconciler.Reconcile()
at Xeno.Prodika.CSS.Service.StandardCssService.ReconcileTips(String cssNamespace)
at Xeno.Prodika.CSS.Syndication.CssTipReconciliationPoller.PerformPoll(IPollingSyndicateConfig args)
at Xeno.Prodika.Services.Syndication.SingleThreadedPollerBase.Poll(Object args)
at Xeno.Prodika.Services.Syndication.PollingSyndicate.Poll()
at Xeno.Prodika.Services.Syndication.PollingSyndicate.OnTimeElapsed(Object source)
----------------
Syndicate state
----------------
Name: Internal_Reconciler
Last Run: 10/21/2011 11:03:11 AM
Poll count: 0
Polling Frequency: 300000
Start Point: 10/21/2011 11:03:11 AM
Start Date: 12/19/2005 9:36:00 PM
Timestamp: 10/21/2011 11:03:11 AM
Steps to Reproduce:
1. Creating ingredient specs.
2. Adding publication when its in draft status.
3. Upon approving the ingredient specification, publication automatically moves Stage for Syndication status.
4. RemotingContainer service stops and needs to be restarted.

Cause
Syndicate Internal Reconciler stopped due to invalid data in the inbound data directory (e.g. CSS/in) which
could not be processed.
Solution
1. Clear the contents of the inbound data directory. This directory is specified in the CSSLibConfig.xml
configuration file.

To check the configuration of the CSSLibConfig.xml, the file is located in the directory: %PRODIKA_HOME%
\Config\Extensions\.

The inbound data directory is where the Transactive Item Publications (TIPs) are stored (in xml format)
containing data that is imported into PLM for Process.
2. Restart the RemotingContainer service (Start > Control Panel > Administrative Tools > Services > Select
RemotingContainer Service, press right mouse key and select "Start" from the context menu).