Re: [xwiki-users] Killer App for xwiki

2009-03-05 Thread rssh

Just yet another idea, if somemody collect ones:

  I time from time thinking about embedding JasperReports in xwiki to receive
analog of Crystal Reports

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Using a database name other than 'xwikidb'

2008-10-06 Thread rssh
 *In a web-app leveraging XWiki, is it possible to use a database with name
 other than 'xwikidb'? If the answer is yes, what i have to amend?
 *


1. Yes, in xwiki-1.6 series
2. See
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfigurethenamesofdatabaseschemas28since16M129
 for configuration issues.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] overriding view.vm in own skin

2008-07-28 Thread rssh
On Mon, 28 Jul 2008 13:56:46 +0300, Sergiu Dumitriu wrote
 rssh wrote:
  On Fri, 25 Jul 2008 10:50:41 +0300, Mihails Agafonovs wrote
  Have you restarted you server?
  
  Yes, of course.
  
   Where was the problem: when skin is not set, xwiki look in user preferences
  for user skin.
   With new administration application, when skin is not set,
  'XWiki.DefaultSkin' is returned (instead ), and xwiki try to find file
   in skin with name 'XWiki.DefaultSkin', than go to base skin.
 
 Are you sure about this? I tried locally and it works fine. If the skin
 is not defined in XWikiPreferences, then the skin from xwiki.cfg
 (xwiki.defaultskin) is used.
 

 When you install Administration application (from svn), then skin prefefrence
for any existent user (and newly-created users) is set to
defined in XWikiPreferences.xml. (which is XWiki.DefaultSkin)

I submitted a path to Administration Application, which fix this problem
  http://jira.xwiki.org/jira/browse/XAADMINISTRATION-8


 Make sure that:
 - In the administration page, XWiki.DefaultSkin is not present
 - Or, if it is, you can modify XWiki.DefaultSkin to set the baseskin 
 to your skin (x) - Or, you can put x in the administration page as 
 the global skin and leave xwiki.cfg unchanged
 

 Yes. This is possible workarounds. But I think, that default skin must work
on fresh install, when we 'does not touch' user prefences by hands.  




  I will submit to JIRA patch wich will fix  this issue in nearest time.
  
  Question to community: what's better ?
   a) change XWiki.java to process XWiki.DefaultSkin as no-skin ?
   b) change intialization of user preferences to return  or null instead
  XWiki.DefaultSkin, when default skin is not set.

  
   Quoting rssh : On Thu, 24 Jul 2008 19:02:20 +0300, rssh wrote
   gt; Good day, community.
   gt; 
   gt; Small question about customizing xwiki:
   gt;   - I want to customize skin, by creating own skin (with name
  'x'), 
   gt; After reading
  http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
   gt;  I do next sequences of steps:
   gt; 
   gt; a) creating directory lt;xwiki-basegt;/skins/x, 
   gt; b) copying all files from touckan to x 
   gt; c) changing default skin in xwiki.cfg grom touckan to x
   gt; d) copying file templates/view.vm  to x
   gt; e) customizing view.vm  (writing onethins inside)
   gt; 
   gt; Last step does not work; i. e. if I change view.vm, nothing
  changed 
   gt; in xwiki.
   gt; 
   gt; So, question: it is such problem with my installation, or I
  missed something
   gt;  during creation of skin ?
   gt; 
   self-moderation: whith ?skin=x additional parameter all works.
   So: is exists way, where  xwiki.defaultskin parameter from xwiki.cfg
  is
   incorrect ?
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] overriding view.vm in own skin

2008-07-25 Thread rssh
On Fri, 25 Jul 2008 10:50:41 +0300, Mihails Agafonovs wrote
 Have you restarted you server?

Yes, of course.

 Where was the problem: when skin is not set, xwiki look in user preferences
for user skin.
 With new administration application, when skin is not set,
'XWiki.DefaultSkin' is returned (instead ), and xwiki try to find file
 in skin with name 'XWiki.DefaultSkin', than go to base skin.

I will submit to JIRA patch wich will fix  this issue in nearest time.

Question to community: what's better ?
 a) change XWiki.java to process XWiki.DefaultSkin as no-skin ?
 b) change intialization of user preferences to return  or null instead
XWiki.DefaultSkin, when default skin is not set.
  

  Quoting rssh : On Thu, 24 Jul 2008 19:02:20 +0300, rssh wrote
  gt; Good day, community.
  gt; 
  gt; Small question about customizing xwiki:
  gt;   - I want to customize skin, by creating own skin (with name
 'x'), 
  gt; After reading
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
  gt;  I do next sequences of steps:
  gt; 
  gt; a) creating directory lt;xwiki-basegt;/skins/x, 
  gt; b) copying all files from touckan to x 
  gt; c) changing default skin in xwiki.cfg grom touckan to x
  gt; d) copying file templates/view.vm  to x
  gt; e) customizing view.vm  (writing onethins inside)
  gt; 
  gt; Last step does not work; i. e. if I change view.vm, nothing
 changed 
  gt; in xwiki.
  gt; 
  gt; So, question: it is such problem with my installation, or I
 missed something
  gt;  during creation of skin ?
  gt; 
  self-moderation: whith ?skin=x additional parameter all works.
  So: is exists way, where  xwiki.defaultskin parameter from xwiki.cfg
 is
  incorrect ?
  gt; --
  gt; Ruslan Shevchenko
  gt; GradSoft. http://www.gradsoft.ua
  gt; 
  gt; ___
  gt; users mailing list
  gt; users@xwiki.org
  gt; http://lists.xwiki.org/mailman/listinfo/users
  --
  Ruslan Shevchenko
  GradSoft. http://www.gradsoft.ua
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
  Ar cieРu, Mihails
 
 Links:
 --
 [1] mailto:[EMAIL PROTECTED]
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Two xwiki on one host without using virtual wiki feature ?

