Hi,
In order to possibly improve our database support in the future, I would
be interested to discuss with any users that have ported XWiki to other
databases than MySQL.
We are especially interested by databases used by corporations like
Oracle, Sybase, SQL Server.
Would any of you that have ported/tried to port XWiki to another
database tell us what has worked/not worked and what they have done.
That would be great help.
Since we now have the default database of XWiki as XML, we have the
possibility to write a script to load this in any database.
We just need to make sure that the core behavior of the storage engine
is compatible with the target database.
Thanks
Ludovic
--
Ludovic Dubost
XPertNet: http://www.xpertnet.fr/
Blog: http://www.ludovic.org/blog/
XWiki: http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic
Hi All,
Managed to work out most issues from a previous email, however I'm still
stuck on two elements of the problem:
1) How to add objects dynmically from another object after creation (for
eg, getting a document object and looping through the objects to add
it's objects to the new document - can loop fine, but adding more does
not seem to be working right)
2) Sending an email to a user when a particular update is done to the
document (user clicks on approve/decline for example). This assumes the
email address is correctly entered.
Any pointers/suggestions would be welcome!
Brandon Esbach
Software Engineer
M/A-Com Eurotec Operations
LoughMahon Technology Park,
Skehard Road,
Blackrock,
Cork, Ireland
Tel +353 21 4808305
Hello,
The xwiki here has awfully broken on a webpage. The content we get
instead of the page is as shown bottom. We are using XWiki Version
0.9.840 on top of a mysql installation. We are wondering what this mean.
Only suspectable problem is this part "Parse error at line 393, column
248. Encountered: oma.be", oma.be being our domain name, i guess there
is a @ before that the parser don't like. But we don't have any damn idea
- what parser
- where this is in document (we can't edit the file)
- how to fix it
requesting help, no idea what is going down.
Error number 3202 in 3: Exception while reading document
Direction.QuifaitquoiIrm
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document Direction.QuifaitquoiIrm
Wrapped Exception: exception setting property value with CGLIB (set
hibernate.cglib.use_reflection_optimizer=false for more info) setter of
com.xpn.xwiki.doc.XWikiDocument.setArchive
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:646)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
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(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
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:214)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Wrapped Exception:
org.hibernate.PropertyAccessException: exception setting property value
with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more
info) setter of com.xpn.xwiki.doc.XWikiDocument.setArchive
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:203)
at
org.hibernate.tuple.PojoTuplizer.setPropertyValues(PojoTuplizer.java:173)
at
org.hibernate.persister.entity.BasicEntityPersister.setPropertyValues(BasicEntityPersister.java:2900)
at
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:113)
at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:510)
at org.hibernate.loader.Loader.doQuery(Loader.java:419)
at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:210)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1312)
at
org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:116)
at
org.hibernate.loader.entity.EntityLoader.load(EntityLoader.java:101)
at
org.hibernate.persister.entity.BasicEntityPersister.load(BasicEntityPersister.java:2461)
at
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:350)
at
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:331)
at
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:113)
at
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:167)
at
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:79)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:588)
at
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:575)
at
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:123)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:565)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:599)
at com.xpn.xwiki.XWiki.getDocumentFromPath(XWiki.java:637)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:2428)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:133)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
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(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
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:214)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
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.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Caused by: net.sf.cglib.beans.BulkBeanException: Error number 3003 in 3:
Exception while manipulating the archive for doc Direction.QuifaitquoiIrm
Wrapped Exception: Parse error at line 393, column 248. Encountered: oma.be
at
com.xpn.xwiki.doc.XWikiDocument$$BulkBeanByCGLIB$$9e5f0943.setPropertyValues()
at
org.hibernate.tuple.PojoTuplizer.setPropertyValuesWithOptimizer(PojoTuplizer.java:200)
... 48 more
Caused by: com.xpn.xwiki.XWikiException: Error number 3003 in 3:
Exception while manipulating the archive for doc Direction.QuifaitquoiIrm
Wrapped Exception: Parse error at line 393, column 248. Encountered: oma.be
at
com.xpn.xwiki.doc.XWikiDocument.setArchive(XWikiDocument.java:479)
... 50 more
I have a space where users dont have to login/register to view/edit/delete.
However when I assign the rights view,edit and delete to the space, the user
is still required to login to delete a page in the space (they can view and
edit fine without logging in). If I also include "admin" which I dont want
to do, the user no longer needs to log in to delete the page.
Has anyone else seen this problem?
Duke
Hi!
I'm working on some cool functionality, so that if you click on a "category"
option from the first database-driven selection list, the second select list
loads with keyed "subcategory" options.
Right now, there are two problems that occur just after the form is posted:
1) The page is not recalling the first value selected. For some reason,
the "#if ($selectvalue == $loadlist) ..." section below is always evaluated
to false. I've tried variable :) approaches so far, without success.
2) The page should also be executing Velocity's if ... else code for the
second query and load the subcategory options properly at this point, but it
does not. Instead, the 2nd select box is displayed without ANY options.
Current code:
<script language="JavaScript" type="text/javascript">
<!--
function loadSubcats(theForm) {
var jsloadlist = document.getElementById("selcat").value;
var actiongoto = "../apps/dblcattest?catkey=" + jsloadlist;
document.location = actiongoto;
return (document.location);
theForm.submit();
}
//-->
</script>
<form method="POST" onSubmit="document.location=loadSubcats(this); return
false">
<%
loadlist = request.getParameter("catkey");
if (!loadlist) {loadlist = "null" };
%>
1 Dependent Category Selection Test
<select id="selcat" name="selcat" onchange="loadSubcats()">
#set ($hqlcat = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='Doc.NavCatClass' and obj.name not like '%ClassTemplate' order
by doc.fullName")
#foreach ($item in $xwiki.searchDocuments($hqlcat))
#set ($optcat = $xwiki.getDocument($item))
#set ($selectvalue = $optcat.name)
#if ($selectvalue == $loadlist)
#set ($recall = "selected")
#else
#set ($recall = "")
#end
<option value="$selectvalue" $recall>${optcat.title}</option>
#end
</select>
<br>
<select id="selsubcat" name="selsubcat">
#if (${loadlist} == "null")
{
<option value="error">--</option>
}
#else {
#set ($hqlsubcat = ", BaseObject as obj, StringProperty as prop where
obj.name=doc.fullName and obj.className='Doc.NavSubCatClass' and obj.name
not like '%ClassTemplate' and obj.id=prop.id.id and prop.id.name='parentkey'
and prop.value='${catkey}' order by doc.fullName")
#foreach ($item in $xwiki.searchDocuments($hqlsubcat))
{
#set($optsubcat = $xwiki.getDocument($item))
<option value="${optsubcat.name}">${optsubcat.title}</option>
}
#end
}
#end
</select>
</form>
Any ideas? Many thanks in advance!
Danielle
_________________________________________________________________
Got something to buy, sell or swap? Try Windows Live Expo
ttp://clk.atdmt.com/MSN/go/msnnkwex0010000001msn/direct/01/?href=http://exp…
Hi,
I'd like to change my skin but by defining the skin as described in the
documentation doesn't works...
By starting I need to change only the logo, so I've created the RomaSkin
with the following lines:
@import "xwiki.css";
@import "wiki.css";
@import "page.css";
@import "rss.css";
/* Logo */
#xwikilogo img {
background-image: url("http://www.OrienTechnologies.com/roma/roma_logo.gif
");
}
But nothing appears. Why? Thanks
bye,
Luca Garulli
Blogging on: http://zion-city.blogspot.comhttp://www.RomaFramework.org - The new way to build applications
http://www.Pro-Netics.com (member of Orixo.com - The XML business alliance)
http://www.OrienTechnologies.com - Light ODBMS, All in one JDO solution
You may wish to limit editing access to your front page.
No serious damage, but I wouldn't like for people I sent there to be
confused, even by a little harmless tampering.
Brian M. Thomas - Senior Technical Architect
AT&T Services, Inc.
One SBC Center, Room 24D3
St. Louis, MO 63101
314 235 3141