Re: [xwiki-users] [xwiki-devs] [Proposal] Rights Management UI

2010-06-01 Thread Denis Gervalle
Caty,

I probably have an issue with my browser (Chrome/Mac) but I cannot see the
icons :(
Anyway this seem to me nice, but I am not sure you should prevent changing
rights in summary mode. I think that summary mode should allow simple right
management, and for 'casual' or less knowledgeable users, this should be the
only mode used. This is not only a summary, but also a simplified interface.

WDYT ?

Denis

On Mon, May 31, 2010 at 16:54, Ecaterina Valica vali...@gmail.com wrote:

 On Mon, May 31, 2010 at 17:53, Ecaterina Valica vali...@gmail.com wrote:

  Hi,
 
  Summary Icons for standard rights:
 
  *Space Level:*
  http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights42Space
  *Wiki Level*:
  http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights4Proposal
 

 Sorry: link for Wiki is
 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights42Wiki


 
  Bug:
  - when clicking on more next to the summary, all columns should expand,
  not just one column at a time.
 
  Missing:
  - expand/collapse all + pagination, etc
 
  Remarks:
  - Summary view is good for quick scanning of the rights. Rights
 management
  (changing) and inheritance explanations are available in expanded view.
  - Icons presented just for: view, comment, edit, delete, admin, register,
  programming. Extended rights|Expand mode are represented by ... (more)
 
  Thanks,
  Caty
 
 
  On Thu, May 27, 2010 at 11:26, Denis Gervalle d...@softec.lu wrote:
 
  On Thu, May 27, 2010 at 09:57, Ecaterina Valica vali...@gmail.com
  wrote:
 
   Hi,
  
   I want to talk a bit about:
  
The inheritance is a little bit particular, since allowing a given
  right
   at
lower level, will deny that same right for anybody else even if this
   right
is allowed at a higher level.
   
  
   I want to know how hard this would be to be changed.
  
 
  Changing this is not hard, but it will increase complexity since we will
  need a backward compatibility mode for existing wikis.
 
 
   Another question is why this has been done in the first place? Can
  someone
   give a valid use case when this is more productive than other ways.
  
 
  I really do not know, and I am curious as well.
 
 
   It is very confusing and users need to do additional steps in order to
  give
   the rights they want.
  
 
  I completely agree, this is poor.
 
  I think is a problem of how the Groups are perceived. Only as a rights
   mechanism or as a semantically grouping.
  
 
  We should not decide this, since groups maybe synchronized from external
  system (ie LDAP), imposing groups for rights is not correct. By the way,
  groups may contains groups, but I am almost sure that this will work
  properly in practice.
 
 
   If we use groups just to give rights than the current implementation
 is
   usable. But if you have groups, like Tech team, Design team,
 Marketing,
   Happy team ... etc in order to classify our users in other ways beside
   rights management, giving permission to a user is breaking all the
   inheritance from upper levels.
  
Example:
   Group A(Managers) has View (default allowed) at wiki level - this
 means
   that
   they should be allowed to view all the pages in the wiki.
   Group B(Tech Team) has View (explicitly denied) at spaceX level - this
   means
   they shouldn't be allowed to view this space.
  
   But I have a person (the managerX) in Group B that is supposed to see
  the
   info in spaceX level. So the first logical move would be to give him
  allow
   at space level (having in mind that space rights are stronger that
 wiki
   rights and the view right has been overriden). But, if I give managerX
  view
   right, all the other groups (incluing Managers) will be denied for
  spaceX
   level. This means I need to know that and repair again all the
 rights
  I
   ALREADY set at the higher level.
  
   This behavior is not logical for me.
  
 
  It is not logical for me and I imagine many others !
 
 
  
   A solution would be to take out managerX form Group B and leave it
 just
  in
   Managers group. Yes, this way my problem is solved, but this means
  Groups
   are only used for Rights purposes. Group B (Tech Team) is no longer
   semantically compact and I can't further give this group compact
 tasks,
   etc.
  
   Please tell if is a way to change this behavior and please have in
 mind
   XWiki 3.0, where Groups are going beyond rights management and they
  should
   be seen as collaboration mechanisms (which need to be semantical).
  
 
  IMO, XWiki 3.0 should have a complete rework of the right service
  implementation, and breaks with the past.
  Since this will cause many migration issue, I am not in favor of
  progressive
  changes, and I would prefer to see a big single change that fix this,
 and
  also the current discussion on script rights.
 
  Denis
 
  Rights should be inherited from upper level and should affect only the
   user/group where a change is made, not make some complicated
  

[xwiki-users] log4j doesn't log information about LDAP connection

2010-06-01 Thread kumart

Hi,

we tried to connect our xwiki (version 2.2.2.) to our ActiveDirectory Server
(LDAP).
That failed. So we wanted to use log4j for logging the activities. We
configured it as described in the xwiki documentation. (Adding an
log4j.properties and the debug strings for LDAP.) But there are no
information about the LDAP connection or failures in the xwiki.log.

Did we forget something important?

Hoping for your help.
Martin

PS: We use Xwiki 2.2.2., tomcat 5.5 and MySQL
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/log4j-doesn-t-log-information-about-LDAP-connection-tp5124868p5124868.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] log4j doesn't log information about LDAP connection

