Hi, I tried to install xwiki for the first time. I decided to use the debian packages: apt-get install xwiki-enterprise-tomcat6-mysql But when I accessed xwiki in the browser i got this exception: org.hibernate.HibernateException: Can't find [/WEB-INF/hibernate.cfg.xml] for hibernate configuration The problem was caused by wrong file permissions: # ls -l /etc/xwiki insgesamt 136 drwxr-xr-x 5 root root 4096 28. Nov 12:56 cache drwxr-xr-x 3 root root 4096 28. Nov 12:56 classes drwxr-xr-x 2 root root 4096 28. Nov 12:56 fonts -rw-r----- 1 root root 8867 28. Nov 13:01 hibernate.cfg.xml -rw-r--r-- 1 root root 2022 26. Nov 16:12 jboss-deployment-structure.xml drwxr-xr-x 3 root root 4096 28. Nov 12:56 observation -rw-r--r-- 1 root root 1181 26. Nov 16:12 portlet.xml -rw-r--r-- 1 root root 14720 26. Nov 16:12 struts-config.xml -rw-r--r-- 1 root root 435 26. Nov 16:12 sun-web.xml -rw-r--r-- 1 root root 12 26. Nov 16:12 version.properties -rw-r--r-- 1 root root 13793 26. Nov 16:12 web.xml -rw-r--r-- 1 root root 30532 28. Nov 13:14 xwiki.cfg -rw-r--r-- 1 root root 22514 26. Nov 16:12 xwiki.properties -rw-r--r-- 1 root root 1257 26. Nov 16:13 xwiki-tomcat.xml chmod o+r hibernate.cfg.xml solved that issue! But now there are more issues remaining. The first issue issue are some dead symlinks in the WEB-INF folder after the installation: # find -L /usr/lib/xwiki/WEB-INF -type l /usr/lib/xwiki/WEB-INF/struts-logic.tld /usr/lib/xwiki/WEB-INF/struts-bean.tld /usr/lib/xwiki/WEB-INF/struts-html.tld /usr/lib/xwiki/WEB-INF/struts.tld /usr/lib/xwiki/WEB-INF/struts-template.tld /usr/lib/xwiki/WEB-INF/struts-form.tld This causes exceptions when you start tomcat: INFO: Deploying configuration descriptor xwiki.xml 28.11.2012 14:14:30 org.apache.catalina.startup.TldConfig lifecycleEvent SCHWERWIEGEND: Error processing TLD files for context path /xwiki javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/struts-form.tld in context /xwiki at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:438) at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:267) at org.apache.catalina.startup.TldConfig.lifecycleEvent(TldConfig.java:634) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4612) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:601) at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:675) at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:601) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) at org.apache.catalina.core.StandardHost.start(StandardHost.java:840) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) at org.apache.catalina.core.StandardService.start(StandardService.java:525) at org.apache.catalina.core.StandardServer.start(StandardServer.java:754) at org.apache.catalina.startup.Catalina.start(Catalina.java:595) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: java.lang.IllegalArgumentException: Invalid TLD resource path /WEB-INF/struts-form.tld at org.apache.catalina.startup.TldConfig.tldScanTld(TldConfig.java:426) ... 26 more INFO: Server startup in 19710 ms If you try to open xwiki in the browser nevertheless, it loads endlessly. In the logs (and the database itself) I can see that the database tables have been created but out of memory exceptions are thrown: 2012-11-28 13:48:34,455 [https://urlaub.bio.logis.de:11443/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - [schema] - Running hibernate updates 2012-11-28 13:48:35,439 [https://urlaub.bio.logis.de:11443/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - Running storage schema updates and data migrations 2012-11-28 13:48:35,440 [https://urlaub.bio.logis.de:11443/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - No data migration required since current version is [43000] 2012-11-28 13:48:35,440 [https://urlaub.bio.logis.de:11443/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - Updating database schema: 2012-11-28 13:48:35,440 [https://urlaub.bio.logis.de:11443/xwiki/bin/view/Main/] INFO .HibernateDataMigrationManager - [schema] - Running hibernate updates 28.11.2012 13:48:54 org.apache.coyote.http11.Http11Processor process SCHWERWIEGEND: Error processing request java.lang.OutOfMemoryError: PermGen space at java.lang.Throwable.getStackTraceElement(Native Method) at java.lang.Throwable.getOurStackTrace(Throwable.java:591) at java.lang.Throwable.printStackTrace(Throwable.java:510) at java.util.logging.SimpleFormatter.format(SimpleFormatter.java:72) at org.apache.juli.FileHandler.publish(FileHandler.java:198) at java.util.logging.Logger.log(Logger.java:481) at java.util.logging.Logger.doLog(Logger.java:503) at java.util.logging.Logger.logp(Logger.java:703) at org.apache.juli.logging.DirectJDKLog.log(DirectJDKLog.java:167) at org.apache.juli.logging.DirectJDKLog.error(DirectJDKLog.java:135) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 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) Exception in thread "https://urlaub.bio.logis.de:11443/xwiki/bin/view/Main/" java.lang.OutOfMemoryError: PermGen space at java.net.PlainSocketImpl.close(PlainSocketImpl.java:496) at java.net.SocksSocketImpl.close(SocksSocketImpl.java:1029) at java.net.Socket.close(Socket.java:1352) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.closeInternal(SSLSocketImpl.java:1439) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.close(SSLSocketImpl.java:1339) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:492) at java.lang.Thread.run(Thread.java:662) Exception in thread "Lucene Index Updater" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-11443-4" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-11443-6" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-11443-3" java.lang.OutOfMemoryError: PermGen space Exception in thread "http-11443-5" java.lang.OutOfMemoryError: PermGen space Exception in thread "MailProcessor" java.lang.OutOfMemoryError: PermGen space Before anyone asks: Yes I adjusted /et/init.d/tomcat6 like described in the installation guide: JAVA_OPTS="-Djava.awt.headless=true -Xmx512m -XX:MaxPermSize=192m" I also tried: JAVA_OPTS="-Djava.awt.headless=true -Xmx1024m -XX:MaxPermSize=512m" Still out of memory exceptions. Any ideas? Markus Kalkbrenner Mit bio.logis PGS den eigenen Code kennen, verstehen, nutzen: http://bio.logis.de/pgs http://www.gene-verstehen.de Please inform us immediately if this e-mail and /or any attachment was transmitted incompletely or was not intelligible. This e-mail and any attachment is for authorized use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender.