Re: [xwiki-users] Random logoff when using LDAP authenticator
That's interesting. Thanks! Yeh.. I figured a work around too. I change the setting of the 'ldap sync group' from 'always' to 'create'. This requires more micro management because I have to update the group membership from within xwiki.. Cheers On Thu, Apr 10, 2008 at 4:59 PM, Frantisek Kall <[EMAIL PROTECTED]> wrote: > > Hi Benjamin, > > I have the similar problem with logging off AD users. I haven't solution > yet, but I found workaround - I am not sure if it help you but you can try > it. Problem with logging of starts when user switch to advance editing > mode > - in user home page. After switch to advance mode is created > XWiki.TagClass > in user object. When you edit this object and remove XWiki.TagClass > logging > off stopped. > Try this and let me know if it helped. > > Frantisek > > > Benjamin Leung-2 wrote: > > > > Hi Thomas, > > > > I do not get randomly logged off when I login in using xwiki's account > > like > > Admin/admin, it only happens when I logon using an LDAP (Active > Directory) > > account. I'm not saying that it's the LDAP authenticator's problem, but > > it > > surely smell a lot like it. > > > > Thank you for your attention, > > > > Ben > > > > On Mon, Apr 7, 2008 at 4:46 AM, Thomas Mortagne > > <[EMAIL PROTECTED]> > > wrote: > > > >> Hi, > >> > >> This looks like OSCache problem. As I can see in the code you can have > >> this error when OSCache failed to create a new cache and then all that > >> try to acces this cache fail, here the XWiki group service. I'm not an > >> OSCache expert so I have no idea of what could cause this. > >> > >> Maybe someone has an idea... > >> > >> On Fri, Apr 4, 2008 at 4:08 PM, Benjamin Leung > >> <[EMAIL PROTECTED]> wrote: > >> > Hi, > >> > > >> > I'm getting randomly logged off when using the LDAP authenticator in > >> > v1.3.1. I'm wondering if anyone else is experiencing this. > >> > > >> > At the end are the thread dumps I captured in two individual cases > and > >> a > >> > snippet of my LDAP configuration. > >> > > >> > Thanks, > >> > Benjamin > >> > > >> > xwiki.authentication.ldap.UID_attr=sAMAccountName > >> > > >> > >> > xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn > >> > xwiki.authentication.ldap.update_user=0 > >> > > xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=Wiki > >> Admins > >> > (omitted the rest) > >> > xwiki.authentication.ldap.mode_group_sync=always > >> > > >> > > >> > -Thread Dump #1--- > >> > > >> > > >> > 09:43:53,819 [ > >> > http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] > >> > [http-8080-22] ERROR base.Cache - internal > error: > >> > expected to get a state from key [xwiki:XWiki.bleung] > >> > 09:43:56,334 [ > >> > http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] > >> > [http-8080-14] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP > >> authentication > >> > failed. > >> > java.lang.IllegalStateException: Cannot cancel cache update - > current > >> state > >> > (1) is not UPDATE_IN_PROGRESS > >> > at > >> > > >> > >> > com.opensymphony.oscache.base.EntryUpdateState.cancelUpdate(EntryUpdateState.java:91) > >> > at com.opensymphony.oscache.base.Cache.cancelUpdate(Cache.java:416) > >> > at > >> > > >> > >> > com.opensymphony.oscache.general.GeneralCacheAdministrator.cancelUpdate(GeneralCacheAdministrator.java:184) > >> > at > >> > > >> > >> > com.xpn.xwiki.cache.impl.OSCacheCache.cancelUpdate(OSCacheCache.java:126) > >> > at > >> > > >> > >> > com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.listGroupsForUser(XWikiGroupServiceImpl.java:163) > >> > at > >> > > >> > >> > com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.getAllGroupsNamesForMember(XWikiGroupServiceImpl.java:683) > >> > at > >> > > >> &g
Re: [xwiki-users] Random logoff when using LDAP authenticator
Hi Thomas, I do not get randomly logged off when I login in using xwiki's account like Admin/admin, it only happens when I logon using an LDAP (Active Directory) account. I'm not saying that it's the LDAP authenticator's problem, but it surely smell a lot like it. Thank you for your attention, Ben On Mon, Apr 7, 2008 at 4:46 AM, Thomas Mortagne <[EMAIL PROTECTED]> wrote: > Hi, > > This looks like OSCache problem. As I can see in the code you can have > this error when OSCache failed to create a new cache and then all that > try to acces this cache fail, here the XWiki group service. I'm not an > OSCache expert so I have no idea of what could cause this. > > Maybe someone has an idea... > > On Fri, Apr 4, 2008 at 4:08 PM, Benjamin Leung > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm getting randomly logged off when using the LDAP authenticator in > > v1.3.1. I'm wondering if anyone else is experiencing this. > > > > At the end are the thread dumps I captured in two individual cases and > a > > snippet of my LDAP configuration. > > > > Thanks, > > Benjamin > > > > xwiki.authentication.ldap.UID_attr=sAMAccountName > > > > xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn > > xwiki.authentication.ldap.update_user=0 > > xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=Wiki > Admins > > (omitted the rest) > > xwiki.authentication.ldap.mode_group_sync=always > > > > > > -Thread Dump #1--- > > > > > > 09:43:53,819 [ > > http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] > > [http-8080-22] ERROR base.Cache - internal error: > > expected to get a state from key [xwiki:XWiki.bleung] > > 09:43:56,334 [ > > http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] > > [http-8080-14] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP > authentication > > failed. > > java.lang.IllegalStateException: Cannot cancel cache update - current > state > > (1) is not UPDATE_IN_PROGRESS > > at > > > > com.opensymphony.oscache.base.EntryUpdateState.cancelUpdate(EntryUpdateState.java:91) > > at com.opensymphony.oscache.base.Cache.cancelUpdate(Cache.java:416) > > at > > > > com.opensymphony.oscache.general.GeneralCacheAdministrator.cancelUpdate(GeneralCacheAdministrator.java:184) > > at > > > com.xpn.xwiki.cache.impl.OSCacheCache.cancelUpdate(OSCacheCache.java:126) > > at > > > > com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.listGroupsForUser(XWikiGroupServiceImpl.java:163) > > at > > > > com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.getAllGroupsNamesForMember(XWikiGroupServiceImpl.java:683) > > at > > > > com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:484) > > at > > > > com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:450) > > at > > > > com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:310) > > at > > > > com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:107) > > at > > > > com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:194) > > at > > > > com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) > > at > > > > com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:214) > > at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3297) > > at > > > > com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:166) > > at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3305) > > at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4249) > > at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:173) > > 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(Htt
[xwiki-users] Random logoff when using LDAP authenticator
Hi, I'm getting randomly logged off when using the LDAP authenticator in v1.3.1. I'm wondering if anyone else is experiencing this. At the end are the thread dumps I captured in two individual cases and a snippet of my LDAP configuration. Thanks, Benjamin xwiki.authentication.ldap.UID_attr=sAMAccountName xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn xwiki.authentication.ldap.update_user=0 xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=Wiki Admins (omitted the rest) xwiki.authentication.ldap.mode_group_sync=always -Thread Dump #1--- 09:43:53,819 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-22] ERROR base.Cache - internal error: expected to get a state from key [xwiki:XWiki.bleung] 09:43:56,334 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-14] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed. java.lang.IllegalStateException: Cannot cancel cache update - current state (1) is not UPDATE_IN_PROGRESS at com.opensymphony.oscache.base.EntryUpdateState.cancelUpdate(EntryUpdateState.java:91) at com.opensymphony.oscache.base.Cache.cancelUpdate(Cache.java:416) at com.opensymphony.oscache.general.GeneralCacheAdministrator.cancelUpdate(GeneralCacheAdministrator.java:184) at com.xpn.xwiki.cache.impl.OSCacheCache.cancelUpdate(OSCacheCache.java:126) at com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.listGroupsForUser(XWikiGroupServiceImpl.java:163) at com.xpn.xwiki.user.impl.xwiki.XWikiGroupServiceImpl.getAllGroupsNamesForMember(XWikiGroupServiceImpl.java:683) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:484) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncGroupsMembership(XWikiLDAPAuthServiceImpl.java:450) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:310) at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:107) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:194) at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:95) at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:214) at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3297) at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:166) at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3305) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4249) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:173) 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:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:447) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424) at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source) 09:43:56,443 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-14] ERROR base.Cache - internal error: expected to get a state from key [xwiki:XWiki.XWikiGuest] --Thread Dump #2 09:51:50,003 [ http://bl.local:8080/xwiki/xwiki/bin/view/Main/DocumentDoesNotExist] [http-8080-8] WARN LDAP.
[xwiki-users] Upgrade experience from 1.3 to 1.3.1
Hi, First of all, thank you for a great product. I just finish the upgrade and had some negative experience.. Here's how it went.. - First, I tried to export my wiki to a xar.. At first it produced an invalid xar/zip archive.. then I figured that xwiki refuse to produce a valid archive whenever the 'include history' is not checked. - I checked the xar and found out there are couple of 0 sized file which should have contents.. good thing is that I noticed them.. - exported the database - Then I upgraded the binaries.. and merged the configurations.. all went well. - Then, I followed the recommendation regarding importing the new 1.3.1 default wiki. - WHen I import the default wiki, I received an error message saying that there 4 documents that I can't import.. - I tried to delete the existing page but received errors during deletion. - The error say something about the attachment, so I delete the attachments first.. after I deleted the attachments, I was able to delete the remaining pages - after deletion, I was able the import the the rest of the documents. Horray.. upgrade finished! - Then I noticed when I tried to login using invalid LDAP credential, I still get an "Internal Error" which is one of the reason I bother to upgrade is still here.. - I also noticed that 1.3.1 broke the footnote macro partially.. Other than these, everything seems to work fine! Thanks, Ben ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Valid values for Validation and Encryption Key
Hi, I'm trying to the the following two keys. Could someone tell me what are the valid values? (Length, alphanumeric, etc) xwiki.authentication.validationKey xwiki.authentication.encryptionKey Thanks! ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem with AD authentication in XWiki 1.3
Hi Frantisek, Would you mind sharing the LDAP section of your xwiki.cfg? Because I want to confirm something... In my LDAP/AD configuration, I have to set the -- xwiki.authentication.ldap.user_group -- value to make it work (contrary to what the parameter description says). Thanks! On Mon, Mar 17, 2008 at 5:08 PM, Frantisek Kall <[EMAIL PROTECTED]> wrote: > I started discussion below. There is something new in this case. First > I have to say that I made mistake when I wrote we tested ver. 1.2 and > it works with AD well. Working version was 1.1.2 not 1.2. > > And also now we have ver. 1.3 working with AD authentication. We > don't know what helped, but my colleague who installed it, tried it > once more, set all things as before and it works. New user is created > in XWikiAllGroup :-) > > But I noticed problem with editing :-( In wiki mode editing is OK, > but when I switch to WYSIWYG mode I'm logged out immediately (I > receive Log-in screen). We are working on it, when I will have > something new I'll report it. > > > > Frantisek > > *** > Date: Mon, 17 Mar 2008 21:19:18 +0200 > From: Mihails Agafonovs <[EMAIL PROTECTED]> > Subject: Re: [xwiki-users] Problem with AD authentication in XWiki 1.3 > To: XWiki Users > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="windows-1257" > > No, it doesn't. > Quoting Thomas Mortagne : On Mon, Mar 17, 2008 at 3:43 PM, Mihails > Agafonovs wrote: > You can try to specify the base_DN (for me it worked). // > base_DN=dc=domain,dc=com > You're also using sAMAccountName. What format does it have? > name.surname? > In our company our sAMAccountName is like name.surname, and it > doesn't work > with XWiki. So I've changed UID_attr to cn. > P.S. I still use version 1.1.2, because it's the only version > working > properly with AD (user is created in XWikiAllGroup). No other > version is > working in my case :) > The new LDAP authenticator (since 1.3) works perfectly with that and > also add group mapping between XWiki and LDAP. > Quoting Frantisek Kall : > A month ago we tested 1.2 ver. XWiki and there wasn't problem to set > up > Active Directory authentication. Now we are going to start XWiki for > enterprise use and we had a problem to setup AD authentication with > 1.3 ver. > Can anybody help us? > Frantisek Kall > ___ > 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] After installation, Admin cannot log in
Hi Greg, I've experienced that too. The problem is gone after I imported the default wiki (One of the file you can download from xwiki.org with a XAR extension) and I didn't investigate the problem further. You probably want to install the default wiki anyway. That default wiki installs the Admin login I think. have fun. On Fri, Mar 14, 2008 at 9:20 AM, Gregory Mazurek <[EMAIL PROTECTED]> wrote: > Hello, > > I've installed xwiki from the standalone installation and have chosen to > use mysql instead of hsqldb. I run the server and everything looks great. > I can get into mysql and see that the tables are populated, and I see the > web pages in firefox. > > But, when I then try to log in using Admin/admin, I receive a "wrong user > name" response that prevents me from going any further. I've tried > variations on the log in (caps, no caps, etc.) but nothing seems to work. > If I attempt to add a user (not logged in), there are no errors but upon > pressing save, the user list does not update for the new user. In addition, > I looked at the database table xwikipreferences (I assume this is where the > user names and passwords are stored) and the username is not there. > > Here are my specs: > > xwiki 1.3 > windows vista > mysql 5.0.14 > JDK 1.5.0 > > I've searched through Nabble, xwiki.org, and google but haven't found > anything that has helped. I'm emailing the list to see if anyone knows > anything about this or whether this may be a compatibility issue. > > I've also tried this with the graphical windows native installer and > encounter the same issue. As a side note, with the graphical windows native > installer, I notice that the css and js files do not load but images and > text do. > > Any help would be very appreciated, > Greg > > ___ > 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] LDAP worked for awhile but problem arised - LDAP/AD issue or something else in xwiki 1.3
Sorry for the late reply Thomas. I'm using Oracle 10g Personal 10.2.0.1.0 (for windows). On Mon, Mar 10, 2008 at 1:19 PM, Thomas Mortagne <[EMAIL PROTECTED]> wrote: > For you particular case I don't see common thing that could cause this. In > fact I never seen the error message "Illegal attempt to associate a > collection with two open sessions", which databases server do you use ? > We had some problems with migration from older XWiki version because some > XWikiUsers class fields has been modified but it was between 1.1 and 1.2. > > Maybe someone else has any idea. > > > On Mon, Mar 10, 2008 at 6:06 PM, Benjamin Leung < > [EMAIL PROTECTED]> wrote: > > > Thanks Thomas. > > > > I think you got it. I can login using bleung again after some messing > > around. > > > > However. It appears that I can save the wiki page > > (/xwiki/bin/view/XWiki/bleung) using Admin/admin. > > I was sucessful adding text in the wiki content, text in tag object, and > > comments in the XWikiUsers object. > > Then, I rolled back the profile to version 1. And I was able to logon > > using bleung again. > > > > Then it raises the question about how it got corrupted. I can be my > > fault because I am frequently restarting various services. > > > > But please let me know if this is something common and/or can be > > advoided. > > > > Thanks! > > BL > > > > On Mon, Mar 10, 2008 at 12:27 PM, Thomas Mortagne < > > [EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > Are you able to edit and save XWiki.bleung wiki page ? Maybe there is > > > a data corrupted problem... > > > > > > On Mon, Mar 10, 2008 at 5:12 PM, Benjamin Leung < > > > [EMAIL PROTECTED]> wrote: > > > > > > > Hi list, > > > > > > > > My setup with LDAP authentication was kind-of working for the last > > > > several days (able to login with/without using work arounds). Today it > > > > stopped working for one account (bleung). > > > > > > > > From the log file, it seems it failed when xwiki tried to > > > > update/synchronize a user's profile resulting inability to logon. I > > > > actually see the login registered on the top right of a xwiki page, but > > > > actually you're not (navigating away from that page and the login is > > > > gone). > > > > > > > > The error message mentioned something about: > > > > 1. Exception while saving document XWiki.bleung (bleung is login > > > > name) > > > > 2. Exception while saving property tags of object XWiki.bleung > > > > 3. Illegal attempt to associate a collection with two open sessions > > > > > > > > Attached is the xwiki log file generated with the following steps: > > > > 1. reboot > > > > 2. clear firefox cookies > > > > 3. start tomcat > > > > 4. goto local xwiki homepage > > > > 5. logon using LDAP credential > > > > 6. goto local xwiki homepage again (and login status disappeared > > > > from UI) > > > > 7. shutdown tomcat > > > > > > > > Anyhelp would be appreciated. > > > > > > > > My setup: > > > > xwiki 1.3 final > > > > Windows XP Pro > > > > Oracle 10g > > > > Tomcat 6.0.16 > > > > LDAP authentication (AD) > > > > > > > > ___ > > > > 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 > > > > > > > > > > ___ > > 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 > > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] LDAP worked for awhile but problem arised - LDAP/AD issue or something else in xwiki 1.3
Thanks Thomas. I think you got it. I can login using bleung again after some messing around. However. It appears that I can save the wiki page (/xwiki/bin/view/XWiki/bleung) using Admin/admin. I was sucessful adding text in the wiki content, text in tag object, and comments in the XWikiUsers object. Then, I rolled back the profile to version 1. And I was able to logon using bleung again. Then it raises the question about how it got corrupted. I can be my fault because I am frequently restarting various services. But please let me know if this is something common and/or can be advoided. Thanks! BL On Mon, Mar 10, 2008 at 12:27 PM, Thomas Mortagne <[EMAIL PROTECTED]> wrote: > Hi, > > Are you able to edit and save XWiki.bleung wiki page ? Maybe there is a > data corrupted problem... > > On Mon, Mar 10, 2008 at 5:12 PM, Benjamin Leung < > [EMAIL PROTECTED]> wrote: > > > Hi list, > > > > My setup with LDAP authentication was kind-of working for the last > > several days (able to login with/without using work arounds). Today it > > stopped working for one account (bleung). > > > > From the log file, it seems it failed when xwiki tried to > > update/synchronize a user's profile resulting inability to logon. I > > actually see the login registered on the top right of a xwiki page, but > > actually you're not (navigating away from that page and the login is gone). > > > > The error message mentioned something about: > > 1. Exception while saving document XWiki.bleung (bleung is login name) > > 2. Exception while saving property tags of object XWiki.bleung > > 3. Illegal attempt to associate a collection with two open sessions > > > > Attached is the xwiki log file generated with the following steps: > > 1. reboot > > 2. clear firefox cookies > > 3. start tomcat > > 4. goto local xwiki homepage > > 5. logon using LDAP credential > > 6. goto local xwiki homepage again (and login status disappeared from > > UI) > > 7. shutdown tomcat > > > > Anyhelp would be appreciated. > > > > My setup: > > xwiki 1.3 final > > Windows XP Pro > > Oracle 10g > > Tomcat 6.0.16 > > LDAP authentication (AD) > > > > ___ > > 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 > > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] contentcontainerinner background
Hi Ricardo, Once you've created a custom skin, you can go to Administration->SpacePref-> select a space and change the skin is uses. Other than creating a whole new set of CSS files to make a new skin, you can create a xwiki skin page and add the customization within that skin page. Checkout this page: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins You can import a css using @import "/xwiki/skins/toucan/style.css"; Ben On Sun, Mar 9, 2008 at 7:33 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]> wrote: > Hi, > > Working with XWiki 1.3 and Albatross skin I've successfully changed the > background of the inner content container by editing colorsblack.css > this way... > > .content #contentcontainerinner, .contenthideright #contentcontainerinner > { > background-image:url(MyBackGroundImage.png); > background-position:right top; > background-repeat:no-repeat; > } > > My challenge now is to be able to set a different background on per > space basis. > > By googling on this topic, I've found a number of reference using > JavaScript to dynamically change CSS. > > Please, is this the path I must follow in this case or could I find > other alternative in XWiki? Thanks! > > Best, > > Ricardo > > -- > Ricardo RodrÃguez > Your EPEC Network ICT Team > > ___ > 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
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
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 >
Re: [xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6
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
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
[xwiki-users] Login and Logoff problem using Xwiki 1.3rc1+oracle+tomcat6
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