You are not logged in.
Pages: 1
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
Hi,
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.
[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/logging.properties -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 -Djava.io.tmpdir=/usr/share/tomcat/temp 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
Hi,
I have only dropped the package in the webapps directory. No other tomcat configurations.
That did not help..
Still the same. Tried it all
Sending it over again.
Yes I did drop it in the tomcat webapps directory and the config file is in the right place.
WEB-INF/config/config.xml
Please find the attached log file
Similar issues. Restarted the Tomcat container as well. No help
Unable to initialize component javax.jcr.Repository
This is the cause - Any suggestions to fix it up ?
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.initServlet(StandardWrapper.java:1284) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1197) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1087) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:5210) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5493) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:632) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1247) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1898) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 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) ... 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(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) ... 30 more
Any idea what this could be ?
Hi,
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.
http://mydomain:8080/cms/_admin
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.
Pages: 1