2008-07-25 Thread rssh

 Good day, community !.

One question - is exists configuration parameter, which set name of web
application (other then 'xwiki') or it's still hardcoded in java ?

I.e. I want to run two different xwiki-based applications on different
databases on one tomcat instance.
 I can set different dabases (with xwiki.db parameter), now I want set
different base urls.

//I remember, than year ago it was hardcoded. Is situation was changed for now ?


--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] overriding view.vm in own skin

2008-07-24 Thread rssh

 Good day, community.

Small question about customizing xwiki:
  - I want to customize skin, by creating own skin (with name 'x'), 
After reading http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
 I do next sequences of steps:

a) creating directory xwiki-base/skins/x, 
b) copying all files from touckan to x 
c) changing default skin in xwiki.cfg grom touckan to x
d) copying file templates/view.vm  to x
e) customizing view.vm  (writing onethins inside)

Last step does not work; i. e. if I change view.vm, nothing changed in xwiki.

So, question: it is such problem with my installation, or I missed something
 during creation of skin ?




--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Error while configuring ua.gradsoft.xwikisql.SqlPlugin

2008-04-18 Thread rssh
On Fri, 18 Apr 2008 23:10:25 +0700, Ngo Thi Hong Nga wrote
 Hi, I'm using XE 1.3 with xwiki-plugin-sql-1.3.jar. I put the jar in
 WEB-INF\lib, append ua.gradsoft.xwikisql.SqlPlugin to xwiki.cfg and restart
 Tomcat.
 When I run XWiki, the following error is thrown:
 
 *exception*
 

It's becouse you use JDK-1.5, when xwiki-plugin-sql is build with help of 
JDK-1.6

For use one with JDK-1.5 you can get source distributive and compile one with
appropriative JDK version.

 javax.servlet.ServletException: Servlet execution threw an exception
 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
 
 *root cause*
 
 java.lang.UnsupportedClassVersionError: Bad version number in .class 
 file  java.lang.ClassLoader.defineClass1(Native Method)   
 java.lang.ClassLoader.defineClass(Unknown Source) 
 java.security.SecureClassLoader.defineClass(Unknown Source)   

org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)

org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)

org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
java.lang.ClassLoader.loadClassInternal(Unknown Source) 
java.lang.Class.forName0(Native Method) java.lang.Class.forName(Unknown
Source) 
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:70)   
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:107)
com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:853) 
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:785) 
com.xpn.xwiki.XWiki.init(XWiki.java:721) 
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:292) 
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:490) 
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:118) 
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:689) 
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) 
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
 
 How to solve this problem? Any help would be high appreciated.
 -- 
[UTF-8?] NgцЄ ThА╩#8249; HА╩⌠ng Nga
 Mobile: 0935 176133
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-15 Thread rssh
On Tue, 15 Apr 2008 10:55:06 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 [Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
 
  Now, I can move to JNDI set up. Any other thing I could try here before 
  moving ahead? I will try the new *.jar tomorrow in the production server 
  (java version 1.4.2_10) and post here the results. I've been trying in 
  a java version 1.5.0_13 so far.
 


http://xepecnet.environmentalchange.net/xwiki/bin/view/ICT/IsXwikiSqlPluginInstalled
 
 Plugin installed in java version 1.4.2_10
 
 Please, do you know how could I show java version in a XWiki page? :-)
 
 But the same coded triggering this error...
 
 http://mire.environmentalchange.net/~webmaster/images/XwikiSqlTest03.png
 
 with  java version 1.5.0_13 doesn't do the trick with 1.4.2_10. 
 See this...
 
 http://xepecnet.environmentalchange.net/xwiki/bin/view/ICT/DoesJndiNameExist
 
 http://tinyurl.com/4yhzvp
 
 The same modified log4j.properties is in /classes and no 
 xwikisql.logEnabled=false in xwiki.cfg
 
 Does this make any sense for you? Thanks!
 

1. can you recheck that patch is applied to version plugin, compiled with
JDK-1.4 ?

2. Are we have something in log on info level (may be one message about
programming rights [?])

3. what say:
 $plugin.getSqlPlugin().getConfiguration().getThrowExceptions() br
 $plugin.getSqlPlugin().getConfiguration().getLogEnabled() br
[?]

 Cheers,
 
 Ricardo
 
 -- 
[UTF-8?] Ricardo Rodrцґguez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-15 Thread rssh
On Tue, 15 Apr 2008 14:36:30 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 [Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
  rssh wrote:

  1. can you recheck that patch is applied to version plugin, compiled with
  JDK-1.4 ?

  
  My fault: I've just copied the plugin compiled with JDK-1.4 to the 1.5
box. I'll recompile it and try again. Sorry.
 
  Thanks,
 
  Ricardo
 

 Here what I get compiling with JDK-1.4...
 

http://mire.environmentalchange.net/~webmaster/txt/XwikiSqlPluginCompilingInJava14.txt
 
 I've installed Ant 1.6 (the one available with the Suse distribution 
 I am rinning in this server) and modified build.xml to change 
 target=1.5 with target=1.4.
 
 Please, does this make anysense for you? Thanks!!!
 

