Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-04-09 Thread Tobias Kirchhofer
Solved the issue with this:

The LDAP object of XWiki.XWikiPreferences must be manually switched off with
the hidden flag which is available here:

https://wiki.fra.shift.agency/xwiki/wiki/SUBWIKI/edit/XWiki/XWikiPreferences?editor=object




--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282p7598898.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-10 Thread Paul Libbrecht


Tobias Kirchhofer wrote:
> We are talking about an internal network with defined status. 
ok
> XWiki worked
> for month for us - but now the user have this problem. Is there something in
> the database about the sessions which probably went wrong? 
Sessions are in the tomcat or jetty.

paul
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-10 Thread Tobias Kirchhofer
We are talking about an internal network with defined status. XWiki worked
for month for us - but now the user have this problem. Is there something in
the database about the sessions which probably went wrong? 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282p7598406.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-09 Thread Paul Libbrecht

Tobias Kirchhofer wrote:
> The IP-Address is not changing during a session.
Be careful. If you change from http to https or back and are on a 3g
network, the IP of the client does change!

The reason is that there's a transparent proxy run at the http level so
as to make the exchanges more efficient. Similarly, on hotspot networks,
the transparent proxy is there so that they redirect the browser to the
welcome/please-pay/read-rules page for the first connection.

paul
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-09 Thread Tobias Kirchhofer
Thanks - indeed we had our time securing tomcat, XWiki with nginx but it
worked finally. We investigated everything with Developer Tools - no
http-requests are observable.





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282p7598398.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-09 Thread Tobias Kirchhofer
Our XWiki is running as a Intranet in a LAN. Outside users need VPN access.

The IP-Address is not changing during a session.

We played around with xwiki.authentication.protection - no change.
xwiki.authentication.protection=none is no option because passwords in the
cookie are not encrypted anymore. Anyway we tried it with no success.

We changed xwiki.authentication.validationKey and
xwiki.authentication.encryptionKey hoping solving the issue. Deleting all
old cookies - no change.

A pity! 

 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282p7598397.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-09 Thread Paul Libbrecht
Can there be a mix of http and https here?
At least this was confusing this cookie on the curriki side in some
network configurations where the http and https endpoints are different
due to local network configs (3g optimizers, hotspot networks).

Paul


> Clemens Klein-Robbenhaar <mailto:c.robbenh...@espresto.com>
> 9 March 2016 at 14:29
> The code where this happens is in:
>
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/MyPersistentLoginManager.java#L564
>
> I have to admit that I do not know much about that corner of XWiki code
>
>
> some random pointers:
>
> There is some hint that switching IP's might cause the problem, as in:
>
> http://jira.xwiki.org/browse/XWIKI-2463
>
> so maybe setting:
>
> xwiki.authentication.useip=false
>
> in WEB-INF/xwiki.cfg could help.
>
>
> Then, you can set
>
> xwiki.authentication.protection=none
>
> which should make the problem go away, but of course at the cost that
> the authenticator does not check the cookie is encrypted with the
> given key in xwiki.cfg.
>
>
> Aside of that I remember having a similar problem some time ago after
> changing the xwiki.authentication.validationKey /
> xwiki.authentication.encryptionKey in xwiki.cfg;
> but that vanished after clearing *all* cookies in the browser once. As
> I understood your users have already done this, so it is probably not
> related to this problem.
>
>
>
> - Ursprüngliche Nachricht -
> Von: Tobias Kirchhofer
> Am: Wednesday, 09.03.2016, 13:40
> An: Xwiki Users
> Betreff: Re: [xwiki-users] Login cookie validation hash mismatch!
> Cookies have been tampered with
>
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> Tobias Kirchhofer <mailto:tob...@kirchhofer.net>
> 9 March 2016 at 13:40
> This is the message which appears after 30 minutes:
>
> <http://xwiki.475771.n2.nabble.com/file/n7598389/screenshot_53.png>
>
> "You do not have permission to view the document or to perform that
> action."
>
> The we have to actively logout and close the browser window. By opening a
> new window and navigating to the wiki we can login again.
>
> Our developers say this is most likely a bug in the application. How
> can we
> debug this one?
>
>
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282p7598389.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> Tobias Kirchhofer <mailto:tob...@kirchhofer.net>
> 3 March 2016 at 12:48
> We set up a new Box with a fresh install of a 7.4.1 version. While
> configuring and testing (permissions) everything all was perfect and
> clean.
> Then we migrated the pages from the old wiki (also 7.4.1 - we wanted a
> fresh
> install) - precisely only content pages, nothing else. Then we
> switched the
> IP for the old domain and all of our LDAP user populated the new wiki, one
> by one.
>
> Since the fresh start all users experience the trouble that after the
> end of
> the tomcat session (30 minutes) a re-login is required. After re-login a
> XWiki message appears "you do not have the appropriate rights" (or
> similar).
> Deletion of the cookie ~or closing the browser window and login again
> reestablishes normal functions until the tomcat session is over again.
>
> catalina.out: 2016-03-03 11:55:26,813
> [https://wiki.sub.domain/xwiki/bin/view/Main/] WARN
> u.i.x.MyPersistentLoginManager - Login cookie validation hash mismatch!
> Cookies have been tampered with
>
> Research in this forum did bring up discussions about the mess from
> 2010 and
> bevor without any valuable pointers.
>
> We updated to 7.4.2 without any change for the situation.
>
> The site ist secure with a nginx proxy.
>
> Any ideas?
>
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-09 Thread Clemens Klein-Robbenhaar

The code where this happens is in:

   
https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/user/impl/xwiki/MyPersistentLoginManager.java#L564

I have to admit that I do not know much about that corner of XWiki code


some random pointers:

There is some hint that switching IP's might cause the problem, as in:

   http://jira.xwiki.org/browse/XWIKI-2463

so maybe setting:

 xwiki.authentication.useip=false

in WEB-INF/xwiki.cfg  could help.


Then, you can set

 xwiki.authentication.protection=none

which should make the problem go away, but of course at the cost that the 
authenticator does not check the cookie is encrypted with the given key in 
xwiki.cfg.


Aside of that I remember having a similar problem some time ago after changing 
the xwiki.authentication.validationKey / xwiki.authentication.encryptionKey in 
xwiki.cfg;
but that vanished after clearing *all* cookies in the browser once. As I 
understood your users have already done this, so it is probably not related to 
this problem.



- Ursprüngliche Nachricht -
Von: Tobias Kirchhofer
Am:  Wednesday, 09.03.2016, 13:40
An: Xwiki Users
Betreff: Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have 
been tampered with


> This is the message which appears after 30 minutes:
> 
> <http://xwiki.475771.n2.nabble.com/file/n7598389/screenshot_53.png> 
> 
> "You do not have permission to view the document or to perform that action."
> 
> The we have to actively logout and close the browser window. By opening a
> new window and navigating to the wiki we can login again.
> 
> Our developers say this is most likely a bug in the application. How can we
> debug this one?
> 
> 
> 
> 
> 
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282p7598389.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-09 Thread Tobias Kirchhofer
This is the message which appears after 30 minutes:

 

"You do not have permission to view the document or to perform that action."

The we have to actively logout and close the browser window. By opening a
new window and navigating to the wiki we can login again.

Our developers say this is most likely a bug in the application. How can we
debug this one?





--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282p7598389.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-07 Thread Tobias Kirchhofer
Uh, feel a bit shy about my post and broach the subject again - is there
anyone who could give us a hint where to search? Increasing the session
limit to a longer period just delays the effect. Our user would be delighted
... :)



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282p7598358.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login cookie validation hash mismatch! Cookies have been tampered with

2016-03-03 Thread Tobias Kirchhofer
We set up a new Box with a fresh install of a 7.4.1 version. While
configuring and testing (permissions) everything all was perfect and clean.
Then we migrated the pages from the old wiki (also 7.4.1 - we wanted a fresh
install) - precisely only content pages, nothing else. Then we switched the
IP for the old domain and all of our LDAP user populated the new wiki, one
by one. 

Since the fresh start all users experience the trouble that after the end of
the tomcat session (30 minutes) a re-login is required. After re-login a
XWiki message appears "you do not have the appropriate rights" (or similar).
Deletion of the cookie ~or closing the browser window and login again
reestablishes normal functions until the tomcat session is over again.

catalina.out: 2016-03-03 11:55:26,813
[https://wiki.sub.domain/xwiki/bin/view/Main/] WARN 
u.i.x.MyPersistentLoginManager - Login cookie validation hash mismatch!
Cookies have been tampered with

Research in this forum did bring up discussions about the mess from 2010 and
bevor without any valuable pointers.

We updated to 7.4.2 without any change for the situation.

The site ist secure with a nginx proxy.

Any ideas?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Login-cookie-validation-hash-mismatch-Cookies-have-been-tampered-with-tp7598282.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] LOGIN

2014-05-02 Thread vinc...@massol.net
Hi,

