Re: [xwiki-users] Help with AD authentication

2008-10-22 Thread Mihails Agafonovs
You have to use current username and password:
xwiki.authentication.ldap.bind_DN=yourdomain\{0}
xwiki.authentication.ldap.bind_pass={1}
not like you did:
xwiki.authentication.ldap.bind_DN=crbsldap
xwiki.authentication.ldap.bind_pass=
 Quoting Samuel Lee : Ok, so, I'm still getting nothing.  I've been
running a netstat, and I  
 can see the xwiki trying to hit our ldap server on port 389.  I've 

 turned on debug logging, including ldap logging, but I'm getting no 

 ldap messages.  I'm seeing xwikiLogin attempts in the logs.  Oh, and
I  
 don't know if this matters, but I'm using the XWiki Enterprise
Manager  
 1.3.12583.
 Using the LDAP browser, I can see my ldap structure:
 host: ldap.ad..yyy
 port: 389
 Base DN: OU=CRBS,DC=AD,DC=, DC=YYY
 (No SSL, No Anonymous bind - requires login/pass to do queries)
 User DN: crbsldap (no append base DN)
 password: *
 Take a look at my configuration, and see if there's something
wrong:
 xwiki 
 .authentication 
 .authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
 #-# XWiki LDAP authentication logging
 log4j.logger.com.xpn.xwiki.plugin.ldap=debug
 log4j.logger.com.xpn.xwiki.user.impl.LDAP=debug
 #-# Turn LDAP authentication on - otherwise only XWiki
authentication
 #-# 0: disable
 #-# 1: enable^M
 xwiki.authentication.ldap=1
 #-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)^M
 xwiki.authentication.ldap.server=ldap.ad..yyy
 xwiki.authentication.ldap.port=389
 #-# LDAP login, empty = anonymous access, otherwise specify full dn
^M
 #-# {0} is replaced with the username, {1} with the password
 #  
 xwiki 
 .authentication 
 .ldap 
 .bind_DN 

=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP^M
 #xwiki 
 .authentication 
 .ldap.bind_DN=cn=crbsldap,OU=USERS,OU=CRBS,DC=AD,DC=,DC=YYY
 # For xwiki.authentication.ldap.bind_DN=, I've tried crbsldap |  
 cn=crbsldap | adcrbsldap | ad\crbsldap |  
 cn=crbsldap,OU=USERS,OU=CRBS,DC=AD,DC=,DC=YYY
 xwiki.authentication.ldap.bind_DN=crbsldap
 xwiki.authentication.ldap.bind_pass=
 #-# Force to check password after LDAP connection
 #-# 0: disable
 #-# 1: enable
 xwiki.authentication.ldap.validate_password=1
 ^M
 #-# only members of the following group will be verified in the
LDAP^M
 # otherwise only users that are found after searching starting from 

 the base_DN^M
 #  
 xwiki 
 .authentication 
 .ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US^M
 ^M
 #-# base DN for searches^M
 xwiki.authentication.ldap.base_DN=OU=CRBS,DC=AD,DC=,DC=YYY
 ^M
 #-# Specifies the LDAP attribute containing the identifier to be
used  
 as the XWiki name (default=cn)^M
 xwiki.authentication.ldap.UID_attr=sAMAccountName
 ___
 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] Help with AD authentication

2008-10-22 Thread Samuel Lee
Ok, so, I'm still getting nothing.  I've been running a netstat, and I  
can see the xwiki trying to hit our ldap server on port 389.  I've  
turned on debug logging, including ldap logging, but I'm getting no  
ldap messages.  I'm seeing xwikiLogin attempts in the logs.  Oh, and I  
don't know if this matters, but I'm using the XWiki Enterprise Manager  
1.3.12583.

Using the LDAP browser, I can see my ldap structure:
host: ldap.ad..yyy
port: 389
Base DN: OU=CRBS,DC=AD,DC=, DC=YYY
(No SSL, No Anonymous bind - requires login/pass to do queries)
User DN: crbsldap (no append base DN)
password: *

Take a look at my configuration, and see if there's something wrong:

xwiki 
.authentication 
.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl

#-# XWiki LDAP authentication logging
log4j.logger.com.xpn.xwiki.plugin.ldap=debug
log4j.logger.com.xpn.xwiki.user.impl.LDAP=debug

#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable^M
xwiki.authentication.ldap=1

#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)^M
xwiki.authentication.ldap.server=ldap.ad..yyy
xwiki.authentication.ldap.port=389

#-# LDAP login, empty = anonymous access, otherwise specify full dn ^M
#-# {0} is replaced with the username, {1} with the password
#  
xwiki 
.authentication 
.ldap 
.bind_DN 
=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP^M
#xwiki 
.authentication 
.ldap.bind_DN=cn=crbsldap,OU=USERS,OU=CRBS,DC=AD,DC=,DC=YYY
# For xwiki.authentication.ldap.bind_DN=, I've tried crbsldap |  
cn=crbsldap | ad\crbsldap | ad\\crbsldap |  
cn=crbsldap,OU=USERS,OU=CRBS,DC=AD,DC=,DC=YYY
xwiki.authentication.ldap.bind_DN=crbsldap
xwiki.authentication.ldap.bind_pass=

#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=1
^M
#-# only members of the following group will be verified in the LDAP^M
# otherwise only users that are found after searching starting from  
the base_DN^M
#  
xwiki 
.authentication 
.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US^M
^M
#-# base DN for searches^M
xwiki.authentication.ldap.base_DN=OU=CRBS,DC=AD,DC=,DC=YYY
^M
#-# Specifies the LDAP attribute containing the identifier to be used  
as the XWiki name (default=cn)^M
xwiki.authentication.ldap.UID_attr=sAMAccountName


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


Re: [xwiki-users] Help with AD authentication

2008-10-22 Thread Samuel Lee
Hm,
I'm still getting nothing.  Where are the logs for ldap related issues  
held?

Sam

On Oct 22, 2008, at 9:44 AM, Thomas Mortagne wrote:

