Dear all
we're having problems here with authenticating users against a Windows 2003 active directory.
Our users are located in different OU (organisational units) in the active directory
So i followed the instructions in
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication
unfortunatelly without success.
My searchuser as all rights and is perfectly working with OTRS (www.otrs.org)
Here in xWiki, only users in one organisational unit are found?!
For all other users I'm getting the errormessage: user not found
Please find the config attached
Who can help please?
Greetings
Wolfgang Fürtbauer
#-------------------------------------------------------------------------------------
# LDAP
#-------------------------------------------------------------------------------------
#-# new LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap=1
#-# LDAP Server (Active Directory, eDirectory, OpenLDAP, etc.)
#-# Kann zur Not auf eine fixe IP gesetzt werden
xwiki.authentication.ldap.server=aohdc03.asamer.holding.ah
#xwiki.authentication.ldap.server=asamer.holding.ah
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.check_level=2
#-# LDAP login, empty = anonymous access, otherwise specify full dn
#-# {0} is replaced with the username, {1} with the password
#xwiki.authentication.ldap.bind_DN=CN=xWiKi,OU=ServicesAccounts,DC=asamer,DC=holding,DC=ah
#xwiki.authentication.ldap.bind_pass=xwiki4ldap1
xwiki.authentication.ldap.bind_DN=CN=otrs,OU=ServicesAccounts,DC=asamer,DC=holding,DC=ah
xwiki.authentication.ldap.bind_pass=xxxyyy
#-# Force to check password after LDAP connection
#-# 0: disable
#-# 1: enable
xwiki.authentication.ldap.validate_password=0
#-# only members of the following group will be verified in the LDAP
#-# otherwise only users that are found after searching starting from the base_DN
# xwiki.authentication.ldap.user_group=cn=developers,ou=groups,o=MegaNova,c=US
#-# [Since 1.5RC1, XWikiLDAPAuthServiceImpl]
#-# only users not member of the following group can autheticate
# xwiki.authentication.ldap.exclude_group=cn=admin,ou=groups,o=MegaNova,c=US
#-# base DN for searches
# xwiki.authentication.ldap.base_DN=DC=asamer,DC=holding,DC=ah
xwiki.authentication.ldap.base_DN=DC=holding,DC=ah
#-# Specifies the LDAP attribute containing the identifier to be used as the XWiki name (default=cn)
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
#-# retrieve the following fields from LDAP and store them in the XWiki user object (xwiki-attribute=ldap-attribute)
# xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=fullName,email=mail,ldap_dn=dn
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=fullName,email=mail
#-# [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.
xwiki.authentication.ldap.update_user=1
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# mapps XWiki groups to LDAP groups, separator is "|"
xwiki.authentication.ldap.group_mapping=XWiki.XWikiAdminGroup=CN=xwiki_Admin,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.ViewAllGroup=CN=xwiki_ViewAll,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.ACGroup=CN=xwiki_AC,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.CEGroup=CN=xwiki_CE,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.FNGroup=CN=xwiki_FN,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.HRGroup=CN=xwiki_HR,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.IMGroup=CN=xwiki_IM,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.INGroup=CN=xwiki_IN,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.ITGroup=CN=xwiki_IT,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.ITsecureGroup=CN=xwiki_ITsecure,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.JSGroup=CN=xwiki_JS,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.LDGroup=CN=xwiki_LD,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.PDGroup=CN=xwiki_PD,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.PDsecureGroup=CN=xwiki_PDsecure,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.PRGroup=CN=xwiki_PR,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.PTGroup=CN=xwiki_PT,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah|\
XWiki.QAGroup=CN=xwiki_QA,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# time in s after which the list of members in a group is refreshed from LDAP (default=3600*6)
xwiki.authentication.ldap.groupcache_expiration=21800
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# - create : synchronize group membership only when the user is first created
#-# - always: synchronize on every login
xwiki.authentication.ldap.mode_group_sync=always
#-# [Since 1.3M2, XWikiLDAPAuthServiceImpl]
#-# if ldap authentication fails for any reason, try XWiki DB authentication with the same credentials
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
Kollegen,
Wir haben hier ein Windows 2003 active directory mit usern in
verschiedenen OU's und ein xWiki 1.7.1
Ich habe brav die Anleitungen
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication
befolgt - leider ohne Erfolg.
Mein s earch user funktioniert einwandfrei in einem anderem System (OTRS)
wo quer durch alle OU's die User gefunden werden.
Das xWiki findet nur in einer OU.
Wer kann helfen bitte?
Viele Grüsse
Wolfgang Fürtbauer
Hi all,
I'm a newbie on xwiki. I would like to use xwiki entreprise with an oracle
(10.2.0.4) database. Because of using oracle, I put jdbc drivers (ojdbc14.jar)
in $TOMCAT_HOME/lib/ (by the way, I ve an another error : no ocijdbc10 in
java.library.path (where I set it ?))
When I start xwiki, I've several errors.
Last one is : Wrapped Exception: Could not create a DBCP pool. There is an error
in the hibernate configuration file, please review it.
Here is my hibernate.cfg.xml :
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration
DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<!-- Template for hibernate configuration. processing by maven using profiles.
Replace original src/main/webapp/WEB-INF/hibernate.cfg.xml -->
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Please refer to the installation guide on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some shared lib
directory
2) Uncomment the properties below for your specific DB
-->
<!--
<property
name="connection.url">jdbc:hsqldb:file:database/xwiki_db;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
Mapping files
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
-->
<!-- MySQL configuration.
Uncomment if you want to use MySQL and comment out other database
configurations.
Note that the database will be created automatically if it doesn't
already exist.
We need to set the sql_mode to a less strict value, see XWIKI-1945
<property
name="connection.url">jdbc:mysql://localhost/xwiki?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8&sessionVariables=sql_mode=''</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.MySQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
-->
<!-- HSQLDB configuration.
Uncomment if you want to use HSQLDB and comment out other database
configurations.
Note that the database will be created automatically if it doesn't
already exist.
<property
name="connection.url">jdbc:hsqldb:file:/some/path/xwikidb;shutdown=true</property>
<property name="connection.username">sa</property>
<property name="connection.password"></property>
<property name="connection.driver_class">org.hsqldb.jdbcDriver</property>
<property name="dialect">org.hibernate.dialect.HSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
-->
<!-- PostgreSQL configuration.
Uncomment if you want to use PostgreSQL and comment out other database
configurations.
Note that the database will be created automatically if it doesn't
already exist.
<property name="connection.url">jdbc:postgresql:xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property name="connection.driver_class">org.postgresql.Driver</property>
<property name="dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
-->
<!-- Oracle configuration.
Uncomment if you want to use Oracle and comment out other database
configurations.
Note: the 2 properties named "hibernate.connection.SetBigStringTryClob"
and
"hibernate.jdbc.batch_size". They are required to tell Oracle to allow
CLOBs larger than
32K.
-->
<property
name="connection.url">jdbc:oracle:oci:@xwiki-server:1521:xwiki</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<!-- Derby configuration.
Uncomment if you want to use Derby and comment out other database
configurations.
Note that the database will be created automatically if it doesn't
already exist.
<property
name="connection.url">jdbc:derby:/some/path/xwikidb;create=true</property>
<property
name="connection.driver_class">org.apache.derby.jdbc.EmbeddedDriver</property>
<property name="dialect">org.hibernate.dialect.DerbyDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.derby.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
-->
</session-factory>
</hibernate-configuration>
Here is tomcat's error :
Etat HTTP 500 -
type Rapport d'exception
message
description Le serveur a rencontré une erreur interne () qui l'a empêché de
satisfaire la requête.
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error 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 create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
cause mère
com.xpn.xwiki.XWikiException: Error 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 create a DBCP pool. There is an error in the
hibernate configuration file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
Help will be really appreciated.
Thanks
Hi,
I have a question about LDAP authentication.
In our enterprise, the user password field is encrypted in the LDAP server.
For example userPassword field may be *{MD5}FF34...* or
*{crypt}DgxGD...*That seems to be a standard way of storing passwords
in a LDAP server (I am
not absolutely sure, but I was told).
The problem is that the XWikiLDAPConnection.checkPassword() method seems to
always compare the content of this field with the clear password which has
been given by the user, in the web login form. Seeing {MD5}, the wiki code
should encode the user password in MD5 and compare it with ldap attribute.
The comparison shouldn't be done in clear text.
Is there a configuration option, a workaround, a way to circumvent it ? I
simply can't go to my IT departement and say : "hey guys, can you put the
password in clear text and change all our infrastructure for the wiki
authentication to work ?"
Is the only solution I see is to hack the xwiki code. Is it true ? I have no
much time to make it, and it will be very difficult to sell this option to
my bosses.
Thank you for all your work anyway. Xwiki is a truly great tool.
Olivier
Hi,
I'm interested in hosting my wiki here, name is "apostiladigital". Username is exerciciosresolvidos.
The wiki's topic is brazilian universities admission exams.
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
H Hi,
I have some issues when saving documents right after migration to 2.0.rc1.
I'm on tomcat 6.0.20, java 1.6, mysql 5.1.38, connector/J 5.1.8.
I removed old webapp, replaced by new xwiki.war, unwar it, copy back the
connector, and checked the configuration in xwiki.cfg and hibernate mapping,
and also deleted tomcat "work" folder.
All configuration is supposed to be "utf-8", except I did not recreate the
mysql database with this encoding.
Now everytime I save a modified document, I get the following errors in the
gui. The documents gets saved, but this is not very user-friendly and I
suppose bad things happen in the background (see below).
It happened also during last migration (1.5->2.0.M2), but disappeared and
was working just fine (but I never found the cause of this).
During page edition, there is only one line in xwikilock table related to
this page, no duplicates. The lock is released after this exception crashes.
Detailed information:
Error number 13007 in 3: Exception while loading lock
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiLock#-152317460]
com.xpn.xwiki.XWikiException: Error number 13007 in 3: Exception while
loading lock
Wrapped Exception: a different object with the same identifier value was
already associated with the session:
[com.xpn.xwiki.doc.XWikiLock#-152317460]
at
com.xpn.xwiki.store.XWikiHibernateStore.loadLock(XWikiHibernateStore.java:1698)
at
com.xpn.xwiki.store.XWikiCacheStore.loadLock(XWikiCacheStore.java:540)
at
com.xpn.xwiki.doc.XWikiDocument.removeLock(XWikiDocument.java:4209)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:179)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.hibernate.NonUniqueObjectException: a different object with the same
identifier value was already associated with the session:
[com.xpn.xwiki.doc.XWikiLock#-152317460]
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:150)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:784)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadLock(XWikiHibernateStore.java:1691)
at
com.xpn.xwiki.store.XWikiCacheStore.loadLock(XWikiCacheStore.java:540)
at
com.xpn.xwiki.doc.XWikiDocument.removeLock(XWikiDocument.java:4209)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:179)
at com.xpn.xwiki.web.SaveAction.action(SaveAction.java:193)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:213)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:109)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
Thanks for help,
Jeremie
Hi,
Because we want to make a standard from vertical-aligned form, this means
the buttons should be left-ordered with the most important action first.
This should be changed also in Toucan and Albatross skin, not only just in
Colibri.
Right now the Edit Actions are "Cancel", "Preview", "Save&Continue",
"Save&View".
What do you think is the right order for them when they are left-aligned?
(A) Save&View, Save&Continue, Preview, Cancel (as it is - just in reverse)
(B) Save&View, Preview, Save&Continue, Cancel
(C) Preview, Save&Continue, Save&View, Cancel
(D) other variation
Remarks:
- "Cancel" should be *last* because it's a terminal (takes you out of the
editor), no-saving action. This is the least important.
- "Save & View" is also a terminal action (takes you out of the editor) -
having it* first* you have the 2 terminal actions at extremities.
- "Preview" is the least damaging action in case of accidental submit
(Silvia + Marta) - should be *first*?
- Some people use ("Preview" + "Save&Continue") {many times} + "Save&View"
{final}
- Other people just use "Save&Continue" + "Save & View" {final}, never
"Preview", etc
- What is the necessity for the "Preview" button in a WYSIYWG editor? On the
other hand "Preview" is very important if you edit in "Wiki" mode.
- Should "Preview" separate the two other SAVING actions? (Marta)
- Should "Save&Continue" separate the two other VIEW actions?
Thanks,
Caty
We'd like to disable the ability for a user to change their password (to prevent easy passwords from being used).
I could just edit XWikiUserSheet and take out the "change password" link, but a user could easily find out that changing the password could be done by typing in the appropriate URL. Is there a better way to disable the change password page?
Thanks,
Trevor
XWiki 2.0 milestone 3
Section editing is not working for sections
starting with a header smaller than level 2 (cp.
http://jira.xwiki.org/jira/browse/XWIKI-4275).
Is there a way to turn on/off section editing below a certain header
level?
Best regards
Philipp
Dear all,
i followed all the instructions from the forums
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCa…
"My users are not located in the same organization unit"
i set the
xwiki.authentication.ldap.bind_DN=
xwiki.authentication.ldap.bind_pass=
to a user which is allowed to search everywhere (and this works in another application fine (OTRS))
Also i read about storing then dn in ldap_dn (and removed it from the config)
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=fullName,email=mail
so i have a specific user which is not found in LDAP who is in another OU
here is the log
20:04:35,393 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - The provided user is null. We don't try to authenticate, it probably means the user is in non logged mode.
20:04:35,393 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG ldap.XWikiLDAPConfig - ldap_group_classes: [groupofnames, groupwisedistributionlist, dynamicgroup, dynamicgroupaux, groupofuniquenames, group]
20:04:35,393 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG ldap.XWikiLDAPConfig - ldap_group_memberfields: [member, uniquemember]
20:04:35,393 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG ldap.XWikiLDAPConnection - Connection to LDAP server [aohdc03.asamer.holding.ah:389]
20:04:35,408 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG ldap.XWikiLDAPConnection - Binding to LDAP server with credentials login=[CN=otrs,OU=ServicesAccounts,DC=asamer,DC=holding,DC=ah]
20:04:35,440 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG ldap.XWikiLDAPUtils - Searching for the user in LDAP: user:naasal base:DC=holding,DC=ah query:(sAMAccountName=naasal) uid:sAMAccountName
20:04:35,440 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG ldap.XWikiLDAPConnection - LDAP search: baseDN=[DC=holding,DC=ah] query=[(sAMAccountName=naasal)] attr=[[sAMAccountName, sn, givenName, fullName, mail]] ldapScope=[2]
20:04:35,455 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG ldap.XWikiLDAPConnection - LDAP Search failed
LDAPReferralException: Automatic referral following not enabled (10) Referral
LDAPReferralException: Server Message: 0000202B: RefErr: DSID-0310063C, data 0, 1 access points
ref 1: 'holding.ah'
LDAPReferralException: Referral: ldap://holding.ah/DC=holding,DC=ah
at com.novell.ldap.LDAPResponse.getResultException(Unknown Source)
at com.novell.ldap.LDAPResponse.chkResultCode(Unknown Source)
at com.novell.ldap.LDAPSearchResults.next(Unknown Source)
at com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.searchLDAP(XWikiLDAPConnection.java:306)
at com.xpn.xwiki.plugin.ldap.XWikiLDAPUtils.searchUserAttributesByUid(XWikiLDAPUtils.java:548)
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:372)
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:202)
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:149)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:203)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3578)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3586)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4572)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
20:04:35,455 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG ldap.XWikiLDAPConnection - LDAP search found attributes: null
20:04:35,455 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
com.xpn.xwiki.XWikiException: Error number 8001 in 8: Can't find LDAP user DN for [naasal]
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:386)
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:202)
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:149)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:203)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3578)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3586)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4572)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:135)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)
20:04:35,455 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying authentication against XWiki DB
20:04:35,471 [http://asawida/bin/loginsubmit/XWiki/XWikiLogin] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication failed for user [naasal]
while this is a successfull connection
20:36:49,190 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - Connection to LDAP server [aohdc03.asamer.holding.ah:389]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - Binding to LDAP server with credentials login=[CN=otrs,OU=ServicesAccounts,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user dn with the user object: CN=Fürtbauer Wolfgang,OU=Poweruser,DC=asamer,DC=holding,DC=ah
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP attributes will be used to update XWiki attributes.
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - LDAP search: baseDN=[CN=Fürtbauer Wolfgang,OU=Poweruser,DC=asamer,DC=holding,DC=ah] query=[null] attr=[[sAMAccountName, sn, givenName, fullName, mail]] ldapScope=[0]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - - values for attribute "givenName"
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - |- [Wolfgang]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - - values for attribute "sn"
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - |- [Fürtbauer]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - - values for attribute "mail"
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - |- [W.Fuertbauer(a)asamer.at]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - - values for attribute "sAMAccountName"
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - |- [fuewol]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConnection - LDAP search found attributes: [{name=dn value=CN=Fürtbauer Wolfgang,OU=Poweruser,DC=asamer,DC=holding,DC=ah}, {name=givenName value=Wolfgang}, {name=sn value=Fürtbauer}, {name=mail value=W.Fuertbauer(a)asamer.at}, {name=sAMAccountName value=fuewol}]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating existing user with LDAP attribues located at CN=Fürtbauer Wolfgang,OU=Poweruser,DC=asamer,DC=holding,DC=ah
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Start synchronising LDAP profile [[{name=dn value=CN=Fürtbauer Wolfgang,OU=Poweruser,DC=asamer,DC=holding,DC=ah}, {name=givenName value=Wolfgang}, {name=sn value=Fürtbauer}, {name=mail value=W.Fuertbauer(a)asamer.at}, {name=sAMAccountName value=fuewol}]] with user profile based on mapping {mail=email, sn=last_name, givenname=first_name, samaccountname=name, fullname=fullname}
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.XWikiAdminGroup [CN=xwiki_Admin,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.ViewAllGroup [CN=xwiki_ViewAll,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.ACGroup [CN=xwiki_AC,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.CEGroup [CN=xwiki_CE,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.FNGroup [CN=xwiki_FN,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.HRGroup [CN=xwiki_HR,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.IMGroup [CN=xwiki_IM,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.INGroup [CN=xwiki_IN,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.ITGroup [CN=xwiki_IT,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.ITsecureGroup [CN=xwiki_ITsecure,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.JSGroup [CN=xwiki_JS,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.LDGroup [CN=xwiki_LD,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.PDGroup [CN=xwiki_PD,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.PDsecureGroup [CN=xwiki_PDsecure,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.PRGroup [CN=xwiki_PR,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.PTGroup [CN=xwiki_PT,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG ldap.XWikiLDAPConfig - Groupmapping found: XWiki.QAGroup [CN=xwiki_QA,OU=xWiki Groups,DC=asamer,DC=holding,DC=ah]
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating group membership for the user: XWiki.fuewol
20:36:49,205 [http://asawida/bin/view/Main/] [http-80-1] DEBUG LDAP.XWikiLDAPAuthServiceImpl - The user belongs
Hello,
I would like to test xwiki whether it meets requirements for my future
wiki. There will be only a few texts and attachments.
My user is krokosjablik.
Thank you,
Roman
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.0 RC 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first release candidate for the XWiki enterprise 2.0
version. It will be followed by a second RC.
133 Jira issues has been closed for this release.
Changes from 2.0 Milestone 4:
* Many improvements and bug fixes in the new Colibri skin
* Many general UI improvements
* Many WYSIWYG improvements
* Many Rendering 2.0 improvements
** Script macro improvements
** Introduce Python macro
* Many Watchlist improvements
* Activity stream improvements
* Blog categories UI improvement
* Update translations: fr, de, ro, sv
As usual we need the community to heavily test this release before the
final release to catch all the remaining issues. You can look at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/DistributedEventCluster…
to test the
new event based clustering support.
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise20RC1
Thanks
-The XWiki dev team
Hello everybody,
I've searched trough the web for the open Office server, and in the xwiki doc there are thigns about teh open office server, but, how do I install it? Is it a normal versión? Does it need admin privileges in the machine that runs it?
Regards,
Francisco
--
Francisco Hernández Cuchí
Jefe de Servicios Sistemas de Información
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
C\ Paseo de la Castella 75
tlf: 913496844
mail: francisco.hernandez(a)oepm.es <mailto:francisco.hernandez@oepm.es>
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
How can I force XWiki to use skins/toucan/usersandgroups.css
instead of resources/js/xwiki/usersandgroups.css? I have to do that
because the user configuration page looks bad with the latter.
Best regards
Philipp
I am inserting a link to a web page using WYSIWYG and Wiki Syntax 2.0, and have checked "Open in new Window". It inserts "rel=" instead of "target=" into the source and does not open in a new page.
I found it's the same problem described by this bug, which was closed as "fixed": http://jira.xwiki.org/jira/browse/XWIKI-3641
Does this mean it wasn't or will not be fixed in 1.9.x? It lists "fix version" as 1.9M2. We are using XEM 1.7.3, which is XE 1.9.3, is it not?
Thanks,
Trevor
Hello guys,
Is there a way to find all the currently logged in users?
For load testing purposes, it would be nice to know if we could get a head
count of all those who are logged in.
Thank you.
Hi, brief question,
Is there any way to view all the pages created by an user?
Thanks
--
Francisco Hernández Cuchí
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hi,
I just installed Xwiki and Video Macro (uploaded and imported it as
described in the video macro page).
As a result of including the following code:
{{velocity}}
#includeMacros("Macros.Video")
{{/velocity}}
{{velocity wiki="false"}}
#video("http://www.dailymotion.com/video/xr04b_xwiki-round-the-world")
{{/velocity}}
In the rendered page viewed with firefox I get :
<p/>
<div style="border: 1px solid #000; width: 520px; height: 411px;"><object
width="520" height="411"><param name="movie" value="http:~//
www.dailymotion.com/swf/xr04b&v3=1&related=0"></param><param
name="allowFullScreen" value="true"></param><param name="allowScriptAccess"
value="always"></param><embed style="border: 1px solid #000;" src="http:~//
www.dailymotion.com/swf/xr04b&v3=1&related=0"
type="application/x-shockwave-flash" width="520" height="411"
allowFullScreen="true" allowScriptAccess="always"></embed></object></div>
<p/>
Note: this not the result of viewing the source code, this is how the final
page looks like.
I guess the problem is xwiki is not using the result of executing the macro
as part of the source code of the page.
I have also tried setting the "wiki" flag to true.
Can anyone give me some piece of advice?
thanks.
arturo
Hi all,
Running XWiki in a farm, Trifalk Server, using the task application causes the error below creating a new task.
Thanks
mb
Error number 4001 in 4: Error while parsing velocity page TasksCode.NewTask Wrapped Exception: Failed to evaluate content with id New TaskError number 4001 in 4: Error while parsing velocity page TasksCode.NewTask
Wrapped Exception: Failed to evaluate content with id New Task
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page TasksCode.NewTask
Wrapped Exception: Failed to evaluate content with id New Task
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:542)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:559)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:451)
at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1620)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1620)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.trifork.eas.web.container.p.doService(<obfuscated>:333)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:377)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.trifork.eas.web.container.p.forward(<obfuscated>:145)
at com.trifork.eas.web.container.p.run(<obfuscated>:72)
at com.trifork.eas.web.container.HttpServletRequestImpl$a.run(<obfuscated>:693)
at java.security.AccessController.doPrivileged(Native Method)
at com.trifork.eas.web.container.HttpServletRequestImpl.service(<obfuscated>:712)
at com.trifork.eas.web.container.ReflectiveWebContainer$d.invoke(<obfuscated>:1094)
at com.trifork.eas.web.container.ReflectiveWebContainer.handleRequest(<obfuscated>:1128)
at com.trifork.eas.web.container.ReflectiveWebContainer.access$0(<obfuscated>:1103)
at com.trifork.eas.web.container.ReflectiveWebContainer$a.service(<obfuscated>:112)
at com.trifork.eas.http.g.processRequest(<obfuscated>:228)
at com.trifork.eas.http.a.connectionEstablished(<obfuscated>:235)
at com.trifork.eas.http.g.connectionEstablished(<obfuscated>:162)
at com.trifork.eas.tcp.a.connectionEstablished(<obfuscated>:234)
at com.trifork.eas.tcp.a$a.execute(<obfuscated>:224)
at com.trifork.util.O.performWork(<obfuscated>:134)
at com.trifork.util.O.run(<obfuscated>:113)
at com.trifork.util.O$b.run(<obfuscated>:166)
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of method 'get' in class java.util.Collections$EmptyList threw exception java.lang.IndexOutOfBoundsException: Index: 0 at TasksCode.NewTaskline 2, column 32?
at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:542)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:559)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:451)
at sun.reflect.GeneratedMethodAccessor371.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1620)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor223.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1620)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.trifork.eas.web.container.p.doService(<obfuscated>:333)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:377)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at com.trifork.eas.web.container.p$a.doFilter(<obfuscated>:375)
at com.trifork.eas.web.container.p.forward(<obfuscated>:145)
at com.trifork.eas.web.container.p.run(<obfuscated>:72)
at com.trifork.eas.web.container.HttpServletRequestImpl$a.run(<obfuscated>:693)
at java.security.AccessController.doPrivileged(Native Method)
at com.trifork.eas.web.container.HttpServletRequestImpl.service(<obfuscated>:712)
at com.trifork.eas.web.container.ReflectiveWebContainer$d.invoke(<obfuscated>:1094)
at com.trifork.eas.web.container.ReflectiveWebContainer.handleRequest(<obfuscated>:1128)
at com.trifork.eas.web.container.ReflectiveWebContainer.access$0(<obfuscated>:1103)
at com.trifork.eas.web.container.ReflectiveWebContainer$a.service(<obfuscated>:112)
at com.trifork.eas.http.g.processRequest(<obfuscated>:228)
at com.trifork.eas.http.a.connectionEstablished(<obfuscated>:235)
at com.trifork.eas.http.g.connectionEstablished(<obfuscated>:162)
at com.trifork.eas.tcp.a.connectionEstablished(<obfuscated>:234)
at com.trifork.eas.tcp.a$a.execute(<obfuscated>:224)
at com.trifork.util.O.performWork(<obfuscated>:134)
at com.trifork.util.O.run(<obfuscated>:113)
at com.trifork.util.O$b.run(<obfuscated>:166)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0
at java.util.Collections$EmptyList.get(Collections.java:2975)
at sun.reflect.GeneratedMethodAccessor490.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
... 93 more
Hi all,
I’ve installed a XWiki farm (milestone 2) in a Trifalk environment.
Running the pages created by the template works fine.
Opening an imported page (task manager application) leads to a popup / download within Firefox to open / save a page called xwiki com.xpn.xwiki.gwt.api.Api.nocache.
The content is nearly empty: “This script is part of module com.xpn.xwiki.gwt.api.Api “
IE shows:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 9 Sep 2009 10:13:22 UTC
Message: Object doesn't support this property or method
Line: 834
Char: 77
Code: 0
URI: http://.....
Thanks for your help in advance.
mb
Hi I'm wondering if there are any other Danish users out there.
I have been considering translating XWiki to Danish, but a joint effort
always yield a better result.
If you are interested you can contact me at rune(a)dpu.dk
-Rune
I would like to grep some data from a file upload, but can't find a way
to do it.
Here are a simple example
{{velocity}}
#foreach($prop in $request.getParameterNames())
request.$prop
#end
{{html}}
<form action="" enctype="multipart/form-data" method="post">
<div>
<fieldset>
<legend>Attach files to this document</legend>
<div>
<input name="a" value="" size="40" type="text">
<input name="b" value="" size="40" type="file">
<input name="c" value="" size="40" type="text">
</div>
<div>
<input value="Attach" class="button" type="submit">
<input value="Cancel" class="button" type="reset">
</div>
</fieldset>
</div>
</form>
{{/html}}
{{/velocity}}
It returns
request.a
request.c
What happened to 'b', is et a bug or a feature? Are there any way to
access the value of 'b'?
I've been looking at the java code but haven't found anything claiming
it should be gone.
-Rune
Hi!
We are thinking about a possible use-case-scenario using xWiki to access
Oracle-Tables:
Read data from a oracle-table and render it as a xWiki-document
(xWiki-table), change the content of a column and save the changes into
the oracle table
Oracle-Table: ---> xWiki-Document (Table) ---> change column
'Comment' --->write changed info back in Oracle-Table
ID
Name
Comment
Is such a scenario possible to implement ?
In what way could something like that be realised ?
Thanks in advance
Matthias