403 means a permission issue. My guess is that you’ve forbidden guest users to 
log in :)

See http://markmail.org/thread/46wodvw7lbndkpau

Thanks
-Vincent

On 2 May 2014 at 06:19:05, Daniel Ebanja 
(danieleba...@googlemail.com(mailto:danieleba...@googlemail.com)) wrote:

 Hi Developers,
 i can't login to my xwiki. Clicking on LOG-IN leads to an error page(403).
 What can this be? and how could i please solve this.
 Wish u a nice day.
 Thanks.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] LOGIN

2014-05-01 Thread Daniel Ebanja
Hi Developers,
i can't login to my xwiki. Clicking on LOG-IN leads to an error page(403).
What can this be? and how could i please solve this.
Wish u a nice day.
Thanks.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] login status gets lost

2012-07-19 Thread Arioch
 Looks like nothing is submitted, probably because the request is not 
resent after authentication.

If about Opera - their quality seems spiralling down.
Few years ago their snapshots were more reliable than releases, now thay are
not.
Something broken with upload on many sites (but not all) with current Opera
snapshot. Had to learn it hard way.

But what i cannot understand is when i opened that URL in another browser -
so another session - it still acted like in the mid of uploading session.
Shouldn't new session start from scratch ?


--
View this message in context: 
http://xwiki.475771.n2.nabble.com/login-status-gets-lost-tp7580416p7580436.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] login status gets lost

2012-07-18 Thread Arioch
running test XAR installation of 4.1.2 in Win7 x64, JRE 7b05 x64, Jetty (from
TrackStudio), HSQLDB

after i checked remember me during login (i guess that switches session
credentials passing from URL GET to cookies), i find that some sporadic
times the login is just lost, i suddenly get treated as anonymous. Most
noticeable (or most frequent maybe) moments is when i try to engage open
server for importing - or just manually start it. Like page might believe
that i am authenticated enough, yet action executor would consider it not
enough and diminish the session to non-auth.

Just booted my Windows, launched Jetty, found myself still loggen into XWiki
as admin, opened config and pressed started Office Server. Voila - i was
redirected to logins screen, where i had to enter my login credentials twice
(not mis-typing here, all from browser's auto-complete) and then i got back
onto Office Server config page - and the server was NOT started, so the
action had either failed or been aborted. The second attempt succeeded.

Log looks like



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/login-status-gets-lost-tp7580416.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] login status gets lost

2012-07-18 Thread Arioch
seems something wrong in paeg to page transitions, at least in Opera and
maybe some other browsers

This i've got after twice requesetd auth on upload package page, and then
shown warning request info diallows checking of authentication

It was the same in MSIE after opening the URL.

But opening the wiki fro mroot page in MSIE suddenly seems to work.

Подробная информация:
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:254)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:91)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
... 35 more


Wrapped Exception:

java.lang.NullPointerException
at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:91)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at

Re: [xwiki-users] login status gets lost

2012-07-18 Thread Marius Dumitru Florea
On Wed, Jul 18, 2012 at 2:44 PM, Arioch arioch...@gmail.com wrote:
 seems something wrong in paeg to page transitions, at least in Opera and
 maybe some other browsers

 This i've got after twice requesetd auth on upload package page, and then
 shown warning request info diallows checking of authentication

 It was the same in MSIE after opening the URL.

 But opening the wiki fro mroot page in MSIE suddenly seems to work.

 Подробная информация:
 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:254)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
 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:637)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at 
 org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
 at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
 at
 org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
 at
 com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
 at
 org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
 at
 org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
 at
 org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
 at 
 org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
 at
 org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
 at 
 org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
 at 
 org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
 at 
 org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
 at
 org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
 at
 org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
 at 
 org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
 at org.mortbay.jetty.Server.handle(Server.java:326)
 at 
 org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
 at
 org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
 at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
 at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
 at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
 at
 org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
 at
 org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
 Caused by: java.lang.NullPointerException
 at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:91)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
 ... 35 more


 Wrapped Exception:


 java.lang.NullPointerException
 at com.xpn.xwiki.web.UploadAction.action(UploadAction.java:91)

https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-4.1.2/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/UploadAction.java#L91

Looks like nothing is submitted, probably because the request is not
resent after authentication.

Hope this helps,
Marius

 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:230)
 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
 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 

[xwiki-users] Login cookie validation hash mismatch problem when using Weblogic

2011-03-06 Thread ernn cabanban
Hi Users, 

I have been trying out Xwiki Enterprise 2.7 for a few weeks now. I have 
successfully installed it in Tomcat 6 and Oracle 9i environment. But my target 
appserver is Weblogic 10 and I also have some luck in successfully installing 
it there. I also have uploaded the xwiki 2.7.xar into the xwiki instance and 
successfully added it.

But I am encountering errors in Weblogic whenever I try logging into xwiki 
using Admin/admin. Here is the log file generated : 