> Hi,
>
> On Wed, Oct 22, 2008 at 6:32 PM, Samuel Lee <[EMAIL PROTECTED]>  
> wrote:
>> I can't seem to get my XWiki to recognize my AD usernames.  Can  
>> anyone
>> take a look at my xwiki.cfg to see if I'm doing something wrong?
>>
>> When I try to log into the xwiki, I get a "Wrong User name", and the
>> user i'm using is in the crbs-admin group, which I've mapped to the
>> XWiki.XWikiAdminGroup group.
>>
>> Thanks,
>> Sam
>>
>> #-# new LDAP authentication service^M
>> xwiki
>> .authentication
>> .authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
>>
>> #-# Turn LDAP authentication on - otherwise only XWiki authentication
>> #-# 0: disable
>> #-# 1: enable^M
>> xwiki.authentication.ldap=1
>>
>> #-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)^M
>> xwiki.authentication.ldap.server=ldap.ad..yyy
>> xwiki.authentication.ldap.port=636
>>
>> #-# LDAP login, empty = anonymous access, otherwise specify full dn  
>> ^M
>> #-# {0} is replaced with the username, {1} with the password
>> #
>> xwiki
>> .authentication
>> .ldap
>> .bind_DN
>> =cn={0},department=USER,department=INFORMATIK,department=1230,o=MP^M
>> xwiki.authentication.ldap.bind_DN={0}
>
> This means that the login entered by use will be used to authenticate
> against LDAP/AD server. But enter an uid and not the complete DN.
> You should look at
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPConfigurationforActiveDirectory
>
>> xwiki.authentication.ldap.bind_pass={1}
>>
>> #-# Force to check password after LDAP connection
>> #-# 0: disable
>> #-# 1: enable
>> xwiki.authentication.ldap.validate_password=0
>> ^M
>> #-# only members of the following group will be verified in the  
>> LDAP^M
>> # otherwise only users that are found after searching starting from
>> the base_DN^M
>> #
>> xwiki
>> .authentication
>> .ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US^M
>> ^M
>> #-# base DN for searches^M
>> xwiki.authentication.ldap.base_DN=OU=CRBS,DC=AD,DC=,DC=YYY
>> ^M
>> #-# Specifies the LDAP attribute containing the identifier to be used
>> as the XWiki name (default=cn)^M
>> xwiki.authentication.ldap.UID_attr=sAMAccountName
>>
>> #-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
>> #-# Specifies the LDAP attribute containing the password to be used
>> "when xwiki.authentication.ldap.validate_password" is set to 1
>> # xwiki.authentication.ldap.password_field=userPassword
>>
>> #-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
>> #-# The potential LDAP groups classes. Separated by commas.
>> #
>> xwiki
>> .authentication
>> .ldap
>> .group_classes
>> =
>> group
>> ,groupOfNames
>> ,groupOfUniqueNames
>> ,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
>>
>> #-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
>> #-# The potential names of the LDAP groups fields containings the
>> members. Separated by commas.
>> # xwiki.authentication.ldap.group_memberfields=member,uniqueMember^M
>> ^M
>> #-# retrieve the following fields from LDAP and store them in the
>> XWiki user object (xwiki-attribute=ldap-attribute)
>> #-# ldap_dn=dn  -- dn is set by class, caches dn in XWiki.user object
>> for faster access^M
>> xwiki
>> .authentication
>> .ldap
>> .fields_mapping
>> =
>> name
>> =
>> sAMAccountName
>> ,last_name
>> =sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
>> ^M
>> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
>> #-# on every login update the mapped attributes from LDAP to XWiki
>> otherwise this happens only once when the XWiki account is created.^M
>> xwiki.authentication.ldap.update_user=1
>> ^M
>> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
>> #-# mapps XWiki groups to LDAP groups, separator is "|"^M
>> xwiki 
>> .authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=crbs-
>> admin,OU=CRBS,DC=AD,DC=,DC=YYY|XWiki.XWiki.AllGroup=CN=crbs-
>> users,OU=CRBS,DC=AD,DC=,DC=YYY
>> #
>> XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US^M
>> ^M
>> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
>> #-# time in s after which the list of members in a group is refreshed
>> from LDAP (default=3600*6)^M
>> # xwiki.authentication.ldap.groupcache_expiration=21800^M
>>
>> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]^M
>> #-# - create : synchronize group membership only when the user is
>> first created
>> #-# - always: synchronize on every login^M
>> # xwiki.authentication.ldap.mode_group_sync=always^M
>> ^M
>> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
>> #-# if ldap authentication fails for any reason, try XWiki DB
>> authentication with the same credentials^M
>> xwiki.authentication.ldap.trylocal=1
>>
>> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
>> #-# SSL connection to LDAP server
>> #-# 0: normal
>> #-# 1: SSL
>> # xwiki.authentication.ldap.ssl=0
>>
>> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
>> #-# The keystore file to use in SSL connectio

Re: [xwiki-users] Help with AD authentication

2008-10-22 Thread Thomas Mortagne
Hi,

On Wed, Oct 22, 2008 at 6:32 PM, Samuel Lee <[EMAIL PROTECTED]> wrote:
> I can't seem to get my XWiki to recognize my AD usernames.  Can anyone
> take a look at my xwiki.cfg to see if I'm doing something wrong?
>
> When I try to log into the xwiki, I get a "Wrong User name", and the
> user i'm using is in the crbs-admin group, which I've mapped to the
> XWiki.XWikiAdminGroup group.
>
> Thanks,
> Sam
>
> #-# new LDAP authentication service^M
> xwiki
> .authentication
> .authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
>
> #-# Turn LDAP authentication on - otherwise only XWiki authentication
> #-# 0: disable
> #-# 1: enable^M
> xwiki.authentication.ldap=1
>
> #-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)^M
> xwiki.authentication.ldap.server=ldap.ad..yyy
> xwiki.authentication.ldap.port=636
>
> #-# LDAP login, empty = anonymous access, otherwise specify full dn ^M
> #-# {0} is replaced with the username, {1} with the password
> #
> xwiki
> .authentication
> .ldap
> .bind_DN
> =cn={0},department=USER,department=INFORMATIK,department=1230,o=MP^M
> xwiki.authentication.ldap.bind_DN={0}

This means that the login entered by use will be used to authenticate
against LDAP/AD server. But enter an uid and not the complete DN.
You should look at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication#HLDAPConfigurationforActiveDirectory