2010-06-01 Thread Thomas Mortagne
On Tue, Jun 1, 2010 at 09:43, kumart kunze.mar...@yahoo.de wrote:

 Hi,

 we tried to connect our xwiki (version 2.2.2.) to our ActiveDirectory Server
 (LDAP).
 That failed. So we wanted to use log4j for logging the activities. We
 configured it as described in the xwiki documentation. (Adding an
 log4j.properties and the debug strings for LDAP.) But there are no
 information about the LDAP connection or failures in the xwiki.log.

 Did we forget something important?

Where did you put the log4j.properties file ?

Did you properly enabled LDAP ayhenticator (with property
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl)
?


 Hoping for your help.
 Martin

 PS: We use Xwiki 2.2.2., tomcat 5.5 and MySQL
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/log4j-doesn-t-log-information-about-LDAP-connection-tp5124868p5124868.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




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


Re: [xwiki-users] log4j doesn't log information about LDAP connection

2010-06-01 Thread Martin Kunze
Hello Thomas,

Where did you put the log4j.properties file ?

I put the log4j.properties file in the '/WEB-INF/classes/' directory.
The xwiki.log also isn't empty and shows e.g. all *.jar files which are used by 
running xwiki and loaded on startup of tomcat.  

Did you properly enabled LDAP ayhenticator (with property
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl)?

Yes, I did it like that and also set the following properties in xwiki:

xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
 
xwiki.authentication.ldap=1 
xwiki.authentication.ldap.server=IP-Adress
xwiki.authentication.ldap.port=389 
xwiki.authentication.ldap.base_DN=dc=domain,dc=suffix 
xwiki.authentication.ldap.bind_DN=domain\{0} 
xwiki.authentication.ldap.bind_pass={1} 
xwiki.authentication.ldap.UID_attr=sAMAccountName 
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn 
 
But our xwiki server seems not to connect to the AD-Server...
--
Martin

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


Re: [xwiki-users] log4j doesn't log information about LDAP connection

2010-06-01 Thread Gregor Schneider
Sorry to jump into this discussion, but I do have a suggestion:

Currently (in version 2.3), the log4j.properties are in the archive
xwiki-core-2.3.jar.

If I want to change the setting, I have to un-jar the archive, change
the log4j.properties, re-jar the archive, but it back in place and
restart the server.

I believe that this is quite a hazzle, esp. since XWiki logs even
INFO: In a production-environment you would not want this to create a
multi-MEG-file of logging-stuff.

So why not simply remove that log4j.properties from the jar-archive
and put it into WEB-INF/classes? That would make life a whole lot
easier for all of us.

Cheers

Gregor
-- 
just because you're paranoid, don't mean they're not after you...
gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2
gpgp-key available
@ http://pgpkeys.pca.dfn.de:11371
@ http://pgp.mit.edu:11371/
skype:rc46fi
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] log4j doesn't log information about LDAP connection

2010-06-01 Thread Thomas Mortagne
On Tue, Jun 1, 2010 at 11:22, Martin Kunze kunze.mar...@yahoo.de wrote:
 Hello Thomas,

Where did you put the log4j.properties file ?

 I put the log4j.properties file in the '/WEB-INF/classes/' directory.
 The xwiki.log also isn't empty and shows e.g. all *.jar files which are used 
 by running xwiki and loaded on startup of tomcat.


Try setting trace level instead of debug and see if you have
Starting LDAP authentication to really make sure you don't have log
because of some very magical authenticator bug, that way we will at
least know we have to focus in logging.