2011-02-24 17:27:38,671 [http://localhost:7001/xwiki/bin/view/Main] INFO  
.AbstractXWikiMigrationManager  - No storage migration required since current 
version is [15429] 
2011-02-24 17:27:43,921 
[http://localhost:7001/xwiki/resources/css/microformats.css] WARN  
internal.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/exceptioninline.vm@1,24 
2011-02-24 17:27:50,468 
[http://localhost:7001/xwiki/bin/login/XWiki/XWikiLogin?xredirect=http%3A%2F%2Flocalhost%3A7001%2Fxwiki%2Fbin%2Fview%2FMain]
 WARN  internal.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33 
2011-02-24 17:27:50,859 
[http://localhost:7001/xwiki/resources/css/microformats.css] WARN  
internal.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/exceptioninline.vm@1,24 
2011-02-24 17:27:59,625 [http://localhost:7001/xwiki/bin/view/Main] WARN  
xwiki.MyPersistentLoginManager  - Login cookie validation hash mismatch! 
Cookies have been tampered with 
2011-02-24 17:27:59,640 [http://localhost:7001/xwiki/bin/view/Main] WARN  
xwiki.MyPersistentLoginManager  - Login cookie validation hash mismatch! 
Cookies have been tampered with 
2011-02-24 17:27:59,828 
[http://localhost:7001/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN  
internal.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/login.vm@28,33 
2011-02-24 17:28:00,093 
[http://localhost:7001/xwiki/resources/css/microformats.css] WARN  
internal.DefaultVelocityEngine  - Deprecated usage of method 
[com.xpn.xwiki.api.XWiki.parseMessage] in /templates/exceptioninline.vm@1,24 


This is a new instance with the xar data. I haven't added any new data yet into 
xwiki. I don't encounter this problem when I am running xwiki on tomcat. Is 
this a bug or does anybody know a workaround for this? 

I have also tried using xwiki 2.6 and xwiki 3.0 milestone 2 with their 
respective xars but still encounters this problem on weblogic.

Thanks!

Ernn


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login page without no panels

2010-10-14 Thread Bauyrzhan Matyganov
How to make login page without no panels?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login to XWiki using email address

2010-06-23 Thread Abel Solórzano Astorga
Hi,

Is there a way to login to XWiki using the user's e-mail address. I tried to
create a user whose Login ID is equal to his e-mail address. But, it is not
possible. I suppose that XWiki doesn't allow the @ character on the Login
ID. I know I can extend the XWiki Authentication classes. But I was hoping
to find something faster.

Thanks,
Abel
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Nithya Vembu

Hi All,

   I just want to know is it possible to login in xwiki application through
httpclient. Now through xmlrpc and rest api we can. But for some purpose i
need to login through httpclient. If possible, any one can tell the url
along with the parameters needed to login.

  Thanks in advance.

Regards,
Nithya.
-- 
View this message in context: 
http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4654361.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Simon Glet
Hi,

You could use TcpTrace (http://www.pocketsoap.com/tcpTrace/) to
proxy-forward everything that is going on between your browser and XE.
The tool will allow you to investigate the HTTP messages.

Regards
Simon Glet

On Mon, Mar 1, 2010 at 9:15 AM, Nithya Vembu nithu...@gmail.com wrote:

 Hi All,

   I just want to know is it possible to login in xwiki application through
 httpclient. Now through xmlrpc and rest api we can. But for some purpose i
 need to login through httpclient. If possible, any one can tell the url
 along with the parameters needed to login.

  Thanks in advance.

 Regards,
 Nithya.
 --
 View this message in context: 
 http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4654361.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Florin Ciubotaru
Hi,

On 3/1/2010 4:15 PM, Nithya Vembu wrote:
 Hi All,

 I just want to know is it possible to login in xwiki application through
 httpclient. Now through xmlrpc and rest api we can. But for some purpose i
 need to login through httpclient. If possible, any one can tell the url
 along with the parameters needed to login.

IMO, this has a lot of downsides and it's not a very reliable solution. 
Can you can you give some details about your use case?
AFAIK the login is not shared between the subsystems, so you will not be 
able to use the rest or xmlrpc features by logging in with http.
Anyway, to do the login for the standard distribution you need to post 
to: /xwiki/bin/loginsubmit/XWiki/XWikiLogin.
The parameters are: j_username, j_password, j_rememberme, and you will 
probably want to add xpage=plain and stop the redirects.

 From my experince this kind of approach ends up being quite costly.

Florin Ciubotaru


Thanks in advance.

 Regards,
 Nithya.


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Thomas Mortagne
On Mon, Mar 1, 2010 at 15:15, Nithya Vembu nithu...@gmail.com wrote:

 Hi All,

   I just want to know is it possible to login in xwiki application through
 httpclient. Now through xmlrpc and rest api we can. But for some purpose i
 need to login through httpclient. If possible, any one can tell the url
 along with the parameters needed to login.

See 
http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/distribution-test/webstandards-tests/src/test/it/com/xpn/xwiki/it/XHTMLValidationTest.java

And the method #testDocumentValidity

the important part is

method.setDoAuthentication(true);
method.setFollowRedirects(true);
method.addRequestHeader(Authorization, Basic  + new
String(Base64.encodeBase64(Admin:admin.getBytes(;



  Thanks in advance.

 Regards,
 Nithya.
 --
 View this message in context: 
 http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4654361.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Nithya Vembu

Hi All,

   Thanks for you valuable response.

  I am asking the httpclient for doing my own sso login.

  I am using JBoss portal which using OpenSSO - OpenDS as a user datastore.
The same user get store in both JForum application's seperate database and
also in xwiki database.

  In JForum i followed this approach to do the single sign on.
  1. Check for my LTPA token cookie.
  2. If its there i will get the user details with username and password
from OpenSSO and do the login in jforum through the http client to maintain
the user in session.
  3. Add a cookie for JForum application.
  (The user will be in session till the LTPA token get expire).

But i am not getting clear idea about implementation of my own sso in xwiki. 
Any solution please suggest.

Thanks,
Nithya.
-- 
View this message in context: 
http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4655517.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Thomas Mortagne
On Mon, Mar 1, 2010 at 18:08, Nithya Vembu nithu...@gmail.com wrote:

 Hi All,

   Thanks for you valuable response.

  I am asking the httpclient for doing my own sso login.

  I am using JBoss portal which using OpenSSO - OpenDS as a user datastore.
 The same user get store in both JForum application's seperate database and
 also in xwiki database.

  In JForum i followed this approach to do the single sign on.
  1. Check for my LTPA token cookie.
  2. If its there i will get the user details with username and password
 from OpenSSO and do the login in jforum through the http client to maintain
 the user in session.
  3. Add a cookie for JForum application.
  (The user will be in session till the LTPA token get expire).

 But i am not getting clear idea about implementation of my own sso in xwiki.

No need, you can find an sunsso/opensso authenticator on
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-authenticator-sunsso/
;)

 Any solution please suggest.

 Thanks,
 Nithya.
 --
 View this message in context: 
 http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4655517.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login Style

2010-02-10 Thread Valdis Vītoliņš
Provide view rights for unregistered user for used ColorTheme document.

Valdis

 Hi Ben,
 
 On Fri, Oct 2, 2009 at 4:08 PM, Ben Stewart ben.stew...@eintel.com.auwrote:
 
  Greetings Folks,
  I have setup XEM with application etc to deploy multiple wiki's and it is
  working a treat. Only one problem though. Most of our wiki instances are for
  private access only.
 
  So under RIGHTS I have checked Prevent unregistered users from viewing
  pages, regardless of the page or space rights which works exactly how I
  would expect it too except for one thing, the style does not cary from the
  wiki onto the login page.
 
  I am only new to the xwiki world, if somebody could point me in the right
  direction (documentation etc) that would be great.
 
 
 That's because the style is located in the XWiki.DefaultSkin page. Since
 guests are by definition not allowed to see that page, its style doesn't
 apply.
 
 You can't really correct the problem easily AFAIK... Since you checked the
 box I don't think adding the view right to unregistered users on the
 XWiki.DefaultSkin page will work but you can still try it out.
 
 Guillaume
 
 
  Thanks
  Ben
 
 
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login Style

2009-10-02 Thread Ben Stewart
Greetings Folks, 
I have setup XEM with application etc to deploy multiple wiki's and it is 
working a treat. Only one problem though. Most of our wiki instances are for 
private access only. 

So under RIGHTS I have checked Prevent unregistered users from viewing pages, 
regardless of the page or space rights which works exactly how I would expect 
it too except for one thing, the style does not cary from the wiki onto the 
login page. 

I am only new to the xwiki world, if somebody could point me in the right 
direction (documentation etc) that would be great. 

Thanks 
Ben 

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login Style

2009-10-02 Thread Guillaume Lerouge
Hi Ben,

On Fri, Oct 2, 2009 at 4:08 PM, Ben Stewart ben.stew...@eintel.com.auwrote:

 Greetings Folks,
 I have setup XEM with application etc to deploy multiple wiki's and it is
 working a treat. Only one problem though. Most of our wiki instances are for
 private access only.

 So under RIGHTS I have checked Prevent unregistered users from viewing
 pages, regardless of the page or space rights which works exactly how I
 would expect it too except for one thing, the style does not cary from the
 wiki onto the login page.

 I am only new to the xwiki world, if somebody could point me in the right
 direction (documentation etc) that would be great.


That's because the style is located in the XWiki.DefaultSkin page. Since
guests are by definition not allowed to see that page, its style doesn't
apply.

You can't really correct the problem easily AFAIK... Since you checked the
box I don't think adding the view right to unregistered users on the
XWiki.DefaultSkin page will work but you can still try it out.

Guillaume


 Thanks
 Ben


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login action to do before redirecting to a page

2009-04-02 Thread PERINAUD Christophe
Hello,

I try to update automatically the avatar of a user when he logs in (pictures 
are stored in an intranet server)
I checked the login.vm template but it redirects to 
/xwiki/loginsubmit/Xwiki/XWikiLogin after submitting and i don't know how to 
edit (if possible) this page/template.

Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL




This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login troubles when using a domain name instead of IP address

2008-10-30 Thread BrianJones

Hello all,

I'm not sure if I'm explaining this correctly but here goes...

I'm using XWiki Enterprise 1.6.1.13621 with Tomcat 6.0.16.  Everything works
fine when I access the XWiki site through the URL:
http://www.my_ip_address:8080/xwiki/, I can login fine, everything works
etc...

However, when I use a service to route a domain name to that URL, I am
unable to login using pre-existing usernames/passwords.

To clarify, for example:  I use the service to route the URL:
http://www.my_domain_name.ca/ to this URL:
http://www.my_ip_address:8080/xwiki/.

This works in basic functionality, as when I enter the domain name in a
browser, the XWiki login page appears, however if I try to login using my
login/password that already exists, I am unable to.

The domain service I'm using has a feature called 'URLKeeper', which in
effect hides the IP address the domain is mapped to from the user.  When
this feature is turned on, the above behaviour is in effect (can't login,
but page displays).  When the feature is turned off, I can login using
pre-existing XWiki accounts.

However, I want the functionality of hiding the IP address from the user. 
When the feature is turned off, and http://www.my_domain_name.ca/ is entered
into the browser, it is then simply converted (and displayed to the user)
as: http://www.my_ip_address:8080/xwiki/.

Does anyone know if there is a setting in some .cfg file that sets the
'Server Base Url:' (like in Confluence) or something similar?  Or has anyone
else experienced this difficulty and may be able to lend me a helping hand?

Thanks in advance, regards!
-- 
View this message in context: 
http://n2.nabble.com/Login-troubles-when-using-a-domain-name-instead-of-IP-address-tp1399634p1399634.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] login

2008-10-30 Thread BrianJones

Enrique:

This line does not exist in the login.vm file (input type=hidden
name=j_rememberme value= /
).  Using XWiki Enterprise 1.6.1.13621.

Has it been changed to something else?  I would like to eliminate the
functionality that even if you logout/close the browser, you are
automatically logged back in when you re-visit the site.  This could pose
major security issues if the users are accessing the site from a shared
computer.


Enrique Ferreyra wrote:
 
 Hi!
 
 Comment out the line:
 
 input type=hidden name=j_rememberme value= /
 
 from login.vm
 
 That prevents from setting persistent cookies.
 
 

-- 
View this message in context: http://n2.nabble.com/login-tp503074p1400380.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login UserName Problem

2008-10-27 Thread Amer

Hi All,
 I connect XwikiWorkspaces( ver 1.1.1) with LDAP , the problem has been
occurred ( Internal error) when Log-in user name has dot (.) (for example 
John.smith), So does any one can help me to solve this problem ?

 Thanks in advance.

Here is the log file  that reportd the problem:
 2008-10-27 06:14:18,528
[http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19] WARN 
LDAP.XWikiLDAPAuthServiceImpl   - LDAP authentication failed. 
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind
failed with LDAPException.
Wrapped Exception: Invalid Credentials
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:178)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:109)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:190)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:104)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:128)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:113)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:213)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3412)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:167)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2342)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2803)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2764)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2752)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2704)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:329)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocumentsByFields(AbstractXClassManager.java:802)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocuments(AbstractXClassManager.java:764)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:184)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:378)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:880)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:810)
at com.xpn.xwiki.XWiki.init(XWiki.java:732)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:318)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:515)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
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:112)
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 

