Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#2 Users » How do I logout? » 21/06/2013 17:25:41

comrade
Replies: 1

I logged in as a user with no rights, and so now all I see is the 'No website is available or you have not sufficient rights' message. However, there's no logout link on the page. I can't figure out how to logout... Is there a way to do it other than removing cookies?

#3 Re: Administration » Suggested rights levels? » 21/06/2013 17:15:18

How are those profiles created? They don't exist in my download. I look in the database scripts and all they do is create the tables, not fill them.

My new install is pretty empty - no users, profiles, groups.

I'm evaluating version 3.5, but the server version running in tomcat6, not the standalone version.

I actually wouldn't mind running standalone and using mod_proxy in apache to talk to it, if that's an easier configuration.

#4 Administration » Suggested rights levels? » 21/06/2013 16:55:13

comrade
Replies: 5

I'm creating profiles and I'm wondering if there is some guidance on suggested rights for each type of profile:
contributor
administrator
manager
webmaster

I've read the Administration documentation but haven't found this information.

Also, I've created users, and I've created groups and added users to the groups. And I've created profiles. However, I can't find where I assign groups or users to profiles... I can see the database tables for it, but I can't figure out how to do it in the ui.

#5 Re: Administration » javascript error in view.html in Rights Profiles Administration » 21/06/2013 16:47:17

Thanks. I overrode the values by creating the messages.xml file and it's working now.

#6 Re: Users » Trying to evaluate 3.5 - jackrabbit repo lock problem » 21/06/2013 16:27:17

Thanks. I got it started by shutting down tomcat completely, cleaning up the .lock file, and starting tomcat. It's working now.

#7 Administration » javascript error in view.html in Rights Profiles Administration » 21/06/2013 16:18:48

comrade
Replies: 3

I downloaded and am running 3.5.

I'm getting a javascript error around line 2239.

var input = new org.ametys.rights.CheckRightEntry ({
listeners: {'check': needSave},
width: 175,
text : "Create a "About" content",
name: "Blog_Right_Profile_Create",
id: "Blog_Right_Profile_Create",
description: "Create a content of type "About".",
category: "plugin_cms_PLUGINS_CMS_RIGHTS_CONTENT_CREATE_CATEGORY",
hideLabel : true,
disabled: true
});

The quotes around About probably need to be escaped.

#8 Re: Users » Trying to evaluate 3.5 - jackrabbit repo lock problem » 19/06/2013 19:40:00

Hello,

I've confirmed that only one instance of Tomcat is running.

Also, I launch the application by placing it in the webapps directory, and haven't modified any Tomcat configurations.


When I launch the app through the Tomcat manager I see in the logs:

Jun 19, 2013 3:00:37 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
SEVERE: The web application [/cms] appears to have started a thread named [jackrabbit-pool-1] but has failed to stop it. This is very likely to create a memory leak.

However, I doubt that's a real issue since I assume the jackrabbit thread has to run continuously during the life of the application.

Is there any way to increase the debugging level of Ametys? All I did was download the latest version, drop it into webapps, do the initial configuration in the configuration screen, and now I get this error.

#9 Users » Trying to evaluate 3.5 - jackrabbit repo lock problem » 18/06/2013 23:15:42

comrade
Replies: 9

I downloaded version 3.5.0 from your download page.

I've been working on the configuration and have hit a few problems. My latest problem is that the system seems to be trying to open the jackrabbit repository twice. When I shut the system down via Tomcat and manually remove the .lock file and start the system back up, i get a lock error.

Here's the exception:


AN ERROR HAS OCCURRED
An error occurred. Please contact the administrator of the application.

Hide details
An error occurred. Please contact the administrator of the application.org.apache.avalon.framework.component.ComponentException: Unable to initialize the ComponentManager (key [org.apache.cocoon.Processor])
    at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:94)
    at org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:173)
    at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:266)
    at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
    at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:524)
    at org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:583)
    at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
    at org.apache.cocoon.Cocoon.initialize(Cocoon.java:345)
    at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
    at org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1435)
    at org.ametys.runtime.servlet.RuntimeServlet.createCocoon(RuntimeServlet.java:225)
    at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:495)
    at org.ametys.runtime.servlet.RuntimeServlet.init(RuntimeServlet.java:171)
    at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
    at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1026)
    at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4421)
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4734)
    at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1276)
    at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:625)
    at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:186)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.Exception: Caught an exception trying to initialize the component org.ametys.web.live.RebuildLiveWorkspaceTimerTask
    at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:205)
    at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
    at org.ametys.runtime.cocoon.TreeProcessor.compose(TreeProcessor.java:62)
    ... 37 more
Caused by: org.apache.avalon.framework.service.ServiceException: Unable to initialize component javax.jcr.Repository (key [javax.jcr.Repository]) (Key='javax.jcr.Repository')
    at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:80)
    at org.ametys.web.live.RebuildLiveWorkspaceTimerTask.service(RebuildLiveWorkspaceTimerTask.java:94)
    at org.apache.avalon.framework.container.ContainerUtil.service(ContainerUtil.java:143)
    at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.instanciate(ThreadSafeComponentManager.java:376)
    at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:104)
    at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:94)
    at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize(ThreadSafeComponentManager.java:200)
    ... 39 more
Caused by: org.apache.avalon.framework.component.ComponentException: Unable to initialize component javax.jcr.Repository (key [javax.jcr.Repository])
    at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:134)
    at org.ametys.runtime.plugin.component.PluginsComponentManager.lookup(PluginsComponentManager.java:64)
    at org.apache.avalon.framework.service.WrapperServiceManager.lookup(WrapperServiceManager.java:68)
    ... 45 more
Caused by: javax.jcr.RepositoryException: The repository home /mnt/dev/cms appears to be already locked by the current process.
    at org.apache.jackrabbit.core.util.RepositoryLock.tryLock(RepositoryLock.java:183)
    at org.apache.jackrabbit.core.util.RepositoryLock.acquire(RepositoryLock.java:138)
    at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:253)
    at org.ametys.plugins.repository.provider.AmetysRepository.<init>(AmetysRepository.java:45)
    at org.ametys.plugins.repository.provider.JackrabbitRepository.initialize(JackrabbitRepository.java:77)
    at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
    at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.configureAndStart(ThreadSafeComponentManager.java:392)
    at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:112)
    at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance(PluginsComponentManager.java:94)
    at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.lookup(ThreadSafeComponentManager.java:130)
    ... 47 more

Board footer

Powered by FluxBB