I asked how to set up the RSS feed the other day and was quickly pointed to
Anca Luca's answer (
http://lists.xwiki.org/pipermail/users/2010-January/018932.html), which I
was able to implement.
The RSS feed did work ... on that day, but not any more ... ?
Can anyone help me?
Thanks,
Xavier
I'm getting this after installing the RssAggregator macro XAR and using it in a page:
>
> Failed to execute macro: groovy
>
> org.xwiki.rendering.macro.MacroExecutionException: You don't have the right to execute this script
> at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:134)
> at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.execute(AbstractJSR223ScriptMacro.java:50)
> at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
> etc...
>
Ideas?
Rick
Hi.
If I get it right, nowadays, development of Java plugins/add-ons for
XWiki is done through Plexus components.
Is there a way ATM to setup easily a HelloWorld component development
project in Eclipse, in order to be able to learn and test such component
development ?
It seems that the maven archetype is quite outdated, and I couldn't find
examples on what needs to be configured in such a Java+Maven project to
make it work.
Annotations support for instance doesn't seem trivial to activate for me
(Java and Eclipse beginner).
Also, as the Plexus archetype on codehaus is in no better shape (can't
even be installed with maven), it doesn't help a lot.
Thanks in advance.
Best regards,
--
Olivier BERGER <olivier.berger(a)it-sudparis.eu>
http://www-public.it-sudparis.eu/~berger_o/ - OpenPGP-Id: 1024D/6B829EEC
Ingénieur Recherche - Dept INF
Institut TELECOM, SudParis (http://www.it-sudparis.eu/), Evry (France)
The XWiki development team is pleased to announce the release of XWiki
Office 1.1 Milestone 1.
Go grab it at:
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiOffice
Summary of changes:
- support for on page style extensions
- more powerful text formatting
- fixed encoding issues
Updating:
- active instances of 1.1 snapshots are automatically updated
- the 1.1 new features updates will be pushed when version 1.1 final
will be available
- the 1.0 bugfixes will be pushed during the 1.1 development cycle.
View detailed release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXOffice11M1
For more information about XOffice visit:
http://xoffice.xwiki.org/xwiki/bin/view/Main/WebHome
Thanks,
-The XWiki dev team
Hello friends,
I am facing some unexpected behavior with RESTful services in private wiki
instance:
Issue: Spaces, Tags entities can be accessed publicly through REST URL,
eventhough XWiki is run in private wiki mode.
Description: One of the XWiki 2.1.1 instance is setup in a private wiki
mode. Guests are not allowed to register or view any page on this instance.
I am also making use of authenticated services (RESTful services & XMLRPC
services) for connecting 3rd party applications to this xwiki instance.
However, when I access REST URLs for spaces, tags, etc there is no
authentication check from XWiki. This data is publicly available. When I
access a page URL, I am blocked off for authentication.
Couldn't find a JIRA for this one. Could we consider this as an
non-consistent behavior in terms of xwiki REST authentication where one
resource is blocked while others are not.
Has anyone else faced this before or has a work-around to this issue.
Thank you for your time & consideration friends.
Environment:
XWiki : 2.1.1 stable
Tomcat: 6.0.20
MySql: 5.0.45 community
JDK: 1.5 (Apparently, REST services do not work for me through JDK 1.6. This
could be just me facing this issue though J)
Hi,
my friend and I are stuying in science teaching and we have to build a wiki for a school project. For this project, I will like to have a wiki name : lamaisonverte.
My username is p0825828.
Thanks,
Maxim
Hi,
I'm new to XWiki but know Confluence pretty well. I'd like to be able to do
something similar to what Confluence does with their blog macro - be able to
show 1..n recent blog posts on a page, either just showing the titles (which
we can do with Velocity as per the default Dashboard), or showing a "teaser"
that shows the title, date posted, poster, and a small intro snippet of the
post...
Format would be like:
TITLE
snippet...
...
...
Posted by user at datetime (possibly comment stats etc)
Is there a way to do this in XWiki?
Hi,
I am trying to change the values for a static list field in a wiki class programatically but so far I have only figured out how to display them. Is it possible to set class property values for static list fields programatically through velocity or groovy code?
The code that I'm using to display the values is pasted below:
#set($classdocname = "Test.TestClass")
#set($classdoc = $xwiki.getDocument($classdocname))
#foreach($field in $classdoc.getxWikiClass().properties)
* $field.prettyName
$doc.displayEdit($field.xWikiClass.get("values"), "${field.name}_" , $field)
#end
Thanks,
Radek
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.2 Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is first milestone of the XWiki Enterprise 2.2 version. This
release mainly introduces new Model, the possibility to register wiki
macros for any user or wiki and many improvements of xar import.
Main changes from 2.1.1:
* Contextual wikimacros
* New Model module with Reference implementation
* XAR Import improvements
* Allow set to null in velocity
* Upgraded to Groovy 1.7
* Lots of accessibility fixes
* Lots of bugs fixes
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise22M1
Thanks
-The XWiki dev team
I've installed XWiki Enterprise Manager 2.1.1 and have created a new
XWiki Enterprise instance. I can access the WikiManager through
localhost but not through the domain; it always redirects to the
ThisIsNotAWiki page. I would like to manage the creation/deletion of
Wiki installations through the domain and not have to VPN into the
server to use localhost.
Works
http://localhost:8081/xwiki/
Doesn't Work
http://domain:8081/xwiki/
BTW, I'm able to access the wiki created through the WikiManager
through the domain.
Works
http://localhost:8081/xwiki/wiki/mywikihttp://domain:8081/xwiki/wiki/mywiki
Any help would be great.
Oops. Sorry for sending what was meant to be a private communication to the entire mailing list.
________________________________
From: Milind Kamble <mbkads(a)yahoo.com>
To: XWiki Users <users(a)xwiki.org>
Sent: Thu, January 21, 2010 10:48:34 PM
Subject: Re: [xwiki-users] Access Rights Automatic Update
Very well written email, Felix. Hopefully we should have an answer by tomorrow :)
Milind
________________________________
From: Meng Wu <mengxwu(a)yahoo.com>
To: Xwiki Users <users(a)xwiki.org>
Sent: Thu, January 21, 2010 5:55:28 PM
Subject: [xwiki-users] Access Rights Automatic Update
Hello everyone,
I first want to thank the development team for including Ajax dynamic features onto XWiki. XWiki's simplicity and dynamics are some of the reasons why my team is so interested in implementing XWiki.
The only problem I've been having to deal with is the automatic access rights update. The cycle of rights is Blank (Default) -> Allow -> Deny -> back to Default, etc. The drawback of dynamic updates though, is that if I want to change my own right to view a certain page from "Allow" to "Default", I have to cycle through "Deny". Because of the automatic access control updating feature, when I cycle through Deny, I am automatically denied viewing rights, and thus locked out of my own page. Are there any good ways of getting around this problem? Or are there ways of implementing dropdown menus instead of square checkboxes, or having a longer delay when you cycle through access control options?
Felix
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello everyone,
I first want to thank the development team for including Ajax dynamic features onto XWiki. XWiki's simplicity and dynamics are some of the reasons why my team is so interested in implementing XWiki.
The only problem I've been having to deal with is the automatic access rights update. The cycle of rights is Blank (Default) -> Allow -> Deny -> back to Default, etc. The drawback of dynamic updates though, is that if I want to change my own right to view a certain page from "Allow" to "Default", I have to cycle through "Deny". Because of the automatic access control updating feature, when I cycle through Deny, I am automatically denied viewing rights, and thus locked out of my own page. Are there any good ways of getting around this problem? Or are there ways of implementing dropdown menus instead of square checkboxes, or having a longer delay when you cycle through access control options?
Felix
Here what we did is that we installed Xwiki from the pack jetty/HSQL.
Once it work, we modified the hibernate configuration file to connect to Oracle DB.
Here is our config file (if it helps ...) :
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<property name="connection.url">jdbc:oracle:thin:@IP.IP.IP.IP:1521:od46</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">*********</property>
<property name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
</session-factory>
</hibernate-configuration>
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Oskar Marek Rzepinski
> Envoyé : mardi 19 janvier 2010 08:13
> À : XWiki Users
> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> with Oracle10g
>
> Yes, I forgot to mention it, we copied it from the oracle
> folder, we copied
> this files:
>
> ojdbc14.jar
> orai18n.jar
>
> And we also tried it with ojdbc5.jar
>
> It getting us really crazy on this.
>
>
>
> 2010/1/19 PERINAUD Christophe <Christophe.PERINAUD(a)kbl-bank.com>
>
> > Hi,
> >
> > Maybe stupid but did you install Oracle JDBC drivers in the
> WEB-INF/lib
> > xwiki's folder ?
> >
> > Christophe Périnaud
> > Windows Server 2003 SP2 in a VMWare instance
> > Oracle 10g
> > Java 1.6.0_12
> > Xwiki 2.0.3 from the pack Jetty/HSQL
> >
> >
> > > -----Message d'origine-----
> > > De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> > > De la part de Oskar Marek Rzepinski
> > > Envoyé : mardi 19 janvier 2010 07:58
> > > À : users(a)xwiki.org
> > > Objet : [xwiki-users] Problem with getting Xwiki to work with
> > > Oracle10g
> > >
> > > Hello everybody,
> > >
> > >
> > > we just stuck on installing xwiki on our devserver. We tried
> > > almost 10 times
> > > to get it work by ourselves but I didn't work. We still
> want to get it
> > > working. Here are the steps we did already:
> > > 1. we created a user xwiki on our DB server with the
> > > instructions from the
> > > official site
> > > 2. then we deployed xwiki on our server with the geronimo console
> > > 3. we made some changes to the hibernate configuration file,
> > > as you can see:
> > > <?xml version='1.0' encoding='utf-8'?>
> > > <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> > > Configuration DTD//EN"
> > >
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> > > <hibernate-configuration>
> > > <session-factory>
> > >
> > > <!-- Please refer to the installation guide on
> > >
> > >
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> > > configuring your
> > > database. You'll need to do 2 things:
> > > 1) Copy your database driver JAR in WEB-INF/lib or in
> > > some shared
> > > lib directory
> > > 2) Uncomment the properties below for your specific
> > > DB (and comment
> > > the default
> > > database configuration if it doesn't match your DB)
> > > -->
> > >
> > > <!-- Generic parameters common to all Databases -->
> > >
> > > <property name="show_sql">false</
> > > property>
> > > <property name="use_outer_join">true</property>
> > >
> > > <property name="dbcp.defaultAutoCommit">false</property>
> > > <property name="dbcp.maxActive">50</property>
> > > <property name="dbcp.maxIdle">5</property>
> > > <property name="dbcp.maxWait">30000</property>
> > > <property name="dbcp.whenExhaustedAction">1</property>
> > > <property name="dbcp.ps.whenExhaustedAction">1</property>
> > > <property name="dbcp.ps.maxActive">20</property>
> > > <property name="dbcp.ps.maxWait">120000</property>
> > > <property name="dbcp.ps.maxIdle">20</property>
> > > <!-- Without it, some queries fail in MS SQL. XWiki
> doesn't need
> > > scrollable result sets, anyway. -->
> > > <property name="jdbc.use_scrollable_resultset">false</property>
> > >
> > > <!-- Oracle configuration.
> > > Uncomment if you want to use Oracle and comment out
> > > other database
> > > configurations.
> > > Note: the 2 properties named
> > > "hibernate.connection.SetBigStringTryClob" and
> > > "hibernate.jdbc.batch_size". They are required to
> > > tell Oracle to
> > > allow CLOBs larger than
> > > 32K.
> > > -->
> > > <property
> > > name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
> > > :devORA</property>
> > > <property name="connection.username">xwiki</property>
> > > <property name="connection.password">xwiki</property>
> > > <property
> > > name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> > > </property>
> > > <property
> > > name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> > > <property
> > > name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> > > ctionProvider</property>
> > > <property name="connection.pool_size">2</property>
> > > <property name="statement_cache.size">2</property>
> > > <property
> > > name="hibernate.connection.SetBigStringTryClob">true</property>
> > > <property name="hibernate.jdbc.batch_size">0</property>
> > > <mapping resource="xwiki.oracle.hbm.xml"/>
> > > <mapping resource="feeds.oracle.hbm.xml"/>
> > > <mapping resource="activitystream.hbm.xml"/>
> > >
> > > <property
> > > name="hibernate.query.factory_class">org.hibernate.hql.classic
> > > .ClassicQueryTranslatorFactory</property>
> > >
> > > </session-factory>
> > > </hibernate-configuration>
> > >
> > > 4. We still get this error. We can simply connect to the
> > > xwiki users on the
> > > solaris console with sqlplus, but we cannot get it work. The
> > > user for the
> > > xwiki has all privileges to work the database. We cannot
> > > understand what
> > > goes wrong. Is there a simple how to how to really xwiki
> > > working on oracle
> > > 10g? Thank you very much.
> > >
> > >
> > >
> > > 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: com.xpn.xwiki.XWikiException:
> > > 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: invalid configuration
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.processException(Req
> > > uestProcessor.java:535)
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.processActionPerform
> > > (RequestProcessor.java:433)
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.process(RequestProce
> > > ssor.java:236)
> > >
> > >
> > > org.apache.struts.action.ActionServlet.process(ActionServlet.j
> > > ava:1196)
> > >
> > >
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> > >
> > >
> > > com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> > > ConversionFilter.java:152)
> > >
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> > >
> > >
> > > com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> > > lter.java:68)
> > >
> > >
> > > com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> > > uestRestorerFilter.java:295)
> > >
> > >
> > > com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> > > cterEncodingFilter.java:112)
> > >
> > > root cause
> > >
> > > com.xpn.xwiki.XWikiException: 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: invalid configuration
> > > com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
> > > com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
> > > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
> > > com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.processActionPerform
> > > (RequestProcessor.java:431)
> > >
> > >
> > > org.apache.struts.action.RequestProcessor.process(RequestProce
> > > ssor.java:236)
> > >
> > >
> > > org.apache.struts.action.ActionServlet.process(ActionServlet.j
> > > ava:1196)
> > >
> > >
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> > >
> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> > >
> > >
> > > com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> > > ConversionFilter.java:152)
> > >
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> > >
> > >
> > > com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> > > lter.java:68)
> > >
> > >
> > > com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> > > uestRestorerFilter.java:295)
> > >
> > >
> > > com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> > > cterEncodingFilter.java:112)
> > >
> > > note The full stack trace of the root cause is available
> in the Apache
> > > Tomcat/6.0.18 logs.
> > >
> > > _____
> > >
> > >
> > > Apache Tomcat/6.0.18
> > >
> > >
> > >
> > >
> > > sincerely Oskar
> > > _______________________________________________
> > > users mailing list
> > > users(a)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(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> _______________________________________________
> users mailing list
> users(a)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
Hello,
I encountered an annoying situation and am wondering what I should do...
As I wanted to enable email notifications of page updates, I entered our
SMTP server information in the wiki preferences page. As it's needed by our
server, I also entered my personal account credentials to be able to connect
to the smtp server.
The password field not being a "password" type field, it means everyone with
admin rights in the wiki can have my password, but I can live with that for
now. To see if it works, I now watch the whole wiki.
I changed my password, so I updated the page, and gracefully received my old
and new password in the notification email, in the page diff ... As well as
the other admin. My question is : does notification process check for pages
rights, meaning that if anyone registered to watch the whole wiki, did he
receive my password through his notification emails as I did, or does he
only receive notifications for updates on page he has rights on ?
Thanks,
Jeremie
Vincent,
I thought the '+' would be an issue, but my problem is not solved yet I'm
afraid
I changed the code to
* [$msg.get("xe.panels.quicklinks.infos utiles")>Infos utiles.WebHome]
And while it does send me to the correct space, the text in the panel is
still xe.panels.quicklinks.infos
utiles<http://192.168.5.165:8080/xwiki/bin/view/Infos+utiles/>instead
of Infos
Utiles ...
I would tend to believe that the $msg.get("xe.panels.quicklinks.infos
utiles") instruction does not find the information it needs, and just shows
itself instead ... which means that an information is missing somewhere in
the space paramaters ...
But I have no idea what or where it should be filled in ... !
Hello everybody,
we just stuck on installing xwiki on our devserver. We tried almost 10 times
to get it work by ourselves but I didn't work. We still want to get it
working. Here are the steps we did already:
1. we created a user xwiki on our DB server with the instructions from the
official site
2. then we deployed xwiki on our server with the geronimo console
3. we made some changes to the hibernate configuration file, as you can see:
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Please refer to the installation guide on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some shared
lib directory
2) Uncomment the properties below for your specific DB (and comment
the default
database configuration if it doesn't match your DB)
-->
<!-- Generic parameters common to all Databases -->
<property name="show_sql">false</
property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Without it, some queries fail in MS SQL. XWiki doesn't need
scrollable result sets, anyway. -->
<property name="jdbc.use_scrollable_resultset">false</property>
<!-- Oracle configuration.
Uncomment if you want to use Oracle and comment out other database
configurations.
Note: the 2 properties named
"hibernate.connection.SetBigStringTryClob" and
"hibernate.jdbc.batch_size". They are required to tell Oracle to
allow CLOBs larger than
32K.
-->
<property name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
:devORA</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property
name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<property
name="hibernate.query.factory_class">org.hibernate.hql.classic.ClassicQueryTranslatorFactory</property>
</session-factory>
</hibernate-configuration>
4. We still get this error. We can simply connect to the xwiki users on the
solaris console with sqlplus, but we cannot get it work. The user for the
xwiki has all privileges to work the database. We cannot understand what
goes wrong. Is there a simple how to how to really xwiki working on oracle
10g? Thank you very much.
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: com.xpn.xwiki.XWikiException: 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.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: invalid configuration
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:693)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: 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.XWikiHibernateMigrationManager from
param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: invalid configuration
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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:693)
javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
note The full stack trace of the root cause is available in the Apache
Tomcat/6.0.18 logs.
_____
Apache Tomcat/6.0.18
sincerely Oskar
Hi Sergiu,
Thanks for filing this issue as a bug & your prompt response.
> The JS code will have to be fixed, I'll work on it, see
> http://jira.xwiki.org/jira/browse/XWIKI-4773
Hi Sergiu,
Sorry about the delay in response. I checked the httpheader.
It is exactly what you had stated. It accesses the rest api & is in
the "${request.contextPath}/rest/wikis/${context.database}/search?scope=name&number=10&media=json&"
format.
Even though I am in the child wiki the ${context.database} still says
"xwiki"...It should say "draft" where draft is the name of the child
wiki.
Since, the wikis I use are path based wikis, do I need to make any
change somewhere to make the auto suggest to work. Or would I have to
go to url based wikis (with different domain names). At the same time,
I've an application which uses XWiki RESTful api without any
modifications at all despite the XEM being path based.
Please help...thanks.
>
> Message: 1
> Date: Wed, 20 Jan 2010 12:17:58 -0500
> From: Dilipkumar Jadhav <jadhav.dilipkumar(a)gmail.com>
> Subject: Re: [xwiki-users] Meta+G feature on XEM
> To: users(a)xwiki.org
> Message-ID:
> <a5b160b51001200917q6f4e7116oee4e4e59c5a4ef46(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks for your quick response Sergiu. The wiki is a path-based wiki.
>
>
>>
>> That is strange, it should work perfectly well in a virtual wiki, and
>> you can try to see that it works on the *.xwiki.org farm, and on
>> incubator.myxwiki.org.
>>
>> You can check with Firebug or HttpHeaders to check where does the
>> suggest request go to, maybe there's something weird in the URL setup.
>>
>> Normally, the request goes to something like:
>>
>> "${request.contextPath}/rest/wikis/${context.database}/search?scope=name&number=10&media=json&"
>>
>> Here, ${request.contextPath} is usually /xwiki, and ${context.database}
>> is the name of the virtual wiki.
>>
>> Could it be that you're using a path-based virtual wiki?
>>
>> --
>> Sergiu Dumitriu
>> http://purl.org/net/sergiu/
>>
>
>
Thanks for your quick response Sergiu. The wiki is a path-based wiki.
>
> That is strange, it should work perfectly well in a virtual wiki, and
> you can try to see that it works on the *.xwiki.org farm, and on
> incubator.myxwiki.org.
>
> You can check with Firebug or HttpHeaders to check where does the
> suggest request go to, maybe there's something weird in the URL setup.
>
> Normally, the request goes to something like:
>
> "${request.contextPath}/rest/wikis/${context.database}/search?scope=name&number=10&media=json&"
>
> Here, ${request.contextPath} is usually /xwiki, and ${context.database}
> is the name of the virtual wiki.
>
> Could it be that you're using a path-based virtual wiki?
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
Hello folks,
The Meta+G feature is one of the coolest & widely used feature at my
organization.
I am trying to use the Meta+G/Jump To Page feature over XEM 2.1.1 "wikis".
The feature works fine over the "Main" XWiki instance. However, when I
use this from a child wiki in a wiki farm, it still picks it's pages
from the main XEM instance. It does not pickup any documents from the
child farm.
I checked the JIRA for the Meta+G feature but couldn't find any
documentation in this regard.
Can we change something in the ajaxSuggest.js so it will pick pages
from the child wikis?
Is there a page called XWiki.JumpToPage such as mentioned on
http://jira.xwiki.org/jira/browse/XWIKI-1485 where we could probably
point the ajax suggest to the appropriate child wiki. I looked up my
XWiki instance but could not find this JumpToPage.
Any help will be appreciated. Thank you.
Now i remember that we cancelled the use of the war because of identical problems (and running out of time and mainly budget)
I think that the Architecture Dept created a new war based on the Jetty distribution
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Oskar Marek Rzepinski
> Envoyé : mardi 19 janvier 2010 11:48
> À : XWiki Users
> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> with Oracle10g
>
> So, we started our installation once again and it still does not work.
> Step-by-step:
> 1. We created a user xwiki on oracle with all privileges. We
> use oracle
> 10.2.0.40
> 2. We deployed the war file with the geronimo console. We use tomcat 6
> javaee5 2.1.4
> 3. We than changed the configuration file, as already mentioned
> 4. We copied the ojdbc5.jar from oracle 11.1.0.7 and tried it
> also with
> ojdbc14.jar.
> 5. Then we restarted geronimo and started the xwiki container
>
> We use the oracle installtion and the geronimo server on a sun solaris
> server and solaris as the operating system. We still don't
> get the xwiki
> installed, and don't understand why.
>
>
> Thank you all for the pleasent help.
>
>
> 2010/1/19 Oskar Marek Rzepinski <rzepinski(a)gmail.com>
>
> > We have now some meetings, after them we will try once
> again with the jetty
> > pack.
> >
> > @Caleb James DeLisle
> > The steps I mentioned already we have done with the war
> file. We deployed
> > it with the geronimo console.
> >
> > I will get back to this after we have tried the jetty pack
> and than I will
> > answer and report if we were successful or not.
> >
> >
> > 2010/1/19 Caleb James DeLisle <calebdelisle(a)lavabit.com>
> >
> > XWiki is built differently for the war installation than
> the jetty/HSQL
> >> pack
> >> I think If you download the war file and install that way
> it will work.
> >>
> >> Caleb
> >>
> >> PERINAUD Christophe wrote:
> >> > Here what we did is that we installed Xwiki from the
> pack jetty/HSQL.
> >> > Once it work, we modified the hibernate configuration
> file to connect to
> >> Oracle DB.
> >> >
> >> > Here is our config file (if it helps ...) :
> >> > <?xml version='1.0' encoding='utf-8'?>
> >> > <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> >> Configuration DTD//EN"
> >> > "
> >> http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> >> > <hibernate-configuration>
> >> > <session-factory>
> >> > <property name="show_sql">false</property>
> >> > <property name="use_outer_join">true</property>
> >> > <property name="dbcp.defaultAutoCommit">false</property>
> >> > <property name="dbcp.maxActive">50</property>
> >> > <property name="dbcp.maxIdle">5</property>
> >> > <property name="dbcp.maxWait">30000</property>
> >> > <property name="dbcp.whenExhaustedAction">1</property>
> >> > <property name="dbcp.ps.whenExhaustedAction">1</property>
> >> > <property name="dbcp.ps.maxActive">20</property>
> >> > <property name="dbcp.ps.maxWait">120000</property>
> >> > <property name="dbcp.ps.maxIdle">20</property>
> >> > <property
> name="connection.url">jdbc:oracle:thin:@IP.IP.IP.IP
> >> :1521:od46</property>
> >> > <property name="connection.username">xwiki</property>
> >> > <property name="connection.password">*********</property>
> >> > <property
> >>
> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> </property>
> >> > <property
> >> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> >> > <property
> >>
> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> ctionProvider</property>
> >> > <property name="connection.pool_size">2</property>
> >> > <property name="statement_cache.size">2</property>
> >> > <property
> >> name="hibernate.connection.SetBigStringTryClob">true</property>
> >> > <property name="hibernate.jdbc.batch_size">0</property>
> >> > <mapping resource="xwiki.oracle.hbm.xml"/>
> >> > <mapping resource="feeds.oracle.hbm.xml"/>
> >> > </session-factory>
> >> > </hibernate-configuration>
> >> >
> >> >
> >> >> -----Message d'origine-----
> >> >> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> >> >> De la part de Oskar Marek Rzepinski
> >> >> Envoyé : mardi 19 janvier 2010 08:13
> >> >> À : XWiki Users
> >> >> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> >> >> with Oracle10g
> >> >>
> >> >> Yes, I forgot to mention it, we copied it from the oracle
> >> >> folder, we copied
> >> >> this files:
> >> >>
> >> >> ojdbc14.jar
> >> >> orai18n.jar
> >> >>
> >> >> And we also tried it with ojdbc5.jar
> >> >>
> >> >> It getting us really crazy on this.
> >> >>
> >> >>
> >> >>
> >> >> 2010/1/19 PERINAUD Christophe <Christophe.PERINAUD(a)kbl-bank.com>
> >> >>
> >> >>> Hi,
> >> >>>
> >> >>> Maybe stupid but did you install Oracle JDBC drivers in the
> >> >> WEB-INF/lib
> >> >>> xwiki's folder ?
> >> >>>
> >> >>> Christophe Périnaud
> >> >>> Windows Server 2003 SP2 in a VMWare instance
> >> >>> Oracle 10g
> >> >>> Java 1.6.0_12
> >> >>> Xwiki 2.0.3 from the pack Jetty/HSQL
> >> >>>
> >> >>>
> >> >>>> -----Message d'origine-----
> >> >>>> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> >> >>>> De la part de Oskar Marek Rzepinski
> >> >>>> Envoyé : mardi 19 janvier 2010 07:58
> >> >>>> À : users(a)xwiki.org
> >> >>>> Objet : [xwiki-users] Problem with getting Xwiki to work with
> >> >>>> Oracle10g
> >> >>>>
> >> >>>> Hello everybody,
> >> >>>>
> >> >>>>
> >> >>>> we just stuck on installing xwiki on our devserver. We tried
> >> >>>> almost 10 times
> >> >>>> to get it work by ourselves but I didn't work. We still
> >> >> want to get it
> >> >>>> working. Here are the steps we did already:
> >> >>>> 1. we created a user xwiki on our DB server with the
> >> >>>> instructions from the
> >> >>>> official site
> >> >>>> 2. then we deployed xwiki on our server with the
> geronimo console
> >> >>>> 3. we made some changes to the hibernate configuration file,
> >> >>>> as you can see:
> >> >>>> <?xml version='1.0' encoding='utf-8'?>
> >> >>>> <!DOCTYPE hibernate-configuration PUBLIC
> "-//Hibernate/Hibernate
> >> >>>> Configuration DTD//EN"
> >> >>>>
> >> >>
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> >> >>>> <hibernate-configuration>
> >> >>>> <session-factory>
> >> >>>>
> >> >>>> <!-- Please refer to the installation guide on
> >> >>>>
> >> >>>>
> >> >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> >> >>>> configuring your
> >> >>>> database. You'll need to do 2 things:
> >> >>>> 1) Copy your database driver JAR in WEB-INF/lib or in
> >> >>>> some shared
> >> >>>> lib directory
> >> >>>> 2) Uncomment the properties below for your specific
> >> >>>> DB (and comment
> >> >>>> the default
> >> >>>> database configuration if it doesn't match your DB)
> >> >>>> -->
> >> >>>>
> >> >>>> <!-- Generic parameters common to all Databases -->
> >> >>>>
> >> >>>> <property name="show_sql">false</
> >> >>>> property>
> >> >>>> <property name="use_outer_join">true</property>
> >> >>>>
> >> >>>> <property name="dbcp.defaultAutoCommit">false</property>
> >> >>>> <property name="dbcp.maxActive">50</property>
> >> >>>> <property name="dbcp.maxIdle">5</property>
> >> >>>> <property name="dbcp.maxWait">30000</property>
> >> >>>> <property name="dbcp.whenExhaustedAction">1</property>
> >> >>>> <property name="dbcp.ps.whenExhaustedAction">1</property>
> >> >>>> <property name="dbcp.ps.maxActive">20</property>
> >> >>>> <property name="dbcp.ps.maxWait">120000</property>
> >> >>>> <property name="dbcp.ps.maxIdle">20</property>
> >> >>>> <!-- Without it, some queries fail in MS SQL. XWiki
> >> >> doesn't need
> >> >>>> scrollable result sets, anyway. -->
> >> >>>> <property
> name="jdbc.use_scrollable_resultset">false</property>
> >> >>>>
> >> >>>> <!-- Oracle configuration.
> >> >>>> Uncomment if you want to use Oracle and comment out
> >> >>>> other database
> >> >>>> configurations.
> >> >>>> Note: the 2 properties named
> >> >>>> "hibernate.connection.SetBigStringTryClob" and
> >> >>>> "hibernate.jdbc.batch_size". They are required to
> >> >>>> tell Oracle to
> >> >>>> allow CLOBs larger than
> >> >>>> 32K.
> >> >>>> -->
> >> >>>> <property
> >> >>>> name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
> >> >>>> :devORA</property>
> >> >>>> <property name="connection.username">xwiki</property>
> >> >>>> <property name="connection.password">xwiki</property>
> >> >>>> <property
> >> >>>> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> >> >>>> </property>
> >> >>>> <property
> >> >>>>
> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> >> >>>> <property
> >> >>>> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> >> >>>> ctionProvider</property>
> >> >>>> <property name="connection.pool_size">2</property>
> >> >>>> <property name="statement_cache.size">2</property>
> >> >>>> <property
> >> >>>>
> name="hibernate.connection.SetBigStringTryClob">true</property>
> >> >>>> <property name="hibernate.jdbc.batch_size">0</property>
> >> >>>> <mapping resource="xwiki.oracle.hbm.xml"/>
> >> >>>> <mapping resource="feeds.oracle.hbm.xml"/>
> >> >>>> <mapping resource="activitystream.hbm.xml"/>
> >> >>>>
> >> >>>> <property
> >> >>>> name="hibernate.query.factory_class">org.hibernate.hql.classic
> >> >>>> .ClassicQueryTranslatorFactory</property>
> >> >>>>
> >> >>>> </session-factory>
> >> >>>> </hibernate-configuration>
> >> >>>>
> >> >>>> 4. We still get this error. We can simply connect to the
> >> >>>> xwiki users on the
> >> >>>> solaris console with sqlplus, but we cannot get it work. The
> >> >>>> user for the
> >> >>>> xwiki has all privileges to work the database. We cannot
> >> >>>> understand what
> >> >>>> goes wrong. Is there a simple how to how to really xwiki
> >> >>>> working on oracle
> >> >>>> 10g? Thank you very much.
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> 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: com.xpn.xwiki.XWikiException:
> >> >>>> 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: invalid configuration
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processException(Req
> >> >>>> uestProcessor.java:535)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processActionPerform
> >> >>>> (RequestProcessor.java:433)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.process(RequestProce
> >> >>>> ssor.java:236)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> >> >>>> ava:1196)
> >> >>>>
> >> >>>>
> >> >>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >> >>>>
> >> >>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> >> >>>> ConversionFilter.java:152)
> >> >>>>
> >> >> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >> >>>>
> >> >>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> >> >>>> lter.java:68)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> >> >>>> uestRestorerFilter.java:295)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> >> >>>> cterEncodingFilter.java:112)
> >> >>>>
> >> >>>> root cause
> >> >>>>
> >> >>>> com.xpn.xwiki.XWikiException: 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: invalid configuration
> >> >>>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
> >> >>>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
> >> >>>>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
> >> >>>>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processActionPerform
> >> >>>> (RequestProcessor.java:431)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.process(RequestProce
> >> >>>> ssor.java:236)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> >> >>>> ava:1196)
> >> >>>>
> >> >>>>
> >> >>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >> >>>>
> >> >>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> >> >>>> ConversionFilter.java:152)
> >> >>>>
> >> >> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >> >>>>
> >> >>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> >> >>>> lter.java:68)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> >> >>>> uestRestorerFilter.java:295)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> >> >>>> cterEncodingFilter.java:112)
> >> >>>>
> >> >>>> note The full stack trace of the root cause is available
> >> >> in the Apache
> >> >>>> Tomcat/6.0.18 logs.
> >> >>>>
> >> >>>> _____
> >> >>>>
> >> >>>>
> >> >>>> Apache Tomcat/6.0.18
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> sincerely Oskar
> >> >>>> _______________________________________________
> >> >>>> users mailing list
> >> >>>> users(a)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(a)xwiki.org
> >> >>> http://lists.xwiki.org/mailman/listinfo/users
> >> >>>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> users(a)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(a)xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >>
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> _______________________________________________
> users mailing list
> users(a)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
Do shemas have been created in the DB ?
Can you ask your DBA to see what is the last login date of the user ?
It could help to know if the problem comes from the DB or if there is something wrong before trying to connect
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Oskar Marek Rzepinski
> Envoyé : mardi 19 janvier 2010 11:48
> À : XWiki Users
> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> with Oracle10g
>
> So, we started our installation once again and it still does not work.
> Step-by-step:
> 1. We created a user xwiki on oracle with all privileges. We
> use oracle
> 10.2.0.40
> 2. We deployed the war file with the geronimo console. We use tomcat 6
> javaee5 2.1.4
> 3. We than changed the configuration file, as already mentioned
> 4. We copied the ojdbc5.jar from oracle 11.1.0.7 and tried it
> also with
> ojdbc14.jar.
> 5. Then we restarted geronimo and started the xwiki container
>
> We use the oracle installtion and the geronimo server on a sun solaris
> server and solaris as the operating system. We still don't
> get the xwiki
> installed, and don't understand why.
>
>
> Thank you all for the pleasent help.
>
>
> 2010/1/19 Oskar Marek Rzepinski <rzepinski(a)gmail.com>
>
> > We have now some meetings, after them we will try once
> again with the jetty
> > pack.
> >
> > @Caleb James DeLisle
> > The steps I mentioned already we have done with the war
> file. We deployed
> > it with the geronimo console.
> >
> > I will get back to this after we have tried the jetty pack
> and than I will
> > answer and report if we were successful or not.
> >
> >
> > 2010/1/19 Caleb James DeLisle <calebdelisle(a)lavabit.com>
> >
> > XWiki is built differently for the war installation than
> the jetty/HSQL
> >> pack
> >> I think If you download the war file and install that way
> it will work.
> >>
> >> Caleb
> >>
> >> PERINAUD Christophe wrote:
> >> > Here what we did is that we installed Xwiki from the
> pack jetty/HSQL.
> >> > Once it work, we modified the hibernate configuration
> file to connect to
> >> Oracle DB.
> >> >
> >> > Here is our config file (if it helps ...) :
> >> > <?xml version='1.0' encoding='utf-8'?>
> >> > <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> >> Configuration DTD//EN"
> >> > "
> >> http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> >> > <hibernate-configuration>
> >> > <session-factory>
> >> > <property name="show_sql">false</property>
> >> > <property name="use_outer_join">true</property>
> >> > <property name="dbcp.defaultAutoCommit">false</property>
> >> > <property name="dbcp.maxActive">50</property>
> >> > <property name="dbcp.maxIdle">5</property>
> >> > <property name="dbcp.maxWait">30000</property>
> >> > <property name="dbcp.whenExhaustedAction">1</property>
> >> > <property name="dbcp.ps.whenExhaustedAction">1</property>
> >> > <property name="dbcp.ps.maxActive">20</property>
> >> > <property name="dbcp.ps.maxWait">120000</property>
> >> > <property name="dbcp.ps.maxIdle">20</property>
> >> > <property
> name="connection.url">jdbc:oracle:thin:@IP.IP.IP.IP
> >> :1521:od46</property>
> >> > <property name="connection.username">xwiki</property>
> >> > <property name="connection.password">*********</property>
> >> > <property
> >>
> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
</property>
> >> > <property
> >> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> >> > <property
> >>
> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
ctionProvider</property>
> >> > <property name="connection.pool_size">2</property>
> >> > <property name="statement_cache.size">2</property>
> >> > <property
> >> name="hibernate.connection.SetBigStringTryClob">true</property>
> >> > <property name="hibernate.jdbc.batch_size">0</property>
> >> > <mapping resource="xwiki.oracle.hbm.xml"/>
> >> > <mapping resource="feeds.oracle.hbm.xml"/>
> >> > </session-factory>
> >> > </hibernate-configuration>
> >> >
> >> >
> >> >> -----Message d'origine-----
> >> >> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> >> >> De la part de Oskar Marek Rzepinski
> >> >> Envoyé : mardi 19 janvier 2010 08:13
> >> >> À : XWiki Users
> >> >> Objet : Re: [xwiki-users] Problem with getting Xwiki to work
> >> >> with Oracle10g
> >> >>
> >> >> Yes, I forgot to mention it, we copied it from the oracle
> >> >> folder, we copied
> >> >> this files:
> >> >>
> >> >> ojdbc14.jar
> >> >> orai18n.jar
> >> >>
> >> >> And we also tried it with ojdbc5.jar
> >> >>
> >> >> It getting us really crazy on this.
> >> >>
> >> >>
> >> >>
> >> >> 2010/1/19 PERINAUD Christophe <Christophe.PERINAUD(a)kbl-bank.com>
> >> >>
> >> >>> Hi,
> >> >>>
> >> >>> Maybe stupid but did you install Oracle JDBC drivers in the
> >> >> WEB-INF/lib
> >> >>> xwiki's folder ?
> >> >>>
> >> >>> Christophe Périnaud
> >> >>> Windows Server 2003 SP2 in a VMWare instance
> >> >>> Oracle 10g
> >> >>> Java 1.6.0_12
> >> >>> Xwiki 2.0.3 from the pack Jetty/HSQL
> >> >>>
> >> >>>
> >> >>>> -----Message d'origine-----
> >> >>>> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> >> >>>> De la part de Oskar Marek Rzepinski
> >> >>>> Envoyé : mardi 19 janvier 2010 07:58
> >> >>>> À : users(a)xwiki.org
> >> >>>> Objet : [xwiki-users] Problem with getting Xwiki to work with
> >> >>>> Oracle10g
> >> >>>>
> >> >>>> Hello everybody,
> >> >>>>
> >> >>>>
> >> >>>> we just stuck on installing xwiki on our devserver. We tried
> >> >>>> almost 10 times
> >> >>>> to get it work by ourselves but I didn't work. We still
> >> >> want to get it
> >> >>>> working. Here are the steps we did already:
> >> >>>> 1. we created a user xwiki on our DB server with the
> >> >>>> instructions from the
> >> >>>> official site
> >> >>>> 2. then we deployed xwiki on our server with the
> geronimo console
> >> >>>> 3. we made some changes to the hibernate configuration file,
> >> >>>> as you can see:
> >> >>>> <?xml version='1.0' encoding='utf-8'?>
> >> >>>> <!DOCTYPE hibernate-configuration PUBLIC
> "-//Hibernate/Hibernate
> >> >>>> Configuration DTD//EN"
> >> >>>>
> >> >>
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> >> >>>> <hibernate-configuration>
> >> >>>> <session-factory>
> >> >>>>
> >> >>>> <!-- Please refer to the installation guide on
> >> >>>>
> >> >>>>
> >> >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> >> >>>> configuring your
> >> >>>> database. You'll need to do 2 things:
> >> >>>> 1) Copy your database driver JAR in WEB-INF/lib or in
> >> >>>> some shared
> >> >>>> lib directory
> >> >>>> 2) Uncomment the properties below for your specific
> >> >>>> DB (and comment
> >> >>>> the default
> >> >>>> database configuration if it doesn't match your DB)
> >> >>>> -->
> >> >>>>
> >> >>>> <!-- Generic parameters common to all Databases -->
> >> >>>>
> >> >>>> <property name="show_sql">false</
> >> >>>> property>
> >> >>>> <property name="use_outer_join">true</property>
> >> >>>>
> >> >>>> <property name="dbcp.defaultAutoCommit">false</property>
> >> >>>> <property name="dbcp.maxActive">50</property>
> >> >>>> <property name="dbcp.maxIdle">5</property>
> >> >>>> <property name="dbcp.maxWait">30000</property>
> >> >>>> <property name="dbcp.whenExhaustedAction">1</property>
> >> >>>> <property name="dbcp.ps.whenExhaustedAction">1</property>
> >> >>>> <property name="dbcp.ps.maxActive">20</property>
> >> >>>> <property name="dbcp.ps.maxWait">120000</property>
> >> >>>> <property name="dbcp.ps.maxIdle">20</property>
> >> >>>> <!-- Without it, some queries fail in MS SQL. XWiki
> >> >> doesn't need
> >> >>>> scrollable result sets, anyway. -->
> >> >>>> <property
> name="jdbc.use_scrollable_resultset">false</property>
> >> >>>>
> >> >>>> <!-- Oracle configuration.
> >> >>>> Uncomment if you want to use Oracle and comment out
> >> >>>> other database
> >> >>>> configurations.
> >> >>>> Note: the 2 properties named
> >> >>>> "hibernate.connection.SetBigStringTryClob" and
> >> >>>> "hibernate.jdbc.batch_size". They are required to
> >> >>>> tell Oracle to
> >> >>>> allow CLOBs larger than
> >> >>>> 32K.
> >> >>>> -->
> >> >>>> <property
> >> >>>> name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
> >> >>>> :devORA</property>
> >> >>>> <property name="connection.username">xwiki</property>
> >> >>>> <property name="connection.password">xwiki</property>
> >> >>>> <property
> >> >>>> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> >> >>>> </property>
> >> >>>> <property
> >> >>>>
> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> >> >>>> <property
> >> >>>> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> >> >>>> ctionProvider</property>
> >> >>>> <property name="connection.pool_size">2</property>
> >> >>>> <property name="statement_cache.size">2</property>
> >> >>>> <property
> >> >>>>
> name="hibernate.connection.SetBigStringTryClob">true</property>
> >> >>>> <property name="hibernate.jdbc.batch_size">0</property>
> >> >>>> <mapping resource="xwiki.oracle.hbm.xml"/>
> >> >>>> <mapping resource="feeds.oracle.hbm.xml"/>
> >> >>>> <mapping resource="activitystream.hbm.xml"/>
> >> >>>>
> >> >>>> <property
> >> >>>> name="hibernate.query.factory_class">org.hibernate.hql.classic
> >> >>>> .ClassicQueryTranslatorFactory</property>
> >> >>>>
> >> >>>> </session-factory>
> >> >>>> </hibernate-configuration>
> >> >>>>
> >> >>>> 4. We still get this error. We can simply connect to the
> >> >>>> xwiki users on the
> >> >>>> solaris console with sqlplus, but we cannot get it work. The
> >> >>>> user for the
> >> >>>> xwiki has all privileges to work the database. We cannot
> >> >>>> understand what
> >> >>>> goes wrong. Is there a simple how to how to really xwiki
> >> >>>> working on oracle
> >> >>>> 10g? Thank you very much.
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> 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: com.xpn.xwiki.XWikiException:
> >> >>>> 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: invalid configuration
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processException(Req
> >> >>>> uestProcessor.java:535)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processActionPerform
> >> >>>> (RequestProcessor.java:433)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.process(RequestProce
> >> >>>> ssor.java:236)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> >> >>>> ava:1196)
> >> >>>>
> >> >>>>
> >> >>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >> >>>>
> >> >>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> >> >>>> ConversionFilter.java:152)
> >> >>>>
> >> >> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >> >>>>
> >> >>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> >> >>>> lter.java:68)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> >> >>>> uestRestorerFilter.java:295)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> >> >>>> cterEncodingFilter.java:112)
> >> >>>>
> >> >>>> root cause
> >> >>>>
> >> >>>> com.xpn.xwiki.XWikiException: 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: invalid configuration
> >> >>>> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
> >> >>>> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
> >> >>>>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
> >> >>>>
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.processActionPerform
> >> >>>> (RequestProcessor.java:431)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.RequestProcessor.process(RequestProce
> >> >>>> ssor.java:236)
> >> >>>>
> >> >>>>
> >> >>>> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> >> >>>> ava:1196)
> >> >>>>
> >> >>>>
> >> >>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> >> >>>>
> >> >> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >> >>>>
> >> >>>> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> >> >>>> ConversionFilter.java:152)
> >> >>>>
> >> >> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >> >>>>
> >> >>>> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> >> >>>> lter.java:68)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> >> >>>> uestRestorerFilter.java:295)
> >> >>>>
> >> >>>>
> >> >>>> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> >> >>>> cterEncodingFilter.java:112)
> >> >>>>
> >> >>>> note The full stack trace of the root cause is available
> >> >> in the Apache
> >> >>>> Tomcat/6.0.18 logs.
> >> >>>>
> >> >>>> _____
> >> >>>>
> >> >>>>
> >> >>>> Apache Tomcat/6.0.18
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> sincerely Oskar
> >> >>>> _______________________________________________
> >> >>>> users mailing list
> >> >>>> users(a)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(a)xwiki.org
> >> >>> http://lists.xwiki.org/mailman/listinfo/users
> >> >>>
> >> >> _______________________________________________
> >> >> users mailing list
> >> >> users(a)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(a)xwiki.org
> >> > http://lists.xwiki.org/mailman/listinfo/users
> >> >
> >>
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> >
> _______________________________________________
> users mailing list
> users(a)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
Hi,
Maybe stupid but did you install Oracle JDBC drivers in the WEB-INF/lib xwiki's folder ?
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL
> -----Message d'origine-----
> De : users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> De la part de Oskar Marek Rzepinski
> Envoyé : mardi 19 janvier 2010 07:58
> À : users(a)xwiki.org
> Objet : [xwiki-users] Problem with getting Xwiki to work with
> Oracle10g
>
> Hello everybody,
>
>
> we just stuck on installing xwiki on our devserver. We tried
> almost 10 times
> to get it work by ourselves but I didn't work. We still want to get it
> working. Here are the steps we did already:
> 1. we created a user xwiki on our DB server with the
> instructions from the
> official site
> 2. then we deployed xwiki on our server with the geronimo console
> 3. we made some changes to the hibernate configuration file,
> as you can see:
> <?xml version='1.0' encoding='utf-8'?>
> <!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
> Configuration DTD//EN"
> "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
> <hibernate-configuration>
> <session-factory>
>
> <!-- Please refer to the installation guide on
>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
> configuring your
> database. You'll need to do 2 things:
> 1) Copy your database driver JAR in WEB-INF/lib or in
> some shared
> lib directory
> 2) Uncomment the properties below for your specific
> DB (and comment
> the default
> database configuration if it doesn't match your DB)
> -->
>
> <!-- Generic parameters common to all Databases -->
>
> <property name="show_sql">false</
> property>
> <property name="use_outer_join">true</property>
>
> <property name="dbcp.defaultAutoCommit">false</property>
> <property name="dbcp.maxActive">50</property>
> <property name="dbcp.maxIdle">5</property>
> <property name="dbcp.maxWait">30000</property>
> <property name="dbcp.whenExhaustedAction">1</property>
> <property name="dbcp.ps.whenExhaustedAction">1</property>
> <property name="dbcp.ps.maxActive">20</property>
> <property name="dbcp.ps.maxWait">120000</property>
> <property name="dbcp.ps.maxIdle">20</property>
> <!-- Without it, some queries fail in MS SQL. XWiki doesn't need
> scrollable result sets, anyway. -->
> <property name="jdbc.use_scrollable_resultset">false</property>
>
> <!-- Oracle configuration.
> Uncomment if you want to use Oracle and comment out
> other database
> configurations.
> Note: the 2 properties named
> "hibernate.connection.SetBigStringTryClob" and
> "hibernate.jdbc.batch_size". They are required to
> tell Oracle to
> allow CLOBs larger than
> 32K.
> -->
> <property
> name="connection.url">jdbc:oracle:thin:@10.233.106.132:1521
> :devORA</property>
> <property name="connection.username">xwiki</property>
> <property name="connection.password">xwiki</property>
> <property
> name="connection.driver_class">oracle.jdbc.driver.OracleDriver
> </property>
> <property
> name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
> <property
> name="connection.provider_class">com.xpn.xwiki.store.DBCPConne
> ctionProvider</property>
> <property name="connection.pool_size">2</property>
> <property name="statement_cache.size">2</property>
> <property
> name="hibernate.connection.SetBigStringTryClob">true</property>
> <property name="hibernate.jdbc.batch_size">0</property>
> <mapping resource="xwiki.oracle.hbm.xml"/>
> <mapping resource="feeds.oracle.hbm.xml"/>
> <mapping resource="activitystream.hbm.xml"/>
>
> <property
> name="hibernate.query.factory_class">org.hibernate.hql.classic
> .ClassicQueryTranslatorFactory</property>
>
> </session-factory>
> </hibernate-configuration>
>
> 4. We still get this error. We can simply connect to the
> xwiki users on the
> solaris console with sqlplus, but we cannot get it work. The
> user for the
> xwiki has all privileges to work the database. We cannot
> understand what
> goes wrong. Is there a simple how to how to really xwiki
> working on oracle
> 10g? Thank you very much.
>
>
>
> 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: com.xpn.xwiki.XWikiException:
> 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: invalid configuration
>
>
> org.apache.struts.action.RequestProcessor.processException(Req
> uestProcessor.java:535)
>
>
> org.apache.struts.action.RequestProcessor.processActionPerform
> (RequestProcessor.java:433)
>
>
> org.apache.struts.action.RequestProcessor.process(RequestProce
> ssor.java:236)
>
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>
>
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> ConversionFilter.java:152)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> lter.java:68)
>
>
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> uestRestorerFilter.java:295)
>
>
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> cterEncodingFilter.java:112)
>
> root cause
>
> com.xpn.xwiki.XWikiException: 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: invalid configuration
> com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:341)
> com.xpn.xwiki.XWiki.getXWiki(XWiki.java:402)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
>
>
> org.apache.struts.action.RequestProcessor.processActionPerform
> (RequestProcessor.java:431)
>
>
> org.apache.struts.action.RequestProcessor.process(RequestProce
> ssor.java:236)
>
>
> org.apache.struts.action.ActionServlet.process(ActionServlet.j
> ava:1196)
>
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
> javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
>
>
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(
> ConversionFilter.java:152)
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
>
>
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFi
> lter.java:68)
>
>
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedReq
> uestRestorerFilter.java:295)
>
>
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetChara
> cterEncodingFilter.java:112)
>
> note The full stack trace of the root cause is available in the Apache
> Tomcat/6.0.18 logs.
>
> _____
>
>
> Apache Tomcat/6.0.18
>
>
>
>
> sincerely Oskar
> _______________________________________________
> users mailing list
> users(a)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
Im running a wiki farm and when i log on as the admin user on the wiki farm
main page the "Tags auto suggest" feature does work. But when i log on as a
normal user on one of the wikis, the auto suggest feature does not suggest
any tags even though there are about 10 tags already in place.
Does anyone know why this happens?