Hello,
Is it possible to get all users that are currently logged on to my wiki?
Logged on could also mean having a non-expired session.
I would like to add a panel showing current users.
Thanks,
Henk
--
==
Henk F. Schouten, ICT-architect, Dienst ICT
room: SL 2.32, phone (31) 70 4457611, email: H.F.Schouten(a)hhs.nl
De Haagse Hogeschool, Johanna Westerdijkplein 75, 2521 EN the Hague (NL)
I'm seeing some very strange behaviour on my project wiki.
Links that I create occasionally convert to rubbish, and viewing or
restoring historical versions often fails.
For example, in
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/viewrev/Patterns/TryOnc…
I had some links, such as:
(Bergin, [2000>
http://www.bibsonomy.org/bibtex/2964218adcc854e7688ef4ac788a54a1a])
[Grade it again Sam>
http://csis.pace.edu/%7Ebergin/PedPat1.3.html#gradeitagainsam]
My colleague edited the page, but not this section, and after saving it we
got:
(Bergin,
?>../../edit/Patterns/2000&?parent=Patterns.TryOnceRefineOnce&editor=wysiwyg"
href="/xwiki/bin/edit/Patterns/2000%26%3C%2Fspan?parent=Patterns.TryOnceRefineOnce&editor=wysiwyg">
?)
?>../../edit///csis.pace.edu/~bergin/PedPat1.3/html?parent=Patterns.TryOnceRefineOnce"
href="/xwiki/bin/edit/pace/edu%2F%26?parent=Patterns.TryOnceRefineOnce&editor=wysiwyg">
?
etc.
where those links were.
I tried to restore a previous version, and got:
-------------------
Error number 3201 in 3: Exception while saving document
Patterns.TryOnceRefineOnce
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document Patterns.TryOnceRefineOnce
Wrapped Exception: Row was updated or deleted by another transaction
(or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
]
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:590)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1270)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1232)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6403)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Wrapped Exception:
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringProperty#
]
at org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1769)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2412)
at org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(AbstractEntityPersister.java:2312)
at org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEntityPersister.java:2612)
at org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:96)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:279)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:263)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:168)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:866)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:837)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:580)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:135)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1270)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1232)
at com.xpn.xwiki.XWiki.rollback(XWiki.java:6403)
at com.xpn.xwiki.web.RollbackAction.action(RollbackAction.java:59)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)
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:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
___________________________
Yishay Mor, Researcher, London Knowledge Lab
http://www.lkl.ac.uk/people/mor.htmlhttp://www.google.com/calendar/embed?src=yishaym%40gmail.com
+44-20-78378888 x5737
hello,
I'm trying to install xwiki version 1.7rc1 on the postgres 8.3 using
jdbc - postgresql-8.3-603.jdbc3.jar.
After configuration hibernate have problem with database:
2008-12-03 17:00:54,551
[http://xxx.com/xwiki-enterprise-web-1.7-rc-1/bin/view/Main/] [qtp0-6]
INFO .AbstractXWikiMigrationManager - New storage version is now [7351]
2008-12-03 17:00:58,749 [Lucene index rebuilder thread] [Lucene Index
Rebuilder] WARN util.JDBCExceptionReporter - SQL Error: 0,
SQLState: 42883
2008-12-03 17:00:58,750 [Lucene index rebuilder thread] [Lucene Index
Rebuilder] ERROR util.JDBCExceptionReporter - ERROR: operator does
not exist: boolean <> integer
2008-12-03 17:00:58,768 [Lucene index rebuilder thread] [Lucene Index
Rebuilder] WARN lucene.IndexRebuilder - Error getting
document names for wiki [xwiki]. Internal error is: $s
2008-12-03 17:00:59,153
[http://xxx.com/xwiki-enterprise-web-1.7-rc-1/bin/view/Main/] [qtp0-6]
WARN util.JDBCExceptionReporter - SQL Error: 0, SQLState: 42883
2008-12-03 17:00:59,159
[http://xxx.com/xwiki-enterprise-web-1.7-rc-1/bin/view/Main/] [qtp0-6]
ERROR util.JDBCExceptionReporter - ERROR: operator does not exist:
boolean <> integer
2008-12-03 17:00:59,169
[http://xxx.com/xwiki-enterprise-web-1.7-rc-1/bin/view/Main/] [qtp0-6]
ERROR scheduler.SchedulerPlugin - Failed to initialize the scheduler
com.xpn.xwiki.plugin.scheduler.SchedulerPluginException: Error number
90009 in 5: com.xpn.xwiki.plugin.scheduler.SchedulerPlugin: Failed to
restore existing scheduler jobs
Wrapped Exception: Error number 3223 in 3: Exception while searching
documents with SQL [select distinct doc.space, doc.name from
XWikiDocument as doc , BaseObject as obj where (doc.hidden <> 1 or doc.hid
den is null) and doc.web='Scheduler' and obj.name=doc.fullName and
obj.className='XWiki.SchedulerJobClass']
Wrapped Exception: could not execute query
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.restoreExistingJobs(SchedulerPlugin.java:282)
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.init(SchedulerPlugin.java:130)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1007)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:728)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:656)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:316)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:387)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
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:693)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1121)
at com.xpn.xwiki.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1112)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1112)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1112)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1112)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
at
org.mortbay.jetty.security.ConstraintsSecurityHandler.handle(ConstraintsSecurityHandler.java:220)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:822)
at
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:305)
at
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:229)
at
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:113)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:324)
at
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:550)
at
org.mortbay.jetty.ajp.Ajp13Connection.access$2800(Ajp13Connection.java:44)
at
org.mortbay.jetty.ajp.Ajp13Connection$RequestHandler.headerComplete(Ajp13Connection.java:232)
at org.mortbay.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:498)
at
org.mortbay.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:151)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:407)
at
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:235)
at
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
...
Wrapped Exception:
org.postgresql.util.PSQLException: ERROR: operator does not exist:
boolean <> integer
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:1592)
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1327)
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:192)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:451)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:350)
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(AbstractJdbc2Statement.java:254)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at
org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
at
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)
at org.hibernate.loader.Loader.doQuery(Loader.java:674)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
at org.hibernate.loader.Loader.doList(Loader.java:2213)
at
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
at org.hibernate.loader.Loader.list(Loader.java:2099)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
at
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
at
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNamesInternal(XWikiHibernateStore.java:2262)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2235)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocumentsNames(XWikiHibernateStore.java:2708)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocumentsNames(XWikiCacheStore.java:251)
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.restoreExistingJobs(SchedulerPlugin.java:263)
at
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin.init(SchedulerPlugin.java:130)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
Anybody know how to solve this problem?
Thx for help and Greetings,
Bart
--
Bartłomiej Radziszewski
mobile: +48 509 561 540
e-mail: br(a)debian.linux.pl
JID: br(a)debian.linux.pl
ICQ: #305569725
Hello,
I was wondering if anyone has gotten GroovyWS to work with Xwiki on a windows platform?
Issue:
I need to access an external webservice to meet a client requirement. While it would be possible for me to write a plug-in to do this, I'm not really a java programmer so it's likely to be more hackish than necessary. Also, given how easy it is to do a web service with GroovyWS, the (power user) client would likely be able to update or add functionality should their external webservice change.
Problem:
I'm testing using the terraservice example given on the GroovyWS website http://groovy.codehaus.org/GroovyWS , It works for me in the Groovy console, and I've added the same jar file to the WEB-INF/lib directory. However, when I run it through Xwiki, I get the following error:
Dec 3, 2008 2:58:31 PM org.apache.cxf.endpoint.dynamic.DynamicClientFactory outputDebug
INFO: Created classes: com.terraserver_usa.terraserver.AreaBoundingBox, [...] com.terraserver_usa.terraserver.UtmPt
java.lang.RuntimeException: java.net.URISyntaxException: Illegal character in path at index 0: \
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:256)
[...]
It looks to me like I don't have a variable set that I need somewhere. After looking at the following blog entry (http://blogs.sun.com/geertjan/entry/groovy_web_services_and_org) I think I have everything that I need set in CLASSPATH, JAVA_HOME, and GROOVY_HOME. Is there someplace special I need to set these special for Xwiki to be able to find everything, or am I possibly looking in the totally wrong place?
Confused,
Doug
Hi all,
I have downloaded the Xwiki enterprise generic jar and installed it in a
machine which has ubuntu as the operating system. It has installed
successfully, but when I try to run the application, it can't start the
thread server which runs on port 8080.
The exceptions is as follows.
org.mortbay.util.MultiException[java.net.BindException: Address already in
use]
at org.mortbay.http.HttpServer.doStart(HttpServer.java:731)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.jetty.Server.main(Server.java:460)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mortbay.start.Main.invokeMain(Main.java:151)
at org.mortbay.start.Main.start(Main.java:476)
at org.mortbay.start.Main.main(Main.java:94)
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:336)
at java.net.ServerSocket.bind(ServerSocket.java:336)
at java.net.ServerSocket.<init>(ServerSocket.java:202)
at
org.mortbay.util.ThreadedServer.newServerSocket(ThreadedServer.java:391)
at org.mortbay.util.ThreadedServer.open(ThreadedServer.java:477)
at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:503)
at org.mortbay.http.SocketListener.start(SocketListener.java:203)
at org.mortbay.http.HttpServer.doStart(HttpServer.java:761)
at org.mortbay.util.Container.start(Container.java:72)
at org.mortbay.jetty.Server.main(Server.java:460)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mortbay.start.Main.invokeMain(Main.java:151)
at org.mortbay.start.Main.start(Main.java:476)
at org.mortbay.start.Main.main(Main.java:94)
How can I solve this problem??
Hello.
I send you this mail in order to ask for the possibility to create a new
wiki in the Community XWiki farm.
User name in MyWiki : Slyware (Sylvestre JORGENSEN)
Desired Server name : slyware.myxwiki.org
Description : Testing the XWiki framework with the following example :
Attendance management for the staff of non-profit-making organization.
Thank you for your community's work.
Best regards.
Sylvestre JORGENSEN
Hi Thomas,
I am on Xwiki Enterprise 1.6.1
regards,
rob.
-----------Original message ---------------------------------
Message: 1
Date: Mon, 1 Dec 2008 16:20:31 +0100
From: "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
Subject:
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<a8e97d9c0812010720x228a83b9rb23acfe224598916(a)mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
Hi,
Which version of XWiki Core/XE are you using ?
On Mon, Dec 1, 2008 at 4:01 PM, Robert Munro <rrmunro(a)gmail.com> wrote:
> Hi ,
> I am getting some quirky behaviour with the LDAP based login for the first
> time, it only seems to work after 3 tries for new users, and also only if
I
> have lowercase the first two times then uppercase the third time (in our
> LDAP, the usernames are uppercase P and a unique number). I have attached
> the log output, just wondering if anyone can tell me whats happening. on
the
> logon screen I get:-
> 1st try: No message - just returns to the login page - lowercase p
> 2nd try: "Wrong password" - lowercase p
> 3rd try: Works OK. - uppercase P
>
> If it try it with uppercase P all the time then the user record created is
> somehow messed up and i can login with it.
>
> here is the log output:
Hi ,
I am getting some quirky behaviour with the LDAP based login for the first
time, it only seems to work after 3 tries for new users, and also only if I
have lowercase the first two times then uppercase the third time (in our
LDAP, the usernames are uppercase P and a unique number). I have attached
the log output, just wondering if anyone can tell me whats happening. on the
logon screen I get:-
1st try: No message - just returns to the login page - lowercase p
2nd try: "Wrong password" - lowercase p
3rd try: Works OK. - uppercase P
If it try it with uppercase P all the time then the user record created is
somehow messed up and i can login with it.
here is the log output:
----------------------------Log output
---------------------------------------------------------------------------------
14:41:29,871 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:29,886 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:29,902 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:p50000351 base:O=MyCompanyGroup
query:(cn=p50000351) uid:cn
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Creating new
XWiki user based on LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:29,918 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,042 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - New XWiki
user created: null
14:41:30,587 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:30,603 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:30,618 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - LDAP Search
failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 0000208D: NameErr: DSID-031521D2, problem
2001 (NO_OBJECT), data 0, best match of:
'O=MyCompanyGroup'
LDAPException: Matched DN: O=MyCompanyGroup
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:303)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:454)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:129)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:170)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP
authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.updateUserFromLDAP(XWikiLDAPAuthServiceImpl.java:728)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:474)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:129)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:170)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:30,634 [
http://localhost:8080/xwiki/bin/view/Main/WebHome?srid=DAVxwJmD]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying
authentication against XWiki DB
14:41:39,512 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:39,527 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:39,527 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - LDAP Search
failed
LDAPException: No Such Object (32) No Such Object
LDAPException: Server Message: 0000208D: NameErr: DSID-031521D2, problem
2001 (NO_OBJECT), data 0, best match of:
'O=MyCompanyGroup'
LDAPException: Matched DN: O=MyCompanyGroup
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:303)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:454)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
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:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
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:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:39,558 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Local LDAP
authentication failed.
java.lang.NullPointerException
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.updateUserFromLDAP(XWikiLDAPAuthServiceImpl.java:728)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:474)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:379)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:176)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:131)
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:205)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3566)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3574)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4480)
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:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Unknown Source)
14:41:39,574 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Trying
authentication against XWiki DB
14:41:49,573 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:49,589 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:49,620 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:49,620 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:49,620 [http://localhost:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:49,822 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:49,838 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:49,853 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:49,853 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:49,853 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:49,869 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:49,869 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:49,869 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,056 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:50,071 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:50,087 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:50,087 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,087 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:50,103 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:50,103 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:50,103 [http://localhost:8080/xwiki/bin/view/Main/WebHome]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,772 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Connection
to LDAP server [<LDAP_HOST>:389]
14:41:50,788 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConnection - Binding to
LDAP server with credentials
login=[CN=JAM_WIKI,CN=AdminUsers,O=MyCompanyGroup] password=[<LDAP_PWD>]
14:41:50,803 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Found user
dn with the user object: null
14:41:50,803 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
14:41:50,803 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPUtils - Searching
for the user in LDAP: user:P50000351 base:O=MyCompanyGroup
query:(cn=P50000351) uid:cn
14:41:50,819 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - LDAP
attributes will be used to update XWiki attributes.
14:41:50,819 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG LDAP.XWikiLDAPAuthServiceImpl - Updating
existing user with LDAP attribues located at
CN=P50000351,CN=MiisUsers,O=MyCompanyGroup
14:41:50,819 [
http://localhost:8080/xwiki/bin/view/Main/?xpage=xpart&vm=commentsinline.vm]
[http-8080-Processor24] DEBUG ldap.XWikiLDAPConfig - Ready to
create user from LDAP with fields
last_name=sn,first_name=givenName,email=mail,ldap_dn=dn
----------------------------End Log output
---------------------------------------------------------------------------------
Hi,
How want to configure the home page to be another space, I want it to be
Capita.WebHome (our companys space) instead of Main.WebHome? and also i want
to configure this page to show after logout. is this possible?
Regards,
Rob.