Re: [xwiki-users] Login UserName Problem

2008-10-27 Thread Thomas Mortagne
Hi,

XWiki Workspaces 1.1.1 is based on XWiki Platform 1.4.2 and dots in
login names for LDAP authentication are supported only since XWiki
Platform 1.5.

On Mon, Oct 27, 2008 at 5:20 AM, Amer [EMAIL PROTECTED] wrote:

 Hi All,
  I connect XwikiWorkspaces( ver 1.1.1) with LDAP , the problem has been
 occurred ( Internal error) when Log-in user name has dot (.) (for example
 John.smith), So does any one can help me to solve this problem ?

  Thanks in advance.

 Here is the log file  that reportd the problem:
  2008-10-27 06:14:18,528
 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin] [P1-19] WARN
 LDAP.XWikiLDAPAuthServiceImpl   - LDAP authentication failed.
 com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind
 failed with LDAPException.
 Wrapped Exception: Invalid Credentials
at
 com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:178)
at
 com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:109)
at
 com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:190)
at
 com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:104)
at
 com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195)
at
 com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:128)
at
 com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:113)
at
 com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:213)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3412)
at
 com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:167)
at
 com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2342)
at
 com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2803)
at
 com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2764)
at
 com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2752)
at
 com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2704)
at
 com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:329)
at
 com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocumentsByFields(AbstractXClassManager.java:802)
at
 com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocuments(AbstractXClassManager.java:764)
at
 com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:184)
at
 com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:378)
at
 com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:92)
at
 com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
 com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
 com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:880)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:810)
at com.xpn.xwiki.XWiki.init(XWiki.java:732)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:318)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:515)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
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:112)
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
 

Re: [xwiki-users] Login form idea

2008-06-12 Thread Vincent Massol
Hi Mihail,

I committed the change, see http://jira.xwiki.org/jira/browse/XWIKI-2458
However I've not succeeded in writing the selenium test so far.
Could you please help out? (I've already spent quite some time on your  
suggestion but I need to finish some other urgent work for now).

Thanks again
-Vincent

On Jun 11, 2008, at 12:06 PM, Mihails Agafonovs wrote:

 As long as JavaScript is enabled, it must work.
 Anyway, I've checked it on Firefox, IE6/IE7, Opera 9.2 and Safari
 3.1.
 Quoting Vincent Massol : Hi Mihail,
 does that work for all browers?
 Thanks
 -Vincent
 On Jun 11, 2008, at 9:15 AM, Mihails Agafonovs wrote:
 Hi!

 It's quite good when the login form appears to set the automatic
 focus on the username field. Maybe this feature could be included
 in
 XWiki as a standart.
 All you need is to paste this script after the login form:

 -

   document.forms.loginForm.j_username.focus();

 -
 Ar cieтu, Mihails
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login form idea

2008-06-12 Thread Mihails Agafonovs
Hi!  Don't know if it helps, but I've tried to test this using Selenium IDE, 
and figured 
out, that both commands

assertEquals(0, selenium.getCursorPosition(j_username));
verifyEquals(0, selenium.getCursorPosition(j_username));

work correct only if the page is active (I mean when you click on page in any 
place, 
for example, it becomes focused itself in first palce).

Quoting Vincent Massol [EMAIL PROTECTED]:
 Hi Mihail,
 
 I committed the change, see http://jira.xwiki.org/jira/browse/XWIKI-2458
 However I've not succeeded in writing the selenium test so far.
 Could you please help out? (I've already spent quite some time on your  
 suggestion but I need to finish some other urgent work for now).
 
 Thanks again
 -Vincent
 
 On Jun 11, 2008, at 12:06 PM, Mihails Agafonovs wrote:
 
  As long as JavaScript is enabled, it must work.
  Anyway, I've checked it on Firefox, IE6/IE7, Opera 9.2 and Safari
  3.1.
  Quoting Vincent Massol : Hi Mihail,
  does that work for all browers?
  Thanks
  -Vincent
  On Jun 11, 2008, at 9:15 AM, Mihails Agafonovs wrote:
  Hi!
 
  It's quite good when the login form appears to set the automatic
  focus on the username field. Maybe this feature could be
 included
  in
  XWiki as a standart.
  All you need is to paste this script after the login form:
 
  -
 
document.forms.loginForm.j_username.focus();
 
  -
  Ar cieтu, Mihails
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


Ar cieņu, Mihails

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login form idea

2008-06-11 Thread Mihails Agafonovs
Hi!

It's quite good when the login form appears to set the automatic
focus on the username field. Maybe this feature could be included in
XWiki as a standart.
All you need is to paste this script after the login form:

-

document.forms.loginForm.j_username.focus();

-
 Ar cieтu, Mihails
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login form idea

2008-06-11 Thread Vincent Massol
Hi Mihail,

does that work for all browers?

Thanks
-Vincent

On Jun 11, 2008, at 9:15 AM, Mihails Agafonovs wrote:

 Hi!

 It's quite good when the login form appears to set the automatic
 focus on the username field. Maybe this feature could be included in
 XWiki as a standart.
 All you need is to paste this script after the login form:

 -

document.forms.loginForm.j_username.focus();

 -
 Ar cieтu, Mihails
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login form idea

2008-06-11 Thread Mihails Agafonovs
As long as JavaScript is enabled, it must work.
Anyway, I've checked it on Firefox, IE6/IE7, Opera 9.2 and Safari
3.1.
 Quoting Vincent Massol : Hi Mihail,
 does that work for all browers?
 Thanks
 -Vincent
 On Jun 11, 2008, at 9:15 AM, Mihails Agafonovs wrote:
  Hi!
 
  It's quite good when the login form appears to set the automatic
  focus on the username field. Maybe this feature could be included
in
  XWiki as a standart.
  All you need is to paste this script after the login form:
 
  -
 
 document.forms.loginForm.j_username.focus();
 
  -
  Ar cieтu, Mihails
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6

2008-03-10 Thread Benjamin Leung
Hi Vincent