Did you properly enabled LDAP ayhenticator (with property
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl)?

 Yes, I did it like that and also set the following properties in xwiki:

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

Make sure the xwiki.authentication.authclass proparty is not set
anywhere else in the xwiki.cfg file.

 xwiki.authentication.ldap=1
 xwiki.authentication.ldap.server=IP-Adress
 xwiki.authentication.ldap.port=389
 xwiki.authentication.ldap.base_DN=dc=domain,dc=suffix
 xwiki.authentication.ldap.bind_DN=domain\{0}
 xwiki.authentication.ldap.bind_pass={1}
 xwiki.authentication.ldap.UID_attr=sAMAccountName
 xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,email=mail,ldap_dn=dn

 But our xwiki server seems not to connect to the AD-Server...
 --
 Martin

 ___
 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


[xwiki-users] Warning at the start

2010-06-01 Thread Ben Stuggler

Hello, 

When I start XWiki, all is working but I have a lot of warning in the log.
I'm wondering if it's really dangerous or how I can fix it. If somebody
could help me.

I put the warnings log under.

Thanks

Regards

Ben

2010-06-01 12:15:50,800 [main] WARN  tion.ComponentAnnotationLoader  -
Component [com.xpn.xwiki.internal.DefaultCoreConfiguration] is being
overwritten by component [com.xpn.xwiki.internal.DefaultCoreConfiguration]
for Role/Hint [role = [com.xpn.xwiki.CoreConfiguration] hint = [default]].
It will not be possible to look it up. 
2010-06-01 12:15:50,802 [main] WARN  tion.ComponentAnnotationLoader  -
Component [com.xpn.xwiki.render.DefaultVelocityManager] is being overwritten
by component [com.xpn.xwiki.render.DefaultVelocityManager] for Role/Hint
[role = [org.xwiki.velocity.VelocityManager] hint = [default]]. It will not
be possible to look it up. 
2010-06-01 12:15:50,802 [main] WARN  tion.ComponentAnnotationLoader  -
Component [com.xpn.xwiki.render.XWikiVelocityContextInitializer] is being
overwritten by component
[com.xpn.xwiki.render.XWikiVelocityContextInitializer] for Role/Hint [role =
[org.xwiki.velocity.VelocityContextInitializer] hint = [xwiki]]. It will not
be possible to look it up. 
2010-06-01 12:15:50,803 [main] WARN  tion.ComponentAnnotationLoader  -
Component [com.xpn.xwiki.render.XWikiScriptContextInitializer] is being
overwritten by component
[com.xpn.xwiki.render.XWikiScriptContextInitializer] for Role/Hint [role =
[org.xwiki.script.ScriptContextInitializer] hint = [xwiki]]. It will not be
possible to look it up. 
2010-06-01 12:15:50,810 [main] WARN  tion.ComponentAnnotationLoader  -
Component [com.xpn.xwiki.doc.DefaultDocumentAccessBridge] is being
overwritten by component [com.xpn.xwiki.doc.DefaultDocumentAccessBridge] for
Role/Hint [role = [org.xwiki.bridge.DocumentAccessBridge] hint = [default]].
It will not be possible to look it up. 
2010-06-01 12:15:50,817 [main] WARN  tion.ComponentAnnotationLoader  -
Component
[com.xpn.xwiki.internal.model.reference.CurrentEntityReferenceValueProvider]
is being overwritten by component
[com.xpn.xwiki.internal.model.reference.CurrentEntityReferenceValueProvider]
for Role/Hint [role =
[org.xwiki.model.reference.EntityReferenceValueProvider] hint = [current]].
It will not be possible to look it up. 
2010-06-01 12:15:50,825 [main] WARN  tion.ComponentAnnotationLoader  -
Component
[com.xpn.xwiki.internal.model.reference.CurrentMixedEntityReferenceValueProvider]
is being overwritten by component
[com.xpn.xwiki.internal.model.reference.CurrentMixedEntityReferenceValueProvider]
for Role/Hint [role =
[org.xwiki.model.reference.EntityReferenceValueProvider] hint =
[currentmixed]]. It will not be possible to look it up. 
2010-06-01 12:15:50,832 [main] WARN  tion.ComponentAnnotationLoader  -
Component
[com.xpn.xwiki.internal.model.reference.CurrentMixedReferenceEntityReferenceResolver]
is being overwritten by component
[com.xpn.xwiki.internal.model.reference.CurrentMixedReferenceEntityReferenceResolver]
for Role/Hint [role = [org.xwiki.model.reference.EntityReferenceResolver]
hint = [currentmixed/reference]]. It will not be possible to look it up. 
2010-06-01 12:15:50,840 [main] WARN  tion.ComponentAnnotationLoader  -
Component
[com.xpn.xwiki.internal.model.reference.CurrentMixedReferenceDocumentReferenceResolver]
is being overwritten by component
[com.xpn.xwiki.internal.model.reference.CurrentMixedReferenceDocumentReferenceResolver]
for Role/Hint [role = [org.xwiki.model.reference.DocumentReferenceResolver]
hint = [currentmixed/reference]]. It will not be possible to look it up. 
2010-06-01 12:15:50,849 [main] WARN  tion.ComponentAnnotationLoader  -
Component
[com.xpn.xwiki.internal.model.reference.CurrentReferenceEntityReferenceResolver]
is being overwritten by component
[com.xpn.xwiki.internal.model.reference.CurrentReferenceEntityReferenceResolver]
for Role/Hint [role = [org.xwiki.model.reference.EntityReferenceResolver]
hint = [current/reference]]. It will not be possible to look it up. 
2010-06-01 12:15:50,856 [main] WARN  tion.ComponentAnnotationLoader  -
Component
[com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolver]
is being overwritten by component
[com.xpn.xwiki.internal.model.reference.CurrentStringEntityReferenceResolver]
for Role/Hint [role = [org.xwiki.model.reference.EntityReferenceResolver]
hint = [current]]. It will not be possible to look it up. 
2010-06-01 12:15:50,864 [main] WARN  tion.ComponentAnnotationLoader  -
Component
[com.xpn.xwiki.internal.model.reference.CurrentStringDocumentReferenceResolver]
is being overwritten by component
[com.xpn.xwiki.internal.model.reference.CurrentStringDocumentReferenceResolver]
for Role/Hint [role = [org.xwiki.model.reference.DocumentReferenceResolver]
hint = [current]]. It will not be possible to look it up. 
2010-06-01 12:15:50,872 [main] WARN  tion.ComponentAnnotationLoader  -
Component