> xwiki.authentication.ldap.bind_pass={1}
>
> #-# Force to check password after LDAP connection
> #-# 0: disable
> #-# 1: enable
> xwiki.authentication.ldap.validate_password=0
> ^M
> #-# only members of the following group will be verified in the LDAP^M
> # otherwise only users that are found after searching starting from
> the base_DN^M
> #
> xwiki
> .authentication
> .ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US^M
> ^M
> #-# base DN for searches^M
> xwiki.authentication.ldap.base_DN=OU=CRBS,DC=AD,DC=,DC=YYY
> ^M
> #-# Specifies the LDAP attribute containing the identifier to be used
> as the XWiki name (default=cn)^M
> xwiki.authentication.ldap.UID_attr=sAMAccountName
>
> #-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
> #-# Specifies the LDAP attribute containing the password to be used
> "when xwiki.authentication.ldap.validate_password" is set to 1
> # xwiki.authentication.ldap.password_field=userPassword
>
> #-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
> #-# The potential LDAP groups classes. Separated by commas.
> #
> xwiki
> .authentication
> .ldap
> .group_classes
> =
> group
> ,groupOfNames
> ,groupOfUniqueNames
> ,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
>
> #-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
> #-# The potential names of the LDAP groups fields containings the
> members. Separated by commas.
> # xwiki.authentication.ldap.group_memberfields=member,uniqueMember^M
> ^M
> #-# retrieve the following fields from LDAP and store them in the
> XWiki user object (xwiki-attribute=ldap-attribute)
> #-# ldap_dn=dn  -- dn is set by class, caches dn in XWiki.user object
> for faster access^M
> xwiki
> .authentication
> .ldap
> .fields_mapping
> =
> name
> =
> sAMAccountName
> ,last_name
> =sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
> ^M
> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
> #-# on every login update the mapped attributes from LDAP to XWiki
> otherwise this happens only once when the XWiki account is created.^M
> xwiki.authentication.ldap.update_user=1
> ^M
> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
> #-# mapps XWiki groups to LDAP groups, separator is "|"^M
> xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=crbs-
> admin,OU=CRBS,DC=AD,DC=,DC=YYY|XWiki.XWiki.AllGroup=CN=crbs-
> users,OU=CRBS,DC=AD,DC=,DC=YYY
> #
> XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US^M
> ^M
> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
> #-# time in s after which the list of members in a group is refreshed
> from LDAP (default=3600*6)^M
> # xwiki.authentication.ldap.groupcache_expiration=21800^M
>
> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]^M
> #-# - create : synchronize group membership only when the user is
> first created
> #-# - always: synchronize on every login^M
> # xwiki.authentication.ldap.mode_group_sync=always^M
> ^M
> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
> #-# if ldap authentication fails for any reason, try XWiki DB
> authentication with the same credentials^M
> xwiki.authentication.ldap.trylocal=1
>
> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
> #-# SSL connection to LDAP server
> #-# 0: normal
> #-# 1: SSL
> # xwiki.authentication.ldap.ssl=0
>
> #-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
> #-# The keystore file to use in SSL connection
> # xwiki.authentication.ldap.ssl.keystore=
>
> #-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
> #-# The java secure provider used in SSL connection
> #
> xwiki
> .authentication
> .ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
>
> ___
> users mailing

[xwiki-users] Help with AD authentication

2008-10-22 Thread Samuel Lee
I can't seem to get my XWiki to recognize my AD usernames.  Can anyone  
take a look at my xwiki.cfg to see if I'm doing something wrong?

When I try to log into the xwiki, I get a "Wrong User name", and the  
user i'm using is in the crbs-admin group, which I've mapped to the  
XWiki.XWikiAdminGroup group.

Thanks,
Sam

#-# new LDAP authentication service^M
xwiki 
.authentication 
.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl

#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable^M
xwiki.authentication.ldap=1

#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)^M
xwiki.authentication.ldap.server=ldap.ad..yyy
xwiki.authentication.ldap.port=636

#-# LDAP login, empty = anonymous access, otherwise specify full dn ^M
#-# {0} is replaced with the username, {1} with the password
#  
xwiki 
.authentication 
.ldap 
.bind_DN 
=cn={0},department=USER,department=INFORMATIK,department=1230,o=MP^M
xwiki.authentication.ldap.bind_DN={0}
xwiki.authentication.ldap.bind_pass={1}

#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
^M
#-# only members of the following group will be verified in the LDAP^M
# otherwise only users that are found after searching starting from  
the base_DN^M
#  
xwiki 
.authentication 
.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US^M
^M
#-# base DN for searches^M
xwiki.authentication.ldap.base_DN=OU=CRBS,DC=AD,DC=,DC=YYY
^M
#-# Specifies the LDAP attribute containing the identifier to be used  
as the XWiki name (default=cn)^M
xwiki.authentication.ldap.UID_attr=sAMAccountName

#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# Specifies the LDAP attribute containing the password to be used  
"when xwiki.authentication.ldap.validate_password" is set to 1
# xwiki.authentication.ldap.password_field=userPassword

#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential LDAP groups classes. Separated by commas.
#  
xwiki 
.authentication 
.ldap 
.group_classes 
= 
group 
,groupOfNames 
,groupOfUniqueNames 
,dynamicGroup,dynamicGroupAux,groupWiseDistributionList

#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The potential names of the LDAP groups fields containings the  
members. Separated by commas.
# xwiki.authentication.ldap.group_memberfields=member,uniqueMember^M
^M
#-# retrieve the following fields from LDAP and store them in the  
XWiki user object (xwiki-attribute=ldap-attribute)
#-# ldap_dn=dn  -- dn is set by class, caches dn in XWiki.user object  
for faster access^M
xwiki 
.authentication 
.ldap 
.fields_mapping 
= 
name 
= 
sAMAccountName 
,last_name 
=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
^M
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# on every login update the mapped attributes from LDAP to XWiki  
otherwise this happens only once when the XWiki account is created.^M
xwiki.authentication.ldap.update_user=1
^M
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"^M
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=crbs- 
admin,OU=CRBS,DC=AD,DC=,DC=YYY|XWiki.XWiki.AllGroup=CN=crbs- 
users,OU=CRBS,DC=AD,DC=,DC=YYY
#  
XWiki.Organisation=cn=testers,ou=groups,o=MegaNova,c=US^M
^M
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed  
from LDAP (default=3600*6)^M
# xwiki.authentication.ldap.groupcache_expiration=21800^M

#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]^M
#-# - create : synchronize group membership only when the user is  
first created
#-# - always: synchronize on every login^M
# xwiki.authentication.ldap.mode_group_sync=always^M
^M
#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB  
authentication with the same credentials^M
xwiki.authentication.ldap.trylocal=1

#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# SSL connection to LDAP server
#-# 0: normal
#-# 1: SSL
# xwiki.authentication.ldap.ssl=0

#-# [SINCE 1.3M2, XWikiLDAPAuthServiceImpl]
#-# The keystore file to use in SSL connection
# xwiki.authentication.ldap.ssl.keystore=

#-# [SINCE 1.5M1, XWikiLDAPAuthServiceImpl]
#-# The java secure provider used in SSL connection
#  
xwiki 
.authentication 
.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider

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


Re: [xwiki-users] API function for setting document categories (Workspaces)

2008-10-22 Thread Bey Youcef
On 10/22/08, Jean-Vincent Drean <[EMAIL PROTECTED]> wrote:
>
> On Mon, Oct 20, 2008 at 11:17 AM, Bey Youcef <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > How to "get" and "set" category of documents using the XWiki API.
> >
>
> I guess you're talking about XWS here, right ?


Yes. I created documents using the API but they appear in the Wiki space. I
need to put them in systematic way in one of my personal category. Is it
possible to do this with xwiki workspace api?

Thanks in advance.

Youcef

JV.
> ___
> 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] Administration of Groups not valid since 1.6