--snip*




 ah right. I believe Tomcat 6.x is the key here. I'll try with it later on.
 I'd hate it if I can confirm this as we were supposed to have fixed this and
 it has already bitten us in 1.3RC1... :(


I tested it yesterday with a fresh installs of Tomcat6.0.16 + MySQL + XWiki
1.3.  I could logon to that xwiki using IE also.


--snip*


 Thomas Mortagne is the author of the LDAP integration. We shouldn't see
 any error message when it works.

 Could you please open a jira issue for this please so that we can fix it?



Sure!  You'll see the jira entry (sometime later).



Also I don't understand what the problem is? Could you explain what's
  wrong?
 
 I see LDAP error message in xwiki.log without log4j.properties.  When
  I have log4j.properties in place, I don't see those error messages
  anymore.
 

 Actually you always have a log4j.properties. There's a default one inside
 the WEB-INF/lib/xwiki-core-*.jar.
 Here it is:

 http://svn.xwiki.org/svnroot/xwiki/xwiki-platform/core/trunk/xwiki-core/src/main/resources/log4j.properties



Thanks, I'll try it.


--snip*

   ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6

2008-03-08 Thread Benjamin Leung
Thanks for your reply.

The inability to login using IE7 still exist after I upgraded to xwiki
1.3final.  The logoff issue is fixed in FF.

I tired using log4j.properties provided somewhere on the xwiki.org to turn
on the debug message.  But I noticed something's not right when the LDAP
error message were supressed.  I think it worked fine in 1.3rc1.

Any advice would be appreciated.

My setup is now:

xwiki-enterprise-web-1.3
xwiki-enterprise-wiki-1.3-rc-1.xar
Tomcat 6.0.16
Oracle 10g
Windows XP



On Thu, Mar 6, 2008 at 12:22 PM, Vincent Massol [EMAIL PROTECTED] wrote:

 This is a known issue that has already been fixed for 1.3 final (to be
 released tomorrow).

 Thanks
 -Vincent

 On Mar 6, 2008, at 6:17 PM, Benjamin Leung wrote:

  Hi List,
 
  I'm experiencing problem to logoff when using FireFox and to login
  when using IE.
 
  When I'm using IE, xwiki was able to tell me if I'm not using the
  right login, but put me back to webhome without the authenticated
  status when I provide the correct login (Admin/admin)
 
  When I'm using FF, logoff doesn't work and I'd have to clear the
  cookies to remove the logged-in status.
 
  In regards to installation cleanness, I did try to create users and
  pages before I imported the default wiki documents.  I removed a
  page I created before the defaul wiki was imported.  I'm not sure if
  that affects this issue.
 
  Tomcat and Oracle installation are clean installs.  The only config
  I've changed is the hibernate.cfg.xml
 
  I'd appreciate any help you could provide.  Heres the detail of my
  installation.
 
  xwiki-enterprise-web-1.3-rc-1.war
  xwiki-enterprise-wiki-1.3-rc-1.xar
  Tomcat 6.0.16
  Oracle 10g
  Windows XP
 
  Thanks!
  Benjamin Leung
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6

2008-03-08 Thread Vincent Massol

Hi benjamin,

On Mar 8, 2008, at 5:47 PM, Benjamin Leung wrote:


Thanks for your reply.

The inability to login using IE7 still exist after I upgraded to  
xwiki 1.3final.  The logoff issue is fixed in FF.


Make sure you remove your cookies before trying with 1.3 final. I  
believe you have something wrong in there now but deleting them should  
fix the problem I think.


I tired using log4j.properties provided somewhere on the xwiki.org  
to turn on the debug message.  But I noticed something's not right  
when the LDAP error message were supressed.  I think it worked fine  
in 1.3rc1.


What's wrong?

Thanks
-Vincent


Any advice would be appreciated.

My setup is now:

xwiki-enterprise-web-1.3
xwiki-enterprise-wiki-1.3-rc-1.xar
Tomcat 6.0.16
Oracle 10g
Windows XP



On Thu, Mar 6, 2008 at 12:22 PM, Vincent Massol [EMAIL PROTECTED]  
wrote:

This is a known issue that has already been fixed for 1.3 final (to be
released tomorrow).

Thanks
-Vincent

On Mar 6, 2008, at 6:17 PM, Benjamin Leung wrote:

 Hi List,

 I'm experiencing problem to logoff when using FireFox and to login
 when using IE.

 When I'm using IE, xwiki was able to tell me if I'm not using the
 right login, but put me back to webhome without the authenticated
 status when I provide the correct login (Admin/admin)

 When I'm using FF, logoff doesn't work and I'd have to clear the
 cookies to remove the logged-in status.

 In regards to installation cleanness, I did try to create users and
 pages before I imported the default wiki documents.  I removed a
 page I created before the defaul wiki was imported.  I'm not sure if
 that affects this issue.

 Tomcat and Oracle installation are clean installs.  The only config
 I've changed is the hibernate.cfg.xml

 I'd appreciate any help you could provide.  Heres the detail of my
 installation.

 xwiki-enterprise-web-1.3-rc-1.war
 xwiki-enterprise-wiki-1.3-rc-1.xar
 Tomcat 6.0.16
 Oracle 10g
 Windows XP

 Thanks!
 Benjamin Leung

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6

2008-03-08 Thread Benjamin Leung
Hi Vincent,

On Sat, Mar 8, 2008 at 12:12 PM, Vincent Massol [EMAIL PROTECTED] wrote:

 Hi benjamin,
 On Mar 8, 2008, at 5:47 PM, Benjamin Leung wrote:

 Thanks for your reply.

 The inability to login using IE7 still exist after I upgraded to xwiki
 1.3final.  The logoff issue is fixed in FF.


 Make sure you remove your cookies before trying with 1.3 final. I believe
 you have something wrong in there now but deleting them should fix the
 problem I think.


I cleared the cookies before testing and I tested it again using a fresh
XP+IE7 install but I still can't login to my instance using IE.


 I tired using log4j.properties provided somewhere on the xwiki.org to turn
 on the debug message.  But I noticed something's not right when the LDAP
 error message were supressed.  I think it worked fine in 1.3rc1.


 What's wrong?


The usual stack dump I get LDAP: fail to bind.. when I log in using a
XWiki DB credentials (i.e. Admin/admin) is missing when I use the
log4j.properties provided somewhere on wiki.org

Thanks!  I've pasted the config below.  The only thing I changed is 
log4j.logger.com.xpn.xwiki=debug from the original


-

### Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} [%X{url}] [%t]
%-5p %-30.30c{2} %x - %m %n

log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=xwiki.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=50
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} [%X{url}] [%t]
%-5p %-30.30c{2} %x - %m %n

### By default everything that is of warning or severity WARN, ERROR or
FATAL is logged both to
### the console and to the xwiki.log file.
log4j.rootLogger=warn, stdout, file

### Hibernate logging options
log4j.logger.org.hibernate=warn
log4j.logger.org.hibernate.SQL=warn
log4j.logger.org.hibernate.type=warn
log4j.logger.org.hibernate.ps.PreparedStatementCache=warn

### XWiki logging configuration
log4j.logger.com.xpn.xwiki=warn
log4j.logger.com.xpn.xwiki.render.XWikiRadeoxRenderEngine=warn
log4j.logger.com.xpn.xwiki.store.migration=info

### Deactive Struts warnings
log4j.logger.org.apache.struts.util.RequestUtils=error

### Deactivate JGroups warnings
log4j.logger.org.jgroups=error

## Deactive PDF Export CSS Applier warnings
log4j.logger.info.informatica.doc.style.css.dom=error
log4j.logger.org.apache.fop.layoutmgr.inline.ContentLayoutManager=error




 Thanks
 -Vincent

 Any advice would be appreciated.

 My setup is now:

 xwiki-enterprise-web-1.3
 xwiki-enterprise-wiki-1.3-rc-1.xar
 Tomcat 6.0.16
 Oracle 10g
 Windows XP



 On Thu, Mar 6, 2008 at 12:22 PM, Vincent Massol [EMAIL PROTECTED]
 wrote:

  This is a known issue that has already been fixed for 1.3 final (to be
  released tomorrow).
 
  Thanks
  -Vincent
 
  On Mar 6, 2008, at 6:17 PM, Benjamin Leung wrote:
 
   Hi List,
  
   I'm experiencing problem to logoff when using FireFox and to login
   when using IE.
  
   When I'm using IE, xwiki was able to tell me if I'm not using the
   right login, but put me back to webhome without the authenticated
   status when I provide the correct login (Admin/admin)
  
   When I'm using FF, logoff doesn't work and I'd have to clear the
   cookies to remove the logged-in status.
  
   In regards to installation cleanness, I did try to create users and
   pages before I imported the default wiki documents.  I removed a
   page I created before the defaul wiki was imported.  I'm not sure if
   that affects this issue.
  
   Tomcat and Oracle installation are clean installs.  The only config
   I've changed is the hibernate.cfg.xml
  
   I'd appreciate any help you could provide.  Heres the detail of my
   installation.
  
   xwiki-enterprise-web-1.3-rc-1.war
   xwiki-enterprise-wiki-1.3-rc-1.xar
   Tomcat 6.0.16
   Oracle 10g
   Windows XP
  
   Thanks!
   Benjamin Leung
  
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6

2008-03-08 Thread Vincent Massol


On Mar 8, 2008, at 8:02 PM, Benjamin Leung wrote:


Hi Vincent,

On Sat, Mar 8, 2008 at 12:12 PM, Vincent Massol [EMAIL PROTECTED]  
wrote:

Hi benjamin,

On Mar 8, 2008, at 5:47 PM, Benjamin Leung wrote:


Thanks for your reply.

The inability to login using IE7 still exist after I upgraded to  
xwiki 1.3final.  The logoff issue is fixed in FF.


Make sure you remove your cookies before trying with 1.3 final. I  
believe you have something wrong in there now but deleting them  
should fix the problem I think.


I cleared the cookies before testing and I tested it again using a  
fresh XP+IE7 install but I still can't login to my instance using IE.


I've just started from scratch, downloaded XE 1.3 exe file, installed  
it on Windows XP and ran it in IE7 and it worked perfectly well.

Maybe you're not using the correct login name or password? :)

I tired using log4j.properties provided somewhere on the xwiki.org  
to turn on the debug message.  But I noticed something's not right  
when the LDAP error message were supressed.  I think it worked fine  
in 1.3rc1.


What's wrong?

The usual stack dump I get LDAP: fail to bind.. when I log in  
using a XWiki DB credentials (i.e. Admin/admin) is missing when I  
use the log4j.properties provided somewhere on wiki.org


I need more context. Have you configured XWiki to use LDAP?

Also I don't understand what the problem is? Could you explain what's  
wrong?


You mention some LDAP messages being suppressed but I don't understand  
what you mean either. What does it mean?


Thanks
-Vincent

Thanks!  I've pasted the config below.  The only thing I changed is  
log4j.logger.com.xpn.xwiki=debug from the original



-

### Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE}  
[%X{url}] [%t] %-5p %-30.30c{2} %x - %m %n


log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=xwiki.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=50
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} [%X{url}]  
[%t] %-5p %-30.30c{2} %x - %m %n


### By default everything that is of warning or severity WARN, ERROR  
or FATAL is logged both to

### the console and to the xwiki.log file.
log4j.rootLogger=warn, stdout, file

