Note, that this recipe is not updated long time and could be outdated!
Got it.

XWiki kļūdu novēršana

Šajā lapā ir aprakstīti XWiki kļūdu novēršanas paņēmieni.

Tomcat kļūdas

  1. Ja pēc Tomcat pārstartēšanas /var/log/tomcat6/.. failos parādās ziņojums:

    INFO: The APR based Apache Tomcat Native library which allows optimal performance
    in production environments was not found on the java.library.path...
  2. Uzstāda papildu pakotni:

    sudo aptitude install libtcnative-1
    Ubuntu 8.04 šāda pakotne netiek piedāvāta!

MySQL kļūdas

  1. Ja parādās kļūdas ziņojums:

    Error number 0 in 3: Exception while hibernate execute
    Wrapped Exception: could not insert: [[com.xpn.xwiki.doc.XWikiDeletedDocument]]
    ...
    com.mysql.jdbc.PacketTooBigException: Packet for query is too large (22344674 > 16776192). You can change this value on the server by setting the max_allowed_packet' variable.
    ...
  2. Atver failu /etc/mysql/my.cnf un tajā izmaina rindu:

    [[mysqld]]
    ...
    max_allowed_packet = 16M

    uz lielāku, piemēram:

    max_allowed_packet = 64M
  3. Pārstartē MySQL serveri.

LDAP kļūdas

  1. LDAP Browser
  2. Izmanto Tshark:

    tshark -x -f "host ldap.serv.adrese"
  3. Faila paraugs no http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging un papildus ieliek rindu:

    #turn on debug messages for LDAP
    log4j.logger.com.xpn.xwiki.user.impl.LDAP=debug

XWiki kļūdu reģistrs


  
Tags XWiki Kļūda
Created by Valdis Vītoliņš on 2013-11-09 13:22
Last modified by Valdis Vītoliņš on 2021-04-13 14:30
 
Xwiki Powered
Creative Commons Attribution 3.0 Unported License