Re: [xwiki-users] log4j doesn't log information about LDAP connection

2010-06-01 Thread Martin Kunze
Thomas wrote:
Make sure the xwiki.authentication.authclass proparty is not set
anywhere else in the xwiki.cfg file.

done. ;-) (All the others ar commented with an # at the beginning)

Try setting trace level instead of debug and see if you have
Starting LDAP authentication to really make sure you don't have log
because of some very magical authenticator bug, that way we will at
east know we have to focus in logging.

Good idea, but there's no Starting LDAP authentication or anything like that 
in the whole file.
For me that looks like xwiki does not try to connect to the AD at the moment.

--
Martin

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


Re: [xwiki-users] [xwiki-devs] [Proposal] Rights Management UI

2010-06-01 Thread Ecaterina Valica
On Tue, Jun 1, 2010 at 10:03, Denis Gervalle d...@softec.lu wrote:

 Caty,

 I probably have an issue with my browser (Chrome/Mac) but I cannot see the
 icons :(


Fixed: thanks.

Made some screenshots with how it suppose to look like:
- Wiki:
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/wiki42View.png
- Space:
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/space42View.png


 Anyway this seem to me nice, but I am not sure you should prevent changing
 rights in summary mode. I think that summary mode should allow simple right
 management, and for 'casual' or less knowledgeable users, this should be
 the
 only mode used. This is not only a summary, but also a simplified
 interface.

 WDYT ?


I had your vision (changing rights in summary mode) in mind when I started
prototyping. Let me show you some versions:

V1_space) First version took the exact order from the extended view (first
Allow, second Deny rights)
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/spaceTest1.png

+   this version lets the user drag its right to the appropriate column
+-  has the same representation as the extended version
---  there is no scanability: if I want to see the status of delete right
for different groups/users I have to search for them (making me dizzy :P )
+   there is no gapping space between rights

V2_space) Tried to fix the dizziness by providing same order/position for
rights
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/spaceTest2.png
+-   this version lets the user drag its right to the appropriate column,
but the user has not control over the position he choose to drop the target:
the right will appear on the column it's suppose to be
+-  doesn't have the same representation as the extended version
(allowed/denied order broke, determined order present)
+   scanability: it's easy to scan for the searched column/position
-gap space between rights: ex. evalica-DenyDelete: some users might not
like that gap and may not understand why is there (is it a bug?)