### Hibernate logging options
log4j.logger.org.hibernate=warn
log4j.logger.org.hibernate.SQL=warn
log4j.logger.org.hibernate.type=warn
log4j.logger.org.hibernate.ps.PreparedStatementCache=warn

### XWiki logging configuration
log4j.logger.com.xpn.xwiki=warn
log4j.logger.com.xpn.xwiki.render.XWikiRadeoxRenderEngine=warn
log4j.logger.com.xpn.xwiki.store.migration=info

### Deactive Struts warnings
log4j.logger.org.apache.struts.util.RequestUtils=error

### Deactivate JGroups warnings
log4j.logger.org.jgroups=error

## Deactive PDF Export CSS Applier warnings
log4j.logger.info.informatica.doc.style.css.dom=error
log4j 
.logger.org.apache.fop.layoutmgr.inline.ContentLayoutManager=error




Thanks
-Vincent


Any advice would be appreciated.

My setup is now:

xwiki-enterprise-web-1.3
xwiki-enterprise-wiki-1.3-rc-1.xar
Tomcat 6.0.16
Oracle 10g
Windows XP



On Thu, Mar 6, 2008 at 12:22 PM, Vincent Massol  
[EMAIL PROTECTED] wrote:
This is a known issue that has already been fixed for 1.3 final (to  
be

released tomorrow).

Thanks
-Vincent

On Mar 6, 2008, at 6:17 PM, Benjamin Leung wrote:

 Hi List,

 I'm experiencing problem to logoff when using FireFox and to login
 when using IE.

 When I'm using IE, xwiki was able to tell me if I'm not using the
 right login, but put me back to webhome without the authenticated
 status when I provide the correct login (Admin/admin)

 When I'm using FF, logoff doesn't work and I'd have to clear the
 cookies to remove the logged-in status.

 In regards to installation cleanness, I did try to create users and
 pages before I imported the default wiki documents.  I removed a
 page I created before the defaul wiki was imported.  I'm not sure  
if

 that affects this issue.

 Tomcat and Oracle installation are clean installs.  The only config
 I've changed is the hibernate.cfg.xml

 I'd appreciate any help you could provide.  Heres the detail of my
 installation.

 xwiki-enterprise-web-1.3-rc-1.war
 xwiki-enterprise-wiki-1.3-rc-1.xar
 Tomcat 6.0.16
 Oracle 10g
 Windows XP

 Thanks!
 Benjamin Leung

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users



Re: [xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6

2008-03-08 Thread Benjamin Leung
On Sat, Mar 8, 2008 at 2:40 PM, Vincent Massol [EMAIL PROTECTED] wrote:


 On Mar 8, 2008, at 8:02 PM, Benjamin Leung wrote:

 Hi Vincent,

 On Sat, Mar 8, 2008 at 12:12 PM, Vincent Massol [EMAIL PROTECTED]
 wrote:

  Hi benjamin,
  On Mar 8, 2008, at 5:47 PM, Benjamin Leung wrote:
 
  Thanks for your reply.
 
  The inability to login using IE7 still exist after I upgraded to xwiki
  1.3final.  The logoff issue is fixed in FF.
 
 
  Make sure you remove your cookies before trying with 1.3 final. I
  believe you have something wrong in there now but deleting them should fix
  the problem I think.
 

 I cleared the cookies before testing and I tested it again using a fresh
 XP+IE7 install but I still can't login to my instance using IE.


 I've just started from scratch, downloaded XE 1.3 exe file, installed it
 on Windows XP and ran it in IE7 and it worked perfectly well.
 Maybe you're not using the correct login name or password? :)


Thanks for your effort..  I've mentioned aoubt my setup and it is different
from what you've tested.

xwiki-enterprise-web-1.3
Tomcat 6.0.16
Oracle 10g (Personal)
Windows XP




 I tired using log4j.properties provided somewhere on the xwiki.org to turn
  on the debug message.  But I noticed something's not right when the LDAP
  error message were supressed.  I think it worked fine in 1.3rc1.
 
 
  What's wrong?
 

 The usual stack dump I get LDAP: fail to bind.. when I log in using a
 XWiki DB credentials (i.e. Admin/admin) is missing when I use the
 log4j.properties provided somewhere on wiki.org



Pardon my English.  I was trying to say I want to get a more detailed log by
configuring log4j.properties.  However, when I use the provided
log4j.properties, I didn't see the usual error message I was expecting.
Since some information are missing from the log, I must conclude that my
attempt to get a more detailed log has failed.  And I would've read through
the log and include the log in my question if I get to the right log..




 I need more context. Have you configured XWiki to use LDAP?


Yes, I have configured it using LDAP (Active Directory).  And I usually see
LDAP error message by default.  (Even when it works)


 Also I don't understand what the problem is? Could you explain what's
 wrong?




   I see LDAP error message in xwiki.log without log4j.properties.  When I
have log4j.properties in place, I don't see those error messages anymore.




 You mention some LDAP messages being suppressed but I don't understand
 what you mean either. What does it mean?


The LDAP error message I am expecting in the log are no longer there after I
configured log4j.properties.  Therefore, the error messages were suppressed.



 Thanks
 -Vincent

 Thanks!  I've pasted the config below.  The only thing I changed is 
 log4j.logger.com.xpn.xwiki=debug from the original


 -

 ### Direct log messages to stdout
 log4j.appender.stdout=org.apache.log4j.ConsoleAppender
 log4j.appender.stdout.Target=System.out
 log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
 log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} [%X{url}] [%t]
 %-5p %-30.30c{2} %x - %m %n

 log4j.appender.file=org.apache.log4j.RollingFileAppender
 log4j.appender.file.File=xwiki.log
 log4j.appender.file.MaxFileSize=10MB
 log4j.appender.file.MaxBackupIndex=50
 log4j.appender.file.layout=org.apache.log4j.PatternLayout
 log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} [%X{url}] [%t]
 %-5p %-30.30c{2} %x - %m %n

 ### By default everything that is of warning or severity WARN, ERROR or
 FATAL is logged both to
 ### the console and to the xwiki.log file.
 log4j.rootLogger=warn, stdout, file

 ### Hibernate logging options
 log4j.logger.org.hibernate=warn
 log4j.logger.org.hibernate.SQL=warn
 log4j.logger.org.hibernate.type=warn
 log4j.logger.org.hibernate.ps.PreparedStatementCache=warn

 ### XWiki logging configuration
 log4j.logger.com.xpn.xwiki=warn
 log4j.logger.com.xpn.xwiki.render.XWikiRadeoxRenderEngine=warn
 log4j.logger.com.xpn.xwiki.store.migration=info

 ### Deactive Struts warnings
 log4j.logger.org.apache.struts.util.RequestUtils=error

 ### Deactivate JGroups warnings
 log4j.logger.org.jgroups=error

 ## Deactive PDF Export CSS Applier warnings
 log4j.logger.info.informatica.doc.style.css.dom=error
 log4j.logger.org.apache.fop.layoutmgr.inline.ContentLayoutManager=error



 
  Thanks
  -Vincent
 
  Any advice would be appreciated.
 
  My setup is now:
 
  xwiki-enterprise-web-1.3
  xwiki-enterprise-wiki-1.3-rc-1.xar
  Tomcat 6.0.16
  Oracle 10g
  Windows XP
 
 
 
  On Thu, Mar 6, 2008 at 12:22 PM, Vincent Massol [EMAIL PROTECTED]
  wrote:
 
   This is a known issue that has already been fixed for 1.3 final (to be
   released tomorrow).
  
   Thanks
   -Vincent
  
   On Mar 6, 2008, at 6:17 PM, Benjamin Leung wrote:
  
Hi List,
   
I'm experiencing problem to logoff when using FireFox and to login
when using IE.
   
When I'm using IE, xwiki was able to 