2008-10-22 Thread Jean-Vincent Drean
Hi,

With the rights managements UI [1] the suggested way to edit groups is
to click on the small edit icon at the right of the group row.

Here's the scenario I've just tried successfully on a XE 1.6.1 install
(XEM plugin) :
 - created a new group
 - clicked on the edit button at the right of the row
 - added a new local user to the group
 - back to the groups list the correct number of members is displayed
for the newly created group

Now the administrator is supposed to be able to edit the group by
going to the group page, here's the scenario blah blah :
 - created a new group
 - clicked on its name **
 - clicked on "edit" in the top menu
 - added a new local user to the group
 - the page is immediately reloaded with the new member appearing in the list

Do you see any JavaScript error when you edit the group with this
method ? Which browser are you using ? If firefox can you try this
scenario with http://getfirebug.com/ installed ?

Side developer note : I'd be in favor of removing the link on the
group name (see ** above), I think the RMUI should be self-sufficient,
the AJAX UI in the inline view of group pages is disturbing imho. WDYT
?

[1] : 
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise12M2#HNewRightsManagementUI

Thanks,
JV.

On Wed, Oct 22, 2008 at 4:53 PM, Tronicek <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> in XWiki XE 1.6 and 1.6.1 the application "Wiki administration - Groups"
> behaves buggy.
>
> As member count always 0 (zero) users are displayed.
> After selection of a group the new window is not opened in inline mode. So
> it's not possible to create new groups or add a user to a group. No user is
> shown as a member.
> Changing to online mode and trying to add a user leads to the message "Some
> users already exist in the group" (XWikiGroups object of this user already
> exists). Adding of a realy new member let the member list still empty.
>
> I'm using virtual XWiki XE in virtual mode (XEM plugin),
> Oracle 9iR2 Database,
> JBoss 4.2.1 GA
>
> I'll try out XE 1.7 next.
>
> Is there a known problem?
>
> Thanks,
> Rudolf
> --
> View this message in context: 
> http://n2.nabble.com/Administration-of-Groups-not-valid-since-1.6-tp1364242p1364242.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
>



-- 
Jean-Vincent Drean
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Administration of Groups not valid since 1.6

2008-10-22 Thread Tronicek

Hi,

in XWiki XE 1.6 and 1.6.1 the application "Wiki administration - Groups"
behaves buggy.

As member count always 0 (zero) users are displayed.
After selection of a group the new window is not opened in inline mode. So
it's not possible to create new groups or add a user to a group. No user is
shown as a member.
Changing to online mode and trying to add a user leads to the message "Some
users already exist in the group" (XWikiGroups object of this user already
exists). Adding of a realy new member let the member list still empty.

I'm using virtual XWiki XE in virtual mode (XEM plugin),
Oracle 9iR2 Database,
JBoss 4.2.1 GA

I'll try out XE 1.7 next.

Is there a known problem?

Thanks,
Rudolf
-- 
View this message in context: 
http://n2.nabble.com/Administration-of-Groups-not-valid-since-1.6-tp1364242p1364242.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] Panel Wizard ... Left Menu

2008-10-22 Thread Azzedine Ait Khelifa

When I change the page layout ... to have the menu on the left and content on 
the right ...

It seem I lose all the menu ... What I do wrong 

Regards,

AAK



--- En date de : Mer 22.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a écrit :
De: Jean-Vincent Drean <[EMAIL PROTECTED]>
Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released
À: [EMAIL PROTECTED], "XWiki Users" 
Date: Mercredi 22 Octobre 2008, 15h50

I was about to answer to your "Panel Wizard problem" email, I
can't
reproduce the problem but it could be on your side if you've
modifications on templates and skin.