See also:
V2_wiki)
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/wikiTest2.png
V2_wiki_expanded)
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/wikiTest21.png

As you see in V2) has the same functionality as the expanded version.
The main benefit is that is occupying less space, but we still need the
expanded view for the Inherited/detailed information for each right.

The down side of version 2
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/wikiTest2.png
is that if I want to *summarize *a global state for a given right (ex see
for what users 'delete' is allowed/denied) at a global level, not at a
group/user level, the same dizziness effect appears (I have to search for
'delete' right in three columns, for all the users)

V3) is the current proposal, it compresses the 3 column spread information
in one view.
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/space42View.png
-   this version doesn't lets the user drag its right to the appropriate
column
+-  doesn't have the same representation as the extended version
+   scanability: it's easy to scan for the searched column/position at a *
global* level
+   there is no gapping space between rights

V3_wiki)
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/wikiTest3.png
is equivalent to
V2_wiki)
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/wikiTest2.png

I prefer V3) over V2):
+   Summary does what is suppose to: give a global summary of existing
rights, without being concerned of the type of the right (inherited, locally
allowed, locally denied)
+   Good Readability
+/- Doesn't allow rights to be dragged around. I prefer changing rights in
expanded mode because there you also have more information, like source of
the inheritance + 3 columns.

Being compact it's easier to understand the local source of inheritance
for a given right. For example, allowing view right for 'evalica' will
deny it for 'unregistered users' and 'registered users'. Being on the same
column is easier to look for the change and see it in action (being
highlighted).
http://incubator.myxwiki.org/xwiki/bin/download/Improvements/Rights4Proposal/space42View.png

Please tell me what you think about this rationale. It would be great if you
have ideas about how to make the summary being draggable, but also keeping
scanability and less gaps.

Thanks,
Caty


 Denis

 On Mon, May 31, 2010 at 16:54, Ecaterina Valica vali...@gmail.com wrote:

  On Mon, May 31, 2010 at 17:53, Ecaterina Valica vali...@gmail.com
 wrote:
 
   Hi,
  
   Summary Icons for standard rights:
  
   *Space Level:*
   http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights42Space
   *Wiki Level*:
  
 http://incubator.myxwiki.org/xwiki/bin/view/Improvements/Rights4Proposal
  
 

[xwiki-users] General installation topic

2010-06-01 Thread Dalluege, Pierre (extern)
Hello xwiki users,

In the past (some years ago) I was using the first timer version of
xwiki only, this was fine for development.

Now I need to run xwiki on a more professional environment, the base is
CentOS 5.5 (current and most recent version), including tomcat 5.5 and
mysql 5. Tomcat starts as service and during this startup logging claims
not to be able to create / access xwiki.log. 

When the xwiki application starts, everything looks nice, I even can
change the content, but I cannot sucessfully import the default jar
(uploadig is fine).

So, as this is the team of users, probably most of you have fixed this
issue. I can provide more detailed information on request, I wanted to
keep it as short as possible.

Just in case I could offer ssh access. Any ideas?

Best regards

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


Re: [xwiki-users] General installation topic

2010-06-01 Thread Vincent Massol
Hi Pierre,

On Jun 1, 2010, at 1:06 PM, Dalluege, Pierre (extern) wrote:

 Hello xwiki users,
 
 In the past (some years ago) I was using the first timer version of
 xwiki only, this was fine for development.
 
 Now I need to run xwiki on a more professional environment, the base is
 CentOS 5.5 (current and most recent version), including tomcat 5.5 and
 mysql 5. Tomcat starts as service and during this startup logging claims
 not to be able to create / access xwiki.log. 

You need to give permission to the user who starts tomcat to write to the 
location where the log file is.

 When the xwiki application starts, everything looks nice, I even can
 change the content, but I cannot sucessfully import the default jar
 (uploadig is fine).

I guess you meant XAR.

What version of XE and what error do you get?

Thanks
-Vincent

 
 So, as this is the team of users, probably most of you have fixed this
 issue. I can provide more detailed information on request, I wanted to
 keep it as short as possible.
 
 Just in case I could offer ssh access. Any ideas?
 
 Best regards
 
 Pierre 

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


