Hello my name is Carlos I'm from Olinda, Brazil and I liked some projects
from XWiki on GSOC, I liked the idea to add gadget, media and content sites
integration especially. I want to know where could I get more info about
this project, thks
--
Carlos Júnior
Hi Thomas,
Thanks for the prompt info.
Regards,
Colin
----- Original Message ----
From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
To: XWiki Developers <devs(a)xwiki.org>
Sent: Friday, 21 March 2008 12:09:14
Subject: Re: [xwiki-devs] Regarding LDAP SyncGroupsMembership
This snapshot is a 1.3 snapshot from 1.3 branch :
https://svn.xwiki.org/svnroot/xwiki/xwiki-platform/core/branches/xwiki-core…
It's exactly the same thing for LDAP part than in trunk for but there
is too much modifications in xwiki-core 1.4 (trunks) to just replace
your xwiki-core based on 1.3
On Thu, Mar 20, 2008 at 4:54 PM, Colin Tay <lee_hyeok(a)yahoo.com.sg> wrote:
>
> Hi Thomas,
>
> I would like to obtain a copy of the source code as well.
> So the snapshot version is from the svn branch or trunk folder?
>
> Regards,
> Colin
>
> ----- Original Message ----
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> To: XWiki Developers <devs(a)xwiki.org>
> Sent: Thursday, 20 March 2008 6:39:31
> Subject: Re: [xwiki-devs] Regarding LDAP SyncGroupsMembership
>
> Hi,
>
> LDAP group membership has a bug in 1.3 fixed in the coming 1.3.1. Your
> can get the xwiki-core 1.3 snapshot version on
> http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.3-SNAP….
>
> On Wed, Mar 19, 2008 at 11:04 AM, Colin Tay <lee_hyeok(a)yahoo.com.sg> wrote:
> >
> > Hi,
> >
> > I having been testing with XWiki 1.3 on tomcat 6 authenticating with
> active
> > directory.
> > However, i noticed that the membership is sync only when the server is
> > restarted.
> > Why is it so?
> >
> > Regards,
> > Colin
> >
> > ________________________________
> >
> >
> > Search. browse and book your hotels and flights through Yahoo! Travel
> > _______________________________________________
> > devs mailing list
> > devs(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/devs
> >
> >
>
>
>
> --
> Thomas Mortagne
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
> ________________________________
>
>
> Search. browse and book your hotels and flights through Yahoo! Travel
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
______________________________________________________________________
Search, browse and book your hotels and flights through Yahoo! Travel.
http://sg.travel.yahoo.com
Hi Thomas,
I would like to obtain a copy of the source code as well.
So the snapshot version is from the svn branch or trunk folder?
Regards,
Colin
----- Original Message ----
From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
To: XWiki Developers <devs(a)xwiki.org>
Sent: Thursday, 20 March 2008 6:39:31
Subject: Re: [xwiki-devs] Regarding LDAP SyncGroupsMembership
Hi,
LDAP group membership has a bug in 1.3 fixed in the coming 1.3.1. Your
can get the xwiki-core 1.3 snapshot version on
http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-core/1.3-SNAP….
On Wed, Mar 19, 2008 at 11:04 AM, Colin Tay <lee_hyeok(a)yahoo.com.sg> wrote:
>
> Hi,
>
> I having been testing with XWiki 1.3 on tomcat 6 authenticating with active
> directory.
> However, i noticed that the membership is sync only when the server is
> restarted.
> Why is it so?
>
> Regards,
> Colin
>
> ________________________________
>
>
> Search. browse and book your hotels and flights through Yahoo! Travel
> _______________________________________________
> devs mailing list
> devs(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/devs
>
>
--
Thomas Mortagne
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_____________________________________________________________________
Live Chat NOW!
http://asia.yahoo.com/meetic/
Hello, all
Currently, all the userprofile pages are in XWiki space by default. I'd like
to make the profile pages in another space, such as 'userspace'. And this
should be done by the system, not mannualy. Is it possible to do this by
modify some template and how to do it?
Thank you very much.
--
View this message in context: http://www.nabble.com/Make-user-profile-page-in-specified-space-tp16150630p…
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
I noticed this morning these errors when I start XE from trunk and go
to the home page and navigate on a few pages:
2008-03-20 09:02:08,319 [http://localhost:8080/xwiki/bin/Main/BlogRss?xpage=rdf
] [P1-18] WARN xwiki.XWiki - Error on too many
recursive includes for topic XWiki.WebRssCode
[ERROR] Introspection Error : Ambiguous method invocation
display(java.lang.String, java.lang.String, null) for class class
com.xpn.xwiki.api.Document
2008-03-20 09:02:20,060 [http://localhost:8080/xwiki/bin/Main/BlogRss?xpage=rdf
] [P1-18] WARN xwiki.XWiki - Error on too many
recursive includes for topic XWiki.BlogRssCode
It may be caused by some code I have locally but I thought I should
ask here since someone may have introduced a regression somewhere.
Thanks
-Vincent
Hi,
I having been testing with XWiki 1.3 on tomcat 6 authenticating with active directory.
However, i noticed that the membership is sync only when the server is restarted.
Why is it so?
Regards,
Colin
__________________________________________________________________
Yahoo! Singapore Answers
Real people. Real questions. Real answers. Share what you know at http://answers.yahoo.com.sg
Hi devs,
The branch was created a while ago, when the plugin code needed to break
compatibility with core-1.1, but hasn't seen any activity in a while.
Meanwhile, the plugin trunk is on version 1.4 already. OK to remove it?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
I see that the XWiki Watch uses GWT extensively and I noticed the Document
Tree Plugin has lapsed (to be kind).
So I was just thinking which I am prone to do and seeing the GWT tree
control in the Watch had me thinking that the Document Tree Plugin rebuilt
using the GWT Tree Widget might not be difficult and I for one know I would
like to see it or build it myself.
I presume the sources for the Watch are available and I assume someone has
the sources for the previous Document Tree plugin. If anybody think this is
worthy, let me know and provide any pointers and I will do it and post it
back for you to review.
I was a committer on Jakarta Slide before it was retired so I know my way
around Eclipse SVN and Maven.
Ollie
--
View this message in context: http://www.nabble.com/GWT-Document-Tree-tp16150324p16150324.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
Hi,
I am trying to deploy xwiki-enterprise-wiki-1.3 via the import page on xwiki 1.3 using oracle as the backend database.
But encountered the following errors message, it is seem to be caused by the oracle database does not accept null value.
How can i resolve this issue?
The errors message is as follow:
2008-03-20 15:21:05,593 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] WARN util.JDBCExceptionReporter - SQL Error: 1400, SQLState: 23000
2008-03-20 15:21:05,593 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR util.JDBCExceptionReporter - ORA-01400: cannot insert NULL into ("XWIKI"."XWIKILARGESTRINGS"."XWL_ID")
2008-03-20 15:21:05,593 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR .AbstractFlushingEventListener - Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: could not insert: [com.xpn.xwiki.objects.LargeStringProperty]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
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:778)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:749)
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:1078)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1051)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1045)
at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:595)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:532)
at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:197)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:189)
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.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
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)
Caused by: java.sql.SQLException: ORA-01400: cannot insert NULL into ("XWIKI"."XWIKILARGESTRINGS"."XWL_ID")
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:623)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:543)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2250)
... 44 more
2008-03-20 15:21:05,656 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR packaging.Package - Failed to save document Stats.Skin
2008-03-20 15:21:12,218 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] WARN util.JDBCExceptionReporter - SQL Error: 1400, SQLState: 23000
2008-03-20 15:21:12,218 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR util.JDBCExceptionReporter - ORA-01400: cannot insert NULL into ("XWIKI"."XWIKILARGESTRINGS"."XWL_ID")
2008-03-20 15:21:12,218 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR .AbstractFlushingEventListener - Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: could not insert: [com.xpn.xwiki.objects.LargeStringProperty]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
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:778)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:749)
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:1078)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1051)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1045)
at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:595)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:532)
at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:197)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:189)
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.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
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)
Caused by: java.sql.SQLException: ORA-01400: cannot insert NULL into ("XWIKI"."XWIKILARGESTRINGS"."XWL_ID")
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:623)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:543)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2250)
... 44 more
2008-03-20 15:21:12,234 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR packaging.Package - Failed to save document XWiki.WebPreferences
2008-03-20 15:21:12,656 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] WARN util.JDBCExceptionReporter - SQL Error: 1400, SQLState: 23000
2008-03-20 15:21:12,656 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR util.JDBCExceptionReporter - ORA-01400: cannot insert NULL into ("XWIKI"."XWIKILARGESTRINGS"."XWL_ID")
2008-03-20 15:21:12,656 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR .AbstractFlushingEventListener - Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: could not insert: [com.xpn.xwiki.objects.LargeStringProperty]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
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:778)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:749)
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:1078)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1051)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1045)
at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:595)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:532)
at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:197)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:189)
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.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
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)
Caused by: java.sql.SQLException: ORA-01400: cannot insert NULL into ("XWIKI"."XWIKILARGESTRINGS"."XWL_ID")
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:623)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:543)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2250)
... 44 more
2008-03-20 15:21:12,671 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR packaging.Package - Failed to save document XWiki.XWikiAdminGroup
2008-03-20 15:21:13,843 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] WARN util.JDBCExceptionReporter - SQL Error: 1, SQLState: 23000
2008-03-20 15:21:13,843 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR util.JDBCExceptionReporter - ORA-00001: unique constraint (XWIKI.SYS_C0025672) violated
2008-03-20 15:21:13,843 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR .AbstractFlushingEventListener - Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: could not insert: [com.xpn.xwiki.doc.XWikiAttachment]
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)
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:778)
at com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:749)
at com.xpn.xwiki.store.XWikiHibernateAttachmentStore.saveAttachmentContent(XWikiHibernateAttachmentStore.java:94)
at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2517)
at com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent(XWikiDocument.java:2499)
at com.xpn.xwiki.doc.XWikiDocument.saveAllAttachments(XWikiDocument.java:2468)
at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:596)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:532)
at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:197)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:189)
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.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
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)
Caused by: java.sql.SQLException: ORA-00001: unique constraint (XWIKI.SYS_C0025672) violated
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:623)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:181)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:543)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1028)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2888)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2960)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:101)
at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:23)
at org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2247)
... 42 more
2008-03-20 15:21:13,890 [http://localhost:8080/xwiki/bin/import/XWiki/Import?editor=import&space=XWi…] [http-8080-1] ERROR packaging.Package - Failed to save document XWiki.XWikiSyntax
Regard,
Colin
______________________________________________________________________
Search, browse and book your hotels and flights through Yahoo! Travel.
http://sg.travel.yahoo.com
Hi everybody.
following the post I did some time ago, I've reworked the XWiki XML
RPC implementation. The previous XML RPC code was rather messy and
contained a lot of duplicated code (basically the server side was re-
implementing the same domain model already available in the Swizzle
client-side jar). At first I managed to cut it down by basically
removing all the duplicated code and linking directly to the Swizzle
jar.
Then I started working on object manipulation and I basically ended up
with a complete rewrite.
The new implementation is then based on two components:
1) The domain model classes and the XML RPC client
2) The server side implementation of the API (that is an extension of
the Confluence one and uses the same domain model defined in 1)
Overall we have the following "features":
1) The new implementation, on the server side, makes use of the XWiki
Api wrapper (com.xpn.api.XWiki) instead of directly using the low
level objects. Though I am not an expert of the XWiki internals, I
think this is good for handling rights management (which is
transparently done by the wrapper)
2) The implementation looks more robust and simple.
3) On the client side we still have interoperability with confluence
and with the previous versions of XWiki.
There are, however, two potential "bugs":
1) The client side jar requires Java 5.0. Infact it uses reflection
and annotations to handle the "magic" of XML RPC communication (see
MapObject.java).
2) We are basically giving up on Swizzle.
The first "bug" can be easily solved, but this would lead to a less
elegant and more bloated solution.
The second "bug" is maybe political. Anyway if we want to go the
Swizzle way, I also have a cut-down implementation that still uses
swizzle (though I will need to patch the official swizzle-distribution
for adding XWiki specific features, and in this is actually like
having our own client)
The current implementation is not feature complete (though XEclipse
would already work fine with it and object edition could also be
implemented)
In the attachments you will find the current version of the
implementation so you can review it and discuss future directions or
issues:
org.xwiki.xmlrpc.tar.gz is the "client side" jar that will be used by
clients like XEclipse.
com.xpn.xwiki.xmlrpc3.tar.gz is the package that would, in case,
become part of XWiki.
WDYT?
Cheers,
Fabio