Re: [xwiki-users] Extended ToDo Application

2009-05-20 Thread Vincent Massol
Hi Ludovic,

Isn't what you wanted to attach the same as
http://code.xwiki.org/xwiki/bin/view/Applications/ 
TaskManagerApplication ?

Thanks
-Vincent

On May 19, 2009, at 11:41 PM, Ludovic Dubost wrote:


 We have a Task Manager we have done in our internal Wiki.  It has  
 the sequential number feature. It also also to link a task to a page  
 in the Wiki. It also includes notifications and panels.

 Here is an export that is pretty raw for review. With a little bit  
 of work it could be made available as a download.

 We could improve it with the LiveTable grid

 Ludovic

 Michael Beetz a écrit :
 Hello.

 Thanks fort he reply.

 Yes, I am looking for a team-task-manager-thing - therefore I am  
 using the TaskManagerApplication yet.  If the intention of the ToDo  
 is different than I am still looking for the Wanted Applications - 
  Work Order Management http://code.xwiki.org/xwiki/bin/view/Applications/

 It pretty fine and easy to link a ToDo to a parent page.  The  
 disadvantage is a huge number of pages within the tree.  I do not  
 know the XWike design principles in detail.  Therefore I couldn't  
 suggest simply the parent relation or a specific link.  From the  
 functional point of view:  I'd like to have a local view for the  
 thinks to be done on a specific area / page / process ... and the  
 global view who is involved / assigned on which issue.

 List all by ... Ses, the ToDo.WebHome is doing that.

 Create a ToDo based on a sequential number within a space:  Having  
 a lot of ToDos needs numbering it.  That's the main request.  And  
 it would be fine to a have different groups for different spaces  
 (1 - 1 for ToDos within space XYZ, 2 - 2 for ToDos  
 within space ABC).

 Thanks again
 mb

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On  
 Behalf Of M Rawash
 Sent: Tuesday, May 19, 2009 12:45 AM
 To: users@xwiki.org
 Subject: Re: [xwiki-users] Extended ToDo Application

 On Sun, 2009-05-10 at 09:42 +0200, Michael Beetz wrote:
 Hi all,


 hello.


 The Extended ToDo Application seams to be the more active  
 application (than the Task Manager Application).  Is there any way  
 to add these nice features to that application too?
 -  create a todo linked to a page


 you mean like having a wiki page as the todo's parent (a la  
 TaskManager)
 or making reference to another wiki page in the todo's body?


 -  list all todos by page / by assignee / by reporter


 doesn't Todo.WebHome already do that (except for the 'reporter' bit)?
 does your todo table look different from the one in the screenshot?

 judging from an earlier post by you, you seem to be using the
 ExtendedTodoApplication as a team-task-manager-thing, that's not the
 intended purpose, it's more of a personalised todo list, i'm even
 thinking of removing the 'assignee' propriety and limiting todo  
 access
 to the original reporter (ideas?)


 -  create a todo having a sequential number within a space


 can you give me an example for that?

 thanks,
 M Rawash

 ___
 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




 -- 
 Ludovic Dubost
 Blog: http://blog.ludovic.org/
 XWiki: http://www.xwiki.com
 Skype: ldubost GTalk: ldubost

 ___
 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


[xwiki-users] Customize colors of code macro

2009-05-20 Thread Reto Hotz
Hi,

I'd like to customize the colors of the code macro (1.8.3 / xwiki 2.0)

In the code macro documentation 
(http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20) I see that 
there is an cssClass attribute for that purpose.

Unfortunately the available css keywords are not documented.
Firebug also didn't help me, because the color seems to be hard coded in 
some way (see example at the end).

Can you provide me with an example of customizing the color of the code 
macro?


e.g. my code macro:

{{code language=java}}
public void do() {
   System.out.println(bla);
}
{{/code}}

produces this rendered html:

div class=box code
   span style=font-weight: bold; color: rgb(0, 128, 0);public/span
   span style=color: rgb(176, 0, 64);void/span span style=color: 
rgb(0, 0, 255);do/spanspan style=color: rgb(102, 102, 
102);()/span span style=color: rgb(102, 102, 102);{/spanbr/ 
  Systemspan style=color: rgb(102, 102, 102);./spanspan 
style=color: rgb(125, 144, 41);out/spanspan style=color: rgb(102, 
102, 102);./spanspan style=color: rgb(125, 144, 
41);println/spanspan style=color: rgb(102, 102, 
102);(/spanspan style=color: rgb(186, 33, 33);bla/spanspan 
style=color: rgb(102, 102, 102););/spanbr/span style=color: 
rgb(102, 102, 102);}/spanbr/
/div


Thanks a lot.

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


Re: [xwiki-users] Extended ToDo Application

2009-05-20 Thread Michael Beetz
Hi all,

