| Summary: | If jgroups-multiplexer-stack is true EPP 5.2 throws error parsing the jgroups config file. | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Portal Platform 5 | Reporter: | Gary Hu <garyhu2> |
| Component: | unspecified | Assignee: | Default User <jbpapp-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.2.0.GA | CC: | ahgsa, garyhu2, hfnukal, mweiler |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/JBEPP-1490 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-08-16 11:13:42 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Gary Hu
2012-01-24 21:04:44 UTC
Here is the code that throws the error:
org.exoplatform.services.jcr.jbosscache.ExoJBossCacheFactory
// JGroups multiplexer configuration if enabled
if (parameterEntry.getParameterBoolean(JGROUPS_MUX_ENABLED, false))
{
try
{
// Get path to JGroups configuration
String jgroupsConfigurationFilePath = parameterEntry.getParameterValue(JGROUPS_CONFIG);
if (jgroupsConfigurationFilePath != null)
{
// Create and inject multiplexer factory
CHANNEL_FACTORY.setMultiplexerConfig(configurationManager.getResource(jgroupsConfigurationFilePath));
cache.getConfiguration().getRuntimeConfig().setMuxChannelFactory(CHANNEL_FACTORY);
log.info("Multiplexer stack successfully enabled for the cache.");
}
}
catch (Exception e)
{
// exception occurred setting mux factory
throw new RepositoryConfigurationException("Error setting multiplexer configuration.", e);
}
EPP 5.2 uses shared transport instead of multiplexer feature of jGroups: https://bugzilla.redhat.com/show_bug.cgi?id=794144 jgroups-multiplexer-stack properties need to be set to 'false' (as is the default in 5.2): https://access.redhat.com/knowledge/solutions/69547 |