Thanks, Charles. I left a similar request as a comment on your wiki. I
am actively working on a JAAS implementation of XWiki's interfaces. Or
rather, I have begun by subclassing the XWiki*ServiceImpl classes
because that's how some others are done and there may be things that
XWiki needs there. It may actually be that it makes more sense just to
implement the interfaces directly.
This is probably not the venue for continued discussion in this vein, so
I'll do this directly, but thought I'd let the list know that this is
going on in case anyone wants to share in the effort and results.
I'm not on the developers list; are you, Charles? Would that be the
best place to carry on? I suppose if you didn't intend it to be an
"official" part of XWiki it might not be, but on the other hand it looks
like a good place for the XWiki developers to start if nothing else.
The only jGuard-specific code should be connected only by the
configuration files.
Alternatively, perhaps the jGuard wiki would be a good place to discuss
and develop the overall design. Does that sound like a good idea?
I'm sorry for the delay in responding; I started this reply on Friday
and then forgot about it over the weekend. Though I never completed it,
I found it, marked unread, in my Sent Items folder...
brain[sic]
-----Original Message-----
From: charles gay [mailto:charles.gay@gmail.com]
Sent: Thursday, May 04, 2006 3:13 AM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] JAAS Integration with XWiki
Hi,
i'm part of the jGuard project and a user of Xwiki (through our website
www.jguard.net hosted and powered by XWiki).
jGuard implements JAAS and provide an easy way to use it in a webapp
context.
that's right that Xwiki security apis differs from the JAAS apis.
but the concept involved in the Xwiki apis, are closed of the JAAS and
jGuard ones.
if you've got some interest by adapting the XWiki apis to JGuard (an
JAAS implicitly), i can help you to do it.
but this adapter will not be an "official" Xwiki way....
hope it helps,
Charles GAY(jGuard team).
On 4/25/06, THOMAS, BRIAN M (SBCSI) <bt0008(a)att.com> wrote:
We are standardizing on the Java Authentication and Authorization
Service (JAAS). I thought I heard that XWiki supports the Pluggable
Authentication Modules (PAM) standard, but haven't found any reference
to it in the docs. Further, there are some articles out about
integrating JAAS into Tomcat, which is another thing to think about. We
actually are considering at least two methods here - a centralized PIN
server and a RADIUS server for SecurID access, and both have clients
that implement the JAAS interfaces.
There are a couple of strategies that I could probably try: one is just
to use the JAAS/Tomcat integration route. That would seem to give the
most bang-per-buck, but that would (I think) not allow controls at the
level of granularity that XWiki does, or would actually take controls
away from the XWiki rights system.
Another (actually my first idea) is to implement the various
com.xpn.xwiki.user.api interfaces (XWikiAuthService, XWikiGroupService,
and XWikiRightService) with JAAS calls.
Anyone have any experience with this?
brain[sic]
--
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: <mailto:sympa@objectweb.org>
sympa(a)objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
The session in XWiki is managed by cookies, I am right??
So, have anything to do where can be modified it to control with in session on each visit?
Att,
Filipe Fumaux
Hey guys,
Anybody knows where I can found the documentation about XWiki codes?
Ex.: What's it: Where's the docs about this?
#includeForm("XWiki.XWikiUserSheet")
#includeMacros("XWiki.TagMacro")
#ShowEditTags()
#set($recentlyviewed = $xwiki.getRecentActions("view", 5))
#foreach($docname in $recentlyviewed)
Att,
Filipe Fumaux
G'Day mates,
I want change some things in default XWiki's pagein my system.
U wanna change the XWiki's logo and put somethings in top of my page. How can I do this?
Regards,
Filipe Fumaux
Based on the "Sectioning Preferences" UI, it looks like XWiki intends to
support the ability to skin "Sections". The only problem is that I
haven't been able to get it to work. Being a developer, I checked out
some of the code, and from what I've seen, the Skin setting in
Sectioning Preferences appears to be ignored. I've even gone so far as
to make some changes to try to pick up my skin setting for the section,
but my changes haven't worked. Obviously, I don't fully understand the
data model.
If anyone has any pointers on how to get this to work, I would
appreciate it. It's the only thing holding me back from adopting XWiki
for one of our sites.
Thanks,
Jason Koeninger
J&J Computer Consulting
According to the Javadoc, there is a TOC associated with each document, and
it is retrieved by getTOC()
I understand it is a map of a map. Can someone shed some light onto how it
is organized?
What I am trying to do is use velocity to get the first heading in a
document. i.e. every document starts with 1 <heading> and I wish to display
this in RSS and search results.
-Adrian
--
Adrian Hall
Sr. Product Line Manager, Administration and Identity Management
e. ahall(a)mirapoint.com; t. +1 (408) 720-3856; c. +1 (408) 667-4977
Hi All,
We have a wiki set up at http://ukeig.xwiki.com/ . Had a play around with it at the start of the year, left it for a while but really started on it seriously over the last week. Somehow I have managed to "lose" the left hand menu bar from the blog home page at http://ukeig.xwiki.com/xwiki/bin/view/Blog/WebHome , but it is still there on the individual article pages. I recall experimenting with the page earlier this year but cannot recall exactly what I did to delete the menu bar.
I can't see any way to get it back. Is it possible and if so how?
Many thanks
Karen
--
Karen Blakeman, UKeiG Management Committee
mailto:karen.blakeman@rba.co.uk
t: +44 118 947 2256 f: +44 20 8020 0253 m: +44 7764 936733
88 Star Road, Caversham, Berkshire, RG4 5BE
Hi,
I'm currently on version 0.9.840 of xwiki.
I believe there won't be any problem to migrate the database part to version 1.0.
But what will we do about default page content and structure ?
If you have had some nice features in left or right toolbar, or in top-menu, will there be an easy way to "reinject" it in a migrated wiki ? Some kind of conflict resolution between the migrated wiki and the new 1.0 default installed wiki ...
Regards,
Jeremie.
> -----Original Message-----
> From: Ludovic Dubost [mailto:ludovic@xwiki.com]
> Sent: vendredi 28 avril 2006 21:16
> To: robin(a)soal.org
> Cc: xwiki-users(a)objectweb.org
> Subject: Re: [xwiki-users] any news on 1.0 release date
>
>
> Yes. We hope to do it quickly after that since it should
> bring many performance improvements.
>
> If you have a Wiki and are ok to be beta-tester of the
> migration, let us know, we can move your wiki to a separate
> platform which will be upgraded before all the other wikis.
> Of course there are no risk of loosing data since we will do
> a full backup before starting the migration.
>
> Ludovic
>
> Robin Fernandes a écrit :
> > Great! Will xwiki.com be upgraded to 1.0B1 shortly after
> the release?
> >
> > On 28/04/06, Ludovic Dubost <ludovic(a)xwiki.com> wrote:
> >
> >> We are working on it !
> >> 1.0B1 is scheduled for sometime in the next 15 days
> >>
> >> Ludovic
> >>
> >> Duke Tantiprasut a écrit :
> >>
> >>> Hi All, any news on when the 1.0 candidates will be available?
> >>>
> >>> Cheers
> >>>
> >>> Duke
> >>>
> --------------------------------------------------------------------
> >>> ----
> >>>
> >>>
> >>> --
> >>> 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
> >>>
> >>>
> >> --
> >> Ludovic Dubost
> >> XPertNet: http://www.xpertnet.fr/
> >> Blog: http://www.ludovic.org/blog/
> >> XWiki: http://www.xwiki.com
> >> Skype: ldubost AIM: nvludo Yahoo: ludovic
> >>
> >>
> >>
> >>
> >>
> >> --
> >> 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
> >>
> >>
> >>
> >>
> >
> >
> >
> ----------------------------------------------------------------------
> > --
> >
> >
> > --
> > 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
> >
>
>
> --
> Ludovic Dubost
> XPertNet: http://www.xpertnet.fr/
> Blog: http://www.ludovic.org/blog/
> XWiki: http://www.xwiki.com
> Skype: ldubost AIM: nvludo Yahoo: ludovic
>
>
>
Hi all,
As I can see there no way of catching exceptions in Velocity. Is that correct?
If this is so, I think this emphasizes the importance of getting
Groovy working in a secure manner. Manipulating user input and
accessing external web services etc.. with Velocity is great... but we
need an elegant way to handle the case where something out of our
control goes wrong.
Cheers,
Robin
Hi All,
I've currently got two xwiki systems running side-by-side - what I'd
really like to do is to import the data from one
(documents/attachments/users/topics) and merge them with the other, so
that I only need to maintain one wiki installation.
Two complications are present if this is doable:
1) Some users may be duplicate on the other xwiki - including admin.
Passwords are the same between the systems wherever they are duplicate.
2) Document names may be duplicate.
Is there an easy way around this, or should I rather forget about it?
It would be really ideal if xwiki documents could be exported to xml for
example, and imported as such - but I don't think such a tool exists
yet?
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
I implemented an RSS, but it gives me entries like this:
KB.Questions.Q106
Version 1.1 edited by Xwiki.ahall on <date>
How would one go about generating an RSS that was more useful (say, the
following):
Q106: How do I get to the Knowledgebase
You can get to the Knowledgebase by bookmarking this link.
(i.e. the first X characters of the actual article)
-Adrian
--
Adrian Hall
Sr. Product Line Manager, Administration and Identity Management
e. ahall(a)mirapoint.com; t. +1 (408) 720-3856; c. +1 (408) 667-4977
Hello,
I'm having a lot of problems getting xwiki to work after the initial
setup. I'm using:
jakarta-tomcat-5.5.4
xwiki-0.9.840
mysql 4.1.14
all on linux. I'm able to setup the database. I'm able to deply the
.war. I'm then able to get to the very simple index page. But when I
try to get to http://localhost:8080/xwiki/bin/view/Main/WebHome, I see
these errors in the browser:
=================================================================
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:516)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:423)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
=================================================================
Inside xwiki.log I see:
=================================================================
13:20:13,003 WARN http-8080-Processor25
RequestUtils:createActionForm:177 - No FormBeanConfig found under
'view'
13:20:13,266 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
XWikiHibernateStore:updateSchema:172 - Schema update deactivated for
wiki xwiki
13:20:13,327 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1267, SQLState:
HY000
13:20:13,328 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
13:20:13,388 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1267, SQLState:
HY000
13:20:13,389 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
13:20:13,430 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1267, SQLState:
HY000
13:20:13,431 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
13:20:13,458 WARN http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:71 - SQL Error: 1267, SQLState:
HY000
13:20:13,459 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
JDBCExceptionReporter:logExceptions:72 - Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
13:20:13,460 ERROR http-8080-Processor25
http://localhost:8080/xwiki/bin/view/Main/WebHome
AbstractFlushingEventListener:performExecutions:277 - Could not
synchronize database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC
batch update
at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
at org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:179)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibernateStore.java:1288)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
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:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
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)
Caused by: java.sql.BatchUpdateException: Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:828)
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:57)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:172)
... 41 more
13:20:13,475 WARN http-8080-Processor25
RequestProcessor:processException:509 - Unhandled Exception thrown:
class com.xpn.xwiki.XWikiException
13:20:13,475 ERROR http-8080-Processor25
StandardWrapper[/xwiki:action]:invoke:269 - 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.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:142)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
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:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
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.XWikiPreferences
Wrapped Exception: Error number 3221 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:540)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
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:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
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 3221 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Error number 3222 in 3: Exception while saving
class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1173)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
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:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
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 3222 in 3: Exception while
saving class XWiki.XWikiPreferences
Wrapped Exception: Could not execute JDBC batch update
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibernateStore.java:1304)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
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:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
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: Illegal mix of collations
(latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for
operation '='
at com.mysql.jdbc.ServerPreparedStatement.executeBatch(ServerPreparedStatement.java:828)
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:57)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:172)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:226)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClassProperty(XWikiHibernateStore.java:1288)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiClass(XWikiHibernateStore.java:1165)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:517)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:557)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:77)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:556)
at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:1418)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:405)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:117)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
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:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
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)
13:20:29,027 WARN Finalizer JDBCContext:finalize:333 -
afterTransactionCompletion() was never called
13:20:29,029 WARN Finalizer JDBCContext:finalize:339 - finalizing
unclosed session with closed connection
=================================================================
I have no idea what I've done wrong. I've tried setting LANG and
JAVA_OPTS in my environment to various codeset values. Nothing seems
to work. Any help is greatly appreciated!
-jeff
We are standardizing on the Java Authentication and Authorization
Service (JAAS). I thought I heard that XWiki supports the Pluggable
Authentication Modules (PAM) standard, but haven't found any reference
to it in the docs. Further, there are some articles out about
integrating JAAS into Tomcat, which is another thing to think about. We
actually are considering at least two methods here - a centralized PIN
server and a RADIUS server for SecurID access, and both have clients
that implement the JAAS interfaces.
There are a couple of strategies that I could probably try: one is just
to use the JAAS/Tomcat integration route. That would seem to give the
most bang-per-buck, but that would (I think) not allow controls at the
level of granularity that XWiki does, or would actually take controls
away from the XWiki rights system.
Another (actually my first idea) is to implement the various
com.xpn.xwiki.user.api interfaces (XWikiAuthService, XWikiGroupService,
and XWikiRightService) with JAAS calls.
Anyone have any experience with this?
brain[sic]
hi,
I want to install xwiki on my server. I have installed the database and
the xwiki-app in my tomcat.
If I call the url "http://localhost:8180/bin/view/Main/WebHome", I will
get following error:
javax.servlet.ServletException
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:284)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:157)
java.security.AccessController.doPrivileged(Native Method)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
*root cause
*java.lang.NoClassDefFoundError
net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:167)
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
org.hibernate.impl.SessionFactoryImpl.<clinit>(SessionFactoryImpl.java:319)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1055)
com.xpn.xwiki.store.XWikiHibernateStore.initHibernate(XWikiHibernateStore.java:124)
com.xpn.xwiki.store.XWikiHibernateStore.checkHibernate(XWikiHibernateStore.java:258)
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:570)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1019)
com.xpn.xwiki.XWiki.getXWikiPreference(XWiki.java:1014)
com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:422)
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:397)
com.xpn.xwiki.XWiki.<init>(XWiki.java:343)
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:134)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:202)
Has someone an idea?
kind regards,
F.O.
Sorry for that Claudio :-). Will do that next time
-----Original Message-----
From: Claudio Miranda [mailto:claudio@claudius.com.br]
Sent: Wednesday, May 03, 2006 4:50 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] xwiki mysql database?
Dear Roger, please never send a big file through a mailing list.
As far
1 MB is big for a mailing list. Use one of free storage services
(yousendit.com, megaupload.com) and point the url on the email.
As far the reported error, this is a matter of path. Specify the
complete xwiki.sql path to the mysql command. Or use
// to enter the mysql command console
mysql -u xwiki -pxwiki xwiki
// load the sql script
source 'script sql complete path';
Claudio
Roger Rukundo Nzabandora wrote, On 03-05-2006 10:10:
> I am trying to install xwiki on my windows XP Pro SP2 computer. I have
> managed to follow all the instructions successfully up to the point of
> setting up the xwiki database using the command "mysql -u xwiki
-pxwiki
> xwiki < xwiki.sql". I get an error message; "The system cannot find
> specified file". I am using MySQL version 5.0.11 I don't know if this
> could be an issue. Plus I seem to have a problem with the Database I
> downloaded, when I look through it I find very strange characters
which
> might suggest that the downloadable DB is corrupted. I have attached a
> copy of the data base as a txt file so you can cross check it and see
if
> there's anything wrong. I am new to this technology, please help.
--
Claudio Miranda
___________________________________________________________________
http://www.claudius.com.br/blog claudio|em|claudius.com.br
http://www.summa-tech.com Summa Technologies do Brasil
http://www.soujava.org.br
I am trying to install xwiki on my windows XP Pro SP2 computer. I have
managed to follow all the instructions successfully up to the point of
setting up the xwiki database using the command "mysql -u xwiki -pxwiki
xwiki < xwiki.sql". I get an error message; "The system cannot find
specified file". I am using MySQL version 5.0.11 I don't know if this
could be an issue. Plus I seem to have a problem with the Database I
downloaded, when I look through it I find very strange characters which
might suggest that the downloadable DB is corrupted. I have attached a
copy of the data base as a txt file so you can cross check it and see if
there's anything wrong. I am new to this technology, please help.
Thanks.
Thanks, I have managed to restore the DB with the MySQL Administrator
tool v1.1. I have used file character set UTF-8. is this okay or I
should use another character set?
_____
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: Wednesday, May 03, 2006 4:24 PM
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] xwiki mysql database?
May not relate to your problem, just a few random thoughts:
@xwiki.sql upload
--The xwiki.sql file should be placed into your MySQL bin directory
(usually under C:\Program Files\MySQL\MySQL Server 4.1\bin) before
running the command line instruction; and the user "xwiki" with password
"xwiki" must be created on MySQL beforehand.
@odd characters:
--There should be some odd-looking characters if you use notepad (or
another text-based editor) to edit the .sql file, so this is most likely
not the problem. It is worth comparing a second download of the .sql
file in case though.
@MySQL version 5.0.11
--Should not affect this step at all; *however* note that 5.0.11 is not
really supported yet on XWiki (far as I know), so it may be that you
experience other problems once installation is complete.
@What I do with new installs:
The xwiki.sql file you download can also be 'restored' through the MySQL
Administrator tool (downloadable through the MySQL website).
This is about the same effort as installing through the command line;
BUT you can do all database tasks at once (creating user, setting up a
backup process, etc).
_____
From: Roger Rukundo Nzabandora [mailto:RNRukundo@syscorp.co.ug]
Sent: 03 May 2006 14:10
To: xwiki-dev(a)objectweb.org; xwiki-users(a)objectweb.org
Subject: [xwiki-users] xwiki mysql database?
I am trying to install xwiki on my windows XP Pro SP2 computer. I have
managed to follow all the instructions successfully up to the point of
setting up the xwiki database using the command "mysql -u xwiki -pxwiki
xwiki < xwiki.sql". I get an error message; "The system cannot find
specified file". I am using MySQL version 5.0.11 I don't know if this
could be an issue. Plus I seem to have a problem with the Database I
downloaded, when I look through it I find very strange characters which
might suggest that the downloadable DB is corrupted. I have attached a
copy of the data base as a txt file so you can cross check it and see if
there's anything wrong. I am new to this technology, please help.
Thanks.
Not sure if UTF-8 will work for you; I use ISO-8859-1 (sufficient for
us).
Note the configuration changes in the following document:
http://www.xwiki.org/xwiki/bin/view/Dev/CharactersSets
These changes should be made before you start using the system.
________________________________
From: Roger Rukundo Nzabandora [mailto:RNRukundo@syscorp.co.ug]
Sent: 03 May 2006 14:39
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] xwiki mysql database?
Thanks, I have managed to restore the DB with the MySQL Administrator
tool v1.1. I have used file character set UTF-8. is this okay or I
should use another character set?
________________________________
From: Esbach, Brandon [mailto:Esbachb@tycoelectronics.com]
Sent: Wednesday, May 03, 2006 4:24 PM
To: xwiki-users(a)objectweb.org
Subject: RE: [xwiki-users] xwiki mysql database?
May not relate to your problem, just a few random thoughts:
@xwiki.sql upload
--The xwiki.sql file should be placed into your MySQL bin directory
(usually under C:\Program Files\MySQL\MySQL Server 4.1\bin) before
running the command line instruction; and the user "xwiki" with password
"xwiki" must be created on MySQL beforehand.
@odd characters:
--There should be some odd-looking characters if you use notepad (or
another text-based editor) to edit the .sql file, so this is most likely
not the problem. It is worth comparing a second download of the .sql
file in case though.
@MySQL version 5.0.11
--Should not affect this step at all; *however* note that 5.0.11 is not
really supported yet on XWiki (far as I know), so it may be that you
experience other problems once installation is complete.
@What I do with new installs:
The xwiki.sql file you download can also be 'restored' through the MySQL
Administrator tool (downloadable through the MySQL website).
This is about the same effort as installing through the command line;
BUT you can do all database tasks at once (creating user, setting up a
backup process, etc).
________________________________
From: Roger Rukundo Nzabandora [mailto:RNRukundo@syscorp.co.ug]
Sent: 03 May 2006 14:10
To: xwiki-dev(a)objectweb.org; xwiki-users(a)objectweb.org
Subject: [xwiki-users] xwiki mysql database?
I am trying to install xwiki on my windows XP Pro SP2 computer. I have
managed to follow all the instructions successfully up to the point of
setting up the xwiki database using the command "mysql -u xwiki -pxwiki
xwiki < xwiki.sql". I get an error message; "The system cannot find
specified file". I am using MySQL version 5.0.11 I don't know if this
could be an issue. Plus I seem to have a problem with the Database I
downloaded, when I look through it I find very strange characters which
might suggest that the downloadable DB is corrupted. I have attached a
copy of the data base as a txt file so you can cross check it and see if
there's anything wrong. I am new to this technology, please help.
Thanks.
May not relate to your problem, just a few random thoughts:
@xwiki.sql upload
--The xwiki.sql file should be placed into your MySQL bin directory
(usually under C:\Program Files\MySQL\MySQL Server 4.1\bin) before
running the command line instruction; and the user "xwiki" with password
"xwiki" must be created on MySQL beforehand.
@odd characters:
--There should be some odd-looking characters if you use notepad (or
another text-based editor) to edit the .sql file, so this is most likely
not the problem. It is worth comparing a second download of the .sql
file in case though.
@MySQL version 5.0.11
--Should not affect this step at all; *however* note that 5.0.11 is not
really supported yet on XWiki (far as I know), so it may be that you
experience other problems once installation is complete.
@What I do with new installs:
The xwiki.sql file you download can also be 'restored' through the MySQL
Administrator tool (downloadable through the MySQL website).
This is about the same effort as installing through the command line;
BUT you can do all database tasks at once (creating user, setting up a
backup process, etc).
________________________________
From: Roger Rukundo Nzabandora [mailto:RNRukundo@syscorp.co.ug]
Sent: 03 May 2006 14:10
To: xwiki-dev(a)objectweb.org; xwiki-users(a)objectweb.org
Subject: [xwiki-users] xwiki mysql database?
I am trying to install xwiki on my windows XP Pro SP2 computer. I have
managed to follow all the instructions successfully up to the point of
setting up the xwiki database using the command "mysql -u xwiki -pxwiki
xwiki < xwiki.sql". I get an error message; "The system cannot find
specified file". I am using MySQL version 5.0.11 I don't know if this
could be an issue. Plus I seem to have a problem with the Database I
downloaded, when I look through it I find very strange characters which
might suggest that the downloadable DB is corrupted. I have attached a
copy of the data base as a txt file so you can cross check it and see if
there's anything wrong. I am new to this technology, please help.
Thanks.
I am trying to include and external rss feed in my xwiki page but it doesn't
seem to work. I am trying the rss macro with the following rss feed:
http://groups.google.com/group/watij/feed/rss_v2_0_msgs.xml
But it just errors out...please help!
Thanks,
Brian
Hi,
I have a couple of questions about cookies. I'm using v0.9.840 on my localhost.
The following behaviour is consistently reproducible, and maybe as
designed, but I do not understand it. Any help would be much
appreciated!
The value of xwiki.authentication.cookiedomains value has some effects
on persistent login cookie creation, which in turn affects whether
XWikiAuthServiceImpl.authenticate(user, password,context) is called on
every page view or not.
Below is the outcome of some experiments with different cookiedomains
values. Between each test I shut down Tomcat, wiped my cookies for
localhost, changed xwiki.cfg as described and relaunched tomcat:
xwiki.authentication.cookiedomains=localhost
. persistent login cookies created: no (only style and JSESSIONID)
. authentication on every page view: no,
XWikiAuthServiceImpl.authenticate(user, password,context) is ONLY
CALLED ONCE (when loging in)
xwiki.authentication.cookiedomains=
. persistent login cookies created: yes (rememberme, validation,
password, username, style and JSESSIONID)
. authentication on every page view: yes,
XWikiAuthServiceImpl.authenticate(user, password,context) is called on
every page view.
xwiki.authentication.cookiedomains=calh (or any subtring of 'localhost')
. persistent login cookies created: no (only style and JSESSIONID)
. authentication on every page view: no,
XWikiAuthServiceImpl.authenticate(user, password,context) is ONLY
CALLED ONCE (when loging in)
xwiki.authentication.cookiedomains=some_other_string (that isn't a
substring of 'localhost')
. persistent login cookies created: yes (rememberme, validation,
password, username, style and JSESSIONID)
. authentication on every page view: yes,
XWikiAuthServiceImpl.authenticate(user, password,context) is called on
every page view.
I realise I'm probably using this setting incorrectly, excuse my lack
of knowledge of cookies... but even so, this behaviour seems odd to
me:
1. Why are the persistent login cookies not created when the
cookiedomains value is a substring of the server name?
What I think is happening from reading the code: in my examples the
cookies are assigned a domain name that doesn't match the actual
domain of the server (I guess 'localhost' is not a valid domain name
for machine localhost :), so they are never set properly. The XWiki
code has a basic check to ensure the desired cookie domain has some
correlation with the server name and ignores it not... but it is
fooled if the value is a substring of the hostname. Is this a standard
way of doing things or is there room for improvement here?
2. Looking at the code I can see we need the persistent login cookies
to extract the username & password in order to call
XWikiAuthServiceImpl.authenticate with valid params. But the way it's
currently written, a user can bypass XWikiAuthServiceImpl.authenticate
if the persistent login cookies are not set: if I have a valid session
cookie, I can just delete my persistent login cookies and browse the
wiki without XWikiAuthServiceImpl.authenticate being called. Is this
expected? This thread would suggest not:
http://mail-archive.objectweb.org/xwiki-dev/2006-02/msg00027.html
I have spent some time looking at the code, but don't have sufficient
understanding of the expected flow through (or even the purpose of)
the numerous checkAccess, checkAuth, processLogin, checkLogin and
authenticate methods, nor their expected interaction with cookies.
Thanks for any info!
On a side note, is it possible to configure things so that
"http://myHostName" and "http://myHostName.myDomain.com" share XWiki
cookies?
Regards,
Robin
Hi all,
I have followed the instruction to create a FAQ using the following page:
http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQs+Tutorial
When I created my document it was empty, and there was no form to edit.
The code in the document was:
#includeForm("XWiki.FAQs.FAQClassSheet")
Where it should be :
#includeForm("FAQs.FAQClassSheet")
I fixed this issue when I recreated the FAQ Class with the wizard.
I removed XWiki. from the following line
#set($defaultparent = "XWiki.${class}Class")
Is that a error in the documentation or I did mistake somewhere else?
I haven't heard anything back, so perhaps my last post wasn't explained
very well.
When I enter a new page using "Add a News" on the front page of my
Xwiki, my page shows up on the front page as a new entry, but never
appears in the category I had assigned to it.
What could that be?
-Dave
--
Dave Mangot
Terracotta Inc.
650 Townsend St. Suite 325
San Francisco, CA 94103 USA
+1 415 738 4059
dmangot(a)terracottatech.com
This e-mail incorporates Terracotta's confidentiality policy, which is
online at http://www.terracottatech.com/emailconfidentiality.shtml