I'd like to go back to my original post, see below.  I am using the 
TaskManagerApplication today.  However what's going on?  I've discovered that 
there is slightly a bit more development on the ToDo then on the TaskMananger.

Some open issues for the TaskManager:
- My post Jan, 3rd org.hibernate.QueryException: expecting ''', found 'EOF'
- I am able to maintain tasks (setting the status, reporter, editing the main 
texts ...) using the object editor only.  It fails using WYSIWYG
- The usage of comments only for the documentation of progress is a bit poor
- Syntax 2.0

Thanks
mb

 May, 1st start ==
Hi all,

There are two (three) applications handling tasks:  The Task Manager 
Application and the (Extended) ToDo Application.  AND there is a Wanted 
Application ... Work Order Management, where you can create a list of workers, 
and create tasks (define properties like requester dept. and name, project 
containing the task, date of creation, details, and notes). Assign tasks to a 
worker, and track hours in each task, finally close tasks. Should be able to 
extract simple reports, like n. of open/closed tasks, min., max. and average 
hours per task, listing per requester, and per worker, etc.

What's the development direction of these applications?  The main advantage of 
the Task Manager Application is the link to a Wiki Page.  This allows making 
notes, adding open issues ... to a page - the local view.  The global view is 
the central list of all open issues.  The two main directions to look for open 
issues.

That's what I like, the question is:  What's going on?

Thanks
mb
 May, 1st end ==



-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Vincent Massol
Sent: Wednesday, May 20, 2009 8:53 AM
To: XWiki Users
Subject: Re: [xwiki-users] Extended ToDo Application

Hi Ludovic,

Isn't what you wanted to attach the same as
http://code.xwiki.org/xwiki/bin/view/Applications/ 
TaskManagerApplication ?

Thanks
-Vincent

On May 19, 2009, at 11:41 PM, Ludovic Dubost wrote:


 We have a Task Manager we have done in our internal Wiki.  It has  
 the sequential number feature. It also also to link a task to a page  
 in the Wiki. It also includes notifications and panels.

 Here is an export that is pretty raw for review. With a little bit  
 of work it could be made available as a download.

 We could improve it with the LiveTable grid

 Ludovic

 Michael Beetz a écrit :
 Hello.

 Thanks fort he reply.

 Yes, I am looking for a team-task-manager-thing - therefore I am  
 using the TaskManagerApplication yet.  If the intention of the ToDo  
 is different than I am still looking for the Wanted Applications - 
  Work Order Management http://code.xwiki.org/xwiki/bin/view/Applications/

 It pretty fine and easy to link a ToDo to a parent page.  The  
 disadvantage is a huge number of pages within the tree.  I do not  
 know the XWike design principles in detail.  Therefore I couldn't  
 suggest simply the parent relation or a specific link.  From the  
 functional point of view:  I'd like to have a local view for the  
 thinks to be done on a specific area / page / process ... and the  
 global view who is involved / assigned on which issue.

 List all by ... Ses, the ToDo.WebHome is doing that.

 Create a ToDo based on a sequential number within a space:  Having  
 a lot of ToDos needs numbering it.  That's the main request.  And  
 it would be fine to a have different groups for different spaces  
 (1 - 1 for ToDos within space XYZ, 2 - 2 for ToDos  
 within space ABC).

 Thanks again
 mb

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On  
 Behalf Of M Rawash
 Sent: Tuesday, May 19, 2009 12:45 AM
 To: users@xwiki.org
 Subject: Re: [xwiki-users] Extended ToDo Application

 On Sun, 2009-05-10 at 09:42 +0200, Michael Beetz wrote:
 Hi all,


 hello.


 The Extended ToDo Application seams to be the more active  
 application (than the Task Manager Application).  Is there any way  
 to add these nice features to that application too?
 -  create a todo linked to a page


 you mean like having a wiki page as the todo's parent (a la  
 TaskManager)
 or making reference to another wiki page in the todo's body?


 -  list all todos by page / by assignee / by reporter


 doesn't Todo.WebHome already do that (except for the 'reporter' bit)?
 does your todo table look different from the one in the screenshot?

 judging from an earlier post by you, you seem to be using the
 ExtendedTodoApplication as a team-task-manager-thing, that's not the
 intended purpose, it's more of a personalised todo list, i'm even
 thinking of removing the 'assignee' propriety and limiting todo  
 access
 to the original reporter (ideas?)


 -  create a todo having a sequential number within a space


 can you give me an example for that?

 thanks,
 M Rawash

 

Re: [xwiki-users] Customize colors of code macro

2009-05-20 Thread PERINAUD Christophe
Hi

If you look at the jar file of pygments, you will find a subfolder styles 
wich contains .py source files defining the style of tokens of the language. I 
am not sure if you can customize them without replacing the jar (and rebuilding 
the wanted .class from .py/.pyc)


-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Reto Hotz
Envoyé : mercredi 20 mai 2009 09:16
À : XWiki Users
Objet : [xwiki-users] Customize colors of code macro

Hi,

I'd like to customize the colors of the code macro (1.8.3 / xwiki 2.0)

In the code macro documentation 
(http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20) I see that 
there is an cssClass attribute for that purpose.

Unfortunately the available css keywords are not documented.
Firebug also didn't help me, because the color seems to be hard coded in 
some way (see example at the end).

Can you provide me with an example of customizing the color of the code 
macro?


e.g. my code macro:

{{code language=java}}
public void do() {
   System.out.println(bla);
}
{{/code}}

produces this rendered html:

div class=box code
   span style=font-weight: bold; color: rgb(0, 128, 0);public/span
   span style=color: rgb(176, 0, 64);void/span span style=color: 
rgb(0, 0, 255);do/spanspan style=color: rgb(102, 102, 
102);()/span span style=color: rgb(102, 102, 102);{/spanbr/ 
  Systemspan style=color: rgb(102, 102, 102);./spanspan 
style=color: rgb(125, 144, 41);out/spanspan style=color: rgb(102, 
102, 102);./spanspan style=color: rgb(125, 144, 
41);println/spanspan style=color: rgb(102, 102, 
102);(/spanspan style=color: rgb(186, 33, 33);bla/spanspan 
style=color: rgb(102, 102, 102););/spanbr/span style=color: 
rgb(102, 102, 102);}/spanbr/
/div


Thanks a lot.

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


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g

2009-05-20 Thread Marc Baumann

Has someone an idea? Btw. is someone using oracle as 10.1.2.3.0 as a xwiki
container?

Regards Marc

-- 
View this message in context: 
http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p2944803.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g

2009-05-20 Thread Vanek Martin
There is a ton of classpath collisions with xwiki inside oas.

Until xwiki 1.6 search-local-classes-first=true in orion-web.xml solved the 
problems, but since then thing started to be more complicated.

Right now, I have xwiki 1.8.3 deployed into OAS 10.1.3.2 with following 
orion-application.xml

?xml version=1.0?
orion-application  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:noNamespaceSchemaLocation=http://xmlns.oracle.com/oracleas/schema/orion-application-10_0.xsd;
development=true
  imported-shared-libraries
import-shared-library name=global.libraries/
import-shared-library name=global.tag.libraries/
import-shared-library name=oracle.jdbc/
remove-inherited name=*/
  /imported-shared-libraries
/orion-application

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]on Behalf Of Marc 
Baumann
Sent: Wednesday, May 20, 2009 9:47 AM
To: users@xwiki.org
Subject: Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g



Has someone an idea? Btw. is someone using oracle as 10.1.2.3.0 as a xwiki
container?

Regards Marc

-- 
View this message in context: 
http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p2944803.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g

2009-05-20 Thread Marc Baumann

Hey
Thanks for reply. When I test it with your orion-application.xml it won't
work. Can you suggest me how to adapt my xml file?

orion-application.xml:
?xml version = '1.0'?
!DOCTYPE orion-application PUBLIC -//ORACLE//DTD OC4J Application runtime
9.04//EN http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd;
orion-application deployment-version=10.1.2.3.0
default-data-source=jdbc/OracleDS treat-zero-as-null=true
autocreate-tables=false
web-module id=xwiki path=xwiki.war/
persistence path=persistence/
principals path=principals.xml/
jazn provider=XML location=jazn-data.xml/
log
file path=application.log/
/log
namespace-access
read-access
namespace-resource root=
security-role-mapping
group name=jazn.com/administrators/
/security-role-mapping
/namespace-resource
/read-access
write-access
namespace-resource root=
security-role-mapping
group name=jazn.com/administrators/
/security-role-mapping
/namespace-resource
/write-access
/namespace-access
/orion-application

Regards Marc
-- 
View this message in context: 
http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p2945137.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] No users and groups

2009-05-20 Thread PERINAUD Christophe
Hi

Stupid question but did you try to clear the cache of the browser ?

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
hel-o
Envoyé : mercredi 20 mai 2009 12:00
À : users@xwiki.org
Objet : Re: [xwiki-users] No users and groups


Ok,

tried to find an answer and found

http://n2.nabble.com/Object-caching--tt502637.html#a502638

created a page (syntax 2.0) with a velocity macro including the following
code

$xwiki.flushCache() 

Still no users and no groups.

hel.


Sergiu Dumitriu-2 wrote:
 
 hel-o wrote:
 Hi,
 
 just found that since my update (1.8.3) no users and groups are displayed
 in
 the Admin-Application in my virtual wiki in the main wiki they are still
 available.
 
 I imported the default xar.
 
 Please clean the cache, since some javascripts have changed.
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 


-
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/No-users-and-groups-tp2938876p2945293.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] No users and groups

2009-05-20 Thread hel-o

Yes, i did.


PERINAUD Christophe wrote:
 
 Hi
 
 Stupid question but did you try to clear the cache of the browser ?
 
 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part
 de hel-o
 Envoyé : mercredi 20 mai 2009 12:00
 À : users@xwiki.org
 Objet : Re: [xwiki-users] No users and groups
 
 
 Ok,
 
 tried to find an answer and found
 
 http://n2.nabble.com/Object-caching--tt502637.html#a502638
 
 created a page (syntax 2.0) with a velocity macro including the following
 code
 
 $xwiki.flushCache() 
 
 Still no users and no groups.
 
 hel.
 
 
 Sergiu Dumitriu-2 wrote:
 
 hel-o wrote:
 Hi,
 
 just found that since my update (1.8.3) no users and groups are
 displayed
 in
 the Admin-Application in my virtual wiki in the main wiki they are still
 available.
 
 I imported the default xar.
 
 Please clean the cache, since some javascripts have changed.
 
 -- 
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 
 
 
 -
 h...@hel.at
 
 -- 
 View this message in context:
 http://n2.nabble.com/No-users-and-groups-tp2938876p2945293.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 
 This e-mail is intended only for the addressee named above. It does not
 bind the sender, except in the case of an existing written convention with
 the addressee. This e-mail may contain material that is confidential and
 privileged for the sole use of the intended recipient. Any review,
 reliance or distribution by others or forwarding without express
 permission is strictly prohibited and may be unlawful. If you are not the
 intended recipient, please contact the sender and delete all copies.
 
 While reasonable precautions have been taken to ensure that this e-mail
 and any attachments are free from any computer virus or similar defect, no
 liability will be accepted in that respect. Anyone accessing this e-mail
 must take their own precautions as to security and virus protection.
 
 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg,
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 


-
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/No-users-and-groups-tp2938876p2945342.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] No users and groups

2009-05-20 Thread hel-o

I get two errors in the firebug konsole when i call the admin users page:

missing ; before statement
[Break on this error] var denymessage = Sie sind
ge...zen?.replace('__right__', self.right);\n
usersandgroups.js (Linie 91)
displayUsers is not defined
[Break on this error] var ta = new ASSTable(?xpage=get...r1, userstable,
displayUsers, true); 
XWikiPre...ion=Users (Linie 313)

and also two errors when i call the admin groups page:

Firebug's Protokollierungslimit wurde erreicht. %S Einträge werden nicht
angezeigt.  Voreinstellungen 
missing ; before statement
[Break on this error] var denymessage = Sie sind
ge...zen?.replace('__right__', self.right);\n
Javascript.jtp (Linie 12)
displayGroups is not defined
[Break on this error] var ta = new ASSTable(?xpage=..., groupstable,
displayGroups, true);
XWikiPre...on=Groups (Linie 313)

hel.


-
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/No-users-and-groups-tp2938876p2945371.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


[xwiki-users] Problems with PanelWizard (Rico error)

2009-05-20 Thread Matthias . Gsottberger
Hi all,

i have a problem with the Panel Wizard in Wiki Preferences:

After opening it in Internet-Explorer I get:  'Errors on this Page' : Rico 
is undefined.
on this line in the page-sourcecode:
script type=text/javascriptnew Rico.Accordion( 'bicwikinav', 
{panelHeight:'250',onLoadShowTab:'0'} );/script

Although the Panel Wizard is displayed correctly I can't dragdrop the 
panels to a position.

I am using XWiki Enterprise 1.8.3.19546 and I thought that Rico is already 
replaced by Scriptaculous ?

I did try to re-import the pages 
XWiki.XWikiPreferences and Panels.PanelWizard
but with no success.

Do you have any ideas what I can do?


Thanks in advance
Matthias






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


Re: [xwiki-users] Customize colors of code macro

2009-05-20 Thread Thomas Mortagne
Hi,

There is no way currently to customize macro colors.

But there is already code to be able to put classes names instead of
hard coded colors in the spans and it just need to add to way to
configure it.

Can you create an issue for it on http://jira.xwiki.org ?

On Wed, May 20, 2009 at 09:15, Reto Hotz r...@retohotz.ch wrote:
 Hi,

 I'd like to customize the colors of the code macro (1.8.3 / xwiki 2.0)

 In the code macro documentation
 (http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20) I see that
 there is an cssClass attribute for that purpose.

 Unfortunately the available css keywords are not documented.
 Firebug also didn't help me, because the color seems to be hard coded in
 some way (see example at the end).

 Can you provide me with an example of customizing the color of the code
 macro?


 e.g. my code macro:

 {{code language=java}}
 public void do() {
   System.out.println(bla);
 }
 {{/code}}

 produces this rendered html:

 div class=box code
   span style=font-weight: bold; color: rgb(0, 128, 0);public/span
   span style=color: rgb(176, 0, 64);void/span span style=color:
 rgb(0, 0, 255);do/spanspan style=color: rgb(102, 102,
 102);()/span span style=color: rgb(102, 102, 102);{/spanbr/
  Systemspan style=color: rgb(102, 102, 102);./spanspan
 style=color: rgb(125, 144, 41);out/spanspan style=color: rgb(102,
 102, 102);./spanspan style=color: rgb(125, 144,
 41);println/spanspan style=color: rgb(102, 102,
 102);(/spanspan style=color: rgb(186, 33, 33);bla/spanspan
 style=color: rgb(102, 102, 102););/spanbr/span style=color:
 rgb(102, 102, 102);}/spanbr/
 /div


 Thanks a lot.

 Reto
 ___
 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


Re: [xwiki-users] Customize colors of code macro

2009-05-20 Thread Thomas Mortagne
On Wed, May 20, 2009 at 15:22, Thomas Mortagne
thomas.morta...@xwiki.com wrote:
 Hi,

 There is no way currently to customize macro colors.

Except changing the default Pygments style and repackaging pygments
jar as Christophe suggested.


 But there is already code to be able to put classes names instead of
 hard coded colors in the spans and it just need to add to way to
 configure it.

 Can you create an issue for it on http://jira.xwiki.org ?

 On Wed, May 20, 2009 at 09:15, Reto Hotz r...@retohotz.ch wrote:
 Hi,

 I'd like to customize the colors of the code macro (1.8.3 / xwiki 2.0)

 In the code macro documentation
 (http://code.xwiki.org/xwiki/bin/view/Macros/CodeMacro20) I see that
 there is an cssClass attribute for that purpose.

 Unfortunately the available css keywords are not documented.
 Firebug also didn't help me, because the color seems to be hard coded in
 some way (see example at the end).

 Can you provide me with an example of customizing the color of the code
 macro?


 e.g. my code macro:

 {{code language=java}}
 public void do() {
   System.out.println(bla);
 }
 {{/code}}

 produces this rendered html:

 div class=box code
   span style=font-weight: bold; color: rgb(0, 128, 0);public/span
   span style=color: rgb(176, 0, 64);void/span span style=color:
 rgb(0, 0, 255);do/spanspan style=color: rgb(102, 102,
 102);()/span span style=color: rgb(102, 102, 102);{/spanbr/
  Systemspan style=color: rgb(102, 102, 102);./spanspan
 style=color: rgb(125, 144, 41);out/spanspan style=color: rgb(102,
 102, 102);./spanspan style=color: rgb(125, 144,
 41);println/spanspan style=color: rgb(102, 102,
 102);(/spanspan style=color: rgb(186, 33, 33);bla/spanspan
 style=color: rgb(102, 102, 102););/spanbr/span style=color:
 rgb(102, 102, 102);}/spanbr/
 /div


 Thanks a lot.

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




 --
 Thomas Mortagne




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


Re: [xwiki-users] Customize colors of code macro

2009-05-20 Thread Reto Hotz
Hi,

Thomas Mortagne wrote:
 Can you create an issue for it on http://jira.xwiki.org ?

Done: http://jira.xwiki.org/jira/browse/XWIKI-3866

Thanks.
Reto

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


[xwiki-users] WebSearch and multi wikis

2009-05-20 Thread PERINAUD Christophe
Hello

I try to make the WebSearch to search for documents in different wikis.
In the WebSearchCode, i loop on 3 wikis, changing the context 
($context.setDatabase)but it does not work. I try to give each wiki's name to 
the searchDocuments function (like #foreach ($item in 
$xwiki.searchDocuments($wikiSearch, $sql , $nbitems, 0, null)) But still does 
not work.

Any idea if it's possible and how ?

Thank you all

Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8 from the pack Jetty/HSQL




This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] WebSearch and multi wikis

2009-05-20 Thread Thomas Mortagne
On Wed, May 20, 2009 at 16:24, PERINAUD Christophe
christophe.perin...@kbl-bank.com wrote:
 Hello

 I try to make the WebSearch to search for documents in different wikis.
 In the WebSearchCode, i loop on 3 wikis, changing the context 
 ($context.setDatabase)but it does not work. I try to give each wiki's name to 
 the searchDocuments function (like #foreach ($item in 
 $xwiki.searchDocuments($wikiSearch, $sql , $nbitems, 0, null)) But still 
 does not work.

 Any idea if it's possible and how ?

You need programing right to use $context.setDatabase(database),
otherwise it does nothing. But you can use
XWiki.searchDocumentsNames(String wikiName, String
parametrizedSqlClause, int nb, int start, List ?  parameterValues)
which support the name of the wiki. See
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/XWiki.html#searchDocumentsNames%28java.lang.String,%20java.lang.String,%20int,%20int,%20java.util.List%29


 Thank you all

 Christophe Périnaud
 Windows Server 2003 SP2 in a VMWare instance
 Oracle 10g
 Java 1.6.0_12
 Xwiki 1.8 from the pack Jetty/HSQL


 

 This e-mail is intended only for the addressee named above. It does not bind 
 the sender, except in the case of an existing written convention with the 
 addressee. This e-mail may contain material that is confidential and 
 privileged for the sole use of the intended recipient. Any review, reliance 
 or distribution by others or forwarding without express permission is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and 
 any attachments are free from any computer virus or similar defect, no 
 liability will be accepted in that respect. Anyone accessing this e-mail must 
 take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, 
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




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


Re: [xwiki-users] WebSearch and multi wikis

2009-05-20 Thread PERINAUD Christophe
Thank you Thomas

The problem is that i tried both of this solutions with no result. 
Just to be sure i tested that code :
brContext = $context.database
brWanted context = $context.mainWikiName
#set($ok = $context.setDatabase($context.mainWikiName))
brNew context = $context.database

And the result is :
Context = template18 
Wanted context = xwiki 
New context = template18


Even if i am admin of all wikis (virtuals and main one) and i forced admin 
rights, i can't switch the context

I don't see what's the problem with that.


-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Thomas Mortagne
Envoyé : mercredi 20 mai 2009 16:38
À : XWiki Users
Objet : Re: [xwiki-users] WebSearch and multi wikis

On Wed, May 20, 2009 at 16:24, PERINAUD Christophe
christophe.perin...@kbl-bank.com wrote:
 Hello

 I try to make the WebSearch to search for documents in different wikis.
 In the WebSearchCode, i loop on 3 wikis, changing the context 
 ($context.setDatabase)but it does not work. I try to give each wiki's name to 
 the searchDocuments function (like #foreach ($item in 
 $xwiki.searchDocuments($wikiSearch, $sql , $nbitems, 0, null)) But still 
 does not work.

 Any idea if it's possible and how ?

You need programing right to use $context.setDatabase(database),
otherwise it does nothing. But you can use
XWiki.searchDocumentsNames(String wikiName, String
parametrizedSqlClause, int nb, int start, List ?  parameterValues)
which support the name of the wiki. See
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/XWiki.html#searchDocumentsNames%28java.lang.String,%20java.lang.String,%20int,%20int,%20java.util.List%29


 Thank you all

 Christophe Périnaud
 Windows Server 2003 SP2 in a VMWare instance
 Oracle 10g
 Java 1.6.0_12
 Xwiki 1.8 from the pack Jetty/HSQL


 

 This e-mail is intended only for the addressee named above. It does not bind 
 the sender, except in the case of an existing written convention with the 
 addressee. This e-mail may contain material that is confidential and 
 privileged for the sole use of the intended recipient. Any review, reliance 
 or distribution by others or forwarding without express permission is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and 
 any attachments are free from any computer virus or similar defect, no 
 liability will be accepted in that respect. Anyone accessing this e-mail must 
 take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, 
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




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


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] WebSearch and multi wikis

2009-05-20 Thread Thomas Mortagne
On Wed, May 20, 2009 at 16:58, PERINAUD Christophe
christophe.perin...@kbl-bank.com wrote:
 Thank you Thomas

 The problem is that i tried both of this solutions with no result.

Sorry i misread your first mail.

 Just to be sure i tested that code :
 brContext = $context.database
 brWanted context = $context.mainWikiName
 #set($ok = $context.setDatabase($context.mainWikiName))
 brNew context = $context.database

 And the result is :
 Context = template18
 Wanted context = xwiki
 New context = template18


 Even if i am admin of all wikis (virtuals and main one) and i forced admin 
 rights, i can't switch the context

Admin right are not the same than programming right, go to the main
wiki and check that your user has programming right or is in a group
which has programming right.

But anyway it should work with XWiki.searchDocumentsNames(String
wikiName, String parametrizedSqlClause, int nb, int start, List ? 
parameterValues) without programming right. Are you sure $wikiSearch
variable contains the right wiki name ?


 I don't see what's the problem with that.


 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
 Thomas Mortagne
 Envoyé : mercredi 20 mai 2009 16:38
 À : XWiki Users
 Objet : Re: [xwiki-users] WebSearch and multi wikis

 On Wed, May 20, 2009 at 16:24, PERINAUD Christophe
 christophe.perin...@kbl-bank.com wrote:
 Hello

 I try to make the WebSearch to search for documents in different wikis.
 In the WebSearchCode, i loop on 3 wikis, changing the context 
 ($context.setDatabase)but it does not work. I try to give each wiki's name 
 to the searchDocuments function (like #foreach ($item in 
 $xwiki.searchDocuments($wikiSearch, $sql , $nbitems, 0, null)) But still 
 does not work.

 Any idea if it's possible and how ?

 You need programing right to use $context.setDatabase(database),
 otherwise it does nothing. But you can use
 XWiki.searchDocumentsNames(String wikiName, String
 parametrizedSqlClause, int nb, int start, List ?  parameterValues)
 which support the name of the wiki. See
 http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/XWiki.html#searchDocumentsNames%28java.lang.String,%20java.lang.String,%20int,%20int,%20java.util.List%29


 Thank you all

 Christophe Périnaud
 Windows Server 2003 SP2 in a VMWare instance
 Oracle 10g
 Java 1.6.0_12
 Xwiki 1.8 from the pack Jetty/HSQL


 

 This e-mail is intended only for the addressee named above. It does not bind 
 the sender, except in the case of an existing written convention with the 
 addressee. This e-mail may contain material that is confidential and 
 privileged for the sole use of the intended recipient. Any review, reliance 
 or distribution by others or forwarding without express permission is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and 
 any attachments are free from any computer virus or similar defect, no 
 liability will be accepted in that respect. Anyone accessing this e-mail 
 must take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, 
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




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

 This e-mail is intended only for the addressee named above. It does not bind 
 the sender, except in the case of an existing written convention with the 
 addressee. This e-mail may contain material that is confidential and 
 privileged for the sole use of the intended recipient. Any review, reliance 
 or distribution by others or forwarding without express permission is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and 
 any attachments are free from any computer virus or similar defect, no 
 liability will be accepted in that respect. Anyone accessing this e-mail must 
 take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, 
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org

Re: [xwiki-users] WebSearch and multi wikis

2009-05-20 Thread PERINAUD Christophe
Sorry i wrote admin rights instead of programming rights.

Anyway, i restarted jetty and my browser. Now it works.

Thanks for your help

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
Thomas Mortagne
Envoyé : mercredi 20 mai 2009 17:11
À : XWiki Users
Objet : Re: [xwiki-users] WebSearch and multi wikis

On Wed, May 20, 2009 at 16:58, PERINAUD Christophe
christophe.perin...@kbl-bank.com wrote:
 Thank you Thomas

 The problem is that i tried both of this solutions with no result.

Sorry i misread your first mail.

 Just to be sure i tested that code :
 brContext = $context.database
 brWanted context = $context.mainWikiName
 #set($ok = $context.setDatabase($context.mainWikiName))
 brNew context = $context.database

 And the result is :
 Context = template18
 Wanted context = xwiki
 New context = template18


 Even if i am admin of all wikis (virtuals and main one) and i forced admin 
 rights, i can't switch the context

Admin right are not the same than programming right, go to the main
wiki and check that your user has programming right or is in a group
which has programming right.

But anyway it should work with XWiki.searchDocumentsNames(String
wikiName, String parametrizedSqlClause, int nb, int start, List ? 
parameterValues) without programming right. Are you sure $wikiSearch
variable contains the right wiki name ?


 I don't see what's the problem with that.


 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
 Thomas Mortagne
 Envoyé : mercredi 20 mai 2009 16:38
 À : XWiki Users
 Objet : Re: [xwiki-users] WebSearch and multi wikis

 On Wed, May 20, 2009 at 16:24, PERINAUD Christophe
 christophe.perin...@kbl-bank.com wrote:
 Hello

 I try to make the WebSearch to search for documents in different wikis.
 In the WebSearchCode, i loop on 3 wikis, changing the context 
 ($context.setDatabase)but it does not work. I try to give each wiki's name 
 to the searchDocuments function (like #foreach ($item in 
 $xwiki.searchDocuments($wikiSearch, $sql , $nbitems, 0, null)) But still 
 does not work.

 Any idea if it's possible and how ?

 You need programing right to use $context.setDatabase(database),
 otherwise it does nothing. But you can use
 XWiki.searchDocumentsNames(String wikiName, String
 parametrizedSqlClause, int nb, int start, List ?  parameterValues)
 which support the name of the wiki. See
 http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/api/XWiki.html#searchDocumentsNames%28java.lang.String,%20java.lang.String,%20int,%20int,%20java.util.List%29


 Thank you all

 Christophe Périnaud
 Windows Server 2003 SP2 in a VMWare instance
 Oracle 10g
 Java 1.6.0_12
 Xwiki 1.8 from the pack Jetty/HSQL


 

 This e-mail is intended only for the addressee named above. It does not bind 
 the sender, except in the case of an existing written convention with the 
 addressee. This e-mail may contain material that is confidential and 
 privileged for the sole use of the intended recipient. Any review, reliance 
 or distribution by others or forwarding without express permission is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and 
 any attachments are free from any computer virus or similar defect, no 
 liability will be accepted in that respect. Anyone accessing this e-mail 
 must take their own precautions as to security and virus protection.

 KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, 
 R.C.S. Luxembourg B 6395, T (352) 47 97 1
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




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

 This e-mail is intended only for the addressee named above. It does not bind 
 the sender, except in the case of an existing written convention with the 
 addressee. This e-mail may contain material that is confidential and 
 privileged for the sole use of the intended recipient. Any review, reliance 
 or distribution by others or forwarding without express permission is 
 strictly prohibited and may be unlawful. If you are not the intended 
 recipient, please contact the sender and delete all copies.

 While reasonable precautions have been taken to ensure that this e-mail and 
 any attachments are free from any computer virus or similar defect, no 
 liability will be accepted in that respect. Anyone accessing this e-mail must 
 take their own precautions as to security and virus 

Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g

2009-05-20 Thread Vanek Martin
Sorry,
mine ear descriptor was created during deployment (since I deploy war) after 
heavy and chaotic clicking on classloading tab. 
As far as I remember, I removed all inherited libs except taglibs.

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]on Behalf Of Marc 
Baumann
Sent: Wednesday, May 20, 2009 11:16 AM
To: users@xwiki.org
Subject: Re: [xwiki-users] XWIKI on OC4J AS 10.1.2.3.0 with oracle 11g



Hey
Thanks for reply. When I test it with your orion-application.xml it won't
work. Can you suggest me how to adapt my xml file?

orion-application.xml:
?xml version = '1.0'?
!DOCTYPE orion-application PUBLIC -//ORACLE//DTD OC4J Application runtime
9.04//EN http://xmlns.oracle.com/ias/dtds/orion-application-9_04.dtd;
orion-application deployment-version=10.1.2.3.0
default-data-source=jdbc/OracleDS treat-zero-as-null=true
autocreate-tables=false
web-module id=xwiki path=xwiki.war/
persistence path=persistence/
principals path=principals.xml/
jazn provider=XML location=jazn-data.xml/
log
file path=application.log/
/log
namespace-access
read-access
namespace-resource root=
security-role-mapping
group name=jazn.com/administrators/
/security-role-mapping
/namespace-resource
/read-access
write-access
namespace-resource root=
security-role-mapping
group name=jazn.com/administrators/
/security-role-mapping
/namespace-resource
/write-access
/namespace-access
/orion-application

Regards Marc
-- 
View this message in context: 
http://n2.nabble.com/XWIKI-on-OC4J-AS-10.1.2.3.0-with-oracle-11g-tp2889034p2945137.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


[xwiki-users] Tomcat-Xwiki

2009-05-20 Thread Gerritjan Koekkoek
My Configuration
MAC OS X 10.5.7
Tomcat 5.5
MySQL
XWIKI 1.8.3

I'm trying to import a XAR file of approx 6.2 MB

I had a heap-size error, but changed the tomcat startupscript as follows
#!/bin/sh
export CATALINA_HOME=/usr/local/apache-tomcat-5.5.27
export JAVA_HOME=/usr
export JAVA_OPTS=-Xmx512m
$CATALINA_HOME/bin/startup.sh

Now I get following error?
A problem occurred while trying to process your request. Please  
contact the webmaster if this happens again.

Detailed information:
 Error number 3232 in 3: Exception while saving attachment  
20090516.xar of document XWiki.Import
Wrapped Exception: Could not execute JDBC batch update
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while  
saving attachment 20090516.xar of document XWiki.Import
Wrapped Exception: Could not execute JDBC batch update

Any suggestions?

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


[xwiki-users] [myxwiki] new wiki request - queyracines

2009-05-20 Thread Stéphane Laurière
Bonjour à tous,

If possible, I'd like to open a wiki named queyracines.myxwiki.org which would
be used by a non-profit community around the Queyras history and culture (area
of the Hautes-Alpes in France).

My id on myxwiki.org is slauriere.

By the way, the home page of myxwiki.org seems to link wrongly to the port 8080
in the box titled Wikis you view, doesn't it?

Kind regards

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


Re: [xwiki-users] Tomcat-Xwiki

2009-05-20 Thread Paul Libbrecht
Geritjan, there's another error behind this one.
Paul



Le 20-mai-09 à 21:05, Gerritjan Koekkoek gerritjankoekk...@gmail.com  
a écrit :

 My Configuration
 MAC OS X 10.5.7
 Tomcat 5.5
 MySQL
 XWIKI 1.8.3

 I'm trying to import a XAR file of approx 6.2 MB

 I had a heap-size error, but changed the tomcat startupscript as  
 follows
 #!/bin/sh
 export CATALINA_HOME=/usr/local/apache-tomcat-5.5.27
 export JAVA_HOME=/usr
 export JAVA_OPTS=-Xmx512m
 $CATALINA_HOME/bin/startup.sh

 Now I get following error?
 A problem occurred while trying to process your request. Please
 contact the webmaster if this happens again.

 Detailed information:
 Error number 3232 in 3: Exception while saving attachment
 20090516.xar of document XWiki.Import
 Wrapped Exception: Could not execute JDBC batch update
 com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while
 saving attachment 20090516.xar of document XWiki.Import
 Wrapped Exception: Could not execute JDBC batch update

 Any suggestions?

 Gerritjan
 ___
 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