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 …
[View More]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/pgshttp://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.
[View Less]
Hi All,
I am working to implement xwiki with my organisation as a knowledge base,
but have come across that the document index is missing for all users
including the admin in the space dropdown menu, it is still there in the
wiki dropdown.
I am currently running version 4.1.4
Thanks in advance
--
View this message in context: http://xwiki.475771.n2.nabble.com/Missing-Space-Document-index-tp7582588.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I read in display macro documentation that you can display a section?
But how do you specify a section in a document?
I would like to understand this using the wysywig editor and using wiki editor?
And what velocity code would give me a section header and a section body (without the header)?
The only thing I can think of is the heading levels in the wysywig editor, but a document that has a header (level 2) and some text below the header does not seem to have sections if i call
#set($menuSections = $menu1Document.getSections())
Hi,
I've installed the query helper:
http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Helpers
But it looks like the jquery.jquery is empty, contains no object of class javascriptextension?
Why would I need to load the jquerry into such a page, could I not just get it from:
links to the CDN-hosted copies of jQuery?
If this is possible; how do I do this?
If $xwiki.jsx.use('jQuery.jQuery', {'defer': false}) is used the script is always in the header of the html page?
But If I would …
[View More]like to load a script somewhere in the body, how do I do that, not use $xwiki.jsx.use?
Would I need to write it inside a html macro?
Gerritjan
[View Less]
Hello,
Does anyone know if it is possible to set parameters to li elements using
the (%%) syntax?
http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HParameters and
the examples do not mention li**, only ul/ol parametrization.
I tried this:
(% class="dir-tree" %)
> * ##/tmp##
> (% class="file" %)** ##file1.tmp##
> (% class="file" %)** ##file2.tmp##
>
It renders as a ul with the .dir-tree class, but the li are not
parametrized.
In fact they are not rendered as li, but as …
[View More]a <strong><span class="file">...
Is it a bug, or the expected result?
Thanks!
[View Less]
Hi.
I've created something similar to FAQ application: a simple class,
sheet, template and pages created from template.
The pages are including the sheet, also have an object of the class.
I don't understand why the default edit mode is 'inline form', i.e. when
I create a livetable with 'actions' column, than 'edit' button goes to
'inline form' edit mode.
If a wiki user does not have 'advanced mode' enabled - he can only edit
the form, not the page itself.
How to make 'wiki' or 'wysiwyg' …
[View More]edit mode as default for such pages?
TIA
R.
[View Less]
Hi,
I am proposing to use XWiki to provide context sensitive help for a cloud
application.
It is likely that our channel partners will require their own branding of
the product and supporting wiki,
Therefore, my question is: does Xwiki have the functionality to use
variables in the text?
e.g. Company Name: [ACME | HAL | DEA]
Thank You
*
*
*John Murphy **|* Technical Writer *|* Mobile: 0415324479 *|*
|Telephone: 02 8999 3170 *|*john.murphy(a)ipscape.com.au*|*
Hello!
I have my xwiki on xwiki farm and have 2 problems:
1. It is very complicated to administrate my xwiki without statistics
application. What can I do to get the ability to have this app?
2. The cyrillic names of applications are not supported and I can't to
create any application to use. I know that this problem is related with data
base encoding method! Is it a bug? Can I repair it?
Thank You!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Cyrillic-font-at-myXwiki-…
[View More]tp7582521.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
[View Less]