Hi
On XE 1.4/Linux/Tomcat, i get the following exception when i try to post to
a blog. Authentication works alright but sometimes, it seems as though it
works in the second attempt. I know this is very strange.
Any pointers?
Using IE7 on Windows.
Thanks
Shiva
10:41:46,996 [http://172.21.16.147/xwiki/bin/view/Main/DocumentDoesNotExist]
[http-80-1] WARN LDAP.XWikiLDAPAuthServiceImpl - LDAP authentication
failed.
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving
document XWiki.shiva_shankar
Wrapped Exception: Error number 3212 in 3: Exception while saving property
tags of object XWiki.shiva_shankar
Wrapped Exception: Illegal attempt to associate a collection with two open
sessions
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:573)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1130)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1098)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1092)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.updateUserFromLDAP(XWikiLDAPAuthServiceImpl.java:725)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.syncUser(XWikiLDAPAuthServiceImpl.java:417)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:297)
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:107)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:195)
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:96)
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:213)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3411)
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:167)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3419)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4381)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:179)
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
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:447)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)
at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)
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:263)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
--
View this message in context: http://www.nabble.com/LDAP-Authentication-exception-tp17750754p17750754.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1..4.1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is an important bugfixes release (including one regression
introduced in 1.4) mainly around multiwiki mode and encoding:
* Global groups are not taken into account in a virtual wiki
* Feed plugin's startUpdateFeedsInSpace does not allow to update two
or more wiki with same space name in virtual mode
* Macro Mapping does not initialize properly macro definition in multi wiki mode
* The inline edit loses the doc's parent and title attributes
* Wysiwyg editor breaks accents in links
* Curly Quote coming from a Copy Paste is transformed into ? after
cache is reset
For more information see the Release notes at:
[Main.ReleaseNotesXWikiEnterprise141]
Thanks
-The XWiki dev team
Whenever a user authenticated via ldap trys to save to a wiki that he added a link to none of his changes are saved and it asks him to log back in? Has anyone heard of this?
-Matt
Starting release now
On Mon, Jun 2, 2008 at 4:49 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com> wrote:
> On Mon, Jun 2, 2008 at 3:08 PM, Vincent Massol <vincent(a)massol.net> wrote:
>>
>> On Jun 2, 2008, at 2:55 PM, Thomas Mortagne wrote:
>>
>>> I would like to release XEM 1.2 (based on XE 1.4.1) right after XE
>>> 1.4.1 release, WDYT ?
>>
>> +1 if you want (not a high priority though since this is only for
>> convenience and users can install XEM on top of a XE 1.4.1 release
>> themselves).
>
> Yes but there is bugfixes in this release (not only 1.4RC1->1.4.1) and
> there was no XEM/WikiManager "sable" release since 1.1.1
> (15/Apr/08)...
>
>>
>> Thanks
>> -Vincent
>>
>>> On Mon, May 26, 2008 at 9:58 AM, Thomas Mortagne
>>> <thomas.mortagne(a)xwiki.com> wrote:
>>>> On Mon, May 26, 2008 at 9:38 AM, Vincent Massol
>>>> <vincent(a)massol.net> wrote:
>>>>>
>>>>> On May 26, 2008, at 9:36 AM, Thomas Mortagne wrote:
>>>>>
>>>>>> and now ? ;)
>>>>>
>>>>> Sounds good.
>>>>>
>>>>> Maybe you'll want till we can verify that the problem we're
>>>>> having on
>>>>> xwiki.org is not caused by 1.4?
>>>>
>>>> I prefer to have a XEM synchronized with XE in versions: 1.4->1.2,
>>>> 1.4.1->1.2.1, etc. to be easier to follow for users (and us) but
>>>> maybe
>>>> it's not really needed ;). As you said, XEM is pretty easy to install
>>>> from XE but I guess it's safer for user to be sure to have the right
>>>> XEM version for the right XE version under it....
>>>>
>>>>>
>>>>> -Vincent
>>>>>
>>>>>> On Fri, May 16, 2008 at 3:36 PM, Vincent Massol
>>>>>> <vincent(a)massol.net>
>>>>>> wrote:
>>>>>>> I agree with JV. We should wait. Especially since I don't see any
>>>>>>> hurry and especially since users can create a XEM using 1.4 if
>>>>>>> they
>>>>>>> want. It's only a convenience distribution.
>>>>>>>
>>>>>>> Thanks
>>>>>>> -Vincent
>>>>>>>
>>>>>>> On May 16, 2008, at 2:01 PM, Jean-Vincent Drean wrote:
>>>>>>>
>>>>>>>> +1
>>>>>>>>
>>>>>>>> I think it would be wise to wait the middel/end of the next week
>>>>>>>> to do
>>>>>>>> the release, just to be sure there won't be an urgent need for
>>>>>>>> a XE
>>>>>>>> 1.4.1
>>>>>>>>
>>>>>>>> On Fri, May 16, 2008 at 11:49 AM, Thomas Mortagne
>>>>>>>> <thomas.mortagne(a)xwiki.com> wrote:
>>>>>>>>> Hi devs,
>>>>>>>>>
>>>>>>>>> As XE 1.4 final is now released I would like to follow with
>>>>>>>>> XEM 1.2
>>>>>>>>> final. The main "pure" XEM new feature is the wiki name ajax
>>>>>>>>> based
>>>>>>>>> validation, it also fix some bugs.
>>>>>>>>>
>>>>>>>>> See http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM12
>>>>>>>>> for
>>>>>>>>> details.
>>>>>>>>>
>>>>>>>>> Here is my +1
>> _______________________________________________
>> devs mailing list
>> devs(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>
>
>
> --
> Thomas Mortagne
>
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
Hi devs,
As XE 1.4 final is now released I would like to follow with XEM 1.2
final. The main "pure" XEM new feature is the wiki name ajax based
validation, it also fix some bugs.
See http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM12 for details.
Here is my +1
--
Thomas Mortagne
I'm trying to create a new document (page) and have the page reference a
template. For example:
#set($mydoc = $xwiki.getDocument("$myblogpage"))
#if($mydoc.isNew())
##new page created
#set($content = "#template('blogmacros.vm')")
$mydoc.setContent("$content")
$mydoc.save()
#end
The problem is that all of the velocity statements are processed when added
the template is added to the to the page. I tried to prevent processing by
wrapping #template(.... with {pre}{pre} but it had no effect.
So I tried to copy the document which already referrs to the template but
this fails without any error message and never hits my breakpoint in
XWiki.copyDocument
#if(!$xwiki.exists("$myblogpage"))
#if($xwiki.copyDocument($testpage , $myblogpage))
##successfully copied
#else
##failed to copy
#end
#end
It seems like this should be easy what am I missing?
Thanks for any help.
Glenn Everitt
--
View this message in context: http://www.nabble.com/Create-a-new-page-referencing-a-template-tp17741202p1…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
I recently created an application in xwiki.
This was set of some classes and its objects.
All the classes and objects are created in a space called aeternam.
This space also contains some other data (mainly the pages that got created
while testing the application).
Now I want to select only the needed pages inside this space ie the classes
that were created and some configuration objects and package them into a xar
file.
So that same can be imported in some other instance of xwiki as an
application under the space aeternam.
I believe application manager plugin would be best way to do this.
If there is any other way to do what I just described please let me know
that too.
So I created a new application called aeternam application. I want to now
add the classes and objects pages under aeternam space to it. Is there
anyway to do this.
When I click the edit link next to the application in application listing
page, it does open an edit page, where there is a placeholder to add pages
or documents.
However, one cannot choose the documents from any link, one has to type it.
Now there are many classes and objects I would like to package and it would
not be possible for me to remember each document's name.
So is there any better way of doing this with or without application manager
app.
Thanks
Sachin
-----
http://www.assembla.com/wiki/show/sachin_mittal about me:
--
View this message in context: http://www.nabble.com/Packaging-application-using-application-manager-plugi…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 with
jboss_4.0.3.
I installed :
xwiki-workspaces-web-1.0.war<http://forge.objectweb.org/project/download.php?group_id=170&file_id=10480>
http://localhost:8080/xwiki/
HTTP Status 500 -
------------------------------
*type* Exception report
*message*
*description* *The server encountered an internal error () that prevented it
from fulfilling this request.*
*exception*
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: could not insert: [com.xpn.xwiki.doc.XWikiDocument]
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:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
*root cause*
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document XWiki.XWikiPreferences
Wrapped Exception: could not insert: [com.xpn.xwiki.doc.XWikiDocument]
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:303)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:123)
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:697)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
Log message :
16:54:12,838 ERROR [AbstractFlushingEventListener] Could not synchronize
database state with session
org.hibernate.exception.GenericJDBCException: could not insert:
[com.xpn.xwiki.doc.XWikiDocument]
at
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2267)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660)
at
org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
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:783)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:754)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:447)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1083)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1056)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1050)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.checkClassDocument(AbstractXClassManager.java:402)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.check(AbstractXClassManager.java:368)
at
com.xpn.xwiki.plugin.applicationmanager.doc.XWikiApplicationClass.getInstance(XWikiApplicationClass.java:260)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:184)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:378)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:146)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:76)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:107)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:858)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:786)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:722)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:293)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:123)
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:697)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
at
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
at
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
All,
I'm working on setting up active directory authentication for a xwiki site but our domain permissions only allow users to log onto certain computers for security reasons. The users do have permission to log onto the server that is hosting XWiki but when they try and authenticate they receive the LDAP data 531 error which means they do not have permission to log onto the workstation. When I add permissions to log onto the domain controller the users are then able to authenticate. Is there any reason that they need local login access to the DC/Is there any way to fix this? Thanks for your help!
Sincerely,
Matthew Serel