[JBoss JIRA] (GTNPORTAL-2770) Bug JS: happens when js file in module contains tab charecter at header
by Trong Tran (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-2770?page=com.atlassian.jira.pl... ]
Trong Tran updated GTNPORTAL-2770:
----------------------------------
Fix Version/s: 3.5.5.Final
> Bug JS: happens when js file in module contains tab charecter at header
> -----------------------------------------------------------------------
>
> Key: GTNPORTAL-2770
> URL: https://issues.jboss.org/browse/GTNPORTAL-2770
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 3.5.0.Final
> Reporter: Pham Duy Dong
> Assignee: Vu Viet Phuong
> Priority: Minor
> Fix For: 3.5.5.Final, 3.6.0.Beta01
>
>
> - Declare a js (ex: abc.js) file in gatein-resources.xml
> {code:xml}
> ...
> <module>
> <name>moduleName</name>
> <script>
> <path>/javascript/webui/abc.js</path>
> </script>
> </module>
> ...
> {code}
> - Require it in groovy template file
> - In a javascript file (ex: abc.js):
> If comment at top file contains tab character(\t) at begining line, js bug happens
> After remove tab, bug js also not happens anymore
> -- js file with tab at header
> {code:title=abc.js|borderStyle=solid}
> /**
> * Some comments...
> */
> (function(gj) {
> ...
> {code}
> -- js file after remove tab
> {code:title=abc.js|borderStyle=solid}
> /**
> * Some comments...
> */
> (function(gj) {
> ...
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (GTNPORTAL-3060) Support Node Management on Mobile Devices
by Matt Wringe (JIRA)
Matt Wringe created GTNPORTAL-3060:
--------------------------------------
Summary: Support Node Management on Mobile Devices
Key: GTNPORTAL-3060
URL: https://issues.jboss.org/browse/GTNPORTAL-3060
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Mobile
Reporter: Matt Wringe
Assignee: Matt Wringe
Node Management currently requires use of the context, or right click menu. The context menu is currently not supported on iOS devices, but it does work on Android device (via a long click).
The functionality of node management should be updated so that it functions better across mobile devices. This may required changing how the context menu gets opened.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (GTNPORTAL-3056) JBossCacheWorkspaceStorageCache has to have a different jbosscache-cluster-name for portal-system workspace
by Vu Viet Phuong (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3056?page=com.atlassian.jira.pl... ]
Vu Viet Phuong updated GTNPORTAL-3056:
--------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/gatein/gatein-portal/pull/487
> JBossCacheWorkspaceStorageCache has to have a different jbosscache-cluster-name for portal-system workspace
> -----------------------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3056
> URL: https://issues.jboss.org/browse/GTNPORTAL-3056
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JCR integration
> Affects Versions: 3.6.0.Beta02
> Reporter: Vu Viet Phuong
>
> We got the following stacktrace when launshing cluster with PLF-4.0.0:
> {code}
> 2013-05-15 10:00:13,200 | ERROR | Error start repository service [e.j.component.core.RepositoryServiceImpl<Catalina-startStop-1>]
> org.exoplatform.services.jcr.config.RepositoryConfigurationException: Repository container repository was not started.
> at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:165) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.init(RepositoryServiceImpl.java:323) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.start(RepositoryServiceImpl.java:279) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
> at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) ~[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:303) [na:1.6.0_30]
> at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_30]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_30]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_30]
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30]
> Caused by: org.picocontainer.PicoIntrospectionException: Failed when calling start on org.exoplatform.services.jcr.impl.WorkspaceContainer@5ff92b8e
> at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136) ~[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.services.jcr.impl.RepositoryContainer.start(RepositoryContainer.java:575) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.services.jcr.impl.RepositoryServiceImpl$1.run(RepositoryServiceImpl.java:151) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.services.jcr.impl.RepositoryServiceImpl$1.run(RepositoryServiceImpl.java:148) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> 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.services.jcr.impl.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:147) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> ... 33 common frames omitted
> Caused by: org.picocontainer.PicoIntrospectionException: Failed when calling start on org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache@3acae083
> at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136) ~[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 sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) ~[na:na]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
> at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
> ... 41 common frames omitted
> Caused by: org.jboss.cache.CacheException: java.lang.reflect.InvocationTargetException
> at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:148) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
> at org.jboss.cache.factories.ComponentRegistry$PrioritizedMethod.invoke(ComponentRegistry.java:1012) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
> at org.jboss.cache.factories.ComponentRegistry.internalStart(ComponentRegistry.java:778) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
> at org.jboss.cache.factories.ComponentRegistry.start(ComponentRegistry.java:632) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
> at org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:345) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
> at org.exoplatform.services.jcr.jbosscache.PrivilegedJBossCacheHelper$1.run(PrivilegedJBossCacheHelper.java:49) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> 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.services.jcr.jbosscache.PrivilegedJBossCacheHelper.start(PrivilegedJBossCacheHelper.java:53) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.BufferedJBossCache.start(BufferedJBossCache.java:745) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache.init(JBossCacheWorkspaceStorageCache.java:716) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache.start(JBossCacheWorkspaceStorageCache.java:749) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) ~[na:na]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
> at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
> ... 48 common frames omitted
> Caused by: java.lang.reflect.InvocationTargetException: null
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30]
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
> at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:144) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
> ... 62 common frames omitted
> Caused by: org.jboss.cache.CacheException: Unable to connect to JGroups channel
> at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:352) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
> ... 67 common frames omitted
> Caused by: org.jgroups.ChannelException: failed to start protocol stack
> at org.jgroups.JChannel.startStack(JChannel.java:1617) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
> at org.jgroups.JChannel.connect(JChannel.java:366) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
> at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:347) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
> ... 67 common frames omitted
> Caused by: java.lang.IllegalStateException: cluster 'DefaultPartition-jcr_portal' is already connected to singleton transport: [DefaultPartition-jcr_portal, dummy-1368612013185, DefaultPartition-jcrlock_portal]
> at org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:88) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
> at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:402) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
> at org.jgroups.JChannel.startStack(JChannel.java:1614) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
> ... 69 common frames omitted
> 2013-05-15 10:00:13,212 | INFO | Admin identity is read from configuration file [exo-jcr-services.AuditService<Catalina-startStop-1>]
> 2013-05-15 10:00:13,220 | ERROR | Cannot create the portal container 'portal' . ServletContext: org.apache.catalina.core.ApplicationContextFacade@67b464f4 [exo.kernel.container.RootContainer<Catalina-startStop-1>]
> org.picocontainer.PicoIntrospectionException: Failed when calling start on org.exoplatform.web.security.security.RemindPasswordTokenService@7d91dc83
> at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136) ~[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:303) [na:1.6.0_30]
> at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_30]
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_30]
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_30]
> at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30]
> Caused by: org.chromattic.api.UndeclaredRepositoryException: javax.jcr.RepositoryException: Repository 'repository' not found.
> at org.chromattic.core.api.ChromatticImpl.openSession(ChromatticImpl.java:62) ~[chromattic.core-1.2.2.jar:na]
> at org.exoplatform.commons.chromattic.AbstractContext.getSession(AbstractContext.java:60) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
> at org.exoplatform.web.security.security.CookieTokenService$1.execute(CookieTokenService.java:233) ~[exo.portal.component.web.security-3.5.4-PLF.jar:3.5.4-PLF]
> at org.exoplatform.web.security.security.CookieTokenService$1.execute(CookieTokenService.java:229) ~[exo.portal.component.web.security-3.5.4-PLF.jar:3.5.4-PLF]
> at org.exoplatform.commons.chromattic.ContextualTask.executeWith(ContextualTask.java:40) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
> at org.exoplatform.web.security.security.CookieTokenService.start(CookieTokenService.java:229) ~[exo.portal.component.web.security-3.5.4-PLF.jar:3.5.4-PLF]
> at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) ~[na:na]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
> at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
> at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
> ... 26 common frames omitted
> Caused by: javax.jcr.RepositoryException: Repository 'repository' not found.
> at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getRepository(RepositoryServiceImpl.java:231) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getDefaultRepository(RepositoryServiceImpl.java:220) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getCurrentRepository(RepositoryServiceImpl.java:213) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
> at org.exoplatform.commons.chromattic.AbstractContext.openSession(AbstractContext.java:92) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
> at org.exoplatform.commons.chromattic.LocalContext.doLogin(LocalContext.java:44) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
> at org.exoplatform.commons.chromattic.ChromatticLifeCycle.doLogin(ChromatticLifeCycle.java:301) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
> at org.exoplatform.commons.chromattic.PortalSessionLifeCycle.login(PortalSessionLifeCycle.java:48) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
> at org.chromattic.core.api.ChromatticImpl.openSession(ChromatticImpl.java:58) ~[chromattic.core-1.2.2.jar:na]
> ... 35 common frames omitted
> {code}
> In *web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml*
> {code}
> <cache enabled="true"
> class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
> <properties>
> <property name="jbosscache-configuration" value="${gatein.jcr.cache.config.workspace.portal-system}"/>
> <property name="jgroups-configuration" value="${gatein.jcr.jgroups.config}"/>
> <property name="jgroups-multiplexer-stack" value="false"/>
> <property name="jbosscache-cluster-name" value="jcr${container.name.suffix}"/>
> <property name="jbosscache-shareable" value="true"/>
> </properties>
> </cache>
> {code}
> The JBossCacheWorkspaceStorageCache has a different configuration for the *portal-system*. In order to avoid conflict with other workspaces (especially in cluster env), the *jbosscache-cluster-name* has to have a different value from the used one for the other workspaces.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month
[JBoss JIRA] (GTNPORTAL-3056) JBossCacheWorkspaceStorageCache has to have a different jbosscache-cluster-name for portal-system workspace
by Vu Viet Phuong (JIRA)
Vu Viet Phuong created GTNPORTAL-3056:
-----------------------------------------
Summary: JBossCacheWorkspaceStorageCache has to have a different jbosscache-cluster-name for portal-system workspace
Key: GTNPORTAL-3056
URL: https://issues.jboss.org/browse/GTNPORTAL-3056
Project: GateIn Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: JCR integration
Affects Versions: 3.6.0.Beta02
Reporter: Vu Viet Phuong
We got the following stacktrace when launshing cluster with PLF-4.0.0:
{code}
2013-05-15 10:00:13,200 | ERROR | Error start repository service [e.j.component.core.RepositoryServiceImpl<Catalina-startStop-1>]
org.exoplatform.services.jcr.config.RepositoryConfigurationException: Repository container repository was not started.
at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:165) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.init(RepositoryServiceImpl.java:323) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.start(RepositoryServiceImpl.java:279) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) ~[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:303) [na:1.6.0_30]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30]
Caused by: org.picocontainer.PicoIntrospectionException: Failed when calling start on org.exoplatform.services.jcr.impl.WorkspaceContainer@5ff92b8e
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136) ~[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.services.jcr.impl.RepositoryContainer.start(RepositoryContainer.java:575) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.services.jcr.impl.RepositoryServiceImpl$1.run(RepositoryServiceImpl.java:151) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.services.jcr.impl.RepositoryServiceImpl$1.run(RepositoryServiceImpl.java:148) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
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.services.jcr.impl.RepositoryServiceImpl.createRepository(RepositoryServiceImpl.java:147) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
... 33 common frames omitted
Caused by: org.picocontainer.PicoIntrospectionException: Failed when calling start on org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache@3acae083
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136) ~[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 sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
... 41 common frames omitted
Caused by: org.jboss.cache.CacheException: java.lang.reflect.InvocationTargetException
at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:148) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
at org.jboss.cache.factories.ComponentRegistry$PrioritizedMethod.invoke(ComponentRegistry.java:1012) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
at org.jboss.cache.factories.ComponentRegistry.internalStart(ComponentRegistry.java:778) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
at org.jboss.cache.factories.ComponentRegistry.start(ComponentRegistry.java:632) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
at org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:345) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
at org.exoplatform.services.jcr.jbosscache.PrivilegedJBossCacheHelper$1.run(PrivilegedJBossCacheHelper.java:49) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
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.services.jcr.jbosscache.PrivilegedJBossCacheHelper.start(PrivilegedJBossCacheHelper.java:53) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.BufferedJBossCache.start(BufferedJBossCache.java:745) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache.init(JBossCacheWorkspaceStorageCache.java:716) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache.start(JBossCacheWorkspaceStorageCache.java:749) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
... 48 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_30]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_30]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
at org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:144) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
... 62 common frames omitted
Caused by: org.jboss.cache.CacheException: Unable to connect to JGroups channel
at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:352) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
... 67 common frames omitted
Caused by: org.jgroups.ChannelException: failed to start protocol stack
at org.jgroups.JChannel.startStack(JChannel.java:1617) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
at org.jgroups.JChannel.connect(JChannel.java:366) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
at org.jboss.cache.RPCManagerImpl.start(RPCManagerImpl.java:347) ~[jbosscache-core-3.2.7.GA.jar:3.2.7.GA]
... 67 common frames omitted
Caused by: java.lang.IllegalStateException: cluster 'DefaultPartition-jcr_portal' is already connected to singleton transport: [DefaultPartition-jcr_portal, dummy-1368612013185, DefaultPartition-jcrlock_portal]
at org.jgroups.stack.Configurator.startProtocolStack(Configurator.java:88) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:402) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
at org.jgroups.JChannel.startStack(JChannel.java:1614) ~[jgroups-2.6.20.Final.jar:2.6.20.Final]
... 69 common frames omitted
2013-05-15 10:00:13,212 | INFO | Admin identity is read from configuration file [exo-jcr-services.AuditService<Catalina-startStop-1>]
2013-05-15 10:00:13,220 | ERROR | Cannot create the portal container 'portal' . ServletContext: org.apache.catalina.core.ApplicationContextFacade@67b464f4 [exo.kernel.container.RootContainer<Catalina-startStop-1>]
org.picocontainer.PicoIntrospectionException: Failed when calling start on org.exoplatform.web.security.security.RemindPasswordTokenService@7d91dc83
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:136) ~[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:303) [na:1.6.0_30]
at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_30]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_30]
at java.lang.Thread.run(Thread.java:662) [na:1.6.0_30]
Caused by: org.chromattic.api.UndeclaredRepositoryException: javax.jcr.RepositoryException: Repository 'repository' not found.
at org.chromattic.core.api.ChromatticImpl.openSession(ChromatticImpl.java:62) ~[chromattic.core-1.2.2.jar:na]
at org.exoplatform.commons.chromattic.AbstractContext.getSession(AbstractContext.java:60) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
at org.exoplatform.web.security.security.CookieTokenService$1.execute(CookieTokenService.java:233) ~[exo.portal.component.web.security-3.5.4-PLF.jar:3.5.4-PLF]
at org.exoplatform.web.security.security.CookieTokenService$1.execute(CookieTokenService.java:229) ~[exo.portal.component.web.security-3.5.4-PLF.jar:3.5.4-PLF]
at org.exoplatform.commons.chromattic.ContextualTask.executeWith(ContextualTask.java:40) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
at org.exoplatform.web.security.security.CookieTokenService.start(CookieTokenService.java:229) ~[exo.portal.component.web.security-3.5.4-PLF.jar:3.5.4-PLF]
at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) ~[na:na]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_30]
at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_30]
at org.exoplatform.container.LifecycleVisitor.traverse(LifecycleVisitor.java:100) ~[exo.kernel.container-2.4.3-GA.jar:2.4.3-GA]
... 26 common frames omitted
Caused by: javax.jcr.RepositoryException: Repository 'repository' not found.
at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getRepository(RepositoryServiceImpl.java:231) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getDefaultRepository(RepositoryServiceImpl.java:220) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.services.jcr.impl.RepositoryServiceImpl.getCurrentRepository(RepositoryServiceImpl.java:213) ~[exo.jcr.component.core-1.15.4-GA-SNAPSHOT.jar:1.15.4-GA-SNAPSHOT]
at org.exoplatform.commons.chromattic.AbstractContext.openSession(AbstractContext.java:92) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
at org.exoplatform.commons.chromattic.LocalContext.doLogin(LocalContext.java:44) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
at org.exoplatform.commons.chromattic.ChromatticLifeCycle.doLogin(ChromatticLifeCycle.java:301) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
at org.exoplatform.commons.chromattic.PortalSessionLifeCycle.login(PortalSessionLifeCycle.java:48) ~[exo.portal.component.common-3.5.4-PLF.jar:3.5.4-PLF]
at org.chromattic.core.api.ChromatticImpl.openSession(ChromatticImpl.java:58) ~[chromattic.core-1.2.2.jar:na]
... 35 common frames omitted
{code}
In *web/portal/src/main/webapp/WEB-INF/conf/jcr/repository-configuration.xml*
{code}
<cache enabled="true"
class="org.exoplatform.services.jcr.impl.dataflow.persistent.jbosscache.JBossCacheWorkspaceStorageCache">
<properties>
<property name="jbosscache-configuration" value="${gatein.jcr.cache.config.workspace.portal-system}"/>
<property name="jgroups-configuration" value="${gatein.jcr.jgroups.config}"/>
<property name="jgroups-multiplexer-stack" value="false"/>
<property name="jbosscache-cluster-name" value="jcr${container.name.suffix}"/>
<property name="jbosscache-shareable" value="true"/>
</properties>
</cache>
{code}
The JBossCacheWorkspaceStorageCache has a different configuration for the *portal-system*. In order to avoid conflict with other workspaces (especially in cluster env), the *jbosscache-cluster-name* has to have a different value from the used one for the other workspaces.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 1 month