Hmm - You try compile xwikisql with jdk-1.4 (this will not work).
 Instead -- compile and create jar with JDK-1.5  but set target to JDK-1.4
(yes, this is possible)

In such case JDK-1.5 will create jar, applicable for JDK-1.4.


 Ricardo
 
 -- 
 Ricardo RodrМguez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread rssh
On Mon, 14 Apr 2008 11:33:19 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 Morning!
 

 Yet one quick question: are you have programming rights ?

(I trying reproduce situation and still can't understand it)

 rssh wrote:
  Something really change.
 
  let's test all steps.
 
   1. plugin is installed.
  test page:
   $plugin = $xwiki.sql
   plugin is $plugin
  (page must print something like 
'plugin is ua.gradsoft.xwikisql.SqlPluginApi$'
   )
 
  2. database is retrieved
  test page:
   $plugin = $xwiki.sql
   plugin is $plugin
   br
   $db = $plugin.getDatabase('myDs');
   db is $db
   
  (page must print something like 
'plugin is ua.gradsoft.xwikisql.SqlPluginApi$'
db is '$db' 
 (if it was not found)
   )

 Here the results...
 
 http://mire.environmentalchange.net/~webmaster/images/XwikiSqlTest.png
   and in xwiki.log we will see error message.
 
  (also, check, that you have no entry
   xwikisql.logEnabled=false
  in you xwiki.cfg
  )
 
 
 No error was logged in xwiki.log. There is no such an entry in 
 xwiki.cfg. Here the logj.properties in /classes...
 
 http://mire.environmentalchange.net/~webmaster/txt/log4j.properties.txt
 
  If not - something very strange, will think about new experiments.
 
 
 
 Sorry for not being of much help!!! Please, let me know what else 
 must/could I try here. Thanks!
 
 Cheers,
 
 Ricardo
 
 -- 
[UTF-8?] Ricardo Rodrцґguez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread rssh
On Mon, 14 Apr 2008 16:36:59 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 [Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
  rssh wrote:

   Yet one quick question: are you have programming rights ?
 
  (I trying reproduce situation and still can't understand it)
 

  
  Quick answer:
 
  Yeap! Default Admin user BUT virtual wiki! Let me try in the main wiki...
 
  Cheers,
 
  Ricardo
 

 Same behavior in the main server: no message recorded in xwiki.log. 
 Same answer to the document scripts:
 
 *
 plugin is installed
 
 $plugin = [EMAIL PROTECTED] plugin is $plugin
 
 database is retrieved
 
 $plugin = [EMAIL PROTECTED] plugin is $plugin
 $db = $plugin.getDatabase('myDs'); db is $db
 *
 

And what container you use ?
 This is jetty or apache ?

(btw,
1. if 'myDs' does not exists $plugin.getDatabase('myDs') must return valid
 SqlDatabase, which will throw exception on first SQL sentence)

2. test page is incorrect (my fault - I was mean velocity syntax of assigment
but write simple assigment). I. e. instead:
 test page:
  $plugin = $xwiki.sql
  plugin is $plugin
  br
  $db = $plugin.getDatabase('myDs');
  db is $db 

must be:
#set($plugin = $xwiki.sql)
plugin is $plugin
br
#set($db = $plugin.getDatabase('myDs'))
db is $db 

And we will have something like 
[EMAIL PROTECTED]
[EMAIL PROTECTED] 

Then let add's add at end:

$db.wasError()br
$db.getLastException()

We must have something like
true
javax.naming.NameNotFoundException: Name UNEXISTENT is not bound in this Context

Is this true ?

P.S. looks like I just reproduced this effect and will publish fix tomorrow.


--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread rssh
On Mon, 14 Apr 2008 23:56:09 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 rssh wrote:
  And what container you use ?
   This is jetty or apache ?
 
 
 Tomcat. I guess when you say Apache you mean Apache Tomcat, doesn't you?

yes.

So, the diff to right solution is in attachment. (and by url:
http://xwikisql.googlecode.com/files/xwiki-sql-plugin.1-4.2.patch
)

I will publish next version which will include those fixes during this week.

(Btw - can you send me files with commented out sql types -- so I will prepare
version for JDK-1.4)

 

 Cool! I will be pending of this update and try it here ASAP. Thanks!
 
 Greetings,
 
 Ricardo
 
 -- 
 Ricardo RodrМguez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-12 Thread rssh
On Sat, 12 Apr 2008 13:56:20 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 Thanks Ruslan,
 
 rssh wrote:
 
   So, in 1.5 we have no javax.sql.RowId, javax.sql.NClob and so on :(
 
  One quick solution: just comment out new JDBC-3.0 types in two cases in
  SqlPlugin.java and SqlTypes.java
 
 
 As I've been able to find by googling, only java.sql.Types.DATALINK 
 data type has been added to the JDBC 3.0 API. So, please, what 
 exactly must I comment out? The whole import java.sql.Types line? 
 Only case Types.DATALINK: return DATALINK;?
 

JDK1.4 docs http://java.sun.com/j2se/1.4.2/docs/api/
(see java,sql.types)

JDK1.6 docs http://java.sun.com/javase/6/docs/api/

So, all typoes which exists in J2SE1.6 but not in J2SE1.4 must be commented out.


 As I am a bit lost in this arena, I do prefer to ask instead of 
 doing no-sense things! Thanks for your patience!
  If you agree, in future I will prepare special version for JDK-1.5 (i. e. 
  prepare  JPE rules for receiving version for JDBC-2.0 from generic and will
  ask you to test one.)
 

 Of course I will try it. But, please, I don't know if I am the only 
 one running XWiki in a Java(TM) 2 Runtime Environment, Standard 
 Edition 
 (build 1.4.2_10-b03) box, but this is our production server and it 
 will be difficult either to update Java or to have a new box in the 
 following few months. Does this trick work also with 1.4? Or, do 
 this plugin work in such an installation? Thanks!
 

I will test this.

 Cheers,
 
 Ricardo
 
 -- 
 Ricardo Rodri'guez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-11 Thread rssh
On Fri, 11 Apr 2008 14:59:55 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 Hi Ruslan!
 
 rssh wrote:
  As I remember, for this you must extract log4j.properties from
  lib/xwiki-core-version.jar and put extracted file in classes.
  Than add to log4j.properties additional statements.
 
 I've extracted the file, added the required line and modified 
 xwiki.cfg accordingly. Here it is a block containing the line 
 loading  xwikisql plugin.
 

 so - looks like you run xwiki on jdk-1.5 when sql plugin is compiled with 
jdk-1.6

The solution is grab the source of xwikisql plugin and recompile one with
JDK-1.5 (or add target - JDK-1.5 in build.xml)





com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
causa rai'z
 
 java.lang.UnsupportedClassVersionError: Bad version number in .class 
 filejava.lang.ClassLoader.defineClass1(Native Method)
 java.lang.ClassLoader.defineClass(ClassLoader.java:675)
 java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
 
 



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-11 Thread rssh
On Fri, 11 Apr 2008 15:38:39 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 rssh wrote:
   so - looks like you run xwiki on jdk-1.5 when sql plugin is compiled with
jdk-1.6
 
  The solution is grab the source of xwikisql plugin and recompile one with
  JDK-1.5 (or add target - JDK-1.5 in build.xml)
 
 Even worse! Our production server runs java version 1.4.2_10, any 
 drawback running this release? Thanks!
 

 -target 1.4 must work  (but this is untested.  From other side - we have no
any complex things in xwikisql, so all will work with hight probability)

 Cheers,
 
 Ricardo
 
 -- 
 Ricardo RodrМguez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-11 Thread rssh
On Fri, 11 Apr 2008 16:40:20 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 Thanks, Ruslan.
 
 rssh wrote:
   -target 1.4 must work  (but this is untested.  From other side - we have no
  any complex things in xwikisql, so all will work with hight probability)
 Digging into code and building xwiki and its plugins is in my ToDo 
 list, but I'm afraid I am a bit far from understand how to do this 
 right now.
 
 Please, could you provide me some simple guidelines to build 
 xwikisql here?
 

It's very simple ;)

1. download
2. start ant
'ant'
  (it will automatically fetch all dependencies and start build)
3. clean all
'ant clean'
4. to change target JDK, set target attribute of javac in build ant
target.  (consult with javac ant task documentation if needed).

 Thank you so much for your help,
 
 Ricardo
 
 -- 
[UTF-8?] Ricardo Rodrцґguez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-11 Thread rssh
On Fri, 11 Apr 2008 20:49:55 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 Simple... :-)
 

 Oh .. it's my failure. (ivy use ssh plugin, but library does not downloaded
during ivy bootstrap)

You can manually download jsch and put into ivy jars directory. (Option 1)
or apply patch to 

Details:

1.  just manually download jsch-0.1.37.jar from http://www.jcraft.com/jsch/
and put one into you-home-dir/.ivy/jars/jsch.jar

 and start ant again

2. If you don't want to download jar by hands, apply patch from attachment and
 run ant again.




 rssh wrote:
  It's very simple ;)
 
  1. download
  2. start ant
  'ant'
(it will automatically fetch all dependencies and start build)
  3. clean all
  'ant clean'
  4. to change target JDK, set target attribute of javac in build ant
  target.  (consult with javac ant task documentation if needed).
 
 I've downloaded xwiki-plugin-sql-src-1.4.tar.gz 
 http://xwikisql.googlecode.com/files/xwiki-plugin-sql-src-
 1.4.tar.gz, extracted it, changed build.xml by adding target=1.5 
 to ...
 
 *
  target name=build depends=retrieve-libs
   javac srcdir=src/main/java includes=**/*.java deprecation=on
  debug=${debug}
  target=1.5
 classpath  refid=std.build.path /
   /javac
   jar basedir=src/main/java includes=**/*.class
destfile=target/xwiki-plugin-sql-${version}.jar
index=true
   include name=build/
   manifest
attribute name=Build-By value=${user-name}/
   /manifest
   /jar
  /target
 *
 
 and...
 
 *
  target name=build-tests depends=build,retrieve-test-libs
   javac srcdir=src/test/java includes=**/*.java deprecation=on
  debug=${debug}
  target=1.5
 classpath refid=test.std.build.path /
   /javac
  /target
 *
 
 Then, started ant. And build failed recording the following messages:
 
 *
 sh-3.2# ant
 Buildfile: build.xml
 
 download-ivy:
   [get] Getting: 
 http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.0.0-beta2/ivy-
 2.0.0-beta2.jar  [get] To: /var/root/.ivy/jars/ivy.jar 
  [get] Not modified - so not downloaded
 
 declare-ivy:
 
 init-ivy:
 No ivy:settings found for the default reference 'ivy.instance'.  A 
 default instance will be used
  [null] :: Ivy 2.0.0-beta2 - 20080225093827 :: 
 http://ant.apache.org/ivy/ ::
  [null] :: loading settings :: file = 
 /Users/rrodriguez/Downloads/xwiki-plugin-sql-src-1.4/ivysettings.xml
  [null] DEPRECATED: 'checkUpToDate' is deprecated, use 
 '[EMAIL PROTECTED]' instead
 
 (file:/Users/rrodriguez/Downloads/xwiki-plugin-sql-src-
 1.4/ivysettings.xml)
 
 BUILD FAILED
 /Users/rrodriguez/Downloads/xwiki-plugin-sql-src-1.4/build.xml:39: 
 java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException
 
 Total time: 1 second
 sh-3.2#
 *
 
 Please, does this any sense for your? What I am doing wrong?
 
 Thank you so much for your help,
 
 Ricardo
 
 -- 
 Ricardo Rodri'guez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-11 Thread rssh
On Sat, 12 Apr 2008 00:26:25 +0300, rssh wrote
  2. If you don't want to download jar by hands, apply patch from 
  attachment and run ant again.
  
  looks like I forgot attachment in previous letter.

No, it is xwiki mail list strips attachments from letters (!)

patch is uploaded for
http://xwikisql.googlecode.com/files/xwiki-sql-plugin.1-4.1.patch

Thanks for patience.


--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-10 Thread rssh
On Fri, 11 Apr 2008 01:05:18 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 rssh wrote:
  1. check is xwikisql is added as plugin.
  2. Try to enable logging of xwikisql 
  (i.e. add to xwiki-app/WEB-INF/classes/log4j.properties next string
 
  log4j.logger.ua.gradsoft.xwikisql=debug
  )

 Sorry if this question is too basic or simply stupid...
 
 May I create this log4j.properties in classes in XE 1.3 without 
 affecting its log functioning?
 

As I remember, for this you must extract log4j.properties from
lib/xwiki-core-version.jar and put extracted file in classes.  
Than add to log4j.properties additional statements.


 I remember I've read some document about this, I think written by 
 Vincent, but I am not able to find it now. Thanks!
 

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging


 Cheers,
 
 Ricardo
 
 -- 
 Ricardo RodrМguez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Issue when using foreign database

2008-04-10 Thread rssh
On Fri, 11 Apr 2008 00:46:20 +0200, [Ricardo Rodriguez] Your EPEC Network ICT
Team wrote
 Hi Ruslan,
 
 rssh wrote:
  1. check is xwikisql is added as plugin.
  2. Try to enable logging of xwikisql 
  (i.e. add to xwiki-app/WEB-INF/classes/log4j.properties next string
 
  log4j.logger.ua.gradsoft.xwikisql=debug
  )
 

 Please, is not this also a requirement?...
 
 *Configure JNDI data store in application container, where you xwiki 
 instance is running.
 

Yes.  (And if JNDI database reference is not configured -- logging will say 
that)

Other common error -- is try to use one without programming rights.
 

 Thanks!
 
 Ricardo
 
 -- 
 Ricardo RodrМguez
 Your EPEC Network ICT Team
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Fw: Re: name of default database

2008-03-15 Thread rssh

 vmassol wrote:


 On Jan 10, 2008, at 2:31 PM, rssh wrote:


 Good day.

 I just download xwiki, and see, that it is not possible to set name
 of default
 database scheme other than 'xwiki'. (Becouse xwiki.tableName is
 hardcoded in
 SQL statements)

 Unfortunately. this means that it is hard to use xwiki as platform
 for web
 application, because usually we have situation 'one application/one
 database
 scheme' and want to use few applications (or few version of same
 application)
 simultaneously.

 Question: if I change this and wull create path for configurable
 database
 scheme name of main xwiki instance, would this patches be accepted
 (?) or such
 using is out of scope of interest for xwiki community ?

 We'd love that patch . However it's not an easy patch (you/we'll need
 to test it in lots of different conditions: XE, XEM, different
 databases).

 Thanks
 -Vincent
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



 Any news on this? I did just run into this issue...

For the record the jira issue is there and not implemented yet:
http://jira.xwiki.org/jira/browse/XWIKI-2006

-Vincent


Need to clarify:  patch is ready and need only in testing(from xwiki side,
works for me) and committing.  (As I see the main reason while it not
committed  yet -- lack of time of core xwiki committers, and also they just
afraid touch low-level stuff [may be with some reason])

Also note, that JIRA support voting, i. e. you can vote for this issue and 
may be this will help xwiki developers to prioritize this issue to be resolved
in non-infinite time frame.



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Fw: Re: name of default database

2008-03-15 Thread rssh
On Sat, 15 Mar 2008 12:38:20 +0100, Thomas Mortagne wrote
 On Sat, Mar 15, 2008 at 11:57 AM, rssh [EMAIL PROTECTED] wrote:
 
vmassol wrote:
   
   
On Jan 10, 2008, at 2:31 PM, rssh wrote:
   
   
Good day.
   
I just download xwiki, and see, that it is not possible to set name
of default
database scheme other than 'xwiki'. (Becouse xwiki.tableName is
hardcoded in
SQL statements)
   
Unfortunately. this means that it is hard to use xwiki as platform
for web
application, because usually we have situation 'one application/one
database
scheme' and want to use few applications (or few version of same
application)
simultaneously.
   
Question: if I change this and wull create path for configurable
database
scheme name of main xwiki instance, would this patches be accepted
(?) or such
using is out of scope of interest for xwiki community ?
   
We'd love that patch . However it's not an easy patch (you/we'll need
to test it in lots of different conditions: XE, XEM, different
databases).
   
Thanks
-Vincent
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
   
   
   
Any news on this? I did just run into this issue...
 
   For the record the jira issue is there and not implemented yet:
   http://jira.xwiki.org/jira/browse/XWIKI-2006
 
   -Vincent
 
 
   Need to clarify:  patch is ready and need only in testing(from xwiki side,
   works for me) and committing.  (As I see the main reason while it not
   committed  yet -- lack of time of core xwiki committers, and also they just
   afraid touch low-level stuff [may be with some reason])
 
 The problem was also that this patch add hql queries and almost 
 double them in non virtual mode: for each hibernate transaction it 
 execute a query to force switch to the configured database. But as 
 it's not worst than virtual mode which do exactly the same this to 
 ensure it works on the correct wiki/database.
 

 Yes. Also note, that you pay this price only if you use this feature.

(I thinking about better solution, and can say that this is impossible 
 without changing hibernate code.)


 
   Also note, that JIRA support voting, i. e. you can vote for this issue and
   may be this will help xwiki developers to prioritize this issue to be
resolved
   in non-infinite time frame.
 
 
 
   --
   Ruslan Shevchenko
   GradSoft. http://www.gradsoft.ua
 
   ___
   users mailing list
   users@xwiki.org
   http://lists.xwiki.org/mailman/listinfo/users
 
 
 -- 
 Thomas Mortagne
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] add space without special interface ?

2008-02-15 Thread rssh

Are exists wat to add new space by hand, without loading context of enterprise
wiki ?

--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] site

2008-02-09 Thread rssh

Are xwiki site in a correct state now?

Looks, that link for Enterprise from http://www.xwiki.org/xwiki/bin/view/Main/
is point to self:  http://www.xwiki.org/xwiki/bin/view/Main/


--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] velocity tools access

2008-01-31 Thread rssh
On Thu, 31 Jan 2008 09:13:32 +0100, Vincent Massol wrote
 On Jan 31, 2008, at 7:41 AM, rssh wrote:
 
  On Wed, 30 Jan 2008 23:24:21 +0100, Sergiu Dumitriu wrote
  Hi,
 
  Velocity tools is not enabled yet. However, this is planned (I was
  about to do it in the 1.2 timeframe, but didn't have time to commit
  the code).
 
 
  O - are you have ready patch ?
  If yes, can you publish one ?
 
  (I now need in velocity tools, so I can test this patch on 1.3  
  SNAPSHOT)
 
 It's very simple. You just need to add the MathTool java bean 
 instance  to the velocity context and you're done! No need for 
 velocity tools  servlet or stuff like that.
 
 -Vincent
 

 Yes, but if we want more generalized stuff, than sintuation become a little
more complex:

 I think the 'right way' is to keep somewehere static instance of ToolManager, 
create and configure one from some well-known path (better configurable) on
demand, than in VelocityRendere.prepareContext() merge new-created context
with context of ToolManager.

(of course, if we want provide standard velocity-tool services, which can be
externally configured)



  rssh wrote:
  Good day, community,
 
  Are general velocity tools objects (particullary I'm interestin in  
  MathTool)
  accessible from xwiki templates ?
 
  If yes - where names are described ? [standard names, such as  
  'math' for
  math does not work].
 
  P.S. (Curiosly,  I can't find initialization of velocity context  
  in code,
  but from other side velocity-tools jar is bundled with  
  distribution. )
 
 
  --
  Ruslan Shevchenko
  GradSoft. http://www.gradsoft.ua
 
 
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 
  --
  Ruslan Shevchenko
  GradSoft. http://www.gradsoft.ua
 
  ___
  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



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] velocity tools access

2008-01-31 Thread rssh
On Thu, 31 Jan 2008 10:05:52 +0100, Vincent Massol wrote
 On Jan 31, 2008, at 9:58 AM, rssh wrote:
 
  On Thu, 31 Jan 2008 09:13:32 +0100, Vincent Massol wrote
  On Jan 31, 2008, at 7:41 AM, rssh wrote:
 
  On Wed, 30 Jan 2008 23:24:21 +0100, Sergiu Dumitriu wrote
  Hi,
 
  Velocity tools is not enabled yet. However, this is planned (I was
  about to do it in the 1.2 timeframe, but didn't have time to commit
  the code).
 
 
  O - are you have ready patch ?
  If yes, can you publish one ?
 
  (I now need in velocity tools, so I can test this patch on 1.3
  SNAPSHOT)
 
  It's very simple. You just need to add the MathTool java bean
  instance  to the velocity context and you're done! No need for
  velocity tools  servlet or stuff like that.
 
  -Vincent
 
 
  Yes, but if we want more generalized stuff, than sintuation become a  
  little
  more complex:
 
  I think the 'right way' is to keep somewehere static instance of  
  ToolManager,
  create and configure one from some well-known path (better  
  configurable) on
  demand, than in VelocityRendere.prepareContext() merge new-created  
  context
  with context of ToolManager.
 
  (of course, if we want provide standard velocity-tool services,  
  which can be
  externally configured)
 
 The main reason I haven't been touching this part is because I've  
 written a new Velocity component in the new xwiki architecture and 
 I'd  like to replace our current velocity code with it. The 
 component is in  xwiki-core/xwiki-velocity if you want to have a look.
 
 My idea would be to provide component configuration that allows 
 users  to add any bean they want to the velocity context.
 
 WDYT?
 

Nice.

 I looked in xwiki-velocity and was not able to figure: what is it. Now
understood that it is just not finished ;)

 Functionality you tell about is exactly a ToolManager in VelocityTools 2.0:
it read class name from configuration, get through reflection annotation
'DefaultKey', than add tool to context (in application scope).

I guess, that you have implementation plan like next:

Step 1.

1.1. add to VelocityManager  method 'createContext' (or initialize existing
context), which will create 
1.2. call VelocityManager.createContext from VelocityRendere.prepareContext()

  (it's means that classes must be moved to xwiki-core package ?)

1.3. add configure method to VelocityManager, which will read name of classes
and keys from some property or configuration (and may be, if key is not
configurated -- use some analog of DefaultKey annotation, which we than change
to org.apache.velocity.tools.config.DefualtKey when VelocityTools-2.0 will be
released) 

 release this as snapshot.

Step 2.

4. for plugins: may be velocity-aware plugins want to add some objects or
macroses to default velocity context, than add velocity context initialization
callback to plugin interface.

 release this as snapshot.



And what a time frame ?  Can I help in something ? (for example by writing
1.1,1.2,1.3 and submitting a patch)



 Thanks
 -Vincent
 
  rssh wrote:
  Good day, community,
 
  Are general velocity tools objects (particullary I'm interestin in
  MathTool)
  accessible from xwiki templates ?
 
  If yes - where names are described ? [standard names, such as
  'math' for
  math does not work].
 
  P.S. (Curiosly,  I can't find initialization of velocity context
  in code,
  but from other side velocity-tools jar is bundled with
  distribution. )
 
 
  --
  Ruslan Shevchenko
  GradSoft. http://www.gradsoft.ua
 
 
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 
 
  --
  Ruslan Shevchenko
  GradSoft. http://www.gradsoft.ua
 
  ___
  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
 
 
 
  --
  Ruslan Shevchenko
  GradSoft. http://www.gradsoft.ua
 
  ___
  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



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] velocity tools access

2008-01-30 Thread rssh
On Wed, 30 Jan 2008 23:24:21 +0100, Sergiu Dumitriu wrote
 Hi,
 
 Velocity tools is not enabled yet. However, this is planned (I was 
 about to do it in the 1.2 timeframe, but didn't have time to commit 
 the code).
 

O - are you have ready patch ?
If yes, can you publish one ?
 
(I now need in velocity tools, so I can test this patch on 1.3 SNAPSHOT)


 Sergiu
 
 rssh wrote:
  Good day, community,
  
  Are general velocity tools objects (particullary I'm interestin in 
  MathTool) 
  accessible from xwiki templates ?
  
  If yes - where names are described ? [standard names, such as 'math' for 
  math does not work]. 
  
  P.S. (Curiosly,  I can't find initialization of velocity context in code, 
  but from other side velocity-tools jar is bundled with distribution. )
  
  
  --
  Ruslan Shevchenko
  GradSoft. http://www.gradsoft.ua
 
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] velocity tools access

2008-01-29 Thread rssh

Good day, community,

Are general velocity tools objects (particullary I'm interestin in MathTool) 
accessible from xwiki templates ?

If yes - where names are described ? [standard names, such as 'math' for 
math does not work]. 

P.S. (Curiosly,  I can't find initialization of velocity context in code, 
but from other side velocity-tools jar is bundled with distribution. )


--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with mod_proxy

2008-01-23 Thread rssh
 
 javax.servlet.ServletException: Error number 3 in 0: Could not initialize
 main XWiki context
 Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
 Wrapped Exception: Hibernate Dialect must be explicitly set
*


 So, it's nothing with mod_proxy, it's about incorrect hibernate.cfg.xml


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] problem in Create Panel

2008-01-16 Thread rssh
On Wed, 16 Jan 2008 10:26:04 -0500, Hande Aksac wrote
  
  
 Hello,
  
 I am using the 1.0-beta-5.2310 version of xwiki. I am trying to create a 
 new blog post or a space using the Create Panel. 
  
 However, when I try to do that, I am getting the following message: 
  
 The requested document could not be found.
 You can edit this page to create it. 
  
 What might be the problem?
  

It's not problem, it's the way of creation ;)
[i.e. really,  press on 'edit' button and write page or blog post]

 Thank you for your time and help in advance!
  
 Hande

-- 
Ruslan Shevchenko 
GradSoft. http://www.gradsoft.ua 


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] No import application on dojo skin ?

2008-01-16 Thread rssh

 Good day, community.

One more questions:
  - I can';t find way to import application in dojo skin - is this right or I
missing something ?
 (or all skin-s except albatross now obsolete [?])


--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Few site problems.

2008-01-12 Thread rssh


1, looks like FAQ application does not work.  I tried to add one question (to
not forget URL themself):
http://www.xwiki.org/xwiki/bin/view/FAQ/Howtodisablecommentsandattachments
but after adding FAQ is not accessible from main page. 

2.  link's from existing FAQ question: 'What is space'  point to nowhere.
 
3.  I can't find User Guide from documentation page. Only presentation and
videos.  (So, I was able to found xwiki syntax reference only by google search).


--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Few site problems.

2008-01-12 Thread rssh
On Sat, 12 Jan 2008 15:49:47 +0100, Vincent Massol wrote
 Hu Ruslan,
 
 On Jan 12, 2008, at 3:21 PM, rssh wrote:
 
  1, looks like FAQ application does not work.  I tried to add one  
  question (to
  not forget URL themself):
  http://www.xwiki.org/xwiki/bin/view/FAQ/Howtodisablecommentsandattachments
  but after adding FAQ is not accessible from main page.
 
 As always the answer is caching :)
 
 This pages is cached for improved performances. Right now it has a  
 cache timer of 1 seconds!
 
 I've changed it to 10 minutes.
 

Thanks.

  2.  link's from existing FAQ question: 'What is space'  point to  
  nowhere.
 
 Can you give me a URL, I don't see any problem?
 

Now it work.

(URL was: http://www.xwiki.org/xwiki/bin/view/FAQ/WhatIsASpace)


  3.  I can't find User Guide from documentation page. Only  
  presentation and
  videos.  (So, I was able to found xwiki syntax reference only by  
  google search).
 
 Can you tell me where you're looking at (not sure what you call  
 documentation page).
 
 For what product are you looking for a user guide? XE, XEM, Watch, etc?
 

I was looking for 'What is spaces' in XWiki Enterprise.
Now I see, that answer was in platform guide.

Exists some logical reason for such my  error:  as user I'm not care: where is
platform and where is product, so I always look in product guide.

(So, can I add link to platform guide from enterprise users guide page ?)


 Thanks
 -Vincent
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Few site problems.

2008-01-12 Thread rssh
 
   3.  I can't find User Guide from documentation page. Only  
   presentation and
   videos.  (So, I was able to found xwiki syntax reference only by  
   google search).
  
  Can you tell me where you're looking at (not sure what you call  
  documentation page).
  
  For what product are you looking for a user guide? XE, XEM, Watch, etc?
 
 
 I was looking for 'What is spaces' in XWiki Enterprise.
 Now I see, that answer was in platform guide.
 
 Exists some logical reason for such my  error:  as user I'm not 
 care: where is platform and where is product, so I always look in 
 product guide.
 
 (So, can I add link to platform guide from enterprise users guide 
 page ?)


Ohh, I can't do one, because link
http://platform.xwiki.org/xwiki/bin/view/Features/
shows nonexistent topic.

 
  Thanks
  -Vincent
  
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 --
 Ruslan Shevchenko
 GradSoft. http://www.gradsoft.ua
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] name of default database

2008-01-10 Thread rssh
On Thu, 10 Jan 2008 14:04:20 -, Esbach, Brandon wrote
 Did you change the Hibernate configuration to point to another database
 though?

 Yew, of course (hibernate.cfg.xml is attached)

error is:
6:18:06,857 [http://127.0.0.1:8800/xwiki-enterprise-web-1.2-rc-3/bin/view/Main/
WebHome] [http-8800-1] ERROR store.XWikiHibernateBaseStore   - Failed updating s
chema while executing query create table xwiki.feeds_aggregatorgroup (agg_id nu
mber(10,0) not null, agg_name clob, primary key (agg_id)) 
java.sql.SQLSyntaxErrorException: ORA-01918: user 'XWIKI' does not exist

at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.ja
va:91)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:1
12)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:173)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:183)
at oracle.jdbc.driver.T4CStatement.executeForRows(T4CStatement.java:936)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1222)
at oracle.jdbc.driver.OracleStatement.executeUpdateInternal(OracleStatem
ent.java:1706)
at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java
:1674)


 To do this, change the file hibernate.cfg.xml under xwiki\WEB-INF.
 


 (I see XWIkik hardoced in hsql = hmm, where hsql is initialized ?)



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
 Of rssh
 Sent: 10 January 2008 13:32
 To: users@xwiki.org
 Subject: [xwiki-users] name of default database
 
  Good day.
 
 I just download xwiki, and see, that it is not possible to set name 
 of default database scheme other than 'xwiki'. (Becouse 
 xwiki.tableName is hardcoded in SQL statements)
 
 Unfortunately. this means that it is hard to use xwiki as platform 
 for web application, because usually we have situation 'one application/one
 database scheme' and want to use few applications (or few version of
 same application) simultaneously.
 
 Question: if I change this and wull create path for configurable
 database scheme name of main xwiki instance, would this patches be
 accepted (?) or such using is out of scope of interest for xwiki
 community ?
 
 --
 Ruslan Shevchenko
 GradSoft. http://www.gradsoft.ua
 
 ___
 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



--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

?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 true/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 3/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 12/property
property name=dbcp.ps.maxIdle 20/property






property name=connection.url jdbc:oracle:thin:@localhost:1521:XE/property
property name=connection.username grad/property
property name=connection.password grad/property
property name=connection.driver_class oracle.jdbc.driver.OracleDriver/property
property name=dialect org.hibernate.dialect.OracleDialect/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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] name of default database

2008-01-10 Thread rssh

 Good day.

I just download xwiki, and see, that it is not possible to set name of default
database scheme other than 'xwiki'. (Becouse xwiki.tableName is hardcoded in
SQL statements)

Unfortunately. this means that it is hard to use xwiki as platform for web
application, because usually we have situation 'one application/one database
scheme' and want to use few applications (or few version of same application)
simultaneously.

Question: if I change this and wull create path for configurable database
scheme name of main xwiki instance, would this patches be accepted (?) or such
using is out of scope of interest for xwiki community ?


--
Ruslan Shevchenko
GradSoft. http://www.gradsoft.ua

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users