Hello,
I'm using XEM 1.7.2 with Tomcat and Apache on Debian
- I ca create virtual wiki but i can't modify them. When I try to
preview or view my change, I'm automaticly redirected to the xredirect
page...
- And if I try to login directly on a virtual wiki, I can't logout...
Could you help me ?
François
Hi
I have a problem where creating and saving/editing documents fails.
I am using xwiki version 1.1.1 Here are some errors shown from the detailed
information page.
Error number 3201 in 3: Exception while saving document AVL.test
Wrapped Exception: Error number 3211 in 3: Exception while updating
archive AVL.test
Wrapped Exception: Error number 3212 in 3: Exception while loading
archive 1,473,480,338
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
Also in the same Detailed information report:
Wrapped Exception:
java.sql.SQLException: Table './macomtech/xwikircs' is marked as crashed
and should be repaired
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3256)
I havent come across this problem before in xwiki or mysql.
I could use "repair table xwikircs" in mysql. What else needs to be done to
fix problem or is there a better way to fix it?
Thanks
John
--
View this message in context: http://n2.nabble.com/Documents-failing-to-save.-Mysql-table-crash-tp3459900…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
In April there was a discussion on the list with this subject. This
discussion ends without a solution. Does anyone know if this problem has
been solved. It seems I am having the same problem here when running
1.9.3 on a Oracle OC4J container.
Thanks,
Henk
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
Hi Anca,
I will give this a try & update you on the outcome...
Thanks for the quick response. :)
Message: 3
Date: Wed, 19 Aug 2009 11:45:00 +0300
From: Anca Paula Luca <ancapaula.luca(a)xwiki.com>
Subject: Re: [xwiki-users] Search box in IE8
To: XWiki Users <users(a)xwiki.org>
Message-ID: <4A8BBB8C.3030102(a)xwiki.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Dilipkumar Jadhav wrote:
> Hello All,
> This thing just came to notice when we upgraded our Internet Explorer to
> IE8. The search box that populates using <meta-g> pulls up at the very
> bottom of the page in IE8.
> The same box works normally and shows up at the top of the page in IE7 or
> Firefox 3.X.X.
> In IE8, when I enable the compatibility mode, the box works normally &
shows
> up at the top of the page.
> Although, I've not tried this solution, but I understand that adding this
> meta tag at the top of any html/jsp page should help circumnavigate this
> issue :
> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Hi there,
I suppose you need to add this meta tag to all the XWiki pages, so that
you're
sure that any page you'd load, the content gets interpreted as in IE7. To do
this, go to your installation's templates folder (/webapps/xwiki/templates)
and
edit the htmlheader.vm file to add, next to the other <meta> tags, this one.
Hope this helps,
Anca
> However, I am not sure which page to add this so that the search box works
&
> appears at the top of the page.
> Any help...
Hello All,
This thing just came to notice when we upgraded our Internet Explorer to
IE8. The search box that populates using <meta-g> pulls up at the very
bottom of the page in IE8.
The same box works normally and shows up at the top of the page in IE7 or
Firefox 3.X.X.
In IE8, when I enable the compatibility mode, the box works normally & shows
up at the top of the page.
Although, I've not tried this solution, but I understand that adding this
meta tag at the top of any html/jsp page should help circumnavigate this
issue :
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
However, I am not sure which page to add this so that the search box works &
appears at the top of the page.
Any help...
Hi Sergiu,
problem is solved. Sorry for the annoyance. Today I have been told
that the xwiki database was imported from a previous xwiki instance and
not created from the scratch. So we decided to make a xwiki
installation from the scratch and this worked like a charm. Having a
look at the
log would also probably have helped us. There were a lot of exceptions
thrown by Hibernate (but I am not sure that they are all related to my
problem).
Thanks to everyone and have a beautiful day,
christian
--
Canoo - Your Solution Provider for Rich Internet Applications
Christian Ribeaud
Canoo Engineering AG
Kirschgartenstrasse 5
CH-4051 Basel
Tel: +41 61 228 94 44
Fax: +41 61 228 94 49
christian.ribeaud(a)canoo.com
http://www.canoo.com/
On Aug 15, 2009, at 7:58 PM, Sergiu Dumitriu wrote:
> Christian Ribeaud wrote:
>> Hi Sergiu,
>>> Thanks for the message. Unfortunately I won't be able to look at
>>> it more until tonight. After a first look, indeed it seems to be a
>>> real problem, which I can't explain right now.
>> No problem. I would really be happy if we could use XWiki.
>>> Can you first try to use the MySQL5Dialect dialect in the
>>> hibernate configuration file?
>> $ /usr/local/mysql5/bin/mysql -V outputs:
>> /usr/local/mysql5/bin/mysql Ver 14.12 Distrib 5.0.51, for redhat-
>> linux-gnu (i686) using EditLine wrapper
>>> Also, what version of the mysql connector are you using?
>> I found 'mysql-connector-java-3.0.11-stable-bin.jar' in
>> '<TOMCAT_HOME>/lib' directory (Tomcat6).
>> If XWiki does not install any other, this is the one which is used.
>
> Version 3 doesn't work well with XWiki. Can you try putting http://repo2.maven.org/maven2/mysql/mysql-connector-java/5.1.6/mysql-connec…
> in webapps/xwiki/WEB-INF/lib and restart the server?
>
>> Do you think that this could be a file permissions issue? On the
>> server where XWiki is running, I have less permissions than
>> on my computer.
>
> No, it correctly retrieves the number of users, and everything else
> seems to work, so it's not a permission issue.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
I have installed for testing the M3 and tried to login immediately with
Admin/admin but it says, Wrong user name!!!! I tried to see if anything
was written and nothing. Did the password or user name change?
Hi all,
I have been trying for the last day to put the TODO app in my wiki and it
kept on failing to show the mytodo list in the panel. I use Oracle for
backend so I thought it was that the problem. Here is the panel's code
corrected to work in my case (XWiki 1.9.3, Tomacat 6, Oracle XE 11):
#panelheader('My Todos')
#set ($hql = ", BaseObject as obj, StringProperty as prop1,
LargeStringProperty as prop2 where obj.name=doc.fullName and
obj.className='XWiki.TodoClass' and obj.name <> 'XWiki.TodoClassTemplate'
and obj.id=prop1.id.id and prop1.id.name='Status'
and prop1.value <> 'Finished' and obj.id=prop2.id.id
and prop2.id.name ='Assignee' and prop2.value like '$context.user'
order by doc.date desc")
#foreach ($todo in $xwiki.searchDocuments($hql, 5, 0))
* [$todo]
#end
#panelfooter()
The big difference is the LargeStringProperty (Instead of StringProperty
used in the XAR) and the like instead of = used to match the value.
For the LargeStringProperty it is strange for me that someone chose a CLOB
to store user names but... maybe because of the class hierarchy involved in
the user name. Then again, how can this work even without oracle?
For the like, well, oracle atleast will not even bother checking a string
against a stream. Yes the words are phonetically close but.... oracle
doesn't care about phonetics.
I hope others out there will enjoy this helpful app.
Hello!
I want to run different xwiki-versions (currently 1.7.2 and new 1.9.3) on one host in one tomcat-container (but different folders: webapps/xwiki172 and webapps/xwiki193) against one Oracle-DB (but different users: xwiki and xwiki2).
The user xwiki is used by version 1.7.2 and is running fine, the version 1.9.3 is configured to use the DB-User xwiki2.
It seems not to be possible, when I point to http://[...]:8081/xwiki193, I get:
2009-08-17 15:17:46,757 [http://[...]:8081/xwiki193/bin/view/Main/] [http-8081-Processor23] ERROR store.XWikiHibernateBaseStore
java.sql.SQLException: ORA-00955: name is already used by an existing object
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:207)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:957)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1170)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatement.java:1623)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:1588)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at org.apache.commons.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:225)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:492)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:308)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:254)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:563)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1024)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1068)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:
at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.<init>(AbstractXWikiMigrationManager.java:68)
at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.<init>(XWikiHibernateMigrationManager.java:51)
[...]
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
2009-08-17 15:17:46,809 [http://[...]:8081/xwiki193/bin/view/Main/] [http-8081-Processor23] WARN util.JDBCExceptionReporter
2009-08-17 15:17:46,809 [http://[...]:8081/xwiki193/bin/view/Main/] [http-8081-Processor23] ERROR util.JDBCExceptionReporter
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigra
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
at com.xpn.xwiki.XWiki.createClassFromConfig(XWiki.java:1005)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:728)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:670)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:317)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:388)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
[...]
It looks a little bit like jira-XWIKI-2009 which is noticed to be fixed.
Is this possible? How to do?
hp-ux 11.23
java 1.6.0.03
tomcat 5.5.20
oracle 10.2.0.3
Thanx a lot!
Michael
******
Plantschen oder Grog? Der Arcor-Wetterdienst weiss Bescheid!
Wassertemperaturen für den Urlaub jetzt checken: www.arcor.de/rd/wetter_wasser