OK. It is back on service again.
-------------- Original message from wangwh(a)att.net: --------------
Anyone working on the XWiki farm? I can't log in suddenly....I hope XWiki farm is not attacked by.....
Folks:
I've been trying to install Xwiki on a Suse 10.2 linux
distribution with apache-tomcat-6.0.16 and MySQL
5.0.26 (the jdbc driver is
mysql-connector-java-5.0.8.jar).
With either Xwiki 1.2.2 or 1.3.rc1 i get a null
pointer exception when I get to the XWikiPreferences
page i.e.
http://localhost:8080/xwiki/bin/objectadd/XWiki/XWikiPreferences?classname=…
for 1.2.2. Using 1.3 the error is terminal (no way to
recover). Using 1.2.2 if I click on the
XWikiPreferences header then I see a normal page,
instead of the exception trace. Except, if I try,
say, to save a comment, I get another trace.
This is my JRE:
java -version
$java version "1.5.0_08"
Java(TM) 2 Runtime Environment, Standard Edition
(build 1.5.0_08-b03)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03,
mixed mode)
this is the second trace:
Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception
while updating archive XWiki.XWikiPreferences
Wrapped Exception: Error number 3212 in 3: Exception
while loading archive 104,408,758
Wrapped Exception: Error number 0 in 3: Exception
while hibernate execute
Wrapped Exception: exception setting property value
with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for
more info) setter of
com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
com.xpn.xwiki.XWikiException: Error number 3201 in 3:
Exception while saving document XWiki.XWikiPreferences
Wrapped Exception: Error number 3211 in 3: Exception
while updating archive XWiki.XWikiPreferences
Wrapped Exception: Error number 3212 in 3: Exception
while loading archive 104,408,758
Wrapped Exception: Error number 0 in 3: Exception
while hibernate execute
Wrapped Exception: exception setting property value
with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for
more info) setter of
com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:384)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
[ ... very long omission ... ]
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1018)
at
com.xpn.xwiki.web.CommentAddAction.action(CommentAddAction.java:61)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
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:710)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NullPointerException
I browsed the various resources, but the only null
pointer I found was wrt a totally unrelated
circumstances.
Any kind soul can please tell me what is the gripe
about?
Cheers,
Al
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
Hi all,
We have been successfully using Xwiki and started with the 1.2rc1 without this problem.
I updated with 1.2 version recently and we are no more able to upload any files. Below the log extract.
We are running on a ScientificLinux 5.0 server, with tomcat 5.5.25, and java 1.5.
The same thing occurs with xwiki 1.2.2, and java 1.6 (last update).
I saw a similar messages posted in december 2006 without answer.
Is there any workaround that I could apply or should I do something else ?
Cheers.
--Vincent
10:35:01,437 [http://myxwiki:9090/xwiki/bin] [http-9090-Processor24] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -1
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: String index out of range: -1
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:164)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at java.lang.String.substring(String.java:1735)
at com.xpn.xwiki.XWiki.getDocumentNameFromPath(XWiki.java:1118)
at com.xpn.xwiki.XWiki.getDocumentName(XWiki.java:4005)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4035)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
Hi, I have a class named MyClass with "content" property with type TextArea.
I write some Groovy code to read a text file (*.txt) with encoding UTF-8,
and print each line in the screen (code snippet 1) , no errors.
but when I replace code snippet (1) with (2), the following error occurs:
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document ..Wrapped Exception: could not insert: xpn.xwiki.objects.Large
String Property?<http://localhost:8080/xwiki/bin/edit/com.xpn.xwiki.objects/LargeStringPrope…>
I try text files with encoding Unicode, replace UTF-8 with UNICODE, execute
code snippet (1) and (2), both are ok.
Anyone can explain me why I'm getting error with UTF-8 and how to solve this
problem ?
My code here:
*byte[] bytes=...
String[] lines=new String(bytes,"UTF-8").split("\n");
list=mydoc.getObjects("XWiki.MyClass");
for (i in 0..<lines.length)
{
(1)
println lines[i];
(2)
newobj=mydoc.newObject("XWiki.MyClass");
newobj.set("content", lines[i]);
list.add(newobj);
}
mydoc.save();*
--
Ngô Thị Hồng Nga
Hi,
I just installed the new toucan skin and upgraded our internal wiki to 1.3
RC1.
Has the Wysiwig editor changed ?
Several things changed when I apply the toucan skin, for example:Lists and
numbered lists no longer work correctly.
If I change back to albatross everything works again as before. Is there a
relation between the skin & the wysiwyg editor ?
BTW I like toucan a lot and REALLY would like to go for it, but this Wysiwyg
issue holds us back.
Regards,
Daniel
--
View this message in context: http://www.nabble.com/Wysiwyg-with-new-toucan-skin-tp15885525p15885525.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I use Bulletin Board application with XE 1.1.2. I import the xar file, I add
a new topic, enter title and first post, then make some reply. Every thing
is displayed properly (author, post reply,..), except for the topic title
and topic first post always be the empty string "", although they are not
empty !?
Thanks a lot. But maybe I made it confused, English is not my mother
language.
In fact what I need is that after the user entering username/password and
click the log-in button, the next page should be the user's profile page.
For example, after entering username/password the user Admin click log-in,
then the coming page should be
http://localhost:8080/xwiki/bin/view/XWiki/Admin
The problem is that before log-in, we can't get the username and user
profile page URL in global.vm because we don't know which user will exactly
log-in.
--------------------------------------------------
> ------------------------------
>
> Message: 3
> Date: Thu, 6 Mar 2008 12:38:01 +0100
> From: "Dan" <henduonian(a)hotmail.com>
> Subject: [xwiki-users] Automatic forward to user page after login?
> To: <users(a)xwiki.org>
> Message-ID: <BLU125-DS1C9240E242153BEEF1263DA120(a)phx.gbl>
> Content-Type: text/plain; charset="gb2312"
>
> Hello, all
> Currently after login, the user will be forwarded to the former page. Is
> it possible to automatically forward the user to his own page?
> Shall I modify some .vm templates or I have to do java coding?
> Please kindly give some instructions.
> Thanks a lot.
>
I am new to XWiki Enterprice and I have read the documentation from main website, but could not find what I needed. How do I set the default language for the whole site without always passing the language= in the URL every time?
Also, how can I add more key/words to be translated to another language?
Many thanks in advanced.
Richard
_________________________________________________________________
Shed those extra pounds with MSN and The Biggest Loser!
http://biggestloser.msn.com/
It works fine now.
Thanks a lot
Original Message:
Hi Hosam,
<br />Sorry, my previous email messed up.
<br />
<br />Basically what happens is that you did not declare the translations file
<br />properly. To do so, please check the instructions at
<br />
<br />http://code.xwiki.org/xwiki/bin/view/Applications/BulletinBoardApplicationD…
<br />
<br />
<br />If the original code bits still show up afterwards, please check the
<br />BBCode.Translations page has all of its translations filled in properly.
<br />
<br />
<br />Thanks,
<br />
<br />
<br />Guillaume
<br />
<br />On 06/03/2008, Guillaume Lerouge wrote:
<br />>
<br />> Hi Hosam,
<br />>
<br />> that's because you didn't properly declare the translations file. Please
<br />> check
<br />>
<br />> On 06/03/2008, Hosam Hassan wrote:
<br />>
<br />> > Hello all,
<br />> >
<br />> > I installed the Bulletin Board app but the text is messed up somehow so
<br />> > i get it like that
<br />> >
<br />> > WebHome bb_bb rss
<br />> >
<br />> > bb_currently 0 bb_categoriessize bb_deletethisbb
<br />> >
<br />> > bb_categoryâ bb_topicsâ bb_lastmessageonâ bb_inreplytoâ
<br />> > bb_byâ bb_actionsâ
<br />> >
<br />> > bb_addnewcategory
<br />> >
<br />> > How can I remove the bb_ from the header,..etc because its pretty
<br />> > annoying to have it like this.
<br />> >
<br />> > Which class should I edit or where is that located?
<br />> >
<br />> > Cheers,
<br />> >
<br />> >
<br />> > Hosam
<br />> > _______________________________________________
<br />> > users mailing list
<br />> > users(a)xwiki.org
<br />> > http://lists.xwiki.org/mailman/listinfo/users
<br />> >
<br />> >
<br />>
<br />>
<br />> --
<br />> http://wikibc.blogspot.com/
<br />>
<br />
<br />
<br />
<br />--
<br />http://wikibc.blogspot.com/
<br />
--
Hello, all
Currently after login, the user will be forwarded to the former page. Is it possible to automatically forward the user to his own page?
Shall I modify some .vm templates or I have to do java coding?
Please kindly give some instructions.
Thanks a lot.
Hello all,
I installed the Bulletin Board app but the text is messed up somehow so i get it like that
WebHome bb_bb rss
bb_currently 0 bb_categoriessize bb_deletethisbb
bb_categoryâ bb_topicsâ bb_lastmessageonâ bb_inreplytoâ bb_byâ bb_actionsâ
bb_addnewcategory
How can I remove the bb_ from the header,..etc because its pretty annoying to have it like this.
Which class should I edit or where is that located?
Cheers,
Hosam
Hi all,
I've been playing for a while with the new cool BulletinBoard
application. Please, is it possible to access RSS feeds for restricted
access boards?
I am doubting if this is a matter of the RSS client, XWiki feed URL
format or XWiki been/not been able to accept basic authentication (or at
least username and password not being able to be sent in the URL string)
a combination of these issues or anything else.
The point here is that we do need to restrict this access to a given
board but at the same time RSS it is quite useful. Of course Watch could
be an option.
Any tip will be welcome! Thanks!
Cheers,
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Hi all,
After googling for a while, I realize that the collapsing/expanding
trick is a quite vaste issue!
Please, is it possible to force XWiki to deliver collapsed panels? Or
even better: is it possible to set a panels to be delivered , by
default, collapsed or expanded?
Thanks!
Cheers,
Ricardo
--
Ricardo Rodríguez
Your EPEC Network ICT Team
Pushing the radio button does not refresh the displayed list. A click somewhere leads to a refresh.
Changing "Users" and "Groups" continuously is confusing.
The displayed list should be updated the time the radio button is pressed.
Nevertheless, thanks a lot for the new rights management.
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. *http://www.pc-sicherheit.web.de/startseite/?mc=022220* [http://www.pc-sicherheit.web.de/startseite/?mc=022220]
Hello all,
I would like to know if its possible to have a more advanced way to display the attachements so not just a list of the attachments.
I want it to be in folders or something that looks better in case i have large number of attachments.
How can i do that?. Will I have to write a plugin for that?
Cheers,
Hosam
Hello all,
I am running Xwiki with Tomcat 6.0.14. I noticed using firebug that lots of the images are not cached. This really slows down loading the pages in the wiki.
Same goes for some pages with lots of contents. How it's possible to specify the cache policy for the xwiki concerning some pages and images. Is it possible also to have a cache policy for the whole wiki. I read that tomcat doesn't have a cache policy so it depends on the browser more or less to chose what to cache and what not to.
Any hits or ideas about that?
Cheers
Thanks Vincent, Paul
I give it a try and I hope it works
Cheers and thanks again
Original Message:
<br />On Mar 5, 2008, at 11:03 AM, Paul Libbrecht wrote:
<br />
<br />> Hassan,
<br />>
<br />> My quick and best solution was to use the proxy for that.
<br />> And I know mod_jk can also be used for that.
<br />> Anything that bears the URL /skins can be statically served.
<br />>
<br />> I'm still bitten by one image which indeed shows me this behaviour
<br />> and I find it very irritating. (just do several reload on http://i2geo.net/)
<br />> .
<br />>
<br />> I'm afraid XWiki gurus will answer us... "hey, it's all the fault of
<br />> Tomcat".
<br />
<br />No, my answer is this one actually:
<br />http://jira.xwiki.org/jira/browse/XWIKI-2022
<br />
<br />The recommended way right now (while waiting for XWIKI-2022 to be
<br />finished) is to add an Apache web server in front of the tomcat and
<br />install the mod gzip and mod cache modules.
<br />
<br />Thanks
<br />-Vincent
<br />
<br />> Alternative solutions more than welcome!
<br />> I could not, yet, find a detailed list of all the "static URLs" for
<br />> XWiki, this would be more than welcome, I just have skins there yet.
<br />>
<br />> paul
<br />>
<br />>
<br />>
<br />>
<br />> Le 5 mars 08 à 10:40, Hosam Hassan a écrit :
<br />>> I am running Xwiki with Tomcat 6.0.14. I noticed using firebug that
<br />>> lots of the images are not cached. This really slows down loading
<br />>> the pages in the wiki.
<br />>>
<br />>> Same goes for some pages with lots of contents. How it's possible
<br />>> to specify the cache policy for the xwiki concerning some pages and
<br />>> images. Is it possible also to have a cache policy for the whole
<br />>> wiki. I read that tomcat doesn't have a cache policy so it depends
<br />>> on the browser more or less to chose what to cache and what not to.
<br />>>
<br />>> Any hits or ideas about that?
<br />>>
<br />> _______________________________________________
<br />> users mailing list
<br />> users(a)xwiki.org
<br />> http://lists.xwiki.org/mailman/listinfo/users
<br />
<br />_______________________________________________
<br />users mailing list
<br />users(a)xwiki.org
<br />http://lists.xwiki.org/mailman/listinfo/users
<br />
--
Hello All,
I am a young xwiki programmer who is faced with the problem of inputting Captcha validation for registering and comments. I already read through all of the list and past emails about this issue and I am having the same problem many has had which is showing the captcha but not validating it. This issue was not solved through the emails and I was wondering has anyone solved this problem yet or knows where I can get some documentation on this topic. Thank you for your work in advance.
Tim Campbell
Junior, Computer Science-Ecommerce major
Winston Salem State University
tcampbell106(a)wssu.edu
(704) 877-2261
Hi,
After installing the default xwiki war file, without installing any xar,
WebHome page is displayed without any css style and javascript errors occur
on mouse events.
Errors come from the js file /xwiki/skins/albatross/xwiki.js
Is this bug referenced ?
Aym.
Hello,
I would like to ask if it is possible to give a user the rights to view and
edit a page, and prevent that user from viewing and changing the access
rights of that page.
My approach was:
- In the "Space Rights" I disabled Admin rights for TestUser, for the space
"Main"
- In the "Main" space, I created a TestPage on which TestUser has the rights
to view and edit
However, when TestUser edits TestPage, he can also view the page rights and
modify them. Can this be disabled?
Regards,
Ovidiu
> Hi All,
> A few queries that I've split up to make it easier to make use of in
> Nabble for future reference.
>
> 1) What language is used in the scheduler script? I would assume it's
> running either velocity or groovy within the xwiki engine?
> 2) Are $xwiki and $context available to the script?
> 3) Is there feedback in the event of an error (like in a logfile or
> something)?
> 4) Is there a timeout associated to the script that runs, and are
> there any permission restrictions on adding the scheduler if it's
> going to be modifying document objects?