Re: [xwiki-users] Can't get XWiki to work with Oracle
Hi, I also remember having some trouble to get Xwiki + tomcat + oracle to work. My biggest problem was that I had a too old version of ojdbc14.jar that didn't work with Oracle 10 G. I first thought that the 14 part of the ojdbc14.jar file name was a version number. But that was an incorrect assumption. To check wich ojdbc14.jar version you have, you can do like this: Rename the .jar file to ojdbc14.zip, unzip it and take a look at the manifest file in ojdbc14.zip/META-INF/MANIFEST.MF Containing (among others) a couple of lines looking something like this: *Specification-Version: Oracle JDBC Driver version - 10.2.0.4.0 Implementation-Version: Oracle JDBC Driver version - 10.2.0.4.0 * The 10.2.0.4.0 version of the driver works fine for me/xwiki with both oracle 9 and oragle 10G databases. Kind regards, Jonas 2009/7/15 Gallois Frédéric frederic.gall...@insee.fr Hi I'm running Xwiki with Tomcat5.5 and Oracle 10g. Here's what I've done : - unpack the war under the webapps directory of Tomcat - change the ojdbc.jar because of a bad version - change the hibernate.cfg.xml file : - uncomment only the oracle part - change connection.url, connection.username and connection.password As long as I remember, the Error number 3... came because of a bad version of ojdc14.jar. Hope This Helps Frédéric -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de Dean Weber Envoyé : mardi 14 juillet 2009 22:29 À : users@xwiki.org Objet : Re: [xwiki-users] Can't get XWiki to work with Oracle I ran a diff and found only cosmetic changes. However, I pulled that copy down and replaced mine to guarantee I had the most up to date one. Nothing changed. I still got: HTTP ERROR: 500 Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigratio nManager from param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not parse mapping document from resource xwiki.oracle.hbm.xml I am not the only one that has seen this problem. I found another posting similar to mine: http://n2.nabble.com/Problems-with-Xwiki-Enterprise-1.8-on-Ora cle---get-Error-number-3001-in-3-td2517809.html#a2518188 It didn't have a resolution as well. If there are more details needed to help my situation please let me know and I will provide any information I can. Thanks Dean Marius Dumitru Florea wrote: Hi Dean, Is this http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-c ore/src/main/resources/xwiki.oracle.hbm.xmlhttp://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-c%0Aore/src/main/resources/xwiki.oracle.hbm.xml the same as your xwiki.oracle.hbm.xml ? Hope this helps, Marius ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Can%27t-get-XWiki-to-work-with-Oracle-tp3 228059p3259203.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Cannot import default xar
Hi, sorry to bother, but still no import. Any suggestions. Thanks hel. hel-o wrote: Hi, It's the xwiki-enterprise-wiki-1.9.1.xar i downloaded from xwiki.org. So i hope the xar file is correct;) Also tried to export a page and import the xar - same behavior hel. PERINAUD Christophe wrote: Hi, Is the XAR file correct ? I mean not corrupted with the package.xml file in the root folder ? It looks like as if the load of the XML file has not been made. -Message d'origine- De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de hel-o Envoyé : lundi 20 juillet 2009 11:05 À : users@xwiki.org Objet : Re: [xwiki-users] Cannot import default xar Hi, theres nothing in the xwiki or tomcat log. But when i enable hold on every error for scripts in Firebug i get the following when i click on the uploaded xar. 74 function getXmlValue(tag, xml) 75 { xml is null 76 var nodes = xml.getElementsByTagName(tag); 77 if (nodes.length 0 nodes[0].firstChild) 78 return nodes[0].firstChild.data; The script is import.js. I use Firefox 3.5. Thanks hel. Sergiu Dumitriu-2 wrote: hel-o wrote: Hi, just updated to 1.9.1 (from 1.8.4) and tried to import the default xar. I can upload the file but when i click on it to import nothing happens. In the console i get the following error when i upload the file updateAttachName is not defined function onclick(event) { return updateAttachName(this.form, Do you want to replace the filename with); }(click clientX=108, clientY=439) Yes, this JS error is not important, and I think it's been fixed in the SVN. Are there any errors logged on the server? -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users - semantic-web.hel.at h...@hel.at -- View this message in context: http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3287792.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies. While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection. KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users - semantic-web.hel.at h...@hel.at -- View this message in context: http://n2.nabble.com/Cannot-import-default-xar-tp3283800p3294419.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] AUTO: MaryEllen Coleman/Poughkeepsie/IBM is out of the office. (returning 07/23/2009)
I am out of the office until 07/23/2009. I will not have access to email. If you need help immediately, please contact Kim Dillon or Jenny Purushotma. Note: This is an automated response to your message users Digest, Vol 24, Issue 30 sent on 7/21/09 6:00:17. This is the only notification you will receive while this person is away. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Velocity code in XWiki Enterprise 1.9.1.21780
Hi, I have the brand new XWiki Enterprise 1.9.1.21780. I noticed that the class wizard has issues (http://xwiki.markmail.org/message/kl7vi6p2dlc3ouwr?q=FAQTutorial#query:FAQTutorial+page:1+mid:zyimlrxfkx3uff6x+state:results), but I did create a class, a class sheet and a class template manually. I also added an empty object to the class. Because the Velocity code is not interpreted the same way in syntax xwiki 2.0, I followed the syntax help guide included in the XWiki instance and I protected the code as follows: {{velocity}} ## replace Main with the Space where you want your documents to be created ## replace the default parent with the one of your choice ## Save this template using the 'Save' button #set( $class = $doc.name.substring(0,$doc.name.indexOf(Class))) #set($defaultparent = XWiki.${class}Class) #set($defaultweb = LSQ) #includeForm(XWiki.ClassSheet) {{/velocity}} The Velocity code is parsed but it produce HTML that is not parsed by the Wiki page. It is displayed as-is: h1 id=HClass3ATermeClassspanClass: TermeClass/span/h1p/ The first thing to do is to a href=/xwiki/bin/edit/LSQ/TermeClass?xpage=editclassEdit the Class/a to add properties to it.p/ h2 id=HCreateanewdocumentspanCreate a new document/span/h2p/ To create a new document, you should first choose a name for you documentp/ form action= id=newdoc method=post div input type=hidden name=parent value=XWiki.TermeClass/ input type=hidden name=template value=LSQ.TermeClassTemplate/ input type=hidden name=sheet value=1/ Space: input type=text name=webname value=LSQ size=8/ Document: input type=text name=name value=Name of your document/ br/ br/ input type=button value=Create this document onclick='if (updateName(this.form.name)) {this.form.action=../../inline/ + this.form.webname.value + / + this.form.name.value; this.form.submit(); }'/ /div /formp/ h2 id=HSheetandTemplatespanSheet and Template/span/h2p/ ul class=star liSheet: span class=wikilinka href=/xwiki/bin/view/LSQ/TermeClassSheetTerme Class Sheet/a/span/li liTemplate: span class=wikilinka href=/xwiki/bin/view/LSQ/TermeClassTemplateTerme Class Template/a/span/li lispan class=wikilinka href=/xwiki/bin/view/XWiki/ClassSheet?xpage=codeView the sample code to show the document list and create new documents/a/span/li /ul h2 id=HExistingdocumentsspanExisting documents/span/h2p/ Is there a workaround that to make the page parse this HTML properly or to produce an equivalent display? It would be nice to also let people know at http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial (completing tapaya's remark) -I could do that if I knew the answer. Thanks Marc ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users