On Wed, Oct 22, 2008 at 3:46 PM, Azzedine Ait Khelifa
<[EMAIL PROTECTED]> wrote:
>
> Thanx ! I have it in previous version ... And now the Panel Wizard seem
> working ...
>
> Perhaps And now I can work on template and skins :)
>
> Regards,
>
> AAK
>
> --- En date de : Mer 22.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a
écrit :
>
> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1
> Released
> À: [EMAIL PROTECTED], "XWiki Users" 
> Date: Mercredi 22 Octobre 2008, 15h29
>
> Hi,
>
> You need to have the MySQL JDBC Driver JAR (named
> mysql-connector-java*.jar installed in XWiki's WAR file. If this file
> isn't present in XWiki's WEB-INF/lib directory you'll need to
> download
> it and copy it
>  there.
> Quoted from
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL
>
> JV.
>
> On Wed, Oct 22, 2008 at 3:24 PM, Azzedine Ait Khelifa
> <[EMAIL PROTECTED]> wrote:
>>
>> I have an issue ...
>>
>> The mysql driver mysql-connector-java-5.1.6-bin is missing in the last
> install XWiki Enterprise 1.7 Milestone 1 Released in the WEB-INF\lib
> directory ...
>>
>> Regards;
>>
>> AAK
>>
>>
>> --- En date de : Mer 22.10.08, Vincent Massol
<[EMAIL PROTECTED]> a
> écrit :
>> De: Vincent Massol <[EMAIL PROTECTED]>
>> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1
> Released
>> À: [EMAIL PROTECTED], "XWiki Users"

>> Date: Mercredi 22 Octobre 2008, 15h06
>>
>> On Oct 22, 2008, at 2:51 PM, Azzedine Ait Khelifa wrote:
>>
>>>
>>> Hi
>  Jean-vincent,
>>>
>>> I uninstall et reinstall ...
>>>
>>> it's working !
>>>
>>> But when I change the hibernate.cfg.xml settings to point to mysql
>>> Db ...
>>>
>>> I have a new error
>>> HTTP ERROR: 500Error number 3 in 0: Could not initialize main
XWiki
>>> context
>>> Wrapped Exception: Error number 3001 in 3: Cannot load class
>>> com
>>>
.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
>>> from param xwiki.store.migration.manager.class
>>
>> I think this mean you have a wiki.store.migration.manager.class
>> parameter defined in your xwiki.cfg and it's not valid. Just
remove
> it.
>>
>> Maybe you've tried to do some fancy stuff in the past? :)
>>
>> Thanks
>> -Vincent
>>
>>>
>>> Wrapped Exception: Error number 0 in 3: Exception while
>  hibernate
>>> execute
>>> Wrapped Exception: Could not parse mapping document from resource
>>> xwiki.hbm.xml
>>> RequestURI=/xwiki/bin/view/Main/
>>> The database is from an undermined previous version ... I thinck
<
>>> 1.6 ...
>>>
>>>
>>> --- En date de : Mer 22.10.08, Jean-Vincent Drean
<[EMAIL PROTECTED]>
> a
>>> écrit :
>>> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
>>> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone
1
>>> Released
>>> À: [EMAIL PROTECTED], "XWiki Users"
> 
>>> Date: Mercredi 22 Octobre 2008, 13h23
>>>
>>> Hi,
>>>
>>> I'm not able to reproduce with
>>> xwiki-enterprise-hsqldb-1.7-milestone-1, can you give use some
details
>>> like :
>>> - which distribution are you using ?
>>> - have you done a
>  migration from a previous version ?
>>>
>>> Thanks,
>>> JV.
>>>
>>> On Wed, Oct 22, 2008 at 12:55 PM, Azzedine Ait Khelifa
>>> <[EMAIL PROTECTED]> wrote:
 HTTP ERROR: 500Failed to load component
>>> [org.xwiki.rendering.parser.SyntaxFactory] for hint [default]
 RequestURI=/xwiki/bin/view/Main/
 Powered by Jetty://

 --- En date de : Mar 21.10.08, Jean-Vincent Drean
> <[EMAIL PROTECTED]>
>> a
>>> écrit :
 De: Jean-Vincent Drean <[EMAIL PROTECTED]>
 Objet: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 1
> Released
 À: "XWiki Users" ,
"XWiki
>>> Developers" <[EMAIL PROTECTED]>
 Date: Mardi 21 Octobre 2008, 21h56

 The XWiki development team is pleased to announce the
>  release of
 XWiki
 Enterprise 1.7 Milestone 1.

 Go grab it at
http://www.xwiki.org/xwiki/bin/view/Main/Download

 First milestone of the XWiki Enterprise 1.7 version.

 Main changes:

 * Work in progress on the new XWiki Syntax v2.0
 * XWiki Syntax 2.0 allow wiki syntax inside links
 * Work in progress on the new experimental WYSIWYG editor.

 Important bug fixes:

 * Saving a blank wiki page throws exception in Oracle
 * Registration is still possible when right to register for
 Unregistered user is explicit set to de

Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released

2008-10-22 Thread Jean-Vincent Drean
I was about to answer to your "Panel Wizard problem" email, I can't
reproduce the problem but it could be on your side if you've
modifications on templates and skin.

On Wed, Oct 22, 2008 at 3:46 PM, Azzedine Ait Khelifa
<[EMAIL PROTECTED]> wrote:
>
> Thanx ! I have it in previous version ... And now the Panel Wizard seem
> working ...
>
> Perhaps And now I can work on template and skins :)
>
> Regards,
>
> AAK
>
> --- En date de : Mer 22.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a écrit 
> :
>
> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1
> Released
> À: [EMAIL PROTECTED], "XWiki Users" 
> Date: Mercredi 22 Octobre 2008, 15h29
>
> Hi,
>
> You need to have the MySQL JDBC Driver JAR (named
> mysql-connector-java*.jar installed in XWiki's WAR file. If this file
> isn't present in XWiki's WEB-INF/lib directory you'll need to
> download
> it and copy it
>  there.
> Quoted from
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL
>
> JV.
>
> On Wed, Oct 22, 2008 at 3:24 PM, Azzedine Ait Khelifa
> <[EMAIL PROTECTED]> wrote:
>>
>> I have an issue ...
>>
>> The mysql driver mysql-connector-java-5.1.6-bin is missing in the last
> install XWiki Enterprise 1.7 Milestone 1 Released in the WEB-INF\lib
> directory ...
>>
>> Regards;
>>
>> AAK
>>
>>
>> --- En date de : Mer 22.10.08, Vincent Massol <[EMAIL PROTECTED]> a
> écrit :
>> De: Vincent Massol <[EMAIL PROTECTED]>
>> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1
> Released
>> À: [EMAIL PROTECTED], "XWiki Users" 
>> Date: Mercredi 22 Octobre 2008, 15h06
>>
>> On Oct 22, 2008, at 2:51 PM, Azzedine Ait Khelifa wrote:
>>
>>>
>>> Hi
>  Jean-vincent,
>>>
>>> I uninstall et reinstall ...
>>>
>>> it's working !
>>>
>>> But when I change the hibernate.cfg.xml settings to point to mysql
>>> Db ...
>>>
>>> I have a new error
>>> HTTP ERROR: 500Error number 3 in 0: Could not initialize main XWiki
>>> context
>>> Wrapped Exception: Error number 3001 in 3: Cannot load class
>>> com
>>> .xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
>>> from param xwiki.store.migration.manager.class
>>
>> I think this mean you have a wiki.store.migration.manager.class
>> parameter defined in your xwiki.cfg and it's not valid. Just remove
> it.
>>
>> Maybe you've tried to do some fancy stuff in the past? :)
>>
>> Thanks
>> -Vincent
>>
>>>
>>> Wrapped Exception: Error number 0 in 3: Exception while
>  hibernate
>>> execute
>>> Wrapped Exception: Could not parse mapping document from resource
>>> xwiki.hbm.xml
>>> RequestURI=/xwiki/bin/view/Main/
>>> The database is from an undermined previous version ... I thinck <
>>> 1.6 ...
>>>
>>>
>>> --- En date de : Mer 22.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]>
> a
>>> écrit :
>>> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
>>> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1
>>> Released
>>> À: [EMAIL PROTECTED], "XWiki Users"
> 
>>> Date: Mercredi 22 Octobre 2008, 13h23
>>>
>>> Hi,
>>>
>>> I'm not able to reproduce with
>>> xwiki-enterprise-hsqldb-1.7-milestone-1, can you give use some details
>>> like :
>>> - which distribution are you using ?
>>> - have you done a
>  migration from a previous version ?
>>>
>>> Thanks,
>>> JV.
>>>
>>> On Wed, Oct 22, 2008 at 12:55 PM, Azzedine Ait Khelifa
>>> <[EMAIL PROTECTED]> wrote:
 HTTP ERROR: 500Failed to load component
>>> [org.xwiki.rendering.parser.SyntaxFactory] for hint [default]
 RequestURI=/xwiki/bin/view/Main/
 Powered by Jetty://

 --- En date de : Mar 21.10.08, Jean-Vincent Drean
> <[EMAIL PROTECTED]>
>> a
>>> écrit :
 De: Jean-Vincent Drean <[EMAIL PROTECTED]>
 Objet: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 1
> Released
 À: "XWiki Users" , "XWiki
>>> Developers" <[EMAIL PROTECTED]>
 Date: Mardi 21 Octobre 2008, 21h56

 The XWiki development team is pleased to announce the
>  release of
 XWiki
 Enterprise 1.7 Milestone 1.

 Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

 First milestone of the XWiki Enterprise 1.7 version.

 Main changes:

 * Work in progress on the new XWiki Syntax v2.0
 * XWiki Syntax 2.0 allow wiki syntax inside links
 * Work in progress on the new experimental WYSIWYG editor.

 Important bug fixes:

 * Saving a blank wiki page throws exception in Oracle
 * Registration is still possible when right to register for
 Unregistered user is explicit set to deny
 * Documents with name with spaces or other special chars can't
 properly save added image in WYSIWYG editor
 * Support of
