Debian 4 & Xwiki (Donate $50)

Discussion in 'Suggest HOWTO' started by Thunderbirdsei, Jan 16, 2008.

  1. Thunderbirdsei

    Thunderbirdsei New Member

    [SOLVED] Debian 4 & Xwiki (Donate $50)

    Hi

    I would like to see a step-by-step Howto for a xwiki installation on a webserver (Debian 4 / PostgreSQL or MySQL).

    I would donate $50 to this :)

    Cheers
     
    Last edited: Mar 22, 2008
  2. Thunderbirdsei

    Thunderbirdsei New Member

    Forget that entry. I did it and I will post the Howto later on.
     
  3. falko

    falko Super Moderator ISPConfig Developer

    That would be great! :)
    If you're having problems posting it, you can send it (as a zip file) to me: ft [at] falkotimme [dot] com
     
  4. Thunderbirdsei

    Thunderbirdsei New Member

  5. ranga.fernando

    ranga.fernando New Member

    Xwiki installation issue.

    Hi Thunderbirdsei,
    I have just installed XWIKI on my ubuntu machine with Tomcat 5.5 and MySQL as explained in the below link
    [http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch] (The link that you given)
    once everything finished I just tried to Importing XWiki pages as explained
    in the below link
    http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ImportExport

    and tried to access url
    'http://localhost:8180/xwiki/bin/admin/XWiki/XWikiPreferences' in my
    machine. but dont see anything in the browser it is just an empty page. Does
    any one has any clue about this issue ?
    even if I tried ''http://localhost:8180/xwiki/' its redirecting to
    'http://localhost:8180/xwiki/bin/view/Main/WebHome' but I dont see anything
    in the page. :(

    Please advice me.
     
  6. Thunderbirdsei

    Thunderbirdsei New Member

    That's correct. Now you should see in the right corner on the top the administration button. click on it and then you should be able to import the XAR. You are on the very last step, we get you through this... :D
     
  7. ranga.fernando

    ranga.fernando New Member

    xwiki installation issue.

    Hi Thunderbirdsei,
    Thx a lot for your quick reply.
    But I dont see anything in the top right conner in my window.
    its just a blank/empty page in my window. do you have any clue ?
    Or do you want me to check any error logs ?
    If so let me know where to check !

    Please advice.

    BR
    ranga.fernando
     
  8. Thunderbirdsei

    Thunderbirdsei New Member

  9. ranga.fernando

    ranga.fernando New Member

    Hi Thunderbirdsei,

    This is an ODD and a strange situ, no errors nothing just a blank page
    If I view the page source I get this.
    "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
    <BODY></BODY></HTML>
    "
    any doubt about any error ?
    MySql Error ??
    My MySQL version is '5.0.45'
    and I have downloaded 'mysql-connector-java-5.0.8-bin.jar' driver.

    and below is the dump of my current 'hibernate.cfg.xml' mysql settings

    <property name="connection.url">jdbc:mysql://127.0.0.1/xwiki?useServerPrepStmts=false&amp;sessionVariables=sql_mode=''</property>
    <property name="connection.username">xwiki</property>
    <property name="connection.password">xwiki</property>
    <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
    <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
    <property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
    <property name="connection.pool_size">2</property>
    <property name="statement_cache.size">2</property>
    <mapping resource="xwiki.hbm.xml"/>
    <mapping resource="feeds.hbm.xml"/>

    Hope this info will help you to get an idea of my issue.

    Please let me know if you have any clue.

    Thx & BR,
    Ranga
     
  10. Thunderbirdsei

    Thunderbirdsei New Member

    I've deleted everything after "xwiki" but this is most likely not the problem...

    There are some spaces between "store" and "Driver". Is that just a copy&paste error?

    Did you uncommented the MySQL part correctly? Other than that, I'm sorry, you really should com over the mailinglist, they can help you for sure better than me and they will respond quickly.
     
  11. ranga.fernando

    ranga.fernando New Member

    Hi Thunderbirdsei,
    Yes, the sapeces between store and driver are copy & past errors.
    anyways as you suggest, I will post the issue to the maling list.

    Below is the complete segment related to MySql of the ''hibernate.cfg.xml' file.
    as you can see I have uncommented required parts.

    ------------------------------------------------------------------------
    <!-- MySQL configuration.
    Uncomment if you want to use MySQL and comment out other database configurations.
    Note that the database will be created automatically if it doesn't already exist.
    we need to set the sql_mode to a less strict value, see XWIKI-1945 -->


    <property name="connection.url">jdbc:mysql://127.0.0.1/xwiki?useServerPrepStmts=false&amp;sessionVariables=sql_mode=''</property>
    <property name="connection.username">xwiki</property>
    <property name="connection.password">xwiki</property>
    <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
    <property name="dialect">org.hibernate.dialect.MySQLDialect</property>
    <property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
    <property name="connection.pool_size">2</property>
    <property name="statement_cache.size">2</property>
    <mapping resource="xwiki.hbm.xml"/>
    <mapping resource="feeds.hbm.xml"/>
    --------------------------------------------------------------------

    anyways big thx for your effort and time on this issue.

    Thx & BR
    Ranga
     
  12. ranga.fernando

    ranga.fernando New Member

    Hi Thunderbirdsei,
    Its me again, sorry to disturbe u again :(.
    I couldn't get XWIKI up and runing yet :( and I have submited my query in their mailing list. but still no luck :(.

    Could you please tell me what JRE required to run the XWIKI ?
    I just checked java version which I installed in my machine.
    $ java -version
    it gives me this ..
    "java version "1.4.2-02"
    Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-02)
    Java HotSpot(TM) Client VM (build Blackdown-1.4.2-02, mixed mode)"

    So its like I have installed 1.4

    isn't xwiki run on JRE 1.4 ? is it required 1.5 ?

    Please advice.

    BR
    Ranga
     
    Last edited: Apr 9, 2008
  13. Camran

    Camran New Member

    same problem

    i just want to say i have done step by step by xwiki.org web site and the blan k page appear!
     
  14. Thunderbirdsei

    Thunderbirdsei New Member

    Which OS?
    Which JVM version?
    Which DB (and version)?
    Which XWiki version?
     

Share This Page