Hello.
I send you this mail in order to ask for the possibility to create a new
wiki in the Community XWiki farm.
User name in MyWiki : Slyware (Sylvestre JORGENSEN)
Desired Server name : slyware.myxwiki.org
Description : Testing the XWiki framework with the following example :
Attendance management for the staff of non-profit-making organization.
Thank you for your community's work.
Best regards.
Sylvestre JORGENSEN
Hi Thomas,
I am on Xwiki Enterprise 1.6.1
regards,
rob.
-----------Original message ---------------------------------
Message: 1
Date: Mon, 1 Dec 2008 16:20:31 +0100
From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
Subject:
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<a8e97d9c0812010720x228a83b9rb23acfe224598916(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi,
Which version of XWiki Core/XE are you using ?
On Mon, Dec 1, 2008 at 4:01 PM, Robert Munro <rrmunro(a)gmail.com> wrote:
> Hi ,
> I am getting some quirky behaviour with the LDAP based login for the first
> time, it only seems to work after 3 tries for new users, and also only if
I
> have lowercase the first two times then uppercase the third time (in our
> LDAP, the usernames are uppercase P and a unique number). I have attached
> the log output, just wondering if anyone can tell me whats happening. on
the
> logon screen I get:-
> 1st try: No message - just returns to the login page - lowercase p
> 2nd try: "Wrong password" - lowercase p
> 3rd try: Works OK. - uppercase P
>
> If it try it with uppercase P all the time then the user record created is
> somehow messed up and i can login with it.
>
> here is the log output:
Hi ,
I am getting some quirky behaviour with the LDAP based login for the first
time, it only seems to work after 3 tries for new users, and also only if I
have lowercase the first two times then uppercase the third time (in our
LDAP, the usernames are uppercase P and a unique number). I have attached
the log output, just wondering if anyone can tell me whats happening. on the
logon screen I get:-
1st try: No message - just returns to the login page - lowercase p
2nd try: "Wrong password" - lowercase p
3rd try: Works OK. - uppercase P
If it try it with uppercase P all the time then the user record created is
somehow messed up and i can login with it.
here is the log output:
----------------------------Log output
---------------------------------------------------------------------------------
14:41:29,871 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:p50000351 base:O=MyCompanyGroup
query:(cn=p50000351) uid:cn
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Creating new
XWiki user based on LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,042 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - New XWiki
user created: null
14:41:30,587 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:30,603 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:30,618 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - LDAP Search
failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 0000208D: NameErr: DSID-031521D2, problem
2001 (NO_OBJECT), data 0, best match of:
'O=MyCompanyGroup'
LDAPException: Matched DN: O=MyCompanyGroup
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPSearchResults.next(Unknown Source)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.searchLDAP(XWikiLDAPConnection.java:303)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:454)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:129)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:170)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP
authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.updateUserFromLDAP(XWikiLDAPAuthServiceImpl.java:728)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:474)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:129)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:170)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying
authentication against XWiki DB
14:41:39,512 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:39,527 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:39,527 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - LDAP Search
failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 0000208D: NameErr: DSID-031521D2, problem
2001 (NO_OBJECT), data 0, best match of:
'O=MyCompanyGroup'
LDAPException: Matched DN: O=MyCompanyGroup
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPSearchResults.next(Unknown Source)
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.searchLDAP(XWikiLDAPConnection.java:303)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:454)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP
authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.updateUserFromLDAP(XWikiLDAPAuthServiceImpl.java:728)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:474)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:39,574 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying
authentication against XWiki DB
14:41:49,573 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:49,620 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:49,620 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:49,620 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:49,822 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:49,838 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:49,853 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:49,853 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:49,853 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:49,869 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:49,869 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:49,869 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,056 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:50,071 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:50,087 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:50,087 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,087 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:50,103 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:50,103 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:50,103 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,772 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:50,788 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:50,803 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:50,803 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,803 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:50,819 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:50,819 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:50,819 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
----------------------------End Log output
---------------------------------------------------------------------------------
Hi,
How want to configure the home page to be another space, I want it to be
Capita.WebHome (our companys space) instead of Main.WebHome? and also i want
to configure this page to show after logout. is this possible?
Regards,
Rob.
I am running xwiki XE on windows 2003 on mysql 5.0.
Until this weekend, we had been on 1.1.2, so I thought it was time to
upgrade. I upgraded a version at a time (don't know if this was required,
but I saw some versions had DB updates). Everything went fine through 1.4.
When I deployed the 1.5 war, I noticed that the admin app was not there and
needed to be imported. I was able to upload the xar file, but when I clicked
on it to import it, I get the message "No documents found in the selected
archive" I also tried this with the default xar and had the same issue.Thinking
this was an software issue, I upgraded to 1.6.1 and had the same problem. At
this point I created a 2nd database in MySQL and tried that. Still no luck.
I can't import the admin or default xar files.Any ideas?
I would like to have a new wiki set up on the XWiki community farm. The
purpose of this site will be to test out XWiki as a platform for storage and
serving of business forms.
I am registered on xwiki.org as jimslaughter. My proposed server name is
DocsTestSite, however I am OK with another name if that is unavailable.
This is more of a proof of concept site at this time.
Thank you.
--
Jim Slaughter
Hi
I have made a skin for my xwiki installation but it doesnt show up when no
user is logged in. Is there a different space or persmiison for guest users
- i have set the View permission for my XWikiGuest group on the skin, but it
still doesnt show up.
regards
rob munro.
I've upgraded from Xwiki enterprise 1.3.2 to xwiki enterprise 1.6.1 on Linux
Centos distro using kernel 2.6.18-53.1.21.el5.
The upgrade has been performed as described in the documenation. In
principle removing the old xwiki dir and copying the contents of the new
1.6.1.WAR i9 in /opt/xwiki and making changes to the xwiki.cfg file. I
couldn't copy the old xwiki.cfg from the installed 1.3.2 because the
contents has changed between 1.3.2 and 1.6.1. The hibernate.cfg.xml however
hasn't changed between 1.3.2 and 1.6.1. Hence I could copy the old
hibernate.cfg.xml file to the WEB-INF dir of 1.6.1.
After the upgrade everything seemed OK. The content was still there as were
the created users and spaces. As version nummer 1.6.1 instead of 1.3.2 was
shown in the footer of each page. As of version 1.5 there is a new
Aministration application which afaik is bundled with xwiki enterprise. The
url is <url>/xwiki/bin/admin/XWiki/XWikiPreferences. When I try to access
this page on my upgraded system I get the message "The administration
application is not installed. Since XWiki Enterprise 1.5 the Administration
is distributed as an application. You can download it from
http://code.xwiki.org/xwiki/bin/view/Applications/AdministrationApplication.".
I've double checked it on my windows system with Stable:
xwiki-enterprise-installer-windows-1.6.1.exe. When entering the url I get
the new Administration tool. At this moment I can't admin my xwiki system.
PS. I did the upgrade at least twice. The first install was performing the
upgrade manually, the second time I used a shell script to make sure I
didn't make mistakes. In both cases I got the same results.
Unless I interpret things the wrong way something is wrong with my upgraded
system. Any help is very much appreciated.
Jan
--
View this message in context: http://n2.nabble.com/upgrade-from-1.3.2-to-1.6.1----new-administrations-too…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have a few pages in my wiki, that "insist" on denying view rights from
registered users.
These pages are generated by form, using a template, following the todo app
example.
they should be created with view for all. edit rights are set by calling:
#setEditors($obj)
############ permissions ################################################
######## allowEdit #####################################################
## set rights to allow creator and contributors to edit
#macro(allowEdit $users)
#if($xwiki.checkAccess($doc.getFullName(),"edit"))
<!-- allowEdit (desObj) $doc $users -->
#set ($rights = $doc.getObject("XWiki.XWikiRights", true))
#set ($result = $rights.set("levels", "edit"))
#set ($result = $rights.set("users", $users))
#set ($result = $rights.set("allow", 1))
$doc.save()
#end
#end
########## setEditors ##################################################
## set owner, contributors, and edit rights
#########################################################################
#macro(setEditors $obj)
#set ($ownr = $obj.Owner)
#if ((!$ownr || $ownr == "" ) && !$doc.getURL.endWith("ClassSheet"))
#set ($needRefresh = true)
#set ($ownr = $doc.getCreator())
#if (!$ownr || $ownr == "")
#set ($ownr = $context.user)
#end
$doc.set("Owner",$ownr,$obj)
#end
#set ($contributors = $obj.Contributors)
##if ($context.user == $ownr)
#set($editors = $contributors+","+$ownr)
<!-- Editors: $editors -->
#allowEdit($editors)
##end
#end
## setEditors ##################################################
For some reason this doesn't always work.
Furthermore, for some pages (but not all), view rights are denied. I try to
set them right, and they revert to their problem state.
For example, in
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Patterns/VisualNar…
I set view on for all, but when I leave the page and come back, that right
has disappeared.
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
Hi All,
[Nabble told me my last post didn't get sent, so reposting, apologize if it
caused a duplication]
There are few tabs for comments/attachment etc in the new layout for XE 1.6
which is great. However, can I suggest we do not show the details by default
until users click? (which like version 1.5).
The reason is that currently every page made an authentication call. When we
are using LDAP for authentication this may take 1-2 seconds. Since the
comment field is opened by default, it's another 2 seconds delay for until
the page is completely loaded. Reducing this 2 seconds means 40-50% faster
per page which is very significance.
Many Thanks
Art.
--
View this message in context: http://n2.nabble.com/Comment-field-in-XE-1.6-for-page-display-tp1328527p132…
Sent from the XWiki- Users mailing list archive at Nabble.com.