>  dots in ldap login has introduce a security hole

 Note that general goals for XWiki Enterprise 1.7 are:

 * Working and usable (i.e. users can use them for their day to day
 work instead of the old Syntax and old WYSIWYG editor) versions of
 new
 rendering and new WYSIW

Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released

2008-10-22 Thread Jean-Vincent Drean
Hi,

You need to have the MySQL JDBC Driver JAR (named
mysql-connector-java*.jar installed in XWiki's WAR file. If this file
isn't present in XWiki's WEB-INF/lib directory you'll need to download
it and copy it there.
Quoted from 
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL

JV.

On Wed, Oct 22, 2008 at 3:24 PM, Azzedine Ait Khelifa
<[EMAIL PROTECTED]> wrote:
>
> I have an issue ...
>
> The mysql driver mysql-connector-java-5.1.6-bin is missing in the last 
> install XWiki Enterprise 1.7 Milestone 1 Released in the WEB-INF\lib 
> directory ...
>
> Regards;
>
> AAK
>
>
> --- En date de : Mer 22.10.08, Vincent Massol <[EMAIL PROTECTED]> a écrit :
> De: Vincent Massol <[EMAIL PROTECTED]>
> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released
> À: [EMAIL PROTECTED], "XWiki Users" 
> Date: Mercredi 22 Octobre 2008, 15h06
>
> On Oct 22, 2008, at 2:51 PM, Azzedine Ait Khelifa wrote:
>
>>
>> Hi Jean-vincent,
>>
>> I uninstall et reinstall ...
>>
>> it's working !
>>
>> But when I change the hibernate.cfg.xml settings to point to mysql
>> Db ...
>>
>> I have a new error
>> HTTP ERROR: 500Error number 3 in 0: Could not initialize main XWiki
>> context
>> Wrapped Exception: Error number 3001 in 3: Cannot load class
>> com
>> .xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
>> from param xwiki.store.migration.manager.class
>
> I think this mean you have a wiki.store.migration.manager.class
> parameter defined in your xwiki.cfg and it's not valid. Just remove it.
>
> Maybe you've tried to do some fancy stuff in the past? :)
>
> Thanks
> -Vincent
>
>>
>> Wrapped Exception: Error number 0 in 3: Exception while hibernate
>> execute
>> Wrapped Exception: Could not parse mapping document from resource
>> xwiki.hbm.xml
>> RequestURI=/xwiki/bin/view/Main/
>> The database is from an undermined previous version ... I thinck <
>> 1.6 ...
>>
>>
>> --- En date de : Mer 22.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a
>> écrit :
>> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
>> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1
>> Released
>> À: [EMAIL PROTECTED], "XWiki Users" 
>> Date: Mercredi 22 Octobre 2008, 13h23
>>
>> Hi,
>>
>> I'm not able to reproduce with
>> xwiki-enterprise-hsqldb-1.7-milestone-1, can you give use some details
>> like :
>> - which distribution are you using ?
>> - have you done a migration from a previous version ?
>>
>> Thanks,
>> JV.
>>
>> On Wed, Oct 22, 2008 at 12:55 PM, Azzedine Ait Khelifa
>> <[EMAIL PROTECTED]> wrote:
>>> HTTP ERROR: 500Failed to load component
>> [org.xwiki.rendering.parser.SyntaxFactory] for hint [default]
>>> RequestURI=/xwiki/bin/view/Main/
>>> Powered by Jetty://
>>>
>>> --- En date de : Mar 21.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]>
> a
>> écrit :
>>> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
>>> Objet: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 1 Released
>>> À: "XWiki Users" , "XWiki
>> Developers" <[EMAIL PROTECTED]>
>>> Date: Mardi 21 Octobre 2008, 21h56
>>>
>>> The XWiki development team is pleased to announce the release of
>>> XWiki
>>> Enterprise 1.7 Milestone 1.
>>>
>>> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>>>
>>> First milestone of the XWiki Enterprise 1.7 version.
>>>
>>> Main changes:
>>>
>>> * Work in progress on the new XWiki Syntax v2.0
>>> * XWiki Syntax 2.0 allow wiki syntax inside links
>>> * Work in progress on the new experimental WYSIWYG editor.
>>>
>>> Important bug fixes:
>>>
>>> * Saving a blank wiki page throws exception in Oracle
>>> * Registration is still possible when right to register for
>>> Unregistered user is explicit set to deny
>>> * Documents with name with spaces or other special chars can't
>>> properly save added image in WYSIWYG editor
>>> * Support of dots in ldap login has introduce a security hole
>>>
>>> Note that general goals for XWiki Enterprise 1.7 are:
>>>
>>> * Working and usable (i.e. users can use them for their day to day
>>> work instead of the old Syntax and old WYSIWYG editor) versions of
>>> new
>>> rendering and new WYSIWYG editor.
>>> * Working JCR (can be used for day to day work instead of Hibernate).
>>> * French XE
>>> * Blog revamping
>>> * Webdav integration
>>>
>>> For more information see the Release notes at:
>>>
> http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M1
>>>
>>> Thanks,
>>> The XWiki dev 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
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released

2008-10-22 Thread Azzedine Ait Khelifa

I have an issue ...

The mysql driver mysql-connector-java-5.1.6-bin is missing in the last install 
XWiki Enterprise 1.7 Milestone 1 Released in the WEB-INF\lib directory ...

Regards;

AAK


--- En date de : Mer 22.10.08, Vincent Massol <[EMAIL PROTECTED]> a écrit :
De: Vincent Massol <[EMAIL PROTECTED]>
Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released
À: [EMAIL PROTECTED], "XWiki Users" 
Date: Mercredi 22 Octobre 2008, 15h06

On Oct 22, 2008, at 2:51 PM, Azzedine Ait Khelifa wrote:

>
> Hi Jean-vincent,
>
> I uninstall et reinstall ...
>
> it's working !
>
> But when I change the hibernate.cfg.xml settings to point to mysql  
> Db ...
>
> I have a new error
> HTTP ERROR: 500Error number 3 in 0: Could not initialize main XWiki  
> context
> Wrapped Exception: Error number 3001 in 3: Cannot load class  
> com 
> .xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager  
> from param xwiki.store.migration.manager.class

I think this mean you have a wiki.store.migration.manager.class  
parameter defined in your xwiki.cfg and it's not valid. Just remove it.

Maybe you've tried to do some fancy stuff in the past? :)

Thanks
-Vincent