Re: [xwiki-users] log4j doesn't log information about LDAP connection

2010-06-01 Thread Thomas Mortagne
Dumb question: did you restarted XWiki since you modified configuration files ?

On Tue, Jun 1, 2010 at 12:26, Martin Kunze kunze.mar...@yahoo.de wrote:
 Thomas wrote:
Make sure the xwiki.authentication.authclass proparty is not set
anywhere else in the xwiki.cfg file.

 done. ;-) (All the others ar commented with an # at the beginning)

Try setting trace level instead of debug and see if you have
Starting LDAP authentication to really make sure you don't have log
because of some very magical authenticator bug, that way we will at
east know we have to focus in logging.

 Good idea, but there's no Starting LDAP authentication or anything like 
 that in the whole file.
 For me that looks like xwiki does not try to connect to the AD at the moment.

 --
 Martin

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




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


Re: [xwiki-users] log4j doesn't log information about LDAP connection

2010-06-01 Thread Martin Kunze

 
Dumb question: did you restarted XWiki since you modified configuration files ?
I usually only restart Tomcat after I've modified a configuration file.

-- 
Martin

On Tue, Jun 1, 2010 at 12:26, Martin Kunze kunze.mar...@yahoo.de wrote:
 Thomas wrote:
Make sure the xwiki.authentication.authclass proparty is not set
anywhere else in the xwiki.cfg file.

 done. ;-) (All the others ar commented with an # at the beginning)

Try setting trace level instead of debug and see if you have
Starting LDAP authentication to really make sure you don't have log
because of some very magical authenticator bug, that way we will at
east know we have to focus in logging.

 Good idea, but there's no Starting LDAP authentication or anything like 
 that in the whole file.
 For me that looks like xwiki does not try to connect to the AD at the moment.

 --
 Martin

 ___
 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] log4j doesn't log information about LDAP connection

2010-06-01 Thread Thomas Mortagne
On Tue, Jun 1, 2010 at 13:47, Martin Kunze kunze.mar...@yahoo.de wrote:


Dumb question: did you restarted XWiki since you modified configuration files 
?
 I usually only restart Tomcat after I've modified a configuration file.

Yep that means restating XWiki :)

So it looks like you did all needed things o i don't have more idea
right now. Maybe someone else ?


 --
 Martin

 On Tue, Jun 1, 2010 at 12:26, Martin Kunze kunze.mar...@yahoo.de wrote:
 Thomas wrote:
Make sure the xwiki.authentication.authclass proparty is not set
anywhere else in the xwiki.cfg file.

 done. ;-) (All the others ar commented with an # at the beginning)

Try setting trace level instead of debug and see if you have
Starting LDAP authentication to really make sure you don't have log
because of some very magical authenticator bug, that way we will at
east know we have to focus in logging.

 Good idea, but there's no Starting LDAP authentication or anything like 
 that in the whole file.
 For me that looks like xwiki does not try to connect to the AD at the moment.

 --
 Martin

 ___
 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


[xwiki-users] No button to create a document template

2010-06-01 Thread Aleks87

I'm new to XWiki and trying to create a class with objects just to learn it I
want to create a Todo application like described on this page:
http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborative-Apps
http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborative-Apps
 
But then I came to the point where it says: To create the Todo Class
Template, click the Create the document template button
and I have only a Failed to execute macro: html notice instead of a
button:
http://xwiki.475771.n2.nabble.com/file/n5125841/Unbenannt.jpg 

Please help me I'm searching the hole day and can't find a solution.
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/No-button-to-create-a-document-template-tp5125841p5125841.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] No button to create a document template

2010-06-01 Thread Thomas Mortagne
On Tue, Jun 1, 2010 at 16:18, Aleks87 aleksandar-novako...@web.de wrote:


 tmortagne wrote:

 On Tue, Jun 1, 2010 at 15:17, Vincent Massol vinc...@massol.net wrote:
 Hi Aleks,

 On Jun 1, 2010, at 2:58 PM, Aleks87 wrote:


 I'm new to XWiki and trying to create a class with objects just to learn
 it I
 want to create a Todo application like described on this page:
 http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborative-Apps
 http://www.theserverside.com/news/1363830/XWiki-A-Platform-for-Collaborative-Apps
 But then I came to the point where it says: To create the Todo Class
 Template, click the Create the document template button
 and I have only a Failed to execute macro: html notice instead of a
 button:
 http://xwiki.475771.n2.nabble.com/file/n5125841/Unbenannt.jpg

 Indeed we have introduced a regression in the XE version you're using,
 which we've fixed in XE 2.2.4 and XE 2.3M2
 See http://jira.xwiki.org/jira/browse/XE-632

 Actually you will probably have to wait for 2.3.1 (currently being
 released) for the final fix on class wizard UI.


 Thanks
 -Vincent

 Please help me I'm searching the hole day and can't find a solution.
 ___
 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


 Ok, thx then I have to wait until it's fixed.
 Is there any possibility to get an e-mail notification or can you post here
 a link when it's finished or perhaps estimate how long it would take.