Re: [xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6

2008-03-08 Thread Vincent Massol


On Mar 8, 2008, at 9:09 PM, Benjamin Leung wrote:




On Sat, Mar 8, 2008 at 2:40 PM, Vincent Massol [EMAIL PROTECTED]  
wrote:


On Mar 8, 2008, at 8:02 PM, Benjamin Leung wrote:


Hi Vincent,

On Sat, Mar 8, 2008 at 12:12 PM, Vincent Massol  
[EMAIL PROTECTED] wrote:

Hi benjamin,

On Mar 8, 2008, at 5:47 PM, Benjamin Leung wrote:


Thanks for your reply.

The inability to login using IE7 still exist after I upgraded to  
xwiki 1.3final.  The logoff issue is fixed in FF.


Make sure you remove your cookies before trying with 1.3 final. I  
believe you have something wrong in there now but deleting them  
should fix the problem I think.


I cleared the cookies before testing and I tested it again using a  
fresh XP+IE7 install but I still can't login to my instance using IE.


I've just started from scratch, downloaded XE 1.3 exe file,  
installed it on Windows XP and ran it in IE7 and it worked perfectly  
well.

Maybe you're not using the correct login name or password? :)

Thanks for your effort..  I've mentioned aoubt my setup and it is  
different from what you've tested.


xwiki-enterprise-web-1.3
Tomcat 6.0.16
Oracle 10g (Personal)
Windows XP


ah right. I believe Tomcat 6.x is the key here. I'll try with it later  
on. I'd hate it if I can confirm this as we were supposed to have  
fixed this and it has already bitten us in 1.3RC1... :(


I tired using log4j.properties provided somewhere on the xwiki.org  
to turn on the debug message.  But I noticed something's not right  
when the LDAP error message were supressed.  I think it worked  
fine in 1.3rc1.


What's wrong?

The usual stack dump I get LDAP: fail to bind.. when I log in  
using a XWiki DB credentials (i.e. Admin/admin) is missing when I  
use the log4j.properties provided somewhere on wiki.org




Pardon my English.  I was trying to say I want to get a more  
detailed log by configuring log4j.properties.  However, when I use  
the provided log4j.properties, I didn't see the usual error message  
I was expecting.   Since some information are missing from the log,  
I must conclude that my attempt to get a more detailed log has  
failed.  And I would've read through the log and include the log in  
my question if I get to the right log..




I need more context. Have you configured XWiki to use LDAP?

Yes, I have configured it using LDAP (Active Directory).  And I  
usually see LDAP error message by default.  (Even when it works)


Thomas Mortagne is the author of the LDAP integration. We shouldn't  
see any error message when it works.


Could you please open a jira issue for this please so that we can fix  
it?


Also I don't understand what the problem is? Could you explain  
what's wrong?




   I see LDAP error message in xwiki.log without log4j.properties.   
When I have log4j.properties in place, I don't see those error  
messages anymore.


Actually you always have a log4j.properties. There's a default one  
inside the WEB-INF/lib/xwiki-core-*.jar.

Here it is:
http://svn.xwiki.org/svnroot/xwiki/xwiki-platform/core/trunk/xwiki-core/src/main/resources/log4j.properties

If you're using the same one then you should see the same thing. Do  
you put it in your WEB-INF/classes dir?


You mention some LDAP messages being suppressed but I don't  
understand what you mean either. What does it mean?


The LDAP error message I am expecting in the log are no longer there  
after I configured log4j.properties.  Therefore, the error messages  
were suppressed.


Ok I understand now, thanks for the explanations :)

-Vincent

Thanks!  I've pasted the config below.  The only thing I changed is  
log4j.logger.com.xpn.xwiki=debug from the original



-

### Direct log messages to stdout
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.Target=System.out
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE}  
[%X{url}] [%t] %-5p %-30.30c{2} %x - %m %n


log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.File=xwiki.log
log4j.appender.file.MaxFileSize=10MB
log4j.appender.file.MaxBackupIndex=50
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{ABSOLUTE} [%X{url}]  
[%t] %-5p %-30.30c{2} %x - %m %n


### By default everything that is of warning or severity WARN,  
ERROR or FATAL is logged both to

### the console and to the xwiki.log file.
log4j.rootLogger=warn, stdout, file

### Hibernate logging options
log4j.logger.org.hibernate=warn
log4j.logger.org.hibernate.SQL=warn
log4j.logger.org.hibernate.type=warn
log4j.logger.org.hibernate.ps.PreparedStatementCache=warn

### XWiki logging configuration
log4j.logger.com.xpn.xwiki=warn
log4j.logger.com.xpn.xwiki.render.XWikiRadeoxRenderEngine=warn
log4j.logger.com.xpn.xwiki.store.migration=info

### Deactive Struts warnings
log4j.logger.org.apache.struts.util.RequestUtils=error

### Deactivate JGroups warnings

Re: [xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6

2008-03-06 Thread Vincent Massol
This is a known issue that has already been fixed for 1.3 final (to be  
released tomorrow).

Thanks
-Vincent

On Mar 6, 2008, at 6:17 PM, Benjamin Leung wrote:

 Hi List,

 I'm experiencing problem to logoff when using FireFox and to login  
 when using IE.

 When I'm using IE, xwiki was able to tell me if I'm not using the  
 right login, but put me back to webhome without the authenticated  
 status when I provide the correct login (Admin/admin)

 When I'm using FF, logoff doesn't work and I'd have to clear the  
 cookies to remove the logged-in status.

 In regards to installation cleanness, I did try to create users and  
 pages before I imported the default wiki documents.  I removed a  
 page I created before the defaul wiki was imported.  I'm not sure if  
 that affects this issue.

 Tomcat and Oracle installation are clean installs.  The only config  
 I've changed is the hibernate.cfg.xml

 I'd appreciate any help you could provide.  Heres the detail of my  
 installation.

 xwiki-enterprise-web-1.3-rc-1.war
 xwiki-enterprise-wiki-1.3-rc-1.xar
 Tomcat 6.0.16
 Oracle 10g
 Windows XP

 Thanks!
 Benjamin Leung

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Login counter

2007-11-06 Thread Arnaud Bourree
Hi,

If you activate statistic, you will have Login Counter
See http://www.xwiki.org/xwiki/bin/view/AdminGuide/Configuration section
Enabling/Disabling Statistics

And a sample code:

1.1 Last user connected

%
sql = select stats.name, max(stats.endDate) from VisitStats as stats
group by stats.name order by 2 desc;
result = xwiki.search(sql, 100, 0)

for (item in result) {
 user = item[0]
 userdate = item[1]
 try {
  userlink = xwiki.getUserName(user)
 } catch(Exception e) {
  userlink = user
 }
 println * ${userlink}: ${userdate}
}
%



Regards,

Arnaud.

[EMAIL PROTECTED] wrote on 02/11/2007 12:25:
 Hi,

 Please help me out,

 Help for XWiki - User Login Counter
   ([EMAIL PROTECTED])

 Hi All,

  

 I want to be creating the XWiki - User / Admin Login Counter. - (Page
 visited for intranet through respective Login).

 Please help me, how to do that? If anyone has xwiki code, please send to
 me. I am new to XWiki.


 Regards,
 Prabhakar Gopalsamy
 __
 Wipro Technologies

 Regards,
 Prabhakar Gopalsamy
 __
 Wipro Technologies


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of [EMAIL PROTECTED]
 Sent: Friday, November 02, 2007 4:28 PM
 To: users@xwiki.org
 Subject: users Digest, Vol 4, Issue 6

 Send users mailing list submissions to
   users@xwiki.org

 To subscribe or unsubscribe via the World Wide Web, visit
   http://lists.xwiki.org/mailman/listinfo/users
 or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]

 You can reach the person managing the list at
   [EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of users digest...


 Today's Topics:

1. Login counter ([EMAIL PROTECTED])
2. Re: Login counter (goldring, richard)


 --

 Message: 1
 Date: Fri, 2 Nov 2007 16:15:37 +0530
 From: [EMAIL PROTECTED]
 Subject: [xwiki-users] Login counter
 To: users@xwiki.org
 Message-ID:
   
 [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii


 Hi,

 Please help me out,

 Help for XWiki - User Login Counter
   ([EMAIL PROTECTED])

 Hi All,

  

 I want to be creating the XWiki - User / Admin Login Counter. - (Page
 visited for intranet through respective Login).

 Please help me, how to do that? If anyone has xwiki code, please send to
 me. I am new to XWiki.


 Regards,
 Prabhakar Gopalsamy
 __
 Wipro Technologies


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of [EMAIL PROTECTED]
 Sent: Friday, November 02, 2007 4:11 PM
 To: users@xwiki.org
 Subject: users Digest, Vol 4, Issue 5

 Send users mailing list submissions to
   users@xwiki.org

 To subscribe or unsubscribe via the World Wide Web, visit
   http://lists.xwiki.org/mailman/listinfo/users
 or, via email, send a message with subject or body 'help' to
   [EMAIL PROTECTED]

 You can reach the person managing the list at
   [EMAIL PROTECTED]

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of users digest...


 Today's Topics:

1. Re: Porblem Installing w/Oracle (Vincent Massol)
2. Class attributes (goldring, richard)
3. Re: Adding a document in XWiki.org (Esbach, Brandon)
4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
5. Re: Access rights on XWiki space (Esbach, Brandon)
6. Re: Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])


 --

 Message: 1
 Date: Fri, 2 Nov 2007 09:24:56 +0100
 From: Vincent Massol [EMAIL PROTECTED]
 Subject: Re: [xwiki-users] Porblem Installing w/Oracle
 To: XWiki Users users@xwiki.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

 Hi Craig,

 Have you followed the instructions on
 http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle 
   and especially the part about the oracle HBM file?

 Also what version of xwiki are you installing?

 Thanks
 -Vincent

 On Nov 2, 2007, at 12:59 AM, Fye Kan wrote:

   
 Hello,

 We're investingating a few wiki options and were trying to use Xwiki  
 with Tomcat 6 and Oracle 10g using the war installation process.  
 We've modified all of the config files per the instructions on the  
 site but are getting the following errors when trying to access the  
 default page:

 17:25:31,106 [http-129.147.132.30-80-1] ERROR  
 store.XWikiHibernateBaseStore   - Failed updating schema: 2
 17:25:31,213 [http-129.147.132.30-80-1] ERROR  
 store.XWikiHibernateBaseStore   - While executing query: update  
 xwikidoc set xwd_translation=0 where xwd_translati on is null
 17:25:31,213 [http-129.147.132.30-80-1] ERROR  
 store.XWikiHibernateBaseStore   - Failed updating schema: ORA-00942:  
 table or view

