File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Portals and Portlets and the fly likes EXO Platform Cluster Configuration Error. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "EXO Platform Cluster Configuration Error." Watch "EXO Platform Cluster Configuration Error." New topic
Author

EXO Platform Cluster Configuration Error.

asr chowdary
Ranch Hand

Joined: Mar 14, 2013
Posts: 35
Hi All,

I try to configure Clustering for EXO Platform 4

Machine A(Exo platform) pointing to MySQL Database,

changes
...............

1.bin/setenv.sh

$EXO_PROFILES ] && EXO_PROFILES="default,cluster"

2.server.xml (uncommented below line)

<Cluster className="org.apache.catalina.ha.tcp.SimpleTcpCluster"/>

3.configuration.properties

gatein.jcr.config.type=cluster
exo.shared.dir=${catalina.base}/../platform-cluster
gatein.jcr.storage.data.dir=${exo.shared.dir}/jcr/values

After these changes I ran the server,now getting the below error


2013-08-08 12:01:59,274 | INFO | HHH000126: Indexes: [name, primary] [org.hibernate.tool.hbm2ddl.TableMetadata<Catalina-startStop-1>]
2013-08-08 12:01:59,276 | INFO | HHH000232: Schema update complete [org.hibernate.tool.hbm2ddl.SchemaUpdate<Catalina-startStop-1>]
2013-08-08 12:01:59,417 | ERROR | Failed to instanciate plugin QueryUpgradePlugin for component org.exoplatform.commons.upgrade.UpgradeProductService@6480278f: Cannot instantiate component key=org.exoplatform.services.cms.queries.QueryService type=org.exoplatform.services.cms.queries.impl.QueryServiceImpl found at jndi:/localhost/ecm-wcm-extension/WEB-INF/conf/dms-extension/dms/dms-queries-configuration.xml [e.kernel.container.MX4JComponentAdapter<Catalina-startStop-1>]
java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.cms.queries.QueryService type=org.exoplatform.services.cms.queries.impl.QueryServiceImpl found at jndi:/localhost/ecm-wcm-extension/WEB-INF/conf/dms-extension/dms/dms-queries-configuration.xml
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:135) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:412) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.jmx.MX4JComponentAdapter.addComponentPlugin(MX4JComponentAdapter.java:155) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:114) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstancesOfType(ConcurrentPicoContainer.java:366) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.CachingContainer.getComponentInstancesOfType(CachingContainer.java:111) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.LifecycleVisitor.visitContainer(LifecycleVisitor.java:151) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.accept(ConcurrentPicoContainer.java:615) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_20]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.6.0_20]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.6.0_20]
at java.lang.reflect.Method.invoke(Method.java:616) ~[na:1.6.0_20]
at org.picocontainer.defaults.AbstractPicoVisitor.traverse(AbstractPicoVisitor.java:32) [picocontainer-1.1.jar:1.1]
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:90) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.LifecycleVisitor.start(LifecycleVisitor.java:170) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.start(ConcurrentPicoContainer.java:554) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ExoContainer.start(ExoContainer.java:270) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.PortalContainer.start(PortalContainer.java:679) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ExoContainer.start(ExoContainer.java:258) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.RootContainer.createPortalContainer(RootContainer.java:678) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.RootContainer.createPortalContainers(RootContainer.java:343) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.platform.server.tomcat.PortalContainersCreator$1.run(PortalContainersCreator.java:53) [plf-shared-tomcat-pc-creator-listener-4.0.0.jar:4.0.0]
at org.exoplatform.platform.server.tomcat.PortalContainersCreator$1.run(PortalContainersCreator.java:51) [plf-shared-tomcat-pc-creator-listener-4.0.0.jar:4.0.0]
at org.exoplatform.commons.utils.SecurityHelper.doPrivilegedAction(SecurityHelper.java:290) [exo.kernel.commons-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.platform.server.tomcat.PortalContainersCreator.createPortalContainers(PortalContainersCreator.java:51) [plf-shared-tomcat-pc-creator-listener-4.0.0.jar:4.0.0]
at org.exoplatform.platform.server.tomcat.PortalContainersCreator.lifecycleEvent(PortalContainersCreator.java:40) [plf-shared-tomcat-pc-creator-listener-4.0.0.jar:4.0.0]
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) [catalina.jar:7.0.39]
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) [catalina.jar:7.0.39]
at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402) [catalina.jar:7.0.39]
at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:347) [catalina.jar:7.0.39]
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1140) [catalina.jar:7.0.39]
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:800) [catalina.jar:7.0.39]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) [catalina.jar:7.0.39]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559) [catalina.jar:7.0.39]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549) [catalina.jar:7.0.39]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.6.0_20]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [na:1.6.0_20]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [na:1.6.0_20]
at java.lang.Thread.run(Thread.java:636) [na:1.6.0_20]
Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.organization.OrganizationService type=org.exoplatform.services.organization.idm.PicketLinkIDMOrganizationServiceImpl found at jndi:/localhost/platform-extension/WEB-INF/conf/organization/idm-configuration.xml
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:135) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:412) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:97) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
... 45 common frames omitted
Caused by: java.lang.RuntimeException: Cannot instantiate component key=org.exoplatform.services.organization.idm.PicketLinkIDMService type=org.exoplatform.services.organization.idm.PicketLinkIDMServiceImpl found at jndi:/localhost/platform-extension/WEB-INF/conf/organization/idm-configuration.xml
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:135) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.management.ManageableComponentAdapter.getComponentInstance(ManageableComponentAdapter.java:68) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.getInstance(ConcurrentPicoContainer.java:468) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ConcurrentPicoContainer.getComponentInstanceOfType(ConcurrentPicoContainer.java:422) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.CachingContainer.getComponentInstanceOfType(CachingContainer.java:139) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:412) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:97) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
... 51 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.6.0_20]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) ~[na:1.6.0_20]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.6.0_20]
at java.lang.reflect.Constructor.newInstance(Constructor.java:532) ~[na:1.6.0_20]
at org.exoplatform.container.ExoContainer.createComponent(ExoContainer.java:422) [exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
at org.exoplatform.container.jmx.MX4JComponentAdapter.getComponentInstance(MX4JComponentAdapter.java:97) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
... 57 common frames omitted
Caused by: java.lang.NoClassDefFoundError: org/jgroups/stack/AddressGenerator
at java.lang.Class.getDeclaredMethods0(Native Method) ~[na:1.6.0_20]
at java.lang.Class.privateGetDeclaredMethods(Class.java:2444) ~[na:1.6.0_20]
at java.lang.Class.privateGetPublicMethods(Class.java:2564) ~[na:1.6.0_20]
at java.lang.Class.getMethods(Class.java:1427) ~[na:1.6.0_20]
at org.infinispan.util.Util.getFactoryMethod(Util.java:144) ~[infinispan-core-5.1.7.Final.jar:5.1.7.Final]
at org.infinispan.util.Util.getInstanceStrict(Util.java:183) ~[infinispan-core-5.1.7.Final.jar:5.1.7.Final]
at org.infinispan.util.Util.getInstance(Util.java:162) ~[infinispan-core-5.1.7.Final.jar:5.1.7.Final]
at org.infinispan.configuration.parsing.Parser.parseGlobal(Parser.java:1292) ~[infinispan-core-5.1.7.Final.jar:5.1.7.Final]
at org.infinispan.configuration.parsing.Parser.doParse(Parser.java:192) ~[infinispan-core-5.1.7.Final.jar:5.1.7.Final]
at org.infinispan.configuration.parsing.Parser.parse(Parser.java:154) ~[infinispan-core-5.1.7.Final.jar:5.1.7.Final]
at org.infinispan.configuration.parsing.Parser.parse(Parser.java:130) ~[infinispan-core-5.1.7.Final.jar:5.1.7.Final]
at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:368) ~[infinispan-core-5.1.7.Final.jar:5.1.7.Final]
at org.exoplatform.services.organization.idm.InfinispanCacheFactory.getSharedCacheManager(InfinispanCacheFactory.java:145) ~[exo.portal.component.identity-3.5.4.Final.jar:3.5.4.Final]
at org.exoplatform.services.organization.idm.InfinispanCacheFactory.createInfinispanCache(InfinispanCacheFactory.java:128) ~[exo.portal.component.identity-3.5.4.Final.jar:3.5.4.Final]
at org.exoplatform.services.organization.idm.PicketLinkIDMServiceImpl.<init>(PicketLinkIDMServiceImpl.java:143) ~[exo.portal.component.identity-3.5.4.Final.jar:3.5.4.Final]
... 63 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.jgroups.stack.AddressGenerator
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) ~[na:1.6.0_20]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.6.0_20]
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) ~[na:1.6.0_20]
at java.lang.ClassLoader.loadClass(ClassLoader.java:321) ~[na:1.6.0_20]
at java.lang.ClassLoader.loadClass(ClassLoader.java:266) ~[na:1.6.0_20]
... 78 common frames omitted


any help?? am I configured correctly?


Thanks,
Suresh
asr chowdary
Ranch Hand

Joined: Mar 14, 2013
Posts: 35
clustering is not possible for tomcat,Only available in Jboss
please check exo platform forum
asr chowdary
Ranch Hand

Joined: Mar 14, 2013
Posts: 35
Suresh babua wrote:clustering is not possible for tomcat,Only available in Jboss
please check exo platform forum


http://community.exoplatform.com/portal/intranet/connexions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EXO Platform Cluster Configuration Error.