currently being released usually means that you can download it
tomorrow. A release does not takes very long.

Anyway don't worry, a mail is always sent about new release on dev and
users mailing list ;)


 Many thanks,
 Aleks
 --
 View this message in context: 
 http://xwiki.475771.n2.nabble.com/No-button-to-create-a-document-template-tp5125841p5126190.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




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


Re: [xwiki-users] Help using m2eclipse to create an Xwiki java Macro

2010-06-01 Thread James Cuzella
On Mon, May 31, 2010 at 4:49 AM, Fabio Mancinelli
fabio.mancine...@xwiki.com wrote:
 On 05/29/2010 12:05 AM, James Cuzella wrote:
 On Fri, May 28, 2010 at 12:46 AM, Vincent Massolvinc...@massol.net  wrote:

 On May 28, 2010, at 1:16 AM, James Cuzella wrote:

 On Wed, May 26, 2010 at 12:10 AM, Vincent Massolvinc...@massol.net  
 wrote:
 Hi James,

 I don't know what the problem is with m2eclipse (I haven't used it to run 
 an archetype) but for the second problem it was because of an invalid 
 dependency.
 I've fixed it in SVN.

 For now you can simply edit the generated pom.xml and replace
 xwiki-core-rendering-parser-wikimodel

 with

 xwiki-core-rendering-syntax-wikimodel

 Thanks for reporting this.
 -Vincent


 Thanks, that fixed it!  Now have Eclipse working pretty well for
 coding, however I'm confused how I can debug or run my code within
 Eclipse for testing.

 Actually I think you should have a look at
 http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-tools/trunk/xem-web-debug-eclipse/

 It's an Eclipse project that is already configured for hacking XE.
 Just follow the instruction in the README.txt

 It's true that you should complement that information with that you
 found on the Wiki page (e.g., AspectJ configuration, etc.)

 Anyway I think that you should definitely start from the
 xem-web-debug-eclipse project.

 -Fabio

Thanks for pointing me towards the README, I'm pretty sure there was
no mention of this on the wiki pages I was following.  I now set the
variables mentioned to point to my checked out xwiki source code.
Also, I've tried to follow all the instructions I could find on the
wiki (spread out between many pages) multiple times.  Sadly, Eclipse
just doesn't want to cooperate with me... now it's giving me yet
another error :-(

The main reason why I hate Eclipse for development is due to the
initial project setup and inevitable problems with one's workspace
environment that always seem to pop up for me.  Is anyone actually
developing Xwiki from Windows, or does it require a Linux environment
(for symlinks, and a more sane environment)?

Anyway, the latest error message seems potentially connected to the
file link stuff mentioned in the README file... however, I just don't
know where to look anymore as I've gone through the steps multiple
times now, checked, and re-checked all my settings.

Here's the error:

Publishing failed with multiple errors:

Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/redirect'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/web.xml'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/struts.tld'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/struts-template.tld'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/struts-logic.tld'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/struts-form.tld'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/portlet.xml'.
Resource is out of sync with the file system:
'/xem-web-debug/src/main/webapp/WEB-INF/commons-logging.properties'.


The Apache Tomcat server is started by Eclipse, and I can access the
admin pages through http://localhost:8080/.  It looks like it's not
publishing the files correctly.  In Eclipse's server window it says
Tomcat v6.0 Server at localhost [Debugging, Republish] and stays
that way.  I can go to Tomcat's List Applications page, and it shows
xwiki listed there.  However, trying to access
http://localhost:8080/xwiki gives a 404 message.

Does anyone have a working eclipse workspace for the example macro here?

http://platform.xwiki.org/xwiki/bin/view/DevGuide/RenderingMacroTutorial

Working with Eclipse can really be a pain sometimes.

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