Hi All,
Wondering if this is due to an API update, or just some odd
co-incidence, but since going to Beta4 any email message sent from Xwiki
now has no to: address. Our corporate Junk Mail settings then trash the
email..
Guess the question is, am I mucking up the call (see below), or was this
an API update since 0.9.840 (last test was done pre-Beta1 on 0.9.840)?
$xwiki.xWiki.sendMessage("esbachb(a)tycoelectronics.com",
"esbachb(a)tycoelectronics.com", "blah blah blahdablahblah:subject is
here", $context.context)
Brandon Esbach
Software Engineer
Tyco Electronics
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Hi.
I wondered if I could help translating the resource
file to Japanese. But I noticed some problems, so I
want to let it to be known.
First, I couldn't find a preferred way to contribute
resource file translations. Its a common topic in a
project like this, so I think it should be clearly
documented in an easily found place.
Second, I found out that in a couple of cases, the
resource string items contain small fragments of
sentences, rather than full sentences. This makes it
impossible or hard to provide a meaningful translation
in languages that have different syntax structures
like Japanese. You need to make much more use of
the parameters like {0} and {1} and write the full
sentence.
I will show the ones that I noticed.
helponsyntax=Help on the
I haven't seen this on the xwiki UI yet. I think this sentence
is followed by a text box or a pulldown. So the actual sentence
is probably like:
Help on the [____].
But in Japanese the sentence structure has to be something like
[_____] no help wo hyoji.
So adding the label on the left of the UI doesn't work.
For very simple statements, english has the structure
Verb + object.
Japanese has the structure
Object + verb.
Also I noticed a line:
youcan=You can
In English you write "You can [do something]", but in Japanese,
you write "[do something] dekimasu". So a successful resource
string would be
youcan=You can {0}.
and the Japanese version would be
youcan={0} dekimasu.
If the "You can" was followed by a structure of UI elements
such as a list of checkbox items, A translation friendly
label would be a full sentence like "You can do the following:".
I stopped translating the file after working on it for about
3 minutes because I felt that there would be many of these.
I hope the structure gets revised. I hope even more that someone
else translates it to Japanese :-P
I like the software itself. It has features that I am looking for.
--
natto is japanese food.
I chose it for my alias.
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com
Powered by Outblaze
On a few of our pc's (those with lower memory), for Beta2 and Beta3 the
main problems experienced with the wysiwyg editor were mainly revolving
around updating or adding large data (100lines+) in a news item.
Mainly, it took several minutes depending on styles applied
(understandable).
On Beta4, we're experiencing data loss in place of this; which has my
users quite concerned.
Just to clarify: this is only affecting users using the wysiwyg
interface.
Before loging a JIRA issue (I could not find a similar one in the logged
issues already there), I'd like a show of hands if anyone else has
experienced either problem?
Brandon Esbach
Software Engineer
Tyco Electronics
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Good morning everybody,
I would like the document's title to be a mandatory field. How can
this be achieved?
Thanks for any ideas/advices/help,
Lars Heller
In developing my servlet filter, I created some HQL queries against the
XWiki object store. These apparently get compiled and cached somewhere
in generated code, because when I had an error in a query, changing it
and rebuilding the project had no effect on the query text, so that it
evokes the same exception and reports the same query text as before,
unless I clean my project every time I change the text of the queries.
Apparently the dependency of the compiled queries on my class needs to
be stated in a way that it isn't currently. Any clues on how to do
this?
brain[sic]
Hi,
I migraded a mysql based 0.9.840 XWiki to 1.0B3. I need to keep the old Style/Layout. Unfortunately, I do not get the XWikiPreferences Page. Therefore, I cannot import/export admin pages.
Calling
http://localhost:8001/xwiki/bin/admin/XWiki/XWikiPreferences
leads to a strange Page containing just 'Hello'.
After migrating the configuration und preferences pagesare still like in 0.9.840.
How can I get the XWikiPreferences page and/or upgrade the admin pages to use the new features?
Regards,
G Leeb
I am trying to delete some test users I have created. I know that the only
way to do this is to delete the XWiki.<username> page. I can't seen to
locate these pages, where are they ?
Cheers,
O
--
if(!Coffee.Exists)
{
me.Dispose();
throw new NullCoffeeException();
}
Hi,
I'm trying to add a second xwiki server to the server I am currently
using. I'm running tomcat and using mysql as the database on a linux
machine. I know this is going to seem like a huge barrage of questions,
but I'm new to this, so please bear with me.
First, all the instructions use different subdomains for the different
xwiki servers. I know very little about DNS, and was hoping there might
be another way. Right now the current xwiki is usually accessed just
using localhost in a browser, is there some way I could set up the
second instance to use a different address or port or even just a
different folder name without having to mess with DNS? Would it be
easier to set up my own internal DNS server?
Second, I've added the second database to mysql, and granted all
privileges to the xwiki user. So now there are two databases, xwiki (the
old one) and publicwiki (the new one). What I'm hung up on is creating a
new class called "XWikiServerClass". I've created it in the class
editor, but I'm not sure what the guide means by "add a string property"
for server and owner.
From the guide it looks like the plan is, once I get XWikiServerClass
set up, to create two pages, Xwiki.XwikiServerXwiki and
Xwiki.XwikiServerPublicwiki. I then attach the XWikiServerClass object
to each page and set the owner and server fields. Then change the
xwiki.virtual entry from 0 to 1 in xwiki.cfg, restart tomcat. Does this
sound right?
Any and all help is greatly appreciated,
Duncan
Gents,
I am using BETA 4 and encountered the following problem:
Once logged on there seems to be an inactivity period, which forces a log
out w/o warning.
The editor for an entry is open, accepts entries but once you want to save
what you edited and you took a break of > 10 minutes in between, everything
is gone.
On the other end with previous betas, I could leave the xwiki for hours go
to different URLs, and go back to the Xwiki and I was still logged-on.
What are the policies here and IMHO both cases described above should not
happen.
Thanks
Uwe
Hi all,
we are currently deploying xwiki within our company. We use the last
stable version, the same as the one used by ObjectWeb (0.9xxx). In this
version we are using the WIKI Editor (the wysiwyg one is not running),
but we have the following issue: in order to skip a line (to insert some
line breaks), it is necessary to insert some "<br\>" HTML statements or
some "\\" characters in the content. This is even not documented in the
"help frame" on the right of the editor screen. This is a show stopper
for us since we cannot ask our end users (people who will provide the
content) to know this kind of syntax. Is there any turn around or any
patch that could be used to cope with this issue ? We do not want to
upgrade to the 1.0 beta version in a short term.
Thanks,
Best Regards,
François
Has anyone got virtual wikis working on Postgres?
I keep getting stack traces when I select save to create
XWiki.XWikiServerXwiki_otherwiki when using Beta4, Postgres 8.1.4 and Tomcat
4.0.5.
I've tried both with a pre-created database and by giving the xwiki user
sufficient privileges to create a database.
Error number 0 in 11: Uncaught exception
Wrapped Exception: null
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: null
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:165)
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)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.NullPointerException
at com.xpn.xwiki.XWiki.flushVirtualWikis(XWiki.java:2056)
at com.xpn.xwiki.XWiki.notify(XWiki.java:2042)
at com.xpn.xwiki.notify.DocObjectChangedRule.verify(DocObjectChangedRule.java:100)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:113)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3034)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:4462)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:43)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
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)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458)
at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551)
at java.lang.Thread.run(Thread.java:595)
I'm developing a large-ish web application using the Google Web Toolkit
(GWT) and one of the things I'd like to integrate is a wiki. I'd like to
use an existing wiki engine and not develop from scratch, and in looking
around it seems that xwiki is the best java solution.
So, here are my questions:
1) Has anyone integrated xwiki into an existing GWT application?
2) And if not, has anyone integrated xwiki into any other existing java
web application?
Some guidance on how to approach this would be appreciated (high level is
okay, I'll sweat the details), if it is indeed agreed that xwiki is an
appropriate solution.
Thanks-
Robert
I apologize for the length of this message, but it's a topic that I
believe to be of pretty wide interest and takes some explaining.
I've built a servlet filter to intercept requests and demand cookies,
redirecting to an enterprise SSO server if they're missing or invalid.
Intended to provide the benefits of the SSO server to any J2EE-compliant
servlet, it implements the servlet API methods
HttpServletRequest.getUserPrincipal() and
HttpServletRequest.isUserInRole() in a custom HttpServletRequestWrapper,
which it initializes with the cookie-supplied information and then
passes down the filter chain. An interface for writing custom adaptor
classes is provided, and for XWiki I use it to customize the Principal
to prepend "XWiki." to the value to be returned from
Principal.getName(). All this is working splendidly for XWiki without
the need for any custom versions of the authentication, rights, or group
services, which was a design goal.
Another design goal was to eliminate the need for manual registration of
new users, either by themselves or administrators, by automatically
registering any user not already registered before passing the request
on. My filter provides two possible avenues for this: first, a second
filter, which can be placed after the first, sends a generic POST
request with all the cookie data to a custom-crafted URL, which is easy
enough for an application such as XWiki to provide - or so it seems;
second, adding code (in the application-specific adaptor interface
mentioned above) to accomplish the task directly using the XWiki APIs.
The first approach would have required a custom form, and it looked hard
enough that I didn't try it, but most of all I couldn't work out how to
get the correct permissions. Between that and the second, I created a
URL object with which I formatted a GET request to the
XWiki.RegisterNewUser page. That had significant problems, chief of
which was determining whether the registration had actually worked - the
HTTP status doesn't tell you, and I'd have to parse the response to
guess the answer. Changing the form (which I had to do anyway) would
make that easier, but I didn't like that answer either.
So now I come to the second approach, which has so far been the most
straightforward and appears, sometimes, to work, sort of. There is an
XWiki.createUser() method that takes only the user name, a Map of object
properties, the parent document name, the user profile document content,
the user's privileges and the XWikiContext. All of those except the
XWikiContext can be determined easily, but what goes into the context,
and how it gets there, is another question, not to mention how I get my
hands on the XWiki object running in the servlet to exercise that
method.
The second problem was attacked first. I found that after the servlet
had handled its first request after starting, there was a property in
the servlet context called "xwiki", and the currently running instance
was its value. Bingo. As long as I could be sure I wasn't the first
customer of the day, everything was great. And that would still work if
it had to, but I still didn't like it. Putting a breakpoint in
XWiki.init_xwiki(), which looked to be where the show began, showed me
that it was called by a chain of (deprecated) constructors called,
ultimately, by static method getXwiki. Now we're getting somewhere.
But still I had to get some information into the XWikiContext which I
had to pass to that method.
I've had a bit of trouble getting to the method in the Struts packages
that is called to initialize the context, and I'll probably find it
eventually, but it's taking a long time and I'm hoping that someone has
better understanding of Struts and J2EE and other such stuff and could
shortcut my current route to understanding all of this, and/or to
suggest a better approach.
So, in short:
1) Where, if anywhere, can I jump into the XWiki APIs to initialize
the context properly? and/or
2) If this is a stupid way to approach the problem, what would be a
wiser one?
Thanks in advance, as always,
brain[sic]
Hi all,
Not sure if this can be done; but I've come across the need to update
object properties directly from velocity.
For example, object A is in a particular document 4 times. Each has 25
sets of 2 string properties, (field1_before; field1_after)
When the user updates the _after field, I need to do certain operations
- when done, I then need to update the _before field so that it only
happens once.
I guess, long and short of it is: anyone managed to update a property
from velocity directly (without redirecting the url each time)? Or have
any idea's how it could be done?
Hi,
We're happy to announce the availability of XWiki 1.0 Beta 4 (http://
www.xwiki.org/xwiki/bin/view/Main/Download).
Major changes:
* Lots of bugs fixed
* Added support for internationalizing XWiki applications
* Added XMLRPC addSpace() API (confluence1.addSpace)
* Improve FeedPlugin to store RSS article in xwiki pages
* (Experimental) XWiki Google Web Toolkit Server API added, for
developing GWT applications in XWiki
* All the files stored on disk should be charset independent
* Add button to setup underline for text in wiki editor
See http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWiki10Beta4
for more details.
Enjoy!
-The XWiki Development Team
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire.
http://fr.mail.yahoo.com
Hi,
I downloaded the embeddable version of beta-4 of XWiki.
I created a page, and when I further edited it in wiki mode, and did "save
and continue", I got a huge stacktrace.
This is a repeatable problem, each time I do "save and continue" on that
page and even on all other pages.
Error number 3201 in 3: Exception while saving document Todo.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while loading archive
Todo.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while loading archive
577 054 891
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document Todo.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while loading archive
Todo.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while loading archive
577 054 891
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:314)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:100)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:909)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:114)
at
com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:67)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3212 in 3: Exception while
loading archive Todo.WebHome
Wrapped Exception: Error number 3212 in 3: Exception while loading archive
577 054 891
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:249)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:239)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:100)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:909)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:114)
at
com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:67)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3212 in 3: Exception while
loading archive 577 054 891
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiHibernateVersioningStore.java:122)
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiHibernateVersioningStore.java:91)
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:241)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:239)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:100)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:909)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:114)
at
com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:67)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Wrapped Exception:
net.sf.cglib.beans.BulkBeanException: Error number 3003 in 3: Exception
while manipulating the archive for doc
Wrapped Exception: Parse error at line 1, column 105. Encountered: Laforge
at
com.xpn.xwiki.doc.XWikiDocumentArchive$$BulkBeanByCGLIB$$ae9872e2.setPropertyValues()
at
org.hibernate.tuple.PojoEntityTuplizer.setPropertyValuesWithOptimizer(PojoEntityTuplizer.java:212)
at
org.hibernate.tuple.PojoEntityTuplizer.setPropertyValues(PojoEntityTuplizer.java:185)
at
org.hibernate.persister.entity.AbstractEntityPersister.setPropertyValues(AbstractEntityPersister.java:3232)
at
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:126)
at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
at org.hibernate.loader.Loader.doQuery(Loader.java:717)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
at
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
at
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
at
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
at
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
at
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:177)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:799)
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.loadXWikiDocArchive(XWikiHibernateVersioningStore.java:112)
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.getXWikiDocumentArchive(XWikiHibernateVersioningStore.java:91)
at
com.xpn.xwiki.store.XWikiHibernateVersioningStore.updateXWikiDocArchive(XWikiHibernateVersioningStore.java:241)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:239)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:100)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:909)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:114)
at
com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.java:67)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: com.xpn.xwiki.XWikiException: Error number 3003 in 3: Exception
while manipulating the archive for doc
Wrapped Exception: Parse error at line 1, column 105. Encountered: Laforge
at
com.xpn.xwiki.doc.XWikiDocumentArchive.setArchive(XWikiDocumentArchive.java:68)
... 51 more
Guillaume
--
View this message in context: http://www.nabble.com/Stacktrace-on-%22save-and-continue%22-with-Beta-4%27s…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Greetings,
After noticing the point about charset independence I tried a beta 4 with
non-latin content. Still it exposes number of fairly visible issues, like
unusable wiki editor.
So is it correct that file charset independence does not imply
internationalization support?
--
Best regards,
Pavel
---------------------
Hi,
We're happy to announce the availability of XWiki 1.0 Beta 4 (http://
www.xwiki.org/xwiki/bin/view/Main/Download).
Major changes:
* Lots of bugs fixed
* Added support for internationalizing XWiki applications
* Added XMLRPC addSpace() API (confluence1.addSpace)
* Improve FeedPlugin to store RSS article in xwiki pages
* (Experimental) XWiki Google Web Toolkit Server API added, for developing
GWT applications in XWiki
* All the files stored on disk should be charset independent
* Add button to setup underline for text in wiki editor
See http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWiki10Beta4 for
more details.
Enjoy!
-The XWiki Development Team
Currently trying to work with both groovy and velocity for a project
management class object.
What I need to do is to initiate the groovy function from velocity (with
a parameter set).
Looking at the newsgroup archives it seems the way to do this is by
using "parseGroovyFromString", which indeed returns an object - but how
do I then take this and run the function (which in turn returns a result
which I need to assess)?
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Upgraded to beta 4 from beta 3 and it was exactly as easy I had hoped for.
It does fix some of the most annoying things, thanks for that! However, one
simple thing it didn't change is this: we are displaying links to other
services on the same server (like maven-site, maven repository etc) right on
the home page. Now, if I edit that document again, the WYSIWYG mode replaces
all links with ../../../.. in an obvious attempt to make them relative
instead of absolute as XWiki figures they must be links pointing elsewhere
in the XWiki itself. Saving again renders the links non-working. Is there a
way to enforce the links remain absolutely or should I open a bug?
Kalle
Hi,
is there a functionality in XWiki to send link information to a
trackback enabled application like Jira or receive this kind of
informations? And if not, what would be the easiest way to do this?
We would like to use XWiki in our company as a knowledge base. And if
there are automatically created links between jira and XWiki (in
both directions) this would be great.
For all of you who don't know what trackback is:
http://www.sixapart.com/pronet/docs/trackback_spec
Bye
Frank
Hi folks,
Wondering if anyone has had the opportunity to use the email plugin at
all on B2 or B3?
Specifically, I have two things I'm trying to acchieve:
1) Setup email notifications for changes to specific parts of a document
(eg, change occurred to field x in document y). Can't seem to find
anything specific for details on this,- if there is something there,
please point me in the right direction.
2) Emailing from the Xwiki system directly (documentation/faq for which
seems to have disappeared since I last used it to implement on 0.9.840).
The origional sample which Ludovic wrote up is still there
(http://old.xwiki.org/xwiki/bin/view/Demo/SendMail on the old xwiki
site), but configuration documentation seems to be missing, From
recollection, there was a few things we had to configure - as the
default HELO is sent using a combination of fields which includes the
version number (and naturally gets rejected by our SMTP server as it is
not a valid email address supplied as origionator).
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
I am implementing XWiki as an internal knowlegde base for the IT
department I work for. The installation was straightforward and went
relatively smooth. We are using XWiki 1.0 Beta 3 / MySQL 5.0.27 /
Tomcat 5.5.17 on a Windows machine and after exploding the war file I
have imported all of xwiki-1.0-beta-3.xar.
However, when I edit a (new) page with the WYSIWYG editor and try to
insert an image, the (uploaded) image is displayed correctly in
TinyMCE but doesn't show when I save the page. The html source code
only shows an <br/> tag where the image was.
When I add an image in the Wiki editor, the tag '{image:example.jpg}'
is inserted and after changing the file name (in WYSIWYG or Wiki
editor) and saving the page, the image is properly displayed. But when
I try to edit and save the page, the image is again removed.
This behavior is a real show stopper for us. I searched the user email
list and JIRA but can't find anything about it. Does anyone recognize
this and knows a solution or workaround?
Thanks in advance!
Ronald Borman
The Netherlands
Hi, Vincent and Jean-Vincent,
One thing I really like xwiki is that almost all questions posted in the
user list will be answered by others in a timely fashion.
Thank you for your help and my problems are pretty much solved by your
answers.
My previous category->blog post mappings are lost actually due to my blind
import of the 1b3 .xar file. I later on unchecked the Blog.* section and
now I can have my mappings bag via jean-Vencent's code snippet.
I now can access the Tags section via the URL Vincent sent to me. I also
found out I can access the Tagged pages via the Tag page in the Main
space.
I played with the Panel wizard a bit and can get the XWiki space back
there. The drag and drop layout tool is so cool.
I also have modified the skin and did a little customization based on
Vincent's answer. Now my xwiki has been almost up with the 1.0b3 code
base.
Sorry to hijack the session, i thought that was not hijacking but didn't
know that still left some inaccurate meta data in the thread. I will start
a new thread in the future.
Thanks a lot!
-Jimmy
----- Original Message -----
From: "Jean-Vincent Drean" <jv(a)xwiki.com>
To: <xwiki-users(a)objectweb.org>
Sent: Monday, February 12, 2007 10:05 AM
Subject: Re: [xwiki-users] A couple of questions after migrating xwiki from
0.9.840 to 1b3
> 2007/2/12, Vincent Massol <vincent(a)massol.net>:
>> Hi Jimmy,
>>
>> On Feb 12, 2007, at 12:57 AM, jimmy(a)comkraft.com wrote:
>>
>>
>> >
>> > 2. My previous pages are categorized in 0.9.840 in 15 categories. I
>> > could
>> > navigate to the pages from the category list. Now all my pages are
>> > displayed in the Main space without categorization. Is there a way
>> > to get
>> > back the categorization for each pages? I noticed there are a
>> > couple of
>> > predefined categories in the Blog space.
>>
>> I don't have an answer for this. Maybe others know?
>>
>
> I assume you are talking about blog posts, to see the categories again
> you'll have to create a panel (/xwik/bin/view/Panels/) containing this
> code :
>
> ---------------------------------
> #panelheader('Blog')
> #set($blogcatdoc = $xwiki.getDocument("Blog.Categories"))
> #if($xwiki.hasAdminRights())
> <font size="-2">(<a href="$blogcatdoc.getURL("inline")">Editer les
> Categories</a>)</font>
> #end
> #set($catdoc = $xwiki.getDocument("Blog.Categories"))
> #foreach($catobj in $catdoc.getObjects("Blog.Categories"))
> #set($catname = $catdoc.display("name","view",$catobj))
> #if($catname!="")
> * [${catname}>Blog.Category?category=${catname}]
> #end
> #end
> #panelfooter()
> ---------------------------------
>
>
--------------------------------------------------------------------------------
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
I really like the new skin, especially the comments/attachments/history
display handling, and I don't want that to be missed. I have two
difficulties, however, both related to the elimination of the More
Actions menu:
First, I can't find a direct link to the Edit Objects URL for the page.
It works if I enter it manually (and let me gratefully note here that
the new skin has made the editobject template *much* more friendly), but
none of the menus seems to offer a path to it.
Second, the More Actions menu had an item that mitigated an existing
annoyance, which was that, if a page had objects (other than comments)
displayed on it, the URL in the Edit link was changed to /inline/ from
/edit/. To me it was annoying, but to many users, it was confusing,
which is worse, of course. It got to the point where I always used the
More Actions menu to select inline or edit myself, but now that option
is unavailable. Of course, I can always enter the URL by hand, or use
FoXWiki if I'm opening it from a link, so again it's not a show-stopper
for me but a problem for the Great Unwashed (or, as they say in
Ludovic-land, the sans culottes)...
I know how I can provide these, so I don't need that advice, but it
would, of course, be good to have them available in the default skin, so
I would like somebody to: 1) point out where they are if I've just
missed them; 2) discuss where you think they ought to be from the user's
perspective (especially if, for example, you have already re-implemented
them); and/or 3) suggest a JIRA item to provide them in the default
skin.
brain[sic]
Hello,
I'm new on this list, so forgive me for asking this, as I'm sure it's
answered before (but couldn't find it in FAQ). It took me a long time to
figure out how to create a link to the registration form, but finally found
it in one bug report: $xwiki.getURL("XWikiRegister", "register"). However,
now if you put it in a href it works the first time after saving, but if you
edit the same document in (in Wiki view) you see it's getting cut by the
parser at the first double quote, like $xwiki.getURL(". Saving the document
again understandably renders the link non-functional. Is there a proper way
of doing this and/or is there a reason why I couldn't use single quotes
instead of double quotes (as you would commonly circumvent the same problem
in Javascript implementations).
Kalle
Hi guys, this is my first message here. I would like to integrate Xwiki
inside of my system, using SSO, sharing stylesheets, menus and things like
that.
Anyone knows if there is documentation about that?
I've searched in the web-site, but without results.
Thanks,
Franklin Samir
http://jnuke.dev.java.net
Thanks alot guys.
I discovered the PanelWizard Page and I played around with it a bit.
What I did was add the expand/collapse header to it, and instead of
showing all the spaces and eliminating a few, I chose only to show the
spaces I wanted with the Navigator Panel. Looks pretty nice.
Its got some potential if you take the time to play around with it some
more, will see how much time I have left for it.
Regards,
Dandre
Hi All,
I was wondering if there was a simple way to get all the options for a
static list - eg, via a query?
In a few of my custom classes, I have several staticlist properties - I
need to cycle through the available options of each within velocity.
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Good day everyone.
After getting our production DB to work with the new XWiki with
Postgres, I am just wondering how do you group all the spaces located in
the right-side panel like in the XWiki website, where you can click on a
group and the thing collapses or expands. In our case, there is so many
spaces that you scroll down and down and it gets pretty irritating after
a bit.
Any ideas on how to do it? I hope I am clear enough.
Thanks
Regards,
Dandre
I am new to using XWiki and tried looking for any previous discussion
on this (and didn't find any).
One of the biggest issues I've found so far in using XWiki is editing
documents (especially when developing a new set of pages for the web
site or adding many of them).
So, as per the Ideas page on xwiki.org I'd like to bring up the idea
of adding a WebDAV interface to XWiki.
This could allow easy access to the various pages themselves
(including classes, objects, and attachments using some sort of naming
convention) so that creating/updating pages could be done with many
different tools.
I haven't looked into anything too much yet, but I would think that
using something like the WebDAV Construction Kit from Jakarta Slide
(http://jakarta.apache.org/slide/wck.html) should make the task fairly
straight forward.
Does this sound like it's feasible?
David
dward(a)curriki.org
--
Ok, I have finally got my production DB to work.
It loads the new XWiki with our old skin (but we decided to move to the
new skin ;-) ) and you can save posts, etc.
For very long now, I've been receiving exceptions regarding the
xwikidocum0.xwdtitle_0 (kind of stuff, typed it out of my head) and
XWiki.XWikiPreferences errors. The problem was in xwikilongs where 2
entries (rows if you will) had NULL values in the xwd_value column. I
removed them and then received the Batch-error which Rudolf solved which
I then applied to the wiki (his SQL query that is) and then it worked.
Thanks for everyone's help and I hope that everyone would now be able to
move to the new XWiki with Postgres. Just note that I too am using
Postgres 8.2 now (upgrading wasn't an issue, just don't forget the JDBC
drivers!).
Regards,
Dandre
Hello, please help me with this problem
Why I can't see the header, footer and background images and the button color is a simple grey but not the color of my skin - I use xwiki10 skin? All the images (header-bg.jpg , background.jpg , and others) are still in the xwiki10 directory, but they aren't visible.
Hi, I would be very apreciate if someone answers this question
Where can I find pathes to the logo and background images in xwiki10 skin in order to change these pathes? Maybe it is some velocity or css file?
Hi there!
Is it possible to hide " ${pdoc.displayTitle}" and similar texts from the
navigation bar?
It's renders the proper title of the doc if the user is logged in but
displays the "${pdoc.displayTitle}" (and similar) strings if the user is
not logged out.
Anybody faced the problem? Solutions?
Cheers,
P
Hi,
I'm setting up xwiki on a debian server and keep getting the
"com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)"
error.
We are using 4.0.x and 7.1.
Do you use features that require more actual versions? Or other way
around: has anyone a running xwiki (b3) on debian using MySQL 4.0.x
and can help me with the setup?
Its a shared server, so maybe I just have to ask the admins to do some
config for me?
thanks
jan
Enclosed is xwiki-postgresql-1.0-beta-1.sql , the equivalent of
xwiki-mysql-1.0-beta-1.sql (available on the XWiki download area) for
Postgres.
This provides an empty Postgres database as a starting point for
working with XWiki 1.0Beta.
It has been tested with PostgreSQL 8.2.1 and XWiki 1.0B3.
Please test and provide feedback.
Rudolf VanderLeeden
vanderleeden(a)logicunited.com

Hi Fabian,
Any news or progress? Ludovic has answered to you but I didn't see
any answer from you... (I may have missed it though).
Thanks
-Vincent
On Jan 7, 2007, at 1:13 AM, Ludovic Dubost wrote:
>
> This line looks bad in your log file
>
> 15:05:41,526 ERROR http-8080-1 http://localhost:8080/xwiki/bin/view/
> Main/WebHome XWikiHibernateBaseStore:updateSchema:334 - Failed
> updating schema: ERROR: update or delete on "xwikiproperties"
> violates foreign key constraint "fkdf25ae4f283ee295" on "xwikilongs"
> Detail: Key (xwp_id,xwp_name)=(-1931600447,editbox_height) is still
> referenced from table "xwikilongs".
>
>
> You might want to try cleaning references between xwikilongs and
> xwikiproperties
>
> Fabian Gorsler a écrit :
> > Hi Vincent,
> >
> > thanks for your fast reply. :)
> >
> >
> >> The migration is described in the Release Notes and I've just
> linked it
> >> from the installation page this morning.
> >>
> >
> > The tasks described in the Release Notes don't work for my
> problem. At the
> > moment I'm not able to display anything with XWiki, I just receive
> > exceptions.
> >
> >
> >> Ha, that would be a problem. We need to track this as this is
> supposed to
> >> be the way to upgrade. What errors are you getting?
> >>
> >
> > org.postgresql.util.PSQLException: ERROR: column
> xwikidocum0_.xwd_title
> > does not exist
> >
> > This exception led me to assume that Hibernate mappings have
> changed. The
> > dump I've set up on my database for testing is identical to the live
> > system which serves the old XWiki.
> >
> > (The whole log with more exceptions and details is here:
> > http://www.der-moloch.de/files/xwiki-ml/xwiki_stdout.log)
> >
> >
> >> Don't do it manually!
> >>
> >
> > :)
> >
> >
> >> We thought it would work seamlessly but it seems it doesn’t in
> >> your case so we need to find out what's not working. Let's work
> >> together to resolve this.
> >>
> >
> > This sounds really great. Perhaps I should pass you my whole
> configuration
> > at first:
> >
> > - OS: Windows XP SP 2
> > - Tomcat 5.5.20
> > - JVM: Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.5.0_07-b03)
> > - DB: PostgreSQL 8.1.5 (JDBC: postgresql-8.1-408.jdbc3.jar) / UTF-8
> >
> > The things I did:
> >
> > - I downloaded xwiki-1.0-beta-1.war and deployed it via Tomcat
> Manager.
> > - Stopped Tomcat.
> > - Renamed xwiki-1.0-beta-1/ to xwiki/ in webapps-folder of Tomcat.
> > - Added Postgres-JDBC-driver to xwiki/WEB-INF/lib.
> > - Edited hibernate.cfg.xml: Removed MySQL entries, pasted our
> > configuration of the old XWiki and reconfigured some connection
> settings.
> > - Started Tomcat and tried to open
> > http://localhost:8080/xwiki/bin/view/Main/WebHome.
> >
> > The connection settings from hibernate.cfg.xml:
> > <property
> > name="connection.url">jdbc:postgresql://localhost/xwikidb</property>
> > <property name="connection.username">xwiki</property>
> > <property name="connection.password">topsecret</property>
> > <property name="connection.driver_class">org.postgresql.Driver</
> property>
> > <property
> >
> name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionPro
> vider</property>
> > <property name="connection.pool_size">50</property>
> > <property name="statement_cache.size">50</property>
> > <property name="dialect">org.hibernate.dialect.PostgreSQLDialect</
> property>
> >
> > Connections to the Postgres-DB are opened and data is
> transferred. The
> > connection seems to be ok.
> >
> > Which information do you need additionally? What should I try to do?
> >
> > Thanks in advance for your help! :)
> >
> > Best regards,
> > Fabian.
Hi,
Currently we are using xwiki 0.984 in production (with postgresql 8.1). We
are planning to upgrade to 1.0 but don't want to migrate all the data from
the old db (for version 0.984 , 27 tables) to the new db (for version 1.0,
36 tables).
I dumped the production db into my pc and then point xwiki 1.0 code to
this old db. I left the ...hibernate.updateschema=1 as in subversion and
it automatically created the missing 7 tables. However, when I tried to
start xwiki, I got the following errors in the screen:
-------------------------------------------------------------------------
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.TagClass
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:266)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:346)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
--------------------------------------------------------------------
In xwiki.log, the error looks like:
11:55:36,605 ERROR http-8080-Processor25 [action]:invoke:253 -
Servlet.service() for servlet action threw exception
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.TagClass
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:266)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:346)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
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)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document XWiki.TagClass
Wrapped Exception: Could not execute JDBC batch update
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:314)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:100)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:793)
at com.xpn.xwiki.XWiki.getTagClass(XWiki.java:1897)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:601)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:513)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:257)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:346)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
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)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.sql.BatchUpdateException: Batch entry 0 insert into xwikidoc
(XWD_FULLNAME, XWD_NAME, XWD_TITLE, XWD_LANGUAGE, XWD_DEFAULT_LANGUAGE,
XWD_TRANSLATION, XWD_DATE, XWD_CONTENT_UPDATE_DATE, XWD_CREATION_DATE,
XWD_AUTHOR, XWD_CONTENT_AUTHOR, XWD_CREATOR, XWD_WEB, XWD_CONTENT,
XWD_VERSION, XWD_CUSTOM_CLASS, XWD_PARENT, XWD_CLASS_XML, XWD_ELEMENTS,
XWD_DEFAULT_TEMPLATE, XWD_VALIDATION_SCRIPT, XWD_ID) values
(XWiki.TagClass, TagClass, , , , 0, 2007-02-03 11:55:29.000000 -0500,
2007-02-03 11:55:29.000000 -0500, 2007-02-03 11:55:29.000000 -0500, , , ,
XWiki,
, 1.1, , , <?xml version="1.0" encoding="UTF-8"?>
<class>
<name>XWiki.TagClass</name>
<customClass></customClass>
<customMapping></customMapping>
<defaultViewSheet></defaultViewSheet>
<defaultEditSheet></defaultEditSheet>
<defaultWeb></defaultWeb>
<nameField></nameField>
<validationScript></validationScript>
<tags>
<name>tags</name>
<prettyName>Tags</prettyName>
<unmodifiable>0</unmodifiable>
<relationalStorage>1</relationalStorage>
<displayType>checkbox</displayType>
<multiSelect>1</multiSelect>
<size>30</size>
<separator> </separator>
<separators> ,|</separators>
<values></values>
<number>1</number>
<classType>com.xpn.xwiki.objects.classes.StaticListClass</classType>
</tags>
</class>
, 0, , , -1050118876) was aborted. Call getNextException to see the cause.
at
org.postgresql.jdbc2.AbstractJdbc2Statement$BatchResultHandler.handleError(AbstractJdbc2Statement.java:2512)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1314)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:347)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeBatch(AbstractJdbc2Statement.java:2574)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at
org.apache.commons.dbcp.DelegatingStatement.executeBatch(DelegatingStatement.java:294)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:140)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:561)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:539)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:309)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:100)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:793)
at com.xpn.xwiki.XWiki.getTagClass(XWiki.java:1897)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:601)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:513)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:257)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:346)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
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)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
I saw some postings regarding xwiki upgrade in a postgresql environment
but haven't seen a success story yet. Has anyone successfully upgrade the
database in a postgresql environment? Or do you see why the above error
could happen? I am using the xwiki 1.1 snapshot from subversion last
night.
Thanks
-Jimmy
hi everyone,
I managed to deploy successfully a xwiki with Apache/Tomcat/mod_jk
container thanks to this help
(http://mail-archive.objectweb.org/xwiki-users/2007-01/msg00179.html :)
after configuration for needs, I notice that browsing the wiki with
firefox and the "html validator" extension :
** loading a page entirely needs much time (the content is loaded
immediatly but the loading icon runs a few seconds before stopping).
** the html validator extension tells me that "html cache is empty", it
can't analyse errors and warnings.
** this doesn't happen on the login page, only on pages with content,
accessible after logon.
Could it be a Apache user's permission problem ?
Anything else ?
Thanks.
--
Julien Oix
UFR d'Informatique - Université Paris Diderot
Bureau 5C01 (5ème étage)
175 rue du Chevaleret
75013 PARIS
Tel : +33 (0) 144 278 504
Mobile : +33 (0) 664 392 207
---------------------------------------------
http://www.gnu.org/philosophy/no-word-attachments.html
This is what I found in the Postgres serverlog file:
(Sorry that it is so long)
LOG: database system was shut down at 2007-02-05 14:37:48 SAST
LOG: checkpoint record is at 0/5825D640
LOG: redo record is at 0/5825D640; undo record is at 0/0; shutdown TRUE
LOG: next transaction ID: 0/7259; next OID: 295714
LOG: next MultiXactId: 1; next MultiXactOffset: 0
LOG: database system is ready
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_aggregatorgroup_pkey" for table "feeds_aggregatorgroup"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_aggregatorurl_pkey" for table "feeds_aggregatorurl"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_aggregatorurlgroups_pkey" for table "feeds_aggregatorurlgroups"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_feedentry_pkey" for table "feeds_feedentry"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_feedentrytags_pkey" for table "feeds_feedentrytags"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_keyword_pkey" for table "feeds_keyword"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"xwikicomments_pkey" for table "xwikicomments"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"xwikilinks_pkey" for table "xwikilinks"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"xwikipreferences_pkey" for table "xwikipreferences"
ERROR: update or delete on table "xwikiproperties" violates foreign key
constraint "fkdf25ae4f283ee295" on table "xwikilongs"
DETAIL: Key (xwp_id,xwp_name)=(-1531382335,editbox_width) is still
referenced from table "xwikilongs".
STATEMENT: delete from xwikiproperties where xwp_name like 'editbox_%'
and xwp_classtype='com.xpn.xwiki.objects.LongProperty'
ERROR: column xwikidocum0_.xwd_title does not exist at character 118
STATEMENT: select xwikidocum0_.XWD_ID as XWD1_0_0_,
xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_,
xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
XWD14_0_0_, xwikidocum0_.XWD_CONTENT as XWD15_0_0_,
xwikidocum0_.XWD_VERSION as XWD16_0_0_, xwikidocum0_.XWD_CUSTOM_CLASS as
XWD17_0_0_, xwikidocum0_.XWD_PARENT as XWD18_0_0_,
xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_ from xwikidoc
xwikidocum0_ where xwikidocum0_.XWD_ID=$1
ERROR: column xwikidocum0_.xwd_title does not exist at character 118
STATEMENT: select xwikidocum0_.XWD_ID as XWD1_0_0_,
xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_,
xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
XWD14_0_0_, xwikidocum0_.XWD_CONTENT as XWD15_0_0_,
xwikidocum0_.XWD_VERSION as XWD16_0_0_, xwikidocum0_.XWD_CUSTOM_CLASS as
XWD17_0_0_, xwikidocum0_.XWD_PARENT as XWD18_0_0_,
xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_ from xwikidoc
xwikidocum0_ where xwikidocum0_.XWD_ID=$1
ERROR: column xwikidocum0_.xwd_title does not exist at character 118
STATEMENT: select xwikidocum0_.XWD_ID as XWD1_0_0_,
xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_,
xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
XWD14_0_0_, xwikidocum0_.XWD_CONTENT as XWD15_0_0_,
xwikidocum0_.XWD_VERSION as XWD16_0_0_, xwikidocum0_.XWD_CUSTOM_CLASS as
XWD17_0_0_, xwikidocum0_.XWD_PARENT as XWD18_0_0_,
xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_ from xwikidoc
xwikidocum0_ where xwikidocum0_.XWD_ID=$1
ERROR: column xwikidocum0_.xwd_title does not exist at character 118
STATEMENT: select xwikidocum0_.XWD_ID as XWD1_0_0_,
xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_,
xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
XWD14_0_0_, xwikidocum0_.XWD_CONTENT as XWD15_0_0_,
xwikidocum0_.XWD_VERSION as XWD16_0_0_, xwikidocum0_.XWD_CUSTOM_CLASS as
XWD17_0_0_, xwikidocum0_.XWD_PARENT as XWD18_0_0_,
xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_ from xwikidoc
xwikidocum0_ where xwikidocum0_.XWD_ID=$1
ERROR: column xwikidocum0_.xwd_title does not exist at character 118
STATEMENT: select xwikidocum0_.XWD_ID as XWD1_0_0_,
xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_,
xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
XWD14_0_0_, xwikidocum0_.XWD_CONTENT as XWD15_0_0_,
xwikidocum0_.XWD_VERSION as XWD16_0_0_, xwikidocum0_.XWD_CUSTOM_CLASS as
XWD17_0_0_, xwikidocum0_.XWD_PARENT as XWD18_0_0_,
xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_ from xwikidoc
xwikidocum0_ where xwikidocum0_.XWD_ID=$1
ERROR: column xwikidocum0_.xwd_title does not exist at character 118
STATEMENT: select xwikidocum0_.XWD_ID as XWD1_0_0_,
xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_,
xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
XWD14_0_0_, xwikidocum0_.XWD_CONTENT as XWD15_0_0_,
xwikidocum0_.XWD_VERSION as XWD16_0_0_, xwikidocum0_.XWD_CUSTOM_CLASS as
XWD17_0_0_, xwikidocum0_.XWD_PARENT as XWD18_0_0_,
xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_ from xwikidoc
xwikidocum0_ where xwikidocum0_.XWD_ID=$1
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_aggregatorgroup_pkey" for table "feeds_aggregatorgroup"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_aggregatorurl_pkey" for table "feeds_aggregatorurl"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_aggregatorurlgroups_pkey" for table "feeds_aggregatorurlgroups"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_feedentry_pkey" for table "feeds_feedentry"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_feedentrytags_pkey" for table "feeds_feedentrytags"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"feeds_keyword_pkey" for table "feeds_keyword"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"xwikicomments_pkey" for table "xwikicomments"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"xwikilinks_pkey" for table "xwikilinks"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
"xwikipreferences_pkey" for table "xwikipreferences"
ERROR: update or delete on table "xwikiproperties" violates foreign key
constraint "fkdf25ae4f283ee295" on table "xwikilongs"
DETAIL: Key (xwp_id,xwp_name)=(-1531382335,editbox_width) is still
referenced from table "xwikilongs".
STATEMENT: delete from xwikiproperties where xwp_name like 'editbox_%'
and xwp_classtype='com.xpn.xwiki.objects.LongProperty'
ERROR: current transaction is aborted, commands ignored until end of
transaction block
STATEMENT: select xwikidocum0_.XWD_ID as XWD1_0_0_,
xwikidocum0_.XWD_ARCHIVE as XWD23_0_0_ from xwikidoc xwikidocum0_ where
xwikidocum0_.XWD_ID=$1
ERROR: column xwikidocum0_.xwd_title does not exist at character 118
STATEMENT: select xwikidocum0_.XWD_ID as XWD1_0_0_,
xwikidocum0_.XWD_FULLNAME as XWD2_0_0_, xwikidocum0_.XWD_NAME as
XWD3_0_0_, xwikidocum0_.XWD_TITLE as XWD4_0_0_,
xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE as XWD6_0_0_,
xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_, xwikidocum0_.XWD_DATE as
XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as XWD9_0_0_,
xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_, xwikidocum0_.XWD_AUTHOR as
XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as XWD12_0_0_,
xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
XWD14_0_0_, xwikidocum0_.XWD_CONTENT as XWD15_0_0_,
xwikidocum0_.XWD_VERSION as XWD16_0_0_, xwikidocum0_.XWD_CUSTOM_CLASS as
XWD17_0_0_, xwikidocum0_.XWD_PARENT as XWD18_0_0_,
xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_ from xwikidoc
xwikidocum0_ where xwikidocum0_.XWD_ID=$1
It keeps on referencing to tables and columns that doesn't exist, it
adds "_0" 's the whole time.
Regards,
Dandre
Oh, wait I saw it now. I did a SELECT statement in SQuirreL and I saw
that it only limited the tables to 100 from 600 and something.
Still, XWiki so far only has a problem opening up XWiki.XWikiPreferences.
Regards,
Dandre
@teh stu:
> But I wasn't upgrading from a Postgre DB, it was a MySQL 4.1.
> Problem was that it didn't work with the new Code (1.0B3) and developers
> suggested I change the DB to MySQL 5.
I know, I was just saying that MySQL 5 works but I was experiencing
problems with PostgreSQL.
@Everyone else: ;-)
I saw something interesting in my DB. In the old XWiki you still have a
XWiki.XWikiPreferences document. Now I think the reason why the new
XWiki isn't seeing it is because the DB viewers doesn't see it. I can do
a SQL statement and it will popup from the xwikidoc table but open it up
with SQuirreL or webmin (I also tried to view it in Postgres's psql app
but it was totally mixed up due to the table's data size), then it
doesn't appear to be in the xwikidoc table.
Anyone have any idea how to fix this? I tried deleting the
XWikiPreferences and adding it again but it won't show. Could it be a
reference problem or something?
Thanks
Regards,
Dandre
Hi Rudolf,
Yeah I did what you said and it worked for the dummy DB I've setup
earlier today.
When I cleaned up everything and added our production DB, and applying
what you said, it still gave me the same error as what I experienced
last week and the week before. Aparently I am missing a
XWiki.XWikiPreferences Document.
You can get the error messages here:
http://www.objectweb.org/wws/arc/xwiki-users/2007-01/msg00242.html
Regards,
Dandre
Hey VanderLeeden!
Thanks for your advice. I can confirm your story that I have started up
with a dummy DB and by upgrading to Postgres 8.2.1, and applying that
ALTER TABLE statement really did the trick!
Now I have to do it with our real DB! ;-)
Thanks again man!
Regards,
Dandre
Man, I am starting to get depressed.
It worked with the dummy DB but when I tried our main DB, it gave the
same exception as allways. The XWiki.XWikiPreferences thing that I've
been trying to fix for a while now.
Regards,
Dandre
I just wanted to let you know that I didn't have serious problems going from XWiki 0.9.1252 to XWiki 1.0B3 with a Postgres database.
Basically, I followed the instructions in:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWiki10Beta3
As reported earlier, you'll get an exception ("Could not execute JDBC batch update") connecting to XWiki 1.0B3 for the first time.
Analyzing the error message in xwiki.log:
Batch entry 0 insert into xwikidoc (XWD_FULLNAME .)
SQL ERROR: null value in column "xwd_archive" violates not-null constraint
leads to an easy conclusion: remove the not-null constraint from the xwd_archive column in the xwikidoc table.
The SQL statement is: ALTER TABLE xwikidoc ALTER COLUMN xwd_archive DROP NOT NULL;
After running this SQL statement the connection was done successfully and I could load the XAR file as described in the instructions.
In my case, only one thing was different from the old XWiki. All the memberships in XWikiAllGroup were gone. Only the ADMIN user was a member. So I created a Ruby script to add all users to XWikiAllGroup in the database. This can of course also be done manually.
I don't know if this works in all Postgres cases.
BTW, I did at the same time a database upgrade from PG 8.1.3 to 8.2.1.
Rudolf VanderLeeden
SysAdmin
Logic United GmbH
(Germany)
Hi everyone,
Why can't I find the xwiki.hbm.xml file in 1.0B2 package? Am I required to create it by my self, or XWiki will provide one?
Because once XWiki tried to recreate the tables, I got the error:
[XWikiHibernateStore] Failed updating schema: ORA-01754: a table may contain only one column of type LONG
It seems that we have to map some MySQL datatype to the proper Oracle type, in order to generate the proper DDL.
Does anyone have a hbm.xml file that works with Oracle? Or what else need to be changed in the hibernate.cfg.xml?
(I am using 10g JDBC driver)
Best regards,
Eric Sun
-----Original Message-----
From: Ludovic Dubost [mailto:ludovic@xwiki.org]
Sent: Wed 1/18/2006 6:42 PM
To: Eric Sun (Toronto)
Subject: Re: Installation concerns for Oracle 10g
Hi,
You should post this to the users/dev lists.
http://forge.objectweb.org/mail/?group_id=170
With XWiki 1.0B2 you should be able to run XWiki with an empty database
(XWiki creates the tables automatically) and then try to import the
".xar" file available on xwiki.org into the XWiki running with the
Oracle DB.
Let us know how this works.
Ludovic
Ok, the only problem I encountered while surfing the wiki is that it
throws up exceptions while saving stuff. Maybe XWiki has a problem or
maybe the problem I encountered while copying is the bugger.
Anyway, I think we can use this way to help shape XWiki to use an old
xwiki db in postgres directly as MySQL.
What you do is you take your old xwiki postgres db, use the SQuirreL (or
any DB copier) to copy over the tables from your postgres to MySQL. Move
to the new xwiki while pointing at your MySQL db. Then move back to
postgres and let the new XWiki point to Postgres again. MySQL and XWiki
will "straighten" things out that will allow you to use the new Xwiki
with Postgres. I hope this will work for everyone as it worked for me
(well it almost worked 100% :-) ).
Regards,
Dandre
Ha ha! It worked! Well, it couldn't copy over something in 1 table,
something about a duplicate reference or something but other than that,
I could open up the new xwiki in postgres with an imported db from the
old one!
Ok, I'll post more info later.
Regards,
Dandre
I have found a forum on the MySQL site (something like this on the net
is as scarce as chicken teeth :-D ) that talks about converting a
PostgreSQL db to a MySQL one (well I still need to try it out, will let
everyone know):
http://forums.mysql.com/read.php?83,34517,34517#msg-34517
Why? Well if you want the new XWiki to work and you don't mind the kind
of DB to use, then this is a good solution.
But I wanna try something. I want to copy my PSQL db to MySQL and get
that to work on the new XWiki and hopefully I can convert it back to
PSQL and it'll work on the new XWiki (HOPEFULLY)!!!
On that forum thread, there is a plugin for SQuirreL SQL that basically
allows you to copy between DBs! Now thats handy! I want to test that out
and see if it will work! Oh how I hope it'll work!!!
Regards,
Dandre
Hello Vincent and everyone at XWiki!
I am going through the code but I need to view how XWiki is generating
SQL queries that are sent to the JDBC driver in order to see if it's
XWiki that has a problem or Hibernate or the JDBC driver. Yes, I am
working with Fabian and them to try and figure out why Postgres gives a
problem when porting from an old DB.
Could you guys maybe give me instructions of how to turn on debug mode.
Thanks alot.
Regards,
Dandre
> Which IDE are you using? I've planned to write documentation on how to
> debug XWiki from within IntelliJ IDEA. If you need it I can do it
> sooner rather than later.
Right now I am not using an IDE. Pure text viewers and editing ;-)
If you can it would be great, but unfortunately I cannot spend too much
time figuring out what is wrong, being at work they only give me a
certain amount of time to get this thing moving and I've been working on
this for almost 2 weeks now.
I think I should try to find a way to extract the posts from the old
xwiki DB and get it to insert into the new xwiki DB through an app or
something. Maybe that is a good short-term solution. It should work,
right? Unless there are too many dependencies to insert and keep track of.
Thanks
Regards,
Dandre
> I just did that, running on Tomcat 5.5 against a MySQL 5.0.21 server.
> I loaded the database dump from the old xwiki app.
> Unfortunately, still the same error, see below.
I use MySQL 5.0.22 and it works great.
I think XWiki might have a problem with porting from the old xwiki with
Postgres and not the JDBC driver or the Hibernate thing.
Hi ,
I am New to XWIki.
I want to Create Menu for My XWiki Appalication , the Help DOc said I have
to create a Page called Menu in a Space , then it will automatically
DIsplay it in all the pages in that Space.
I have create the Page called Menu In a Space , But the Menu is not at all
Loaded in any page . If I open the3 Menu page I can See the Content Only
Once But as per the Help Doc it should Show 2 time.
I am using XWiki 1.0 Beta 2
Pl. let me know how to get the Menu is Left or in Right Side .
--
View this message in context: http://www.nabble.com/How-to-Create-Menu-in-XWiki-tf3148965.html#a8729694
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
It's probably me, but I can't seem to find a way to export specific spaces.
In earlier version of the import/export there was a drop down and you
could select specific spaces & pages to export... now it seems to only
export the entire wiki.
I had a nasty problem with my wiki (some pages were "bad" and when I
tried to delete them I got told they didn't exist) and thought... I
know, I'll just export the good stuff and drop the db then import my
good pages back in... I couldn't becuase export seems to be exporting
the whole wiki (despite a space parameter in the url).
So, question is can I export specific pages / spaces only & if so any hints :)
Thanks,
Dan
>
> >> Is there a way to get the numbered list (i.e . 1.) to continue the
> >> numbering instead of restarting if the list item is separated by some
> >> text, paragraph, etc?
>
It's on my todo list.
Could we imagine a carriage return character as like as for properties
> files which could be used for both list and table?
Try \\
--
http://purl.org/net/sergiu
Hi Everyone,
I was trying to upgrade from 0.984 to 1.0B3, but to no avail.
I found this thread:
http://mail-archive.objectweb.org/xwiki-users/2006-12/msg00106.html
But there are no answers there.
If I just run 1.0B3 on the existing database, I get an exception (trace
below).
Somewhere i read that this could mean the database is corrupted.
But I don't think so, it works fine with release 0.984.
So, is there an official way to upgrade the database so I can keep all
the articles ?
Thanks,
Lukas
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: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:223)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:303)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
On Mar 9, 2007, at 2:30 AM, Duke Tantiprasut wrote:
> Is there a way to get the numbered list (i.e. 1.) to continue the
> numbering instead of restarting if the list item is separated by
> some text, paragraph, etc?
Not that I know of. That would be nice and useful to have but I'm not
sure about the algorithm to use. I guess we could introduce a {list}
macro to delimitate the list section. Without this it's hard to guess
if it should be one list or 2 lists.
In any case could you add this as an improvement in JIRA and if you
want to see it implemented quickly, could you submit a patch for it?
(otherwise it'll have to wait for some time as we're currently busy
trying to fix the maximum number of bugs for the 1.0 release).
Thanks
-Vincent
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire.
http://fr.mail.yahoo.com
I have a old xwiki deploied with tomcat + postgresql:
tomcat 5.5.20-r7
postgresql 8.0.9-r1
and I did a migrate from 0.9.840 to 1.0b3 using war package and I have
meet following exception when load the page:
exception
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading
document XWiki.XWikiPreferences
Wrapped Exception: Could not parse configuration:
jndi:/localhost/xwiki/WEB-INF/hibernate.cfg.xml
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize
main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading
document XWiki.XWikiPreferences
Wrapped Exception: Could not parse configuration:
jndi:/localhost/xwiki/WEB-INF/hibernate.cfg.xml
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:266)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:346)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
here is the hibernate.cfg.xml
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Uncomment if you want to use HSQLDB.
Note that the database will be created automatically if it doesn't
already exist.
<property
name="connection.url">jdbc:hsqldb:file:/some/path/xwiki_db;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property
name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
-->
<!-- Default MySQL configuration
<property name="connection.url">jdbc:mysql://localhost/xwiki</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>
-->
<!-- Default MySQL configuration -->
<property
name="connection.url">jdbc:postgresql://localhost/xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">org.postgresql.Driver</property>
<property
name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnecti$
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<!-- Mapping files -->
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
</session-factory>
</hibernate-configuration>
I see that it cannot parse the hibernate.cfg.xml through jndi, where I
did wrong? how to let it parse the configuration file through jndi.
kind regards,
- Muzi
Hi everyone,
I installed the xwiki-1.0-beta-3 with the standalone distribution (tar.gz
package) on my Unix (Sun OS) server but I get some issues trying to access
it. The server starts without any problem, but when I try to access to
"http://localhost:8080/xwiki/bin/view/Main/WebHome" url, I get an "HTTP
ERROR: 500" on my browser and this error in my main log :
com.xpn.xwiki.XWikiException: Error number 3001 in 3: Cannot load store
class com.xpn.xwiki.store.XWikiHibernateStore
Wrapped Exception: java/util/concurrent/ConcurrentHashMap
Followed by several other stack traces. I checked and forced my classpath by
modifying the "start_server.sh" that way:
CLASSPATH=$CLASSPATH:\
$JETTY_HOME/lib/org.mortbay.jetty-jdk1.2.jar:\
$JETTY_HOME/lib/javax.servlet.jar:\
$JETTY_HOME/ext/jasper-runtime.jar:\
$JETTY_HOME/ext/jasper-compiler.jar:\
$JETTY_HOME/ext/xercesImpl.jar:\
$JETTY_HOME/ext/xml-apis.jar:\
$JETTY_HOME/ext/xmlParserAPIs.jar
$JAVA_HOME/java $JAVA_OPTS -cp $CLASSPATH -Dfile.encoding=iso-8859-1
-Djetty.port=$JETTY_PORT -Djetty.home=$JETTY_HOME -jar $JETTY_HOME/start.jar
My java version:
java version "1.4.1_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_05-b01)
I encounter the same problem with this standalone installation on my Windows
PC. I would like to know what is my mistake.
Thanks in advance.
Regards,
Vincent.
--
View this message in context: http://www.nabble.com/-xwiki-1.0-beta-3--Install---Wrapped-Exception-tf3149…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
We're happy to announce the 1.0 Beta 3 release. It's a bug fix release.
Release note on: http://www.xwiki.org/xwiki/bin/view/Main/
ReleaseNotesXWiki10Beta3
Thanks and enjoy
-The XWiki Team
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire.
http://fr.mail.yahoo.com
Hi
is it me or the import feature is broken?
I can upload packages and they are listed under "select the file you wish to
import" but I can't get further. Clicking on a file name would not help.
There is no feedback for the interface either.
http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…
Regards,
Marc
Peter,
This was fixed in XWiki 1.0 Beta 1 as you've probably noticed by
now... ;-)
Thanks
-Vincent
On Jan 13, 2006, at 8:43 PM, Peter Flynn wrote:
> Spoke too soon… Looking at the source, the <img> tag at least is
> not deleted, but all the quotes in it have been escaped. So the
> tag turns into this:
>
>
>
> <img src="$xwiki.getAttachmentURL
> ('ContinuousSearch','itunes-unfiltered')" alt="" />
>
>
>
> This seems like a bug in the WYSIWYG editor—it should ever need to
> escape quote characters. Is there a way to make it stop doing this?
>
>
>
> - Peter
>
>
>
> From: Peter Flynn [mailto:pflynn@adobe.com]
> Sent: Wednesday, December 13, 2006 11:35 AM
> To: xwiki-users(a)objectweb.org
> Subject: [xwiki-users] WYSIWYG editor deletes content
>
>
>
> Hi everyone,
>
>
>
> We’re having some major issues with the WYSIWYG editor deleting
> content that it doesn’t understand when you save a page. For
> example, in order to link to an image on another page, we add
> something like this to the code:
>
>
>
> <img src=”$xwiki.getAttachmentURL(‘MyPage’,’my-image’)” />
>
>
>
> That works great, until you edit this page using the WYSIWYG
> editor. Savings your changes just deletes the whole tag. The page
> basically cannot be edited (other than as raw code) once it links
> to an image this way. We have the same issue with the <form> code
> suggested in the FAQ for document templates – you can’t edit the
> template page in WYSIWYG mode anymore because if you do, it’ll
> delete the form.
>
>
>
> Is there any way around this?
>
>
>
> - Peter
>
> <messagefooter.txt>
Dear All,
How can i prevent any wiki user from accessing and modifying my wiki unless he was registred already
Regards,
Adel
-------- Original Message --------
Subject: [xwiki-users] xwiki : loading pages problem (31-Jan-2007 10:11)
From: Julien Oix <Julien.Oix(a)paris7.jussieu.fr>
To: adel.aneiba(a)ajbs-ltd.com
> hi everyone,
>
> I managed to deploy successfully a xwiki with Apache/Tomcat/mod_jk
> container thanks to this help
> (http://mail-archive.objectweb.org/xwiki-users/2007-01/msg00179.html :)
>
> after configuration for needs, I notice that browsing the wiki with
> firefox and the "html validator" extension :
>
> ** loading a page entirely needs much time (the content is loaded
> immediatly but the loading icon runs a few seconds before stopping).
>
> ** the html validator extension tells me that "html cache is empty", it
> can't analyse errors and warnings.
>
> ** this doesn't happen on the login page, only on pages with content,
> accessible after logon.
>
>
> Could it be a Apache user's permission problem ?
>
> Anything else ?
>
> Thanks.
>
> --
> Julien Oix
> UFR d'Informatique - Université Paris Diderot
>
> Bureau 5C01 (5ème étage)
> 175 rue du Chevaleret
> 75013 PARIS
>
> Tel : +33 (0) 144 278 504
> Mobile : +33 (0) 664 392 207
> ---------------------------------------------
> http://www.gnu.org/philosophy/no-word-attachments.html
>
>
>
Hi,
Does anybody experience this login problem with beta3 ? I think it occurred on 0.9.840 also, but I can't remember ...
I tried as a workaround to set all rights to XWikiGuest user on my old wiki (0.9.840), then export the mysql dump, import it in xwikibeta3, in order to have full rights without loging in.
Now I can access the administrative pages, but I cannot save any modification either (I'm redirected to the login page and again and again ...)
Thanks for your help,
Jérémie Bousquet
> 1 - I just cannot log in my new xwiki with my old registered
> users, and I can't neither with the "Admin"/"admin" user. So
> I cannot update the preferences in any way ... The log in
> page just refreshes itself indefinitely.
Many thanks Brandon, it worked !
I moved to the new skin wich is far better ... Thanks to all for this release ! :)
Jérémie.
> -----Original Message-----
> From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
> Sent: mardi 30 janvier 2007 15:48
> To: xwiki-users(a)objectweb.org
> Subject: RE: [xwiki-users] Migration 0.9.840 --> BETA3, skins problems
>
> I had this with both B1 and B2 (have not yet gone B3 on our
> production servers).
> The solution for me was to login with the superuser, change
> the admin password to one you know; then login with admin and
> carry on.
> I also changed the skin at that point to refer to the
> official one (and then once I'm happy the system is
> functional, change to our own custom one).
>
> -----Original Message-----
> From: BOUSQUET Jeremie [mailto:Jeremie.BOUSQUET@gemalto.com]
> Sent: 30 January 2007 13:07
> To: xwiki-users(a)objectweb.org
> Subject: RE: [xwiki-users] Migration 0.9.840 --> BETA3, skins problems
>
> Hi,
>
> Does anybody experience this login problem with beta3 ? I
> think it occurred on 0.9.840 also, but I can't remember ...
>
> I tried as a workaround to set all rights to XWikiGuest user
> on my old wiki (0.9.840), then export the mysql dump, import
> it in xwikibeta3, in order to have full rights without loging in.
> Now I can access the administrative pages, but I cannot save
> any modification either (I'm redirected to the login page and
> again and again ...)
>
> Thanks for your help,
>
> Jérémie Bousquet
>
>
> > 1 - I just cannot log in my new xwiki with my old registered users,
> > and I can't neither with the "Admin"/"admin" user. So I
> cannot update
> > the preferences in any way ... The log in page just
> refreshes itself
> > indefinitely.
>
>
>
>
When using copyDocument in 0.9.840; the date created was correctly
updated to the date the copy was done.
Problem experienced in XWiki10B* is that the date does not change from
the origional date - modified date is updated instead; which makes for a
very confused user base on our site.
Is there any way to at least script this?
Second issue, not sure if it's critical at this point:
It also takes the origional author (something it's always done), and
makes that the creator of the fresh new copy - surely it should take the
person making the copy instead?
Hello everyone.
I am having a problem moving our wiki data from xWiki 0.9.840 to the new 1.0 beta 2 wiki.
I am using Tomcat and PostgreSQL 8.1
I receive the following error when going to: http://localhost:8080/xwiki/bin/view/Main/WebHome
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758]
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
-- AND --
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758]
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:223)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:303)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:96)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
Clearly just pointing with the new XWiki to the old DB doesn't work. Thats basically what I've done. Also for days now I've been trying different things and obviously no luck. I am working on a dummy system to prepare the migration before doing the actual thing. On my dummy system the old wiki works as the original.
Help would be appreciated!
Thanks
Hello,
I managed to reinstall a tomcat/mysql, imported the data from my "production" mysql instance into my "testing" mysql instance, and launched tomcat (with updateschema=1, and manually set a default value to XWD_ARCHIVE into mysql schema) targetting this mysql instance.
I had a customized skin, as a result when I access Main/WebHome, I get a page with a nearly unreadable skin.
I'm trying to apply the piece of advice from http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWiki10Beta3 to migrate to the new skin, but I have two questions:
1 - I just cannot log in my new xwiki with my old registered users, and I can't neither with the "Admin"/"admin" user. So I cannot update the preferences in any way ... The log in page just refreshes itself indefinitely.
2 - Even if I could log in, how can I install the panel application with the import tool as my own skin won't display the Import tab (it does not display many things anyway ...) ?
Thanks for your help,
Jérémie Bousquet
Hi all,
I installed the new version Beta1 (before I used 0.9.x version). I really
was surprised about the new functionalities and interface, so thanks you
very much.
Howver I have many problems at the functional level :
- I think that the interface is little bit limited, especially when we use
the panel space and documents. I mean if we create for example 100,000
documents under one space, how can we visualite these entries. I tried to
compile in the beggining just 1000 documents under one space but the
environment become very heavy and when opening the space it take long time!
Please let me know whether you have faced this problem before...
- The speed also decrease (this is not related to the interface but the DB
itself). I faced the same problem last year but not solved it until now. The
speed decrease sudenly when we create automatically a high scale data in the
central DB of XWiki.I have created just 25000 entries for testing it, I can
in fact even login to my XWiki!! (also the OS become very heavy).
Please any help will be deeply appreciated...
Thanks in advance
Best wishes
----------------------------------
Youcef Bey
Graduate School of Education,
The University of Tokyo
So I'm trying to create virtual wikis and getting the following
exceptions. Anyone seen it before?
It happens for both XWiki.XWikiServerXwiki and XWiki.XWikiServerXwiki_otherwiki
and I see nothing in the database (created database xwiki_otherwiki with owner
of xwiki).
----------------------
Useful info:
xwiki: build.number=1924
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Server VM (build 1.5.0_07-b03, mixed mode)
Tomcat 4.0.5
Postgres 8.1.4
List of roles
Role name | Superuser | Create role | Create DB | Connections | Member of
-----------+-----------+-------------+-----------+-------------+-----------
xwiki | no | no | no | no limit |
----------------------
03:22:10,863 WARN Thread-4 http://172.16.32.230:8080/xwiki/bin/edit/XWiki/XWikiServerXwiki_otherwiki?e… MonitorData:log:183 - MONITOR XWiki.XWikiServerXwiki_otherwiki: 489ms
03:22:11,089 WARN Thread-4 http://172.16.32.230:8080/xwiki/bin/lock/XWiki/XWikiServerXwiki_otherwiki?a… MonitorData:log:183 - MONITOR XWiki.XWikiServerXwiki_otherwiki: 12ms
03:23:22,987 ERROR Thread-3 http://172.16.32.230:8080/xwiki/bin/save/XWiki/XWikiServerXwiki_otherwiki AbstractBatcher:doExecuteBatch:61 - Exception executing batch:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:561)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:539)
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHibernateStore.java:842)
at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServiceImpl.java:217)
at com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:60)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:144)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:209)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:595)
03:23:22,994 ERROR Thread-3 http://172.16.32.230:8080/xwiki/bin/save/XWiki/XWikiServerXwiki_otherwiki AbstractFlushingEventListener:performExecutions:299 - Could not synchronize database state with session
org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:561)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:539)
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHibernateStore.java:842)
at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServiceImpl.java:217)
at com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:60)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:144)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:209)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:595)
03:23:23,048 WARN Thread-3 http://172.16.32.230:8080/xwiki/bin/save/XWiki/XWikiServerXwiki_otherwiki MonitorData:log:183 - MONITOR XWiki.XWikiServerXwiki_otherwiki: 154ms
03:23:23,334 ERROR Thread-3 http://172.16.32.230:8080/xwiki/bin/view/XWiki/XWikiServerXwiki_otherwiki AbstractBatcher:doExecuteBatch:61 - Exception executing batch:
org.hibernate.StaleStateException: Batch update returned unexpected row count from update: 0 actual row count: 0 expected: 1
at org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:58)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27.impl.SessionImpl.flush(SessionImpl.java:1009)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTrteBaseStore.java:561)
at com.xpn.xwiki.store.XWikiHiberBaseStore.endTransaction(XWikiHibernateBaseStore.java:539)
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollenateStore.java:842)
at com.xpn.xwiki.stats.impl.XWikiSt at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:144)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:209)
at org.apache.struess(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at o.action.ActionServlet.doGet(ActionServlet.java:414)
at t.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(che.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.coreerChain.doFilter(ApplicationFilterChain.java:193)
at orpache.catalina.core.StandardPipeline.invokeNext(StandardPipelinStandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.javat org.apache.catalina.core.StandardContextValve.invoke(Standardalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.c at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.cataardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(Standae(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.caalina.core.ContainerBase.invoke(ContainerBase.java:943)
174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBasepache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
unIt(PoolTcpEndpoint.java:508)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:595)
03:23:23,337 ERotherwiki AbstractFlushingEventListener:performExecutions:299 - Could not synchronize database state with session
org.hibernate.StaleStateException: Batch update returned unexpected row cou(BatchingBatcher.java:93)
at org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:79)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.va:195)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:230)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
at org.hibeListener.java:296)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at org.hibernate.impl.SessionImpl.managedFlush(SesDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:561)
at com.xpn.xwiki.store.XWikiH at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHibernateStore.java:842)
at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServiceImpl.java:ActionRule.java:60)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificationManager.java:144)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:209)rocessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)ionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.caApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.ja at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at org.apache.cataltalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apStandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java.StandardContextValve.invoke(StandardContextValve.java:190)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline. at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
eportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apacinerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipele.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapterttp11Processor.process(Http11Processor.java:405)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508).ThreadPool$ControlRunnable.run(ThreadPool.java:533)
at java.lang.Thread.run(Thread.java:595)
03:23:23,397 WARN Thread-3 http://172.16.32.230:8080/xwiki/bin/view/XWiki/XWikiServerXXWikiServerXwiki…: 337ms
Just to concur that case, I recently started a new Wiki, and I could use it but I did not get an email with the confirmation code. I thought I lost the email but I am not so sure now.
Wei-hsing
-------------- Original message ----------------------
From: "Catalin Hritcu" <catalin.hritcu(a)gmail.com>
> Dear Florent,
>
> Email delivery is not guaranteed to be instantaneous, so it can take some time.
>
> Catalin
>
> On 1/25/07, Florent Georges <darkman_spam(a)yahoo.fr> wrote:
> > Hi
> >
> > I tried several hours ago to create a Wiki on www.xwiki.org. To go
> > further, I have to wait an email with the confirmation code. But I
> > still not reveiced it. Is it normal, do I have to wait, or do I have
> > to open an issue on Jira?
> >
> > Regards,
> >
> > --drkm
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > ___________________________________________________________________________
> > Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
> > Profitez des connaissances, des opinions et des expériences des internautes
> sur Yahoo! Questions/Réponses
> > http://fr.answers.yahoo.com
> >
> >
> >
> >
> > --
> > You receive this message as a subscriber of the xwiki-users(a)objectweb.org
> mailing list.
> > To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> > For general help: mailto:sympa@objectweb.org?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
> >
> >
>
>
Hi,
I'm just evaluating Xwiki for our intranet. The authentication should be carried out using Active Directory, which actually works already. But there is one problem: As there is no user "Admin" in AD we have to assign the Admin rights for XWiki to users which are actually part of AD. So I assigned my AD id to the XWikiAdminGroup group. When logging in with my id, even without enabling the LDAP security, everything looks like I'm an administrator, so I have access to administration etc. But there is one difference to the standard Admin user: The "edit" action menu does not show the extended features "class", "objects" etc, when hovering over the menu "edit" no other choices are displayed. When entering the edit mode only the tabs "WYSIWYG", "Wiki" and "Acces Rights" are displayed.
Any solution for this? Restarting the server or flushing the cache makes no differences.
Thanks!
Bye,
Jan
I installed XWiki on Linux, Tomcat, JDK 6, MySQL and everything worked.
I changed the properties to validate user for view and edit and now no one can login.
xwiki.log shows exeptions:
apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:432)
at org.securityfilter.authenticator.FormAuthenticator.showLogin(FormAuthenticator.java:230)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.showLogin(MyFormAuthenticator.java:55)
at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.showLogin(XWikiAuthServiceImpl.java:197)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:154)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:2548)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:3233)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:128)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:619)
20:48:22,716 WARN TP-Processor3 http://www.3b-workshop.com/xwiki/bin/loginsubmit/XWiki/XWikiLogin MonitorData:log:183 - MONITOR : 1609ms
20:48:23,033 WARN TP-Processor3 http://www.3b-workshop.com/xwiki/bin/view/Main/WebHome MonitorData:log:183 - MONITOR : 292ms
20:48:23,469 WARN TP-Processor3 http://www.3b-workshop.com/xwiki/bin/login/XWiki/XWikiLogin MonitorData:log:183 - MONITOR XWiki.XWikiLogin: 424ms
I have searched but can not find any mention of this issue.
Hi
I tried several hours ago to create a Wiki on www.xwiki.org. To go
further, I have to wait an email with the confirmation code. But I
still not reveiced it. Is it normal, do I have to wait, or do I have
to open an issue on Jira?
Regards,
--drkm
___________________________________________________________________________
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses
http://fr.answers.yahoo.com
Dear XWiki Users,
I want to apply a basic internal link (NOT the #toc feature!) in a page, but haven't found a clear example in the documentation, sorry! Can anybody give a hint, please! Thanks!
Regards,
Gerard
Dear Xwikiers,
I am trying to deploy an instance of xwiki into our jboss server, but with out any success, despite that Jboss has Tomcat servlet installed . I have managed to deploy xwiki with pure Tomcat but not with Jboss, Any idea why it did not work with Jboss?
Regards,
Adel Aneiba
Hi folks,
Having a little trouble setting up a virtual wiki - not sure how many
out there have tried.
My current configuration:
I have three separate wiki instances pointing to different databases.
These are currently running 0.9.840, but are due for upgrade to 10beta1
in the near future.
The real performance improvement we need to implement though is virtual
wiki instead of full instances. As the databases already contain a lot
of data, we were planning to use the existing databases for the new
virtual wiki's.
I'm following the directions found here:
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToSetupVirtualWikis.
I've tested prior to configuration that the new pointers are working:
all my virtual domains are pointing to my main wiki:
1) general.xwiki.ie.tycoelectronics.com [database xwiki]
2) production.xwiki.ie.tycoelectronics.com [database xwiki_ext]
3) broadband.xwiki.ie.tycoelectronics.com [database xwiki_brd]
The setup is pretty much as defined in the docs.
The three documents created:
XWiki.XWikiServerXwiki
server field "general.xwiki.ie.tycoelectronics.com"
owner field "XWiki.Admin"
XWiki.XWikiServerxwiki_brd
server field "broadband.xwiki.ie.tycoelectronics.com"
owner field "XWiki.Admin"
XWiki.XWikiServerxwiki_ext
server field "production.xwiki.ie.tycoelectronics.com"
owner field "XWiki.Admin"
Additionally, "xwiki.ie.tycoelectronics.com" points to the same server
(but is not configured as a virtual server anywhere).
Here's the odd thing: "general.xwiki.ie.tycoelectronics.com" (the Xwiki
database) works perfectly, but for both of the other virtual servers I
get the following error (substitute xwiki_ext for xwiki_brd when trying
the broadband one):
javax.servlet.ServletException: Error number 2 in 0: The wiki xwiki_ext
does not exist
org.apache.struts.action.RequestProcessor.processException(RequestProces
sor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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(SetCharacterEncodi
ngFilter.java:127)
root cause
com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki xwiki_ext
does not exist
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:241)
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.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(SetCharacterEncodi
ngFilter.java:127)
Anyone out there got this working (or maybe that can see something I've
put in wrong)?
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Hi all,
Has XMLRPC been disabled on xwiki.com?
I used to access
http://openmpt.xwiki.com/xwiki/bin/xmlrpc/confluence
but that has gone away
Looking at the XMLRPC tests in the code, it seems the RPC url has
moved to http://<server>/xwiki/xmlrpc, but accessing
http://openmpt.xwiki.com/xwiki/xmlrpc results in:
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: Failed
to invoke method login in class
com.xpn.xwiki.xmlrpc.ConfluenceRpcHandler: Error number 2 in 0: The
wiki openmpt does not exist
at org.apache.xmlrpc.XmlRpcClient$Worker.execute(Unknown Source)
at org.apache.xmlrpc.XmlRpcClient.execute(Unknown Source)
[...]
Any ideas?
By the way, I also tried XMLRPC on a local copy from svn trunk and
couldn't get it to work. I haven't done much debugging yet, so it
could be an env problem on my side. But here's the error in case
someone has seen it before:
Exception in thread "main" org.apache.xmlrpc.XmlRpcException: Failed
to instantiate class com.xpn.xwiki.xmlrpc.ConfluenceRpcHandler
at org.apache.xmlrpc.XmlRpcClient$Worker.execute(Unknown Source)
at org.apache.xmlrpc.XmlRpcClient.execute(Unknown Source)
[...]
Regards,
Robin
When creating a PDF output, the view is very different from the view
offered when in xwiki itself (adds thick outer borders; widths are all
overridden; etc)... is there any way in xwiki10B2 to alter this?
This was partially possible in 0.9.840 by modifying an xsl file (forget
which one, about a year ago when I did this on our own servers). There
seems to be only one xsl file in the current version (xhtml.xsl), which
does not seem to affect the style of the PDF output.
Anyone that can point me in the right direction for resolving this?
hi everyone,
i'm trying to set up latest xwiki version on a debian/tomcat/mysql platform :)
the xwiki webapp can't be deployed by Tomcat, and the tomcat log says :
##
Jan 22, 2007 3:18:12 PM org.apache.catalina.startup.HostConfig deployDirectory
SEVERE: Error deploying web application directory xwiki
org.apache.commons.logging.LogConfigurationException: java.lang.ExceptionInInitializerError (Caused by java.lang.ExceptionInInitializerError)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:538)
at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:370)
at org.apache.catalina.core.ContainerBase.getLogger(ContainerBase.java:380)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4114)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
at org.apache.catalina.core.ContainerBase.access$0(ContainerBase.java:743)
at org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:143)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:737)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:904)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:867)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1122)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1021)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1013)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
at org.apache.catalina.core.StandardService.start(StandardService.java:450)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:709)
at org.apache.catalina.startup.Catalina.start(Catalina.java:551)
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:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:294)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:432)
Caused by: java.lang.ExceptionInInitializerError
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:283)
at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:108)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
... 29 more
Caused by: java.security.AccessControlException: access denied (java.io.FilePermission xwiki.log write)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkWrite(SecurityManager.java:962)
at java.io.FileOutputStream.<init>(FileOutputStream.java:169)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:289)
at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java:165)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:163)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:256)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:132)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:96)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:654)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:612)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:509)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:415)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:441)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468)
at org.apache.log4j.LogManager.<clinit>(LogManager.java:122)
... 37 more
##
It tells me that it can't write the xwiki.log file, but I don't know where this file has to be, so I could give the right permissions on the filesystem !!
(I suppose that the owner of this file is the tomcat user)
Thanks in advance
Julien Oix
UFR d'Informatique - Universit� Paris Diderot
Bureau 5C01 (5�me �tage)
175 rue du Chevaleret
75013 PARIS
Tel : +33 (0) 144 278 504
Mobile : +33 (0) 664 392 207
---------------------------------------------
http://www.gnu.org/philosophy/no-word-attachments.html
I'm trying to set up a local xwiki site for our institute. Download an installation finished. Local XWiki works fine!
I'm new to the scripting languages Groovy and Velocity.
I'd like some help in generating a list of all BLog entries in lets say a category with name X! Can anybody help? It'd be fairly ease, but don't know how to tackle this problem at the moment.
Thanks in advance!
Regards,
Gerard
Hi,
I just setup my own Wiki using xwiki-1.0-beta-2.war (Win2K, Tomcat 5.0.27).
The web gui is presented in english language and I wonder how to put
this into german. I changed the "Default Language" to "de" ("Multi
Lingual"="no") but nothing changed so this doesn't seem to be the right way.
Any hints?
Guido
Hi All,
I'm not sure if this is a problem that anyone else has noticed, but
we're currently plagued with very short login timeouts; even when using
the "Remember Me" option on login.
We've noted the same on our 10B2 server (upgraded from 0.9.840), and our
recently installed "clean" test system consistently:
If you have not triggered an action in the last 30 to 50 minutes, you
have to login again - this causes blank news topics when, for example, a
news topic is built up during a meeting that lasts over 30 minutes.
Examining the Cookies when using the "Remember Me" shows nothing
unusual, all cookies are set to expire after today excluding JSESSION
which is set for current session (removing JSESSION manually does not
seem to require relogin).
Is there any simple way to avoid this problem; or to at least increase
the timeout?
Platform:
IE6
WinXP
No additional Browser plugins.
Same happens on:
Firefox 2.0.0.1
WinXP
Plugins: Web Developer; FireFTP; FireBug.
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Does anyone have a suggestion on the best way to import many files at once? We are trying to migrate all of our legacy HTML docs into XWiki - is there a command line version of XAR that we can use to archive the docs and then import them?
Thanks,
-Greg
Hi @ all again,
I would like to show some user specific information, after the user
has successfully logged in.
Any ideas how I can approach this problem?
Thanks a lot.
Hi XWiki users,
We'd like to ask for your help in making XWiki better. We're
targeting XWiki 1.0 for sometime in March 2007 but there's a huge
amount of stuff to do before it can happen. One area where it's easy
to help and where it would provide great benefit is the user
documentation on http://www.xwiki.org.
There are several small tasks in JIRA for documentation. Could some
of you have a look and try implementing them?
They are all grouped under http://jira.xwiki.org/jira/browse/XWIKI-586
For example:
- Document the {image} macro
- Document the {attach} macro
- etc
The way to implement them is easy:
* Register on http://www.xwiki.org
* Go to the Code Zone page: http://www.xwiki.org/xwiki/bin/view/Code/
* Use the menu on the right to add Code Snippet or Macros or Plugins.
Another way to help is to create JIRA issue for macros, plugins, etc
which are not already on the Code Zone and which are not listed in JIRA.
Thanks a lot for your help. This will allow us to deliver 1.0 faster.
-Vincent, on behalf of the XWiki dev team
___________________________________________________________________________
Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire.
http://fr.mail.yahoo.com