Re: [xwiki-users] Login counter

2007-11-02 Thread goldring, richard
Prabhakar,

One solution is to:
1) have some code that is triggered when a user logs in to update their
XWikiUsers object on the users profile page - not sure how to do this -
maybe it needs a change to XWiki to do this - anyone?
2)You could then have some code to read users profile XWikiUsers objects to
list how many times they have logged in - look at the code snippets and
tutorial to get and adapt some code to do this - has anyone got some code
for this? 

Hope that helps a little.

It sounds like a useful statistic to collect on the number of times a user
logins in over a week/month/etc - maybe it could be added to the new
statistics page?

Regards,

Richard

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of [EMAIL PROTECTED]
Sent: 02 November 2007 10:46
To: users@xwiki.org
Subject: [xwiki-users] Login counter



Hi,

Please help me out,

Help for XWiki - User Login Counter
  ([EMAIL PROTECTED])

Hi All,

 

I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).

Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.


Regards,
Prabhakar Gopalsamy
__
Wipro Technologies


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Friday, November 02, 2007 4:11 PM
To: users@xwiki.org
Subject: users Digest, Vol 4, Issue 5

Send users mailing list submissions to
users@xwiki.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of users digest...


Today's Topics:

   1. Re: Porblem Installing w/Oracle (Vincent Massol)
   2. Class attributes (goldring, richard)
   3. Re: Adding a document in XWiki.org (Esbach, Brandon)
   4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
   5. Re: Access rights on XWiki space (Esbach, Brandon)
   6. Re: Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])


--

Message: 1
Date: Fri, 2 Nov 2007 09:24:56 +0100
From: Vincent Massol [EMAIL PROTECTED]
Subject: Re: [xwiki-users] Porblem Installing w/Oracle
To: XWiki Users users@xwiki.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Hi Craig,

Have you followed the instructions on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle 
  and especially the part about the oracle HBM file?

Also what version of xwiki are you installing?

Thanks
-Vincent

On Nov 2, 2007, at 12:59 AM, Fye Kan wrote:

 Hello,

 We're investingating a few wiki options and were trying to use Xwiki  
 with Tomcat 6 and Oracle 10g using the war installation process.  
 We've modified all of the config files per the instructions on the  
 site but are getting the following errors when trying to access the  
 default page:

 17:25:31,106 [http-129.147.132.30-80-1] ERROR  
 store.XWikiHibernateBaseStore   - Failed updating schema: 2
 17:25:31,213 [http-129.147.132.30-80-1] ERROR  
 store.XWikiHibernateBaseStore   - While executing query: update  
 xwikidoc set xwd_translation=0 where xwd_translati on is null
 17:25:31,213 [http-129.147.132.30-80-1] ERROR  
 store.XWikiHibernateBaseStore   - Failed updating schema: ORA-00942:  
 table or view does not exist

 followed by a lot more errors. This is a brand new install so no  
 tables exist yet. The user account we have for the DB has access to  
 create/modify/remove tables so we're at a bit of a loss as to what  
 the problem is. Does anyone out there have any suggestions as to  
 what the problem could be? Do we need to create the tables a head of  
 time? Is there a script to do so? Any help would be appreciated,  
 thanks!

 Craig
 


--

Message: 2
Date: Fri, 2 Nov 2007 09:47:46 - 
From: goldring, richard [EMAIL PROTECTED]
Subject: [xwiki-users] Class attributes
To: 'XWiki Users' users@xwiki.org
Message-ID:

[EMAIL PROTECTED]
Content-Type: text/plain

Hi,

Does anyone know how to set the various Class properties? There appears
to
be no documentation on this - if there's anyone in the know who could
provide some documentation then it would be really really useful for
developing inline forms to access page object properties to help develop
real applications on XWiki.

i.e. for a display selection list on an inline form ... 

Name: 
 
Pretty Name: 
 
Tooltip: 
 
Custom Display: 
 
Unmodifiable: 
---
Yes
No
Number: 
 
Validation Regular Expression: 
 
Validation Message: 
 
Size: 
 
Rows: 
 
Editor: 
---TextPureTextWysiwyg 
Content

[xwiki-users] Login counter

2007-11-02 Thread prabhakar.gopalsamy

Hi,

Please help me out,

Help for XWiki - User Login Counter
  ([EMAIL PROTECTED])

Hi All,

 

I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).

Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.


Regards,
Prabhakar Gopalsamy
__
Wipro Technologies


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: Friday, November 02, 2007 4:11 PM
To: users@xwiki.org
Subject: users Digest, Vol 4, Issue 5

Send users mailing list submissions to
users@xwiki.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]

You can reach the person managing the list at
[EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than Re: Contents of users digest...


Today's Topics:

   1. Re: Porblem Installing w/Oracle (Vincent Massol)
   2. Class attributes (goldring, richard)
   3. Re: Adding a document in XWiki.org (Esbach, Brandon)
   4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
   5. Re: Access rights on XWiki space (Esbach, Brandon)
   6. Re: Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])


--

Message: 1
Date: Fri, 2 Nov 2007 09:24:56 +0100
From: Vincent Massol [EMAIL PROTECTED]
Subject: Re: [xwiki-users] Porblem Installing w/Oracle
To: XWiki Users users@xwiki.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Hi Craig,

Have you followed the instructions on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle 
  and especially the part about the oracle HBM file?

Also what version of xwiki are you installing?

Thanks
-Vincent

On Nov 2, 2007, at 12:59 AM, Fye Kan wrote:

 Hello,

 We're investingating a few wiki options and were trying to use Xwiki  
 with Tomcat 6 and Oracle 10g using the war installation process.  
 We've modified all of the config files per the instructions on the  
 site but are getting the following errors when trying to access the  
 default page:

 17:25:31,106 [http-129.147.132.30-80-1] ERROR  
 store.XWikiHibernateBaseStore   - Failed updating schema: 2
 17:25:31,213 [http-129.147.132.30-80-1] ERROR  
 store.XWikiHibernateBaseStore   - While executing query: update  
 xwikidoc set xwd_translation=0 where xwd_translati on is null
 17:25:31,213 [http-129.147.132.30-80-1] ERROR  
 store.XWikiHibernateBaseStore   - Failed updating schema: ORA-00942:  
 table or view does not exist

 followed by a lot more errors. This is a brand new install so no  
 tables exist yet. The user account we have for the DB has access to  
 create/modify/remove tables so we're at a bit of a loss as to what  
 the problem is. Does anyone out there have any suggestions as to  
 what the problem could be? Do we need to create the tables a head of  
 time? Is there a script to do so? Any help would be appreciated,  
 thanks!

 Craig
 


--

Message: 2
Date: Fri, 2 Nov 2007 09:47:46 - 
From: goldring, richard [EMAIL PROTECTED]
Subject: [xwiki-users] Class attributes
To: 'XWiki Users' users@xwiki.org
Message-ID:

[EMAIL PROTECTED]
Content-Type: text/plain

Hi,

Does anyone know how to set the various Class properties? There appears
to
be no documentation on this - if there's anyone in the know who could
provide some documentation then it would be really really useful for
developing inline forms to access page object properties to help develop
real applications on XWiki.

i.e. for a display selection list on an inline form ... 

Name: 
 
Pretty Name: 
 
Tooltip: 
 
Custom Display: 
 
Unmodifiable: 
---
Yes
No
Number: 
 
Validation Regular Expression: 
 
Validation Message: 
 
Size: 
 
Rows: 
 
Editor: 
---TextPureTextWysiwyg 
Content: 
FullyRenderedTextVelocityCodePureText 
TaskMainTypeName: 
 
Pretty Name: 
 
Tooltip: 
Task main type 
Custom Display: 
 
Unmodifiable: 
---
Yes
No
Number: 
 
Validation Regular Expression: 
 
Validation Message: 
 
Display Type: 
inputselectradiocheckbox 
Multiple Select: 
---
Yes
No
Relational Storage: 
---
Yes
No
Use Picker: 
---
Yes
No
Size: 
 
Join separator: 
 
Sort: 
noneidvalue 
Cache: 
---
Yes
No
Values: 
 
Separators: 
 

Regards,

Richard

Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail
is confidential. It may also be legally privileged. It is intended only
for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained
in
this e-mail. Such unauthorised use may be unlawful. We may monitor all