>
> Wrapped Exception: Error number 0 in 3: Exception while hibernate  
> execute
> Wrapped Exception: Could not parse mapping document from resource  
> xwiki.hbm.xml
> RequestURI=/xwiki/bin/view/Main/
> The database is from an undermined previous version ... I thinck <  
> 1.6 ...
>
>
> --- En date de : Mer 22.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a  
> écrit :
> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1  
> Released
> À: [EMAIL PROTECTED], "XWiki Users" 
> Date: Mercredi 22 Octobre 2008, 13h23
>
> Hi,
>
> I'm not able to reproduce with
> xwiki-enterprise-hsqldb-1.7-milestone-1, can you give use some details
> like :
> - which distribution are you using ?
> - have you done a migration from a previous version ?
>
> Thanks,
> JV.
>
> On Wed, Oct 22, 2008 at 12:55 PM, Azzedine Ait Khelifa
> <[EMAIL PROTECTED]> wrote:
>> HTTP ERROR: 500Failed to load component
> [org.xwiki.rendering.parser.SyntaxFactory] for hint [default]
>> RequestURI=/xwiki/bin/view/Main/
>> Powered by Jetty://
>>
>> --- En date de : Mar 21.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]>
a
> écrit :
>> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
>> Objet: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 1 Released
>> À: "XWiki Users" , "XWiki
> Developers" <[EMAIL PROTECTED]>
>> Date: Mardi 21 Octobre 2008, 21h56
>>
>> The XWiki development team is pleased to announce the release of  
>> XWiki
>> Enterprise 1.7 Milestone 1.
>>
>> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>>
>> First milestone of the XWiki Enterprise 1.7 version.
>>
>> Main changes:
>>
>> * Work in progress on the new XWiki Syntax v2.0
>> * XWiki Syntax 2.0 allow wiki syntax inside links
>> * Work in progress on the new experimental WYSIWYG editor.
>>
>> Important bug fixes:
>>
>> * Saving a blank wiki page throws exception in Oracle
>> * Registration is still possible when right to register for
>> Unregistered user is explicit set to deny
>> * Documents with name with spaces or other special chars can't
>> properly save added image in WYSIWYG editor
>> * Support of dots in ldap login has introduce a security hole
>>
>> Note that general goals for XWiki Enterprise 1.7 are:
>>
>> * Working and usable (i.e. users can use them for their day to day
>> work instead of the old Syntax and old WYSIWYG editor) versions of  
>> new
>> rendering and new WYSIWYG editor.
>> * Working JCR (can be used for day to day work instead of Hibernate).
>> * French XE
>> * Blog revamping
>> * Webdav integration
>>
>> For more information see the Release notes at:
>>
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M1
>>
>> Thanks,
>> The XWiki dev 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] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released

2008-10-22 Thread Vincent Massol

On Oct 22, 2008, at 2:51 PM, Azzedine Ait Khelifa wrote:

>
> Hi Jean-vincent,
>
> I uninstall et reinstall ...
>
> it's working !
>
> But when I change the hibernate.cfg.xml settings to point to mysql  
> Db ...
>
> I have a new error
> HTTP ERROR: 500Error number 3 in 0: Could not initialize main XWiki  
> context
> Wrapped Exception: Error number 3001 in 3: Cannot load class  
> com 
> .xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager  
> from param xwiki.store.migration.manager.class

I think this mean you have a wiki.store.migration.manager.class  
parameter defined in your xwiki.cfg and it's not valid. Just remove it.

Maybe you've tried to do some fancy stuff in the past? :)

Thanks
-Vincent

>
> Wrapped Exception: Error number 0 in 3: Exception while hibernate  
> execute
> Wrapped Exception: Could not parse mapping document from resource  
> xwiki.hbm.xml
> RequestURI=/xwiki/bin/view/Main/
> The database is from an undermined previous version ... I thinck <  
> 1.6 ...
>
>
> --- En date de : Mer 22.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a  
> écrit :
> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
> Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1  
> Released
> À: [EMAIL PROTECTED], "XWiki Users" 
> Date: Mercredi 22 Octobre 2008, 13h23
>
> Hi,
>
> I'm not able to reproduce with
> xwiki-enterprise-hsqldb-1.7-milestone-1, can you give use some details
> like :
> - which distribution are you using ?
> - have you done a migration from a previous version ?
>
> Thanks,
> JV.
>
> On Wed, Oct 22, 2008 at 12:55 PM, Azzedine Ait Khelifa
> <[EMAIL PROTECTED]> wrote:
>> HTTP ERROR: 500Failed to load component
> [org.xwiki.rendering.parser.SyntaxFactory] for hint [default]
>> RequestURI=/xwiki/bin/view/Main/
>> Powered by Jetty://
>>
>> --- En date de : Mar 21.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a
> écrit :
>> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
>> Objet: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 1 Released
>> À: "XWiki Users" , "XWiki
> Developers" <[EMAIL PROTECTED]>
>> Date: Mardi 21 Octobre 2008, 21h56
>>
>> The XWiki development team is pleased to announce the release of  
>> XWiki
>> Enterprise 1.7 Milestone 1.
>>
>> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>>
>> First milestone of the XWiki Enterprise 1.7 version.
>>
>> Main changes:
>>
>> * Work in progress on the new XWiki Syntax v2.0
>> * XWiki Syntax 2.0 allow wiki syntax inside links
>> * Work in progress on the new experimental WYSIWYG editor.
>>
>> Important bug fixes:
>>
>> * Saving a blank wiki page throws exception in Oracle
>> * Registration is still possible when right to register for
>> Unregistered user is explicit set to deny
>> * Documents with name with spaces or other special chars can't
>> properly save added image in WYSIWYG editor
>> * Support of dots in ldap login has introduce a security hole
>>
>> Note that general goals for XWiki Enterprise 1.7 are:
>>
>> * Working and usable (i.e. users can use them for their day to day
>> work instead of the old Syntax and old WYSIWYG editor) versions of  
>> new
>> rendering and new WYSIWYG editor.
>> * Working JCR (can be used for day to day work instead of Hibernate).
>> * French XE
>> * Blog revamping
>> * Webdav integration
>>
>> For more information see the Release notes at:
>> http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M1
>>
>> Thanks,
>> The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released

2008-10-22 Thread Azzedine Ait Khelifa

Hi Jean-vincent,

I uninstall et reinstall ...

it's working !

But when I change the hibernate.cfg.xml settings to point to mysql Db ...

I have a new error  
HTTP ERROR: 500Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class 
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from 
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not parse mapping document from resource xwiki.hbm.xml
RequestURI=/xwiki/bin/view/Main/
The database is from an undermined previous version ... I thinck < 1.6 ...


--- En date de : Mer 22.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a écrit :
De: Jean-Vincent Drean <[EMAIL PROTECTED]>
Objet: Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released
À: [EMAIL PROTECTED], "XWiki Users" 
Date: Mercredi 22 Octobre 2008, 13h23

