Hi,
I am new to XWiki and am currently trying to set up a local test
system. I downloaded the latest war and mysql -dump, did all the
configuration and even the troubleshootinghints (copying jars to
tomcat/common) but I still get this error:
I guess the key is "could get JDBC batch update" ...
Its mysql 4.1.15 as it comes with ubuntu dapper an tomcat 5.5.16 on
JRE5 (1.5.06)
Anyone with an idea?
tia
Jan
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented
it from fulfilling this request.
exception
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
I just recently made an XWiki and need to change the
colors to the articles the users make. I need the
background to be black and the text white. How can I
change this?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I have created several wiki pages logged in as the Admin - It appears that
the pages created as admin are not editible by normal users.
Is there a way to change these pages so that they are editible by a specific
group or user?
I have trired to correct this by creating Page aAccess Rights to the
specific page with edit rights, but yet it still does not allow them to edit
these pages.
Am I missing something or what?
Eric W. Dunn
Programmer Analyst III - Remedy/Collaboration
McLeod USA, Inc. - Network Engineering
8665 New Trails Dr.
The Woodlands, TX 77381
_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee®
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
This is one of those long-time gotchas about wikis: that migrating from
one to another is potentially painful. However, this isn't really about
that.
What I'd really like to do is get a lot of content out of the MS Word
docs that we still end up having to attach, in order to facilitate
collaborative development on them. Even if we have to reconvert them to
suit other people's requirements, I think it would be well worth the
trouble to work on them in XWiki syntax.
Of course, Word can save as HTML, and HTML will work on an XWiki page,
but without the ease of editing offered by wiki syntax, the benefits
would be greatly reduced.
Has anyone thought (or done) anything about condensing reasonably
well-structured HTML into equivalent XWiki syntax?
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141
When copying a document using $xwiki.copyDocument(), I find that all the
attached objects are copied along with the document, and I am able to
view them appropriately. However, they are not available to other
users, and when I call $xwiki.flushCache(), only the document content
remains; the objects are no longer attached.
A further detail, whether relevant or not, is that the document being
copied is a user profile document (defined as a document named
XWiki.<username>, where <username> is the login name of the user, and
containing an XWiki.XWikiUsers object).
Yet another detail, puzzling though it may be, is that of the objects in
the original, one of them is the one defined in the xwiki-db-0.9.2.sql
database download as an object of XWiki class XWiki.XWikiRights with ID
165499024, with a field named "levelsye". It's one of two
XWiki.XWikiRights objects attached to a user profile document by
createUser; the other one explicitly gives edit permission to the user
himself. No other XWiki.XWikiRights objects contain this field, nor
does the current definition of the XWiki.XWikiRights class contain it;
instead they contain a field called "levels".
So, the questions are, in order of (logarithmically) decreasing
importance:
1. How can I make this work?
2. Does a user profile document have some special status that makes it
inappropriate to make a copy?
3. Is the "levelsye" field in an object simply a bug, or is there some
arcane reason for its existence?
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141
Matt,
Thanks for the information.
Cheers, John
-----Original Message-----
From: Matthew Conway [mailto:conway@tripadvisor.com]
Sent: Tuesday, 27 June 2006 2:18 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] XWiki cache sharing supported?
I added some cache clustering code to xwiki:
http://mail-archive.objectweb.org/xwiki-dev/2006-05/msg00018.html
You may need to tweak it a bit as mentioned in the above message.
Matt
On Jun 25, 2006, at 10:39 PM, Turner, John wrote:
> G'day All,
>
> Is there anyway to share the XWiki cache?
G'day All,
Is there anyway to share the XWiki cache?
Environment:
* XWiki version 0.9.840
* Database Oracle 9.2
* Application Server = Sun Java System Application Server 7
I have this scenario: one database DB-0, two application servers, AS-1
and AS-2. Two instances of XWiki: X-1 running on AS-1 connecting to
DB-0, and X-2 running on AS-2 connecting to DB-0.
Page updates made via X-1 do not immediately appear when viewed via X-2.
This is presumably because X-1 and X-2 maintain their own caches.
Is there anyway for X-1 and X-2 to share the same cache, or synchronise
the caches when a change is made? I notice that there are some vague
references to clusters in XWikiCacheStore.java but I don't see any
mechanism for triggering a refresh of other caches after a local cache
update.
I've tried turning caching off as a work around but that causes an
unacceptable performance hit.
Thanks, John
---
John Turner
Network Inventory Systems Development (Dialog IT)
Email: John.Turner.2(a)team.telstra.com
Ph: (07) 3887 4010
This time without the damn signature (which the list server seems to like
messing up)
Does anyone have a tutorial on how to take data out of a (not-xwiki)
database and show it in a table, or better yet - a graph?
-Adrian