In the dos console I see ....
10:22:55.848 INFOÂ Â [main] org.mortbay.log.LogImpl.add(LogImpl.java:109) >16> ad
ded org.mortbay.log.OutputStreamLogSink@15e83f9
10:22:55.691 INFOÂ Â [main] org.mortbay.util.FileResource.<clinit>(FileResource.j
ava:60) >11> Checking Resource aliases
10:22:56.395 INFOÂ Â [main] org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5
10:22:56.411 INFOÂ Â [main] org.mortbay.util.Container.start(Container.java:74) >
14> Started org.mortbay.jetty.servlet.ServletHandler@1901437
10:22:56.411 INFOÂ Â [main] org.mortbay.util.Container.start(Container.java:74) >
11> Started ServletHttpContext[/,/]
10:22:56.411 INFOÂ Â [main] org.mortbay.http.SocketListener.start(SocketListener.
java:204) >11> Started SocketListener on 127.0.0.1:8081
10:22:56.411 INFOÂ Â [main] org.mortbay.util.Container.start(Container.java:74) >
09> Started org.mortbay.jetty.Server@10655dd
10:22:56.473 INFOÂ Â [main] org.mortbay.http.HttpServer.setStatsOn(HttpServer.jav
a:1133) >18> Statistics on = false for org.mortbay.jetty.Server@79a2e7
10:22:56.473 INFOÂ Â [main] org.mortbay.http.HttpServer.doStart(HttpServer.java:7
29) >10> Version Jetty/5.1.5
10:22:57.318 INFOÂ Â [main] org.mortbay.util.Container.start(Container.java:74) >
15> Started org.mortbay.jetty.servlet.WebApplicationHandler@e61a35
10:22:57.318 INFOÂ Â [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >17> Loading plexus context properties from: '/WEB-INF
/plexus.properties'
10:22:57.318 INFOÂ Â [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >16> Initializing Plexus.
10:22:57.333 INFOÂ Â [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >17> resource = file:/C:/Program%20Files/XWiki%20Enter
prise/webapps/xwiki/WEB-INF/plexus.xml
10:22:57.568 INFOÂ Â [main] org.mortbay.jetty.servlet.ServletHandler$Context.log(
ServletHandler.java:1134) >16> Plexus initialized.
10:22:58.490 INFOÂ Â [main] org.mortbay.util.Container.start(Container.java:74) >
11> Started WebApplicationContext[/xwiki,xwiki]
10:22:58.506 INFOÂ Â [main] org.mortbay.jetty.servlet.WebApplicationContext.resol
veWebApp(WebApplicationContext.java:248) >13> Extract jar:file:/C:/Program%20Fil
es/XWiki%20Enterprise/webapps/xwiki.zip!/ to C:\Program Files\XWiki Enterprise\j
etty\work\Jetty__8080__xwiki_zip\webapp
10:23:17.597 INFOÂ Â [main] org.mortbay.util.Container.start(Container.java:74) >
15> Started org.mortbay.jetty.servlet.WebApplicationHandler@176086d
10:23:17.597 INFOÂ Â [main] org.mortbay.util.Container.start(Container.java:74) >
11> Started WebApplicationContext[/xwiki.zip,/xwiki.zip]
10:23:17.613 INFOÂ Â [main] org.mortbay.http.SocketListener.start(SocketListener.
java:204) >11> Started SocketListener on 0.0.0.0:8080
10:23:17.613 INFOÂ Â [main] org.mortbay.util.Container.start(Container.java:74) >
09> Started org.mortbay.jetty.Server@79a2e7
I Thinck at this time it's OK but after :
2008-10-15 10:23:35,246 [http://localhost:8080/xwiki/bin/view/Main/] [P1-19] INF
O .AbstractXWikiMigrationManager - No storage migration required since current
 version is [7351]
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseInt] in Main.
WebHome@14,25
ANyone have an idea ?
Hi All,
I have a XWiki on version 1.5.1 and recently upgraded to 1.6.13286 with LDAP
integrated for Authentication. In both versions, I have turned DEBUG on and
noticed there are LDAP connections on not only when users login but on
"every" action, even just naviation from one spacec to another.
I would thought LDAP call will only be made during the login process? or is
there anything I missed in the config?
Here are the debug messages when I do my test by clicking on a link to a
Space. I have also attach the LDAP config as well.
Thanks a lot!
===================================
08:22:32,069 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConnection - Connecting to LDAP using SSL
08:22:32,507 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object:
cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:32,702 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update
XWiki attributes.
08:22:32,703 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:32,810 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAPattribues
located at cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:32,811 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:33,115 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConnection - Connecting to LDAP using SSL
08:22:33,564 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: null
08:22:33,565 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:33,566 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPUtils - Searching for the user in LDAP:
user:MY_LDAP_ID base: query:(cn=MY_LDAP_ID) uid:cn
08:22:33,865 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update
XWiki attributes.
08:22:33,865 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAPattribues
located at cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:33,866 [http://myhost/xwiki/bin/view/Admin/] [TP-Processor7] DEBUG
ldap.XWikiLDAPConfig - Ready to create user from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
[WARNING] Deprecated usage of method [com.xpn.xwiki.api.XWiki.split] in
Admin.WebHome@5,36
08:22:34,989
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG ldap.XWikiLDAPConnection -Connecting to LDAP
using SSL
08:22:35,548
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG LDAP.XWikiLDAPAuthServiceImpl -Found user dn with
the user object: cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:35,743
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG LDAP.XWikiLDAPAuthServiceImpl -LDAP attributes will
be used to update XWiki attributes.
08:22:35,744
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG ldap.XWikiLDAPConfig -Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
08:22:35,848
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG LDAP.XWikiLDAPAuthServiceImpl -Updating existing
user with LDAP attribues located at cn=MY_LDAP_ID,ou=People,dc=mydc,dc=net
08:22:35,849
[http://myhost/xwiki/bin/view/Admin/?xpage=xpart&vm=commentsinline.vm]
[TP-Processor7] DEBUG ldap.XWikiLDAPConfig -Ready to create user
from LDAP with fields
last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
===================================
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap.base_DN=ou=People,dc=mydc,dc=net
xwiki.authentication.ldap.bind_DN=cn=xwikiAdmin, ou=myou, ou=myou2,
ou=Applications, dc=mydc, dc=net
xwiki.authentication.ldap.bind_pass=mypassword
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.group_classes=group,groupOfNames,groupOfUniqueNames,dynamicGroup,dynamicGroupAux,groupWiseDistributionList
xwiki.authentication.ldap.group_memberfields=member,uniqueMember
xwiki.authentication.ldap.mode_group_sync=always
xwiki.authentication.ldap.port=636
xwiki.authentication.ldap.server=1.2.3.4
xwiki.authentication.ldap.ssl.keystore=wiki_keystore.jks
xwiki.authentication.ldap.ssl.secure_provider=com.sun.net.ssl.internal.ssl.Provider
xwiki.authentication.ldap.ssl=1
xwiki.authentication.ldap.trylocal=1
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.validate_password=0
xwiki.authentication.ldap=1
===================================
--
View this message in context: http://n2.nabble.com/Unexpected-LDAP-Connection-Issue-tp1302910p1302910.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello again,
I've been running XE 1.5 for a while and our LDAP authentication against
Active Directory works fine. I've installed a separate, test instance of
XE 1.6 and, using the same LDAP configuration, all of our login attempts
fail when going against our Active Directory server.
09:04:00,401 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user
object: null
09:04:00,402 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG ldap.XWikiLDAPConfig - Ready to create user from
LDAP with fields
name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayNa
me,mail=mail,ldap_dn=dn
09:04:00,402 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG ldap.XWikiLDAPUtils - Searching for the user in
LDAP: user:jnovak base:
query:(sAMAccountName=jnovak) uid:sAMAccountName
09:04:00,484 [http://xwiki-dev/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6808-1]
DEBUG ldap.XWikiLDAPConnection - LDAP Search failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 0000208D: NameErr: DSID-031001A8,
problem 2001 (NO_OBJECT),
data 0, best match of:
''
Our XE 1.5.2.12758 installation with the same configuration works fine.
Does the above error look to you like it's not even binding to the AD
server? That's my hunch.
The first log line on our working 1.5 install look like this when I
authenticate:
08:47:09,148 [http://xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[resin-tcp-connection-127.0.0.1:6807-3]
DEBUG LDAP.XWikiLD APAuthServiceImpl - Found user dn with the user
object:
CN=Jamison Novak,CN=Users,DC=NNNNN,DC=com
This is our base_DN:
xwiki.authentication.ldap.base_DN=cn=Users,dc=NNNNN,dc=com
This is our bind_DN:
xwiki.authentication.ldap.bind_DN=cn=svc_webapp,ou=Service
Accounts,dc=NNNNN,dc=com
Is it possible that the space in the "ou=Service Accounts" is causing
some unlogged error? I tried putting quotes around the entire thing
(bind_dn="string here"), but that just caused it to fail to try LDAP at
all.
Any thoughts? I'm really confused why it's changed between 1.5 and 1.6
like this, at least for us.
-Jamie
Hi!
I have two questions:
- As already mentioned in the subject, I want to forbid users to
create spaces, only some user groups should be allowed to create spaces.
- How can I make some spaces like xwiki, Main, and especially
Panels, Stats invisible for any user except the admin user. I do not want
them into index or even when in the search.
Is this possible?
Thank you for your help,
Florian
------------------------------------------------------------------
Florian Rhomberg
Gletscherblick 38
A-6080 Igls
E-Mail: mailto:florian.rhomberg@nettania.net
www.nettania.net
------------------------------------------------------------------
hi,
I want to use the MindMap space,and i had import mindmap-1[1][1].0.zip,but when i open the MindMap space,there is a note as follows:
Installation is not complete. You need to add MindMap.Translations in the translations page. Click on Administration, choose the Advanced accordion and scroll to the translations field. Then add MindMap.Translations in the list of translations pages.
how can I add MindMap? If i can receive the mail of the steps how to add MindMap in detials ,it will be helpful. Thanks very much!
tianlixing
2008-09-11
Hi All,
There are few tabs for comments/attachment etc in the new layout for XE 1.6
which is great. However, can I suggest we do not show the details by default
until users click? (which like version 1.5).
The reason is that currently every page made an authentication call. When we
are using LDAP for authentication this may take 1-2 seconds. Since the
comment field is opened by default, it's another 2 seconds delay for until
the page is completely loaded. Reducing this 2 seconds means 40-50% faster
per page which is very significance.
Many Thanks
Art.
--
View this message in context: http://n2.nabble.com/Comment-field-in-XE-1.6-for-page-display-tp1322013p132…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to make some kind of convertor plugin from XWiki syntax to
DokuWiki syntax. I want to have a button on page and after pushing it I want
to create new attachment to this page with content of the page in dokuwiki
syntax.
So I have something like this in my plugin Api:
XWikiDocument doc = context.getDoc();
String text = doc.getContent();
XWikiAttachment att = doc.getAttachment("DokuWiki.txt");
if (att!=null)
{
att.incrementVersion();
}else{
att = new XWikiAttachment(doc, "DokuWiki.txt");
}
...
att.setContent(aa.getBytes());
doc.getAttachmentList().add(att);
context.getWiki().saveDocument(doc, context);
The page source is just:
#if($request.con)
"$xwiki.convertor.convert()"
#end
Now I can push the convert button on the page. When I push it for the first
time, everthing fine (I see the new attachment called Dokuwiki.txt, version
for example 1.1), but when I push it for the second time, in the attachments
there are 2 same files called DokuWiki.txt with the same version 1.2. After
pushing the button for the third time, there are 3 files with same version
1.3... After restarting server, there is only one file, the latest one...
Could you please help me what is wrong in my code?
--
View this message in context: http://n2.nabble.com/Problems-with-new-attachment-made-in-plugin-Api-tp1320…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I did, but I always receive the newsletter messages...
> Carmelo Saffioti wrote:
> > Hi,
> > I'd like to unsuscribe from the newsletter. I tried, with no success.
> >
>
> Go to http://lists.xwiki.org/mailman/listinfo/users and follow the
> instructions. At the end of the page there is a section starting with
> "To unsubscribe from users".
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/