It seems some people like jwebunit (I've never used it myself) and it may be
a good fit for xwiki functional tests.
It would then be possible to add some xwiki layer on top of it so that
functional tests could be edited in the wiki itself (a la fatcow/fitnesse).
Just an idea that I'm logging for fear of loosing it :-)
-Vincent
I'm using Tomcat 5.9 with XWiki 0.9.794. When i login to xwiki it throws an error like this,
18:14:40,479 ERROR http-8081-Processor23 http://localhost:8878/xwiki/bin/view/Ma
in/WebHome AssertionFailure:<init>:22 - an assertion failure occured (this may i
ndicate a bug in Hibernate, but is more likely due to unsafe use of the session)
org.hibernate.AssertionFailure: possible nonthreadsafe access to session
at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.ja
va:68)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
ns(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlus
hEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java
:86)
at com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernate
Store.java:342)
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHi
bernateStore.java:974)
at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServi
ceImpl.java:205)
at com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificatio
nManager.java:93)
at com.srilogic.xwiki.user.web.ViewEditAction.execute(ViewEditAction.jav
a:283)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at com.srilogic.iportal.security.catalina.authenticator.SingleSignOn.inv
oke(SingleSignOn.java:374)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:534)
com.xpn.xwiki.XWikiException: Error number 3213 in 3: Exception while deleting o
bject XWiki.admin
Wrapped Exception: possible nonthreadsafe access to session
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHi
bernateStore.java:978)
at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServi
ceImpl.java:205)
at com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificatio
nManager.java:93)
at com.srilogic.xwiki.user.web.ViewEditAction.execute(ViewEditAction.jav
a:283)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at com.srilogic.iportal.security.catalina.authenticator.SingleSignOn.inv
oke(SingleSignOn.java:374)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:534)
Wrapped Exception:
org.hibernate.AssertionFailure: possible nonthreadsafe access to session
at org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.ja
va:68)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at org.hibernate.event.def.AbstractFlushingEventListener.performExecutio
ns(AbstractFlushingEventListener.java:274)
at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlus
hEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:726)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:320)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java
:86)
at com.xpn.xwiki.store.XWikiHibernateStore.endTransaction(XWikiHibernate
Store.java:342)
at com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiCollection(XWikiHi
bernateStore.java:974)
at com.xpn.xwiki.stats.impl.XWikiStatsServiceImpl.notify(XWikiStatsServi
ceImpl.java:205)
at com.xpn.xwiki.notify.XWikiActionRule.verify(XWikiActionRule.java:51)
at com.xpn.xwiki.notify.XWikiNotificationManager.verify(XWikiNotificatio
nManager.java:93)
at com.srilogic.xwiki.user.web.ViewEditAction.execute(ViewEditAction.jav
a:283)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:105)
at com.srilogic.iportal.security.catalina.authenticator.SingleSignOn.inv
oke(SingleSignOn.java:374)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ssConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
int.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
lowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
ool.java:684)
at java.lang.Thread.run(Thread.java:534)
18:14:43,133 WARN http-8081-Processor24 RequestUtils:createActionForm:177 - No
FormBeanConfig found under 'skin'
Finally it says No FormBeanConfig found under 'skin'. If i'm correct something is missing in the struts-config.xml. But i'm not sure whether this is relevant to above exception
Renaming the webapp to 'xwiki' instead of 'xwiki-exo-0.9.840' didn't
solve the problem.
---------- Forwarded message ----------
From: Ludovic Dubost <ludovic(a)xwiki.org>
Date: Aug 3, 2005 4:07 PM
Subject: Re: XWiki+eXo problem
To: Catalin Hritcu <catalin.hritcu(a)gmail.com>
You should send this to the developers list.
It' seems tehre is an issue with class loading and hibernate..
It might be needed to play around with the jars
Also you should rename the webapp to 'xwiki' instead of 'xwiki-exo-0.9.840'
23:48:58,343 ERROR http-8080-Processor23
http://localhost:8080/xwiki-exo-0.9.840/bin/view/Main/WebHome
BasicLazyInitializer:getProxyFactory:103 - CGLIB Enhancement failed:
com.xpn.xwiki.objects.classes.DateClass
java.lang.NoClassDefFoundError
at net.sf.cglib.proxy.Enhancer.getMethods(Enhancer.java:428)
at net.sf.cglib.proxy.Enhancer.generateClass(Enhancer.java:452)
at
net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at
net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:215)
at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:373)
at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:281)
at net.sf.cglib.proxy.Enhancer.create(Enhancer.java:640)
at
org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:94)
at
org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:42)
at
org.hibernate.tuple.PojoTuplizer.buildProxyFactory(PojoTuplizer.java:144)
at org.hibernate.tuple.AbstractTuplizer.<init>(AbstractTuplizer.java:83)
at org.hibernate.tuple.PojoTuplizer.<init>(PojoTuplizer.java:54)
at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:47)
at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:217)
at
org.hibernate.persister.entity.BasicEntityPersister.<init>(BasicEntityPersister.java:400)
at
org.hibernate.persister.entity.JoinedSubclassEntityPersister.<init>(JoinedSubclassEntityPersister.java:87)
Catalin Hritcu wrote:
> Hello Ludovic,
>
> Could you please give me some info on how to use XWiki with eXo Portal
> Platform. I tried a lot of different versions of XWiki, and different
> configurations, but none of them worked. I mention that the standalone
> version (no eXo) worked fine for me. I am attaching the tomcat output,
> maybe you can give me some hints on how to fix this problem. Or maybe
> you already have a description on how to install XWiki with eXo Portal
> Platform, to which you could give me a link.
>
> Many Thanks,
> Catalin Hritcu
>
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Hello,
Has anyone here had experience developing a JXTA or Eclipse RCP application?
I have a few questions:
JXTA and other protocols:
Is there anyway to autoconfigure during the first launch of a
JXTA-enabled program instead of showing the user the configurator?
(start with default settings and put the configurator into a settings
menu?)
Is Rendezvous in JXTA the same as Apple's Bonjour (formerly known as
Rendezvous) ?
http://en.wikipedia.org/wiki/Bonjour_%28protocol%29
Eclipse RCP:
What constraints are there to developing Eclipse plugins as opposued
to raw Java applications?
If my application is based on a Model-View-Controller pattern, can I
simply develop the model for my application, and then later develop an
RCP plugin for the View/Controller?
Thanks for any help,
Kevin Chiu
Hi Xavier,
I just wanted to let you know that we have a couple of conference projects
and I would be interested in discussing / working in this area with you and
any other interested users and developers. I am working with a small team to
build an event wiki for Connexions which will take place in October and I am
porting and extending some networking features that allow organisers to
match conference attendants and experts among themselves. I started writing
the user stories for this (in French), we could share and discuss them if
you are interested.
Luis.
On 7/28/05, Xavier MOGHRABI <xavier.moghrabi(a)objectweb.org> wrote:
>
> Dear all,
>
> I'm trying to create a form in order to register visitors to a conference.
> Thus I've created a XWiki class to store data concerning visitors.
> I've created this document :
> Main.RegistrationClass that contains the class
> Main.RegistrationClassTemplate that contains an object of the previous
> class
> Main.RegistrationClassSheet
>
> I need to make some verifications when people registering. Thus I've
> created a
> Document that I called Main.RegistrationNewVisitor that displays a form
> and
> control data.
>
> The problem I have is that I don't know with using velocity script how I
> can
> forward. Thus I've created a javascript script that forward to the desired
> page by clicking on the hidden form.
>
> Any idea ?
>
> Regards
>
> --
> Xavier MOGHRABI - Consortium ObjectWeb
> Email: xavier.moghrabi at objectweb.org <http://objectweb.org>
> Phone: +33 4 76 61 52 35 - Skype ID: xavier.moghrabi.bureau
>
>
>
>
> --
> You receive this message as a subscriber of the xwiki-users(a)objectweb.orgmailing list.
> To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>
--
Luis Arias
http://www.xwiki.comhttp://www.innover-entreprendre.net
skype : kaaloo
+33 6 14 20 87 93 mobile