Hi,

I'm not able to reproduce with
xwiki-enterprise-hsqldb-1.7-milestone-1, can you give use some details
like :
 - which distribution are you using ?
 - have you done a migration from a previous version ?

Thanks,
JV.

On Wed, Oct 22, 2008 at 12:55 PM, Azzedine Ait Khelifa
<[EMAIL PROTECTED]> wrote:
> HTTP ERROR: 500Failed to load component
[org.xwiki.rendering.parser.SyntaxFactory] for hint [default]
> RequestURI=/xwiki/bin/view/Main/
> Powered by Jetty://
>
> --- En date de : Mar 21.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a
écrit :
> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
> Objet: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 1 Released
> À: "XWiki Users" , "XWiki
Developers" <[EMAIL PROTECTED]>
> Date: Mardi 21 Octobre 2008, 21h56
>
> The XWiki development team is pleased to announce the release of XWiki
> Enterprise 1.7 Milestone 1.
>
> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>
> First milestone of the XWiki Enterprise 1.7 version.
>
> Main changes:
>
>  * Work in progress on the new XWiki Syntax v2.0
>  * XWiki Syntax 2.0 allow wiki syntax inside links
>  * Work in progress on the new experimental WYSIWYG editor.
>
> Important bug fixes:
>
>  * Saving a blank wiki page throws exception in Oracle
>  * Registration is still possible when right to register for
> Unregistered user is explicit set to deny
>  * Documents with name with spaces or other special chars can't
> properly save added image in WYSIWYG editor
>  * Support of dots in ldap login has introduce a security hole
>
> Note that general goals for XWiki Enterprise 1.7 are:
>
>  * Working and usable (i.e. users can use them for their day to day
> work instead of the old Syntax and old WYSIWYG editor) versions of new
> rendering and new WYSIWYG editor.
>  * Working JCR (can be used for day to day work instead of Hibernate).
>  * French XE
>  * Blog revamping
>  * Webdav integration
>
> For more information see the Release notes at:
> http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M1
>
> Thanks,
> The XWiki dev 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



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


Re: [xwiki-users] API function for setting document categories (Workspaces)

2008-10-22 Thread Jean-Vincent Drean
On Mon, Oct 20, 2008 at 11:17 AM, Bey Youcef <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> How to "get" and "set" category of documents using the XWiki API.
>

I guess you're talking about XWS here, right ?

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


Re: [xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released

2008-10-22 Thread Jean-Vincent Drean
Hi,

I'm not able to reproduce with
xwiki-enterprise-hsqldb-1.7-milestone-1, can you give use some details
like :
 - which distribution are you using ?
 - have you done a migration from a previous version ?

Thanks,
JV.

On Wed, Oct 22, 2008 at 12:55 PM, Azzedine Ait Khelifa
<[EMAIL PROTECTED]> wrote:
> HTTP ERROR: 500Failed to load component 
> [org.xwiki.rendering.parser.SyntaxFactory] for hint [default]
> RequestURI=/xwiki/bin/view/Main/
> Powered by Jetty://
>
> --- En date de : Mar 21.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a écrit 
> :
> De: Jean-Vincent Drean <[EMAIL PROTECTED]>
> Objet: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 1 Released
> À: "XWiki Users" , "XWiki Developers" <[EMAIL PROTECTED]>
> Date: Mardi 21 Octobre 2008, 21h56
>
> The XWiki development team is pleased to announce the release of XWiki
> Enterprise 1.7 Milestone 1.
>
> Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
>
> First milestone of the XWiki Enterprise 1.7 version.
>
> Main changes:
>
>  * Work in progress on the new XWiki Syntax v2.0
>  * XWiki Syntax 2.0 allow wiki syntax inside links
>  * Work in progress on the new experimental WYSIWYG editor.
>
> Important bug fixes:
>
>  * Saving a blank wiki page throws exception in Oracle
>  * Registration is still possible when right to register for
> Unregistered user is explicit set to deny
>  * Documents with name with spaces or other special chars can't
> properly save added image in WYSIWYG editor
>  * Support of dots in ldap login has introduce a security hole
>
> Note that general goals for XWiki Enterprise 1.7 are:
>
>  * Working and usable (i.e. users can use them for their day to day
> work instead of the old Syntax and old WYSIWYG editor) versions of new
> rendering and new WYSIWYG editor.
>  * Working JCR (can be used for day to day work instead of Hibernate).
>  * French XE
>  * Blog revamping
>  * Webdav integration
>
> For more information see the Release notes at:
> http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M1
>
> Thanks,
> The XWiki dev 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


[xwiki-users] Re : [ANN] XWiki Enterprise 1.7 Milestone 1 Released

2008-10-22 Thread Azzedine Ait Khelifa
HTTP ERROR: 500Failed to load component 
[org.xwiki.rendering.parser.SyntaxFactory] for hint [default]
RequestURI=/xwiki/bin/view/Main/
Powered by Jetty://

--- En date de : Mar 21.10.08, Jean-Vincent Drean <[EMAIL PROTECTED]> a écrit :
De: Jean-Vincent Drean <[EMAIL PROTECTED]>
Objet: [xwiki-users] [ANN] XWiki Enterprise 1.7 Milestone 1 Released
À: "XWiki Users" , "XWiki Developers" <[EMAIL PROTECTED]>
Date: Mardi 21 Octobre 2008, 21h56

The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7 Milestone 1.

Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

First milestone of the XWiki Enterprise 1.7 version.

Main changes:

 * Work in progress on the new XWiki Syntax v2.0
 * XWiki Syntax 2.0 allow wiki syntax inside links
 * Work in progress on the new experimental WYSIWYG editor.

Important bug fixes:

 * Saving a blank wiki page throws exception in Oracle
 * Registration is still possible when right to register for
Unregistered user is explicit set to deny
 * Documents with name with spaces or other special chars can't
properly save added image in WYSIWYG editor
 * Support of dots in ldap login has introduce a security hole

Note that general goals for XWiki Enterprise 1.7 are:

 * Working and usable (i.e. users can use them for their day to day
work instead of the old Syntax and old WYSIWYG editor) versions of new
rendering and new WYSIWYG editor.
 * Working JCR (can be used for day to day work instead of Hibernate).
 * French XE
 * Blog revamping
 * Webdav integration

For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise17M1

Thanks,
The XWiki dev 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


[xwiki-users] [ANN] XWiki Enterprise Manager 1.4 released

2008-10-22 Thread Thomas Mortagne
The XWiki development team is pleased to announce the release of XWiki
Enterprise Manager 1.4.

Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download

This release is based on XWiki Enterprise 1.6.1.

Changes from 1.3:

* As usual the main news is on XE side (from 1.5.1 to 1.6.1)
* Some UI improvements on information panels

For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM14

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users