Forum Ametys

Forum de la communauté Ametys

You are not logged in.

#1 Re: General » Confused about the package » 19/09/2014 12:08:37

No that is not an issue ; except that WEB-INF/config/data/administrator/admin.xml does not exits => this is WEB-INF/data/administrator/admin.xml

Apologies for the invalid path.

What you can try

Tried everything. Even rebooted the whole machine.
No luck  sad

#2 Re: General » Confused about the package » 19/09/2014 08:43:37


Is there a problem is I add the WEB-INF/config/config.xml and WEB-INF/config/data/administrator/admin.xml to the directory structure before deploying it to the tomcat container.

Could this be the issue ? If yes, why ?
Appreciate your assistance so far.

#3 Re: General » Confused about the package » 19/09/2014 08:24:34

[root@localhost ~]# ps waux | grep tomcat
rafael      1901 93.1 29.7 1456616 190004 ?      Sl   02:19   0:32 /usr/bin/java -Djava.util.logging.config.file=/usr/share/tomcat/conf/ -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -server -Xmx1024M -XX:PermSize=128m -XX:MaxPermSize=256m -Djava.endorsed.dirs=/usr/share/tomcat/endorsed -classpath /usr/share/tomcat/bin/bootstrap.jar:/usr/share/tomcat/bin/tomcat-juli.jar -Dcatalina.base=/usr/share/tomcat -Dcatalina.home=/usr/share/tomcat org.apache.catalina.startup.Bootstrap start


[root@localhost ~]# ls -la /usr/share/tomcat/webapps/amet514/WEB-INF/data/
total 24
drwxr-xr-x 6 rafael rafael 4096 Sep 19 02:20 .
drwxr-xr-x 9 rafael rafael 4096 Sep 19 02:20 ..
drwxr-xr-x 2 rafael rafael 4096 Sep 19 02:19 administrator
drwxrwxr-x 2 rafael rafael 4096 Sep 19 02:20 monitoring
drwxrwxr-x 6 rafael rafael 4096 Sep 19 02:20 repository
drwxrwxr-x 2 rafael rafael 4096 Sep 19 02:20 uploads

#4 Re: Users » Trying to evaluate 3.5 - jackrabbit repo lock problem » 18/09/2014 12:24:54


I have only dropped the package in the webapps directory. No other tomcat configurations.

#5 Re: General » Confused about the package » 18/09/2014 12:23:39

That did not help..

Still the same. Tried it all sad

#7 Re: Users » Trying to evaluate 3.5 - jackrabbit repo lock problem » 18/09/2014 11:11:17

Yes I did drop it in the tomcat webapps directory and the config file is in the right place.

#8 Re: General » Confused about the package » 18/09/2014 10:04:51

Please find the attached log file

#9 Re: Users » Trying to evaluate 3.5 - jackrabbit repo lock problem » 18/09/2014 09:57:03

Similar issues. Restarted the Tomcat container as well. No help sad

#10 Re: General » Confused about the package » 18/09/2014 09:45:03

Unable to initialize component javax.jcr.Repository

This is the cause - Any suggestions to fix it up ?

#11 Re: General » Confused about the package » 18/09/2014 09:32:36

An error occurred. Please contact the administrator of the Unable to initialize the ComponentManager (key [org.apache.cocoon.Processor]) at org.ametys.runtime.cocoon.TreeProcessor.compose( at org.apache.avalon.framework.container.ContainerUtil.compose( at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance( at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize( at org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize( at org.apache.cocoon.components.CocoonComponentManager.initialize( at org.apache.avalon.framework.container.ContainerUtil.initialize( at org.apache.cocoon.Cocoon.initialize( at org.apache.avalon.framework.container.ContainerUtil.initialize( at org.apache.cocoon.servlet.CocoonServlet.createCocoon( at org.ametys.runtime.servlet.RuntimeServlet.createCocoon( at org.apache.cocoon.servlet.CocoonServlet.init( at org.ametys.runtime.servlet.RuntimeServlet.init( at org.apache.catalina.core.StandardWrapper.initServlet( at org.apache.catalina.core.StandardWrapper.loadServlet( at org.apache.catalina.core.StandardWrapper.load( at org.apache.catalina.core.StandardContext.loadOnStartup( at org.apache.catalina.core.StandardContext.startInternal( at org.apache.catalina.util.LifecycleBase.start( at org.apache.catalina.core.ContainerBase.addChildInternal( at org.apache.catalina.core.ContainerBase.addChild( at org.apache.catalina.core.StandardHost.addChild( at org.apache.catalina.startup.HostConfig.deployDirectory( at org.apache.catalina.startup.HostConfig$ at java.util.concurrent.Executors$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: java.lang.Exception: Caught an exception trying to initialize the component at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize( at org.apache.avalon.framework.container.ContainerUtil.initialize( at org.ametys.runtime.cocoon.TreeProcessor.compose( ... 28 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( at at org.apache.avalon.framework.container.ContainerUtil.service( at org.ametys.runtime.plugin.component.ThreadSafeComponentManager$ComponentFactory.instanciate( at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance( at org.ametys.runtime.plugin.component.PluginsComponentManager$ProxyComponentFactory.newInstance( at org.ametys.runtime.plugin.component.ThreadSafeComponentManager.initialize( ... 30 more

Any idea what this could be ?

#12 General » Confused about the package » 17/09/2014 14:23:52

Replies: 16


Ametys 3.5.4 archive produced 2 folders - cms and site. I uploaded the cms directory to the webapps directory of the Tomcat container and accessed the URL as http://mydomain:8080/cms

I was prompted for a admin password and redirected to the Admin Configuration page. I presume this is the Admin Panel for the CMS and hence I filled up all the relevant details and hit "Save Configurations". Redirected to the Admin Panel with huge menu icons. Looks good.


If I access http://mydomain:8080/cms/ I can simply see a static page which I presume is the Site of the CMS.
This completes my Ametys installation.

Now the main questions is - What is the requirement of the site directory ?

Any help is highly appreciated.

Board footer

Powered by FluxBB