Re: [xwiki-users] Can't log on in Internet Explorer

2008-12-19 Thread Esbach, Brandon
Any cookie restrictions setup on the IE options? 

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
Of Nick Watts
Sent: 19 December 2008 12:15
To: XWiki Users
Subject: [xwiki-users] Can't log on in Internet Explorer

I have XWiki 1.6.1.13621 installed on Tomcat 6.0.18.  I am having some
problems logging in when using IE 7.  I'm putting in what I know is a
valid username and password, but after submitting the login form I am
brought back to the login screen.  I found a closed issue in Jira that
may be the same problem I'm running into
(http://jira.xwiki.org/jira/browse/XWIKI-2211).  I have never had a
problem with Firefox or Safari, only IE.  Something to add to the mix
though is that I was able to login with IE from within the LAN where
XWiki is installed using my work laptop.  If I try to login with IE on
the same laptop, but across the Internet, the login fails.  Does anyone
have any insight into this problem?

--
Nick Watts
blog: thewonggei.wordpress.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 Spaces

2008-07-01 Thread Esbach, Brandon
You could also try using $xwiki.sort to sort the spaces.
I think the syntax is:
#set($spacesSorted=$xwiki.sort($xwiki.spaces) )
Then, you can use foreach to loop through as normal using the variable instead:
#foreach($space in $spacesSorted)
* $space
#end

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mihails Agafonovs
Sent: 01 July 2008 09:49
To: users@xwiki.org
Subject: [xwiki-users] XWiki Spaces

Hi!

What is the SQL query to get all XWiki spaces? I need this to get them sorted, 
because $xwiki.spaces doesn't sort spaces by name.
 Ar cieņu, Mihails
___
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 date

2008-06-20 Thread Esbach, Brandon
More or less, yes;

You can use $xwiki.formatDate(date here, here goes format)) where you 
replace date here with a real date, eg $xwiki.currentDate(see below for 
document date examples) here goes format with a time format, eg 
HH:mm:ss dd-MM-

$doc.date for last modified date
$doc.creationDate for creation date of document.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mihails Agafonovs
Sent: 20 June 2008 09:58
To: users@xwiki.org
Subject: [xwiki-users] XWiki date

Hi!

Is it possible to get document creation/modification date, month, year, time 
explicitly?
 Ar cieņu, Mihails
___
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 date

2008-06-20 Thread Esbach, Brandon
You mean like:
$xwiki.formatDate($doc.date, HH) - this gives Hour
$xwiki.formatDate($doc.date, MM) - this gives Month

Etc...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mihails Agafonovs
Sent: 20 June 2008 10:26
To: XWiki Users
Subject: Re: [xwiki-users] XWiki date

No, I mean getting explicitly the year, month etc.
For example,
$doc.someFunction(year) would return only the year
$doc.someFunction(month) would return only the month...
 Quoting Esbach, Brandon : More or less, yes;  You can use 
$xwiki.formatDate(lt;date heregt;, quot;lt;here goes
formatgt;quot;)) where you replace lt;date heregt; with a real date, eg 
$xwiki.currentDate(see below for document date examples) lt;here goes 
formatgt; with a time format, eg  HH:mm:ss dd-MM-  $doc.date for last 
modified date  $doc.creationDate for creation date of document.
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mihails 
Agafonovs
 Sent: 20 June 2008 09:58
 To: users@xwiki.org
 Subject: [xwiki-users] XWiki date
 Hi!
 Is it possible to get document creation/modification date, month, year, time 
explicitly?
 Ar cie#326;u, Mihails
 ___
 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
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
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] New install problem: 404 from Tomcat

2008-06-12 Thread Esbach, Brandon
Graeme,

If you've just deployed it, you usually need to ensure you've setup the
hibernate to point to your database (it's fairly simple to do, just edit
the file and uncomment the relative area, adding in account details as
needed).
AFAIK tomcat won't start the app until it has a valid db connection,
which could explain why you're getting a tomcat error (and not an xwiki
error) 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Graeme West
Sent: 12 June 2008 13:02
To: XWiki Users
Subject: [xwiki-users] New install problem: 404 from Tomcat

Hi all,
Just attempted to deploy the XWiki 1.4 .WAR distribution into Tomcat
5.5.20, using PostgreSQL, and I'm getting a 404 error when I try to load
the Xwiki main page.

I deployed the wiki by dropping the .war file into the webapps
directory, and Tomcat subsequently automatically unpacked the WAR into
an 'xwiki' directory.

But now when I go to my host : http://localhost:8080/xwiki/ , I get an
Apache Tomcat 404 error, saying The requested resource (/xwiki/) is not
available.. It's not even an XWiki 404 - it's a default Tomcat one, the
same as I'd get if I loaded http://localhost:8080/ThisWebAppDoesNotExist
.

I'm sure I've installed the Xwiki war incorrectly, but can anyone point
me in the right direction - where have I gone wrong?

I'm deploying on CentOS 5 using the default Tomcat installation which
comes with that OS. The only thing I've changed is the Hibernate
configuration to reflect a Postgre database (which is set up).

Thanks in advance.

Graeme West

Glasgow Caledonian University is a registered Scottish charity, number
SC021474 ___
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] Crossover from virtual wiki?

2008-04-28 Thread Esbach, Brandon
When importing a xar into one of my virtual wiki's, I found that my base
wiki had then part of the same import against itself at the same time
(particularly skin changes to go back to default).  The other virtual
wiki's were left untouched.
Two questions on this behaviour:
*   Is this expected?
*   If so... why?  I would expect the opposite - changing the base
wiki to affect the virtual wiki's - but not from virtual to base.

The only thing that appears to have been affected are skin based; so
it's not too crucial; I'm concerned though that future changes to
virtual wiki's are going to override other factors of my base (eg
groups)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Crossover from virtual wiki?

2008-04-28 Thread Esbach, Brandon
Forgot to mention... This is on 1.2 RC1 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Esbach, Brandon
Sent: 28 April 2008 16:59
To: XWiki Users
Subject: [xwiki-users] Crossover from virtual wiki?

When importing a xar into one of my virtual wiki's, I found that my base
wiki had then part of the same import against itself at the same time
(particularly skin changes to go back to default).  The other virtual
wiki's were left untouched.
Two questions on this behaviour:
*   Is this expected?
*   If so... why?  I would expect the opposite - changing the base
wiki to affect the virtual wiki's - but not from virtual to base.

The only thing that appears to have been affected are skin based; so
it's not too crucial; I'm concerned though that future changes to
virtual wiki's are going to override other factors of my base (eg
groups)
___
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] Javascript error in default xwiki

2008-03-04 Thread Esbach, Brandon
Something to check, did tomcat completely extract all the files?
I've seen it happen where the files don't complete extracting; not very
common but it's likely to happen.
 
Also, it would help more if you include the error text given by the
browser



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Aymeric Nave
Sent: 04 March 2008 08:38
To: XWiki Users
Subject: Re: [xwiki-users] Javascript error in default xwiki


Hi Vincent,

I tried with the enterprise version xwiki-enterprise-web-1.2.2.war
https://forge.objectweb.org/project/download.php?group_id=170file_id=1
0006 
Each time on IE the problem occurs, and then all is ok when I import the
xwiki-enterprise-wiki-1.2.2.xar
https://forge.objectweb.org/project/download.php?group_id=170file_id=1
0007 

Thanks

Aymeric



2008/2/24, Vincent Massol [EMAIL PROTECTED]: 

Hi Aymeric,

I've just tried this on XWiki Enterprise (XE) 1.3 RC1 (not
released
yet) and it works fine. I'm pretty sure it also works in 1.3M2.

What version of XE are you using?

Thanks
-Vincent


On Feb 22, 2008, at 10:27 AM, Aymeric Nave wrote:

 Hi,

 After installing the default xwiki war file, without
installing any
 xar, WebHome page is displayed without any css style and
javascript
 errors occur on mouse events.
 Errors come from the js file /xwiki/skins/albatross/xwiki.js

 Is this bug referenced ?

 Aym.


___
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] Can't log in with admin or superadmin

2008-02-28 Thread Esbach, Brandon
Out of interest, what version of Tomcat are you using? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of hosamhassan
Sent: 28 February 2008 14:32
To: users@xwiki.org
Subject: Re: [xwiki-users] Can't log in with admin or superadmin


Thats also a link to the exact problem I have

http://pastebin.ca/921957
--
View this message in context:
http://www.nabble.com/Can%27t-log-in-with-admin-or-superadmin-tp15737463
p15737600.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] Can't log in with admin or superadmin

2008-02-28 Thread Esbach, Brandon
No problem, glad it worked out for you :)

I think it's caused by the cookie bug in tomcat 6.0.16 - we've been
scratching our heads over the same issue on a new xwiki implementation
ourselves - and that looks like it will fix it for us too.



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Hosam Hassan
Sent: 28 February 2008 15:31
To: XWiki Users
Subject: Re: [xwiki-users] Can't log in with admin or superadmin

It working with 6.0.14
Man you rock!
It's still weird although :) 

Original Message:

Out of further interest..
br /Could you try that with Tomcat 6.0.14 instead? 
br /
br /-Original Message-
br /From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf br /Of Hosam Hassan br /Sent: 28 February 2008 14:51 br
/To: XWiki Users br /Subject: Re: [xwiki-users] Can't log in with
admin or superadmin br / br /Tomcat 6.0.16 br / br /MySQL
5.0.51acommunity-nt br / br /Original Message:
br /
br /Out of interest, what version of Tomcat are you using? 
br /br /
br /br /-Original Message-
br /br /From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On br /Behalf br /Of hosamhassan
br /Sent: 28 February 2008 14:32 br /To:
br /users@xwiki.org br /Subject: Re: [xwiki-users] Can't log in with
admin br /or superadmin br / br / br /Thats also a link to the
exact problem br /I have br / br /http://pastebin.ca/921957 br
/-- br /View this br /message in context:
br /br
/http://www.nabble.com/Can%27t-log-in-with-admin-or-superadmin-tp157374
br /63
br /br /p15737600.html
br /br /Sent from the XWiki- Users mailing list archive at
Nabble.com.
br /br /
br /br /___
br /br /users mailing list
br /br /users@xwiki.org
br /br /http://lists.xwiki.org/mailman/listinfo/users
br /br /___
br /br /users mailing list
br /br /users@xwiki.org
br /br /http://lists.xwiki.org/mailman/listinfo/users
br /br /
br /
br /--
br /___
br /users mailing list
br /users@xwiki.org
br /http://lists.xwiki.org/mailman/listinfo/users
br /

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


Re: [xwiki-users] ghost document

2008-02-25 Thread Esbach, Brandon
Slash in the actual name is not such a good idea - xwiki assumes you're trying 
to create a new space, and acts accordingly.
For me, the updateName() script catches both / and \ though, among other 
problem characters (or is that something I've changed on mine)?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [Ricardo 
Rodriguez] Your EPEC Network ICT Team
Sent: 24 February 2008 23:14
To: XWiki Users
Subject: [xwiki-users] ghost document

Hi,

This doubt comes from a previous thread, document name including /. But as far 
as the behavior now is a bit different, I don't know why, please, allow me to 
start a new issue.

The point is that I'd created a document with / in its name. Namely 
PCI/A/9641/07. It is quite frequent to find such a names from project codes and 
stuff.

Looking for PCI in Search, shows this document, but any action (Delete, Rename, 
Rights or Copy) shows an empty page. Looking for any word in the document 
doesn't return it as a result.

Table xwikidoc contents the following document:

XWD_FULLNAME:Wetlands.PCI
XWD_NAME: PCI/A/9641/07

http://our.server.name/xwiki/bin/view/Wetlands/PCI says that the requested 
document could not be found.

Must I simply remove this entry or could this action compromise the integrity 
of the database?

Thanks for your help,

Ricardo


--
Ricardo Rodríguez
Your EPEC Network ICT Team

___
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] createDocument() overwrites XWiki.WebHome?????

2008-02-14 Thread Esbach, Brandon
Hi,

I've had a request from one of my users to create a script on our hosted
wiki that will create all the needed wiki content for one of their
lists.  
*   Problem 1, there is over 2000 xwiki documents to create from
this list
*   Problem 2, they're a little anxious to get it going

I've tried using the $xwiki.createDocument in the underneath code (most
likely more saves than necessary).  
What seems to be happening is this:
*   Does not create a new document, attaches instead to
XWiki.WebHome
*   All following changes occur to XWiki.Webhome - including rename.

Origionally had it saving after each change, no difference.

#set($seedForUnique=$xwiki.formatDate($xwiki.currentDate,
HHmmssddMM))
#set($userUnique=$context.user.replace(XWiki., ))
#set($generatedUnique=${userUnique}${seedForUnique})
#set($baseAVLClass='XWiki.AVLEntryClass')
#set($baseSupplierClass='XWiki.VendorClass')
#set($newSupplierPartClass='XWiki.AVLVendorClass')

#set($newDocument=$xwiki.createDocument())
$newDocument.rename($generatedUnique)
$newDocument.setContent('#includeForm(AVL.VendorClassSheet)')
$newDocument.createNewObject('${baseSupplierClass}')
$newDocument.save()
#set($docObj=$newDocument.getObject('${baseSupplierClass}', 0))
$docObj.set('name', 'Samsung')
$docObj.set('email', '')
$newDocument.save()

I would guess I'm not doing a crucial step (or doing that step wrong)?
Better suggestions welcome too :)
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Can't delete a wikifarm document - exception

2008-02-14 Thread Esbach, Brandon
Document name is XWiki.macom_admin1301121402082
I've seen this happen on our local wiki; the result is that the document
cannot be deleted regardless of what is done to the server.
I really need this doc deleted though :s.

---error text---

Error number 3203 in 3: Exception while deleting document
XWiki.macom_admin1301121402082
Wrapped Exception: Batch update returned unexpected row count from
update: 0 actual row count: 0 expected: 1
com.xpn.xwiki.XWikiException: Error number 3203 in 3: Exception while
deleting document XWiki.macom_admin1301121402082
Wrapped Exception: Batch update returned unexpected row count from
update: 0 actual row count: 0 expected: 1
at
com.xpn.xwiki.store.XWikiHibernateStore.deleteXWikiDoc(XWikiHibernateSto
re.java:540)
at
com.xpn.xwiki.store.XWikiCacheStore.deleteXWikiDoc(XWikiCacheStore.java:
185)
at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:3129)
at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:4741)
at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:52)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:118)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
0)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:685)
at java.lang.Thread.run(Thread.java:595)


Wrapped Exception:

org.hibernate.StaleStateException: Batch update returned unexpected row
count from update: 0 actual row count: 0 expected: 1
at
org.hibernate.jdbc.BatchingBatcher.checkRowCount(BatchingBatcher.java:93
)
at
org.hibernate.jdbc.BatchingBatcher.checkRowCounts(BatchingBatcher.java:7
9)
at
org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:5
8)
at
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:195
)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java
:91)
at
org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java
:86)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEn
tityPersister.java:2274)
at
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEn
tityPersister.java:2440)
at
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:
65)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:145)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java:296)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEv
entListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:10
6)
at

[xwiki-users] Hosted Farm: Skol

2008-02-14 Thread Esbach, Brandon

Hi admins:

Currently Skol is making an appearance a few too many times.  At present
there are two immediate concerns:
*   Cant get a listing of items above a few seconds load time
*   It stopped my import upload halfway - around 1000 out of over
2000 items completed - which means I have to manually check each import
to find which one it failed, correct that import if needed; and redo the
remainder.

Is this intentionally set, or is there a problem at the moment?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Need page saved by admin for hosted wiki

2008-02-13 Thread Esbach, Brandon
Hi guys,
Been looking to get one of my hosted wiki pages saved (protected calls
inside page), can someone please update?

Brandon Esbach
Software Engineer
Wireless Systems Segment 
Tyco Electronics 
4 Eastgate Road 
Eastgate 
Little Island 
Co. Cork 
Ireland 
Tel: +353-21-4808305 
Email: [EMAIL PROTECTED] 

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


Re: [xwiki-users] $xwiki.sendMessage

2008-02-12 Thread Esbach, Brandon
Hi Guillaume,
 
I don't seem to be getting any subject when using this method; is there
something else maybe restricting this?



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Guillaume Lerouge
Sent: 06 February 2008 17:57
To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage


Actually you can. You need to write this in your email : 

#set ($youremail = Subject: Your Subject Here ${xwiki.nl} Your Email
Content)


And then use $youremail in the $xwiki.sendMessage method as the email
content parameter.


Guillaume


On 06/02/2008, Esbach, Brandon [EMAIL PROTECTED] wrote: 

No problem, I understand.
Is it likely that sendMessage will also become disabled?  Or, is
there a way to add in the subject to the sendMessage call?



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Guillaume Lerouge
Sent: 06 February 2008 17:48
To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage

 
Hi, 


 
I think the plugin hasn't been activated on the farm for fear of
people using it to send spam messages... I talked to our admin about it
but he thinks it wouldn't be safe to do otherwise.

 
Sorry about that...

 
Guillaume


On 06/02/2008, Esbach, Brandon [EMAIL PROTECTED]
wrote: 

Hi,
 
Doesn't seem to be installed on the farm, do I need to
specifically request the plugin to be activated for the virtual wiki, or
do I need to import a xar for it to work?



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Esbach, Brandon
Sent: 06 February 2008 15:46 

To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage


 

Hi Guillaume,
 
This is for the hosted wiki on the wiki farm.  Is this
plugin working there?



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Guillaume Lerouge
Sent: 06 February 2008 15:06
To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage

 
Hi Brandon, 

 
This method has been deprecated in favor of using the
Mail Sender Plugin (
http://code.xwiki.org/xwiki/bin/view/Plugins/MailSenderPlugin ).

 
The plugin offers 4 different methods, some of them
allows you to set the subject of your email.

 
Check the example described at the end of the page for a
live example.

 
Guillaume

On 06/02/2008, Esbach, Brandon
[EMAIL PROTECTED] wrote: 

Hi guys.. 

Can't seem to find in the api any means to set
the subject for a message being sent using this method - is this not
possible?

Brandon Esbach
Software Engineer
Wireless Systems Segment
Tyco Electronics
4 Eastgate Road
Eastgate
Little Island
Co. Cork
Ireland
Tel: +353-21-4808305
Email: [EMAIL PROTECTED] 


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






-- 
http://wikibc.blogspot.com/ 

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






-- 
http://wikibc.blogspot.com/ 

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






-- 
http://wikibc.blogspot.com/ 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Scheduler and virtual wikis (1.2-rc-1.6216)

2008-02-08 Thread Esbach, Brandon
Hi guys..
I've been using the scheduler with some success for internal application
notifications; but something just cropped up that I can't quite figure
out.
In my wiki app, I'm checking certain status fields in different
documents and sending the url to appropriate people as needed.  Was
working fine until recently.
In order to get the url, I'm doing something like
docObject.getExternalURL('view'); appropriate which is actually
perfectly picking the right document - but the wrong domain url; so the
link becomes invalid.

Is there a way of specifying the virtual wiki to link to when using
getExternalURL?

Brandon Esbach
Software Engineer
Wireless Systems Segment 
Tyco Electronics 
4 Eastgate Road 
Eastgate 
Little Island 
Co. Cork 
Ireland 
Tel: +353-21-4808305 
Email: [EMAIL PROTECTED] 

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


[xwiki-users] Wiki Farm - for the Devs/Admin team

2008-02-07 Thread Esbach, Brandon
Hi guys..
Need a page saved in admin mode, any chance someone can do this today?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Groovy Script in Panel

2008-02-07 Thread Esbach, Brandon
Hi,

Groovy and Velocity doesn't really mix anymore with newer versions of
xwiki (actually, for some time now) .  If you just need to run some
groovy or check a status, you can use
#set($oUserObject=$xwiki.parseGroovyFromPage(Myspace.MyDoc)),
replacing Myspace.MyDoc with the full name of a document where your
script is embedded.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Hans-Peter Zorn
Sent: 07 February 2008 12:59
To: XWiki Users
Subject: [xwiki-users] Groovy Script in Panel

Hi,
I have the following problem with groovy scripts in a panel:

Even an empty groovy-script, but also simple ones like

#panelheader('test')

%
print hallo
%

#panelfooter()

are only shown as groovy.lang.MissingPropertyException: No such
property: panel for class: Script1
after a while (for some time, it works)

Has anybody seen that before and can maybe give advice?
Thanks,
Hans-Peter
___
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] $xwiki.sendMessage

2008-02-06 Thread Esbach, Brandon
Hi guys..

Can't seem to find in the api any means to set the subject for a message
being sent using this method - is this not possible?

Brandon Esbach
Software Engineer
Wireless Systems Segment 
Tyco Electronics 
4 Eastgate Road 
Eastgate 
Little Island 
Co. Cork 
Ireland 
Tel: +353-21-4808305 
Email: [EMAIL PROTECTED] 

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


Re: [xwiki-users] $xwiki.sendMessage

2008-02-06 Thread Esbach, Brandon
Hi Guillaume,
 
This is for the hosted wiki on the wiki farm.  Is this plugin working
there?



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Guillaume Lerouge
Sent: 06 February 2008 15:06
To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage


Hi Brandon, 

This method has been deprecated in favor of using the Mail Sender Plugin
( http://code.xwiki.org/xwiki/bin/view/Plugins/MailSenderPlugin ).

The plugin offers 4 different methods, some of them allows you to set
the subject of your email.

Check the example described at the end of the page for a live example.

Guillaume

On 06/02/2008, Esbach, Brandon [EMAIL PROTECTED] wrote: 

Hi guys.. 

Can't seem to find in the api any means to set the subject for a
message being sent using this method - is this not possible?

Brandon Esbach
Software Engineer
Wireless Systems Segment
Tyco Electronics
4 Eastgate Road
Eastgate
Little Island
Co. Cork
Ireland
Tel: +353-21-4808305
Email: [EMAIL PROTECTED] 


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






-- 
http://wikibc.blogspot.com/ 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] $xwiki.sendMessage

2008-02-06 Thread Esbach, Brandon
Hi,
 
Doesn't seem to be installed on the farm, do I need to specifically
request the plugin to be activated for the virtual wiki, or do I need to
import a xar for it to work?



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Esbach, Brandon
Sent: 06 February 2008 15:46
To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage


Hi Guillaume,
 
This is for the hosted wiki on the wiki farm.  Is this plugin working
there?



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Guillaume Lerouge
Sent: 06 February 2008 15:06
To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage


Hi Brandon, 

This method has been deprecated in favor of using the Mail Sender Plugin
( http://code.xwiki.org/xwiki/bin/view/Plugins/MailSenderPlugin ).

The plugin offers 4 different methods, some of them allows you to set
the subject of your email.

Check the example described at the end of the page for a live example.

Guillaume

On 06/02/2008, Esbach, Brandon [EMAIL PROTECTED] wrote: 

Hi guys.. 

Can't seem to find in the api any means to set the subject for a
message being sent using this method - is this not possible?

Brandon Esbach
Software Engineer
Wireless Systems Segment
Tyco Electronics
4 Eastgate Road
Eastgate
Little Island
Co. Cork
Ireland
Tel: +353-21-4808305
Email: [EMAIL PROTECTED] 


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






-- 
http://wikibc.blogspot.com/ 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] $xwiki.sendMessage

2008-02-06 Thread Esbach, Brandon
No problem, I understand.
Is it likely that sendMessage will also become disabled?  Or, is there a
way to add in the subject to the sendMessage call?



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Guillaume Lerouge
Sent: 06 February 2008 17:48
To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage


Hi, 

I think the plugin hasn't been activated on the farm for fear of people
using it to send spam messages... I talked to our admin about it but he
thinks it wouldn't be safe to do otherwise.

Sorry about that...

Guillaume


On 06/02/2008, Esbach, Brandon [EMAIL PROTECTED] wrote: 

Hi,
 
Doesn't seem to be installed on the farm, do I need to
specifically request the plugin to be activated for the virtual wiki, or
do I need to import a xar for it to work?



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Esbach, Brandon
Sent: 06 February 2008 15:46 

To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage


 

Hi Guillaume,
 
This is for the hosted wiki on the wiki farm.  Is this plugin
working there?



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Guillaume Lerouge
Sent: 06 February 2008 15:06
To: XWiki Users
Subject: Re: [xwiki-users] $xwiki.sendMessage

 
Hi Brandon, 

 
This method has been deprecated in favor of using the Mail
Sender Plugin (
http://code.xwiki.org/xwiki/bin/view/Plugins/MailSenderPlugin ).

 
The plugin offers 4 different methods, some of them allows you
to set the subject of your email.

 
Check the example described at the end of the page for a live
example.

 
Guillaume

On 06/02/2008, Esbach, Brandon [EMAIL PROTECTED]
wrote: 

Hi guys.. 

Can't seem to find in the api any means to set the
subject for a message being sent using this method - is this not
possible?

Brandon Esbach
Software Engineer
Wireless Systems Segment
Tyco Electronics
4 Eastgate Road
Eastgate
Little Island
Co. Cork
Ireland
Tel: +353-21-4808305
Email: [EMAIL PROTECTED] 


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






-- 
http://wikibc.blogspot.com/ 

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






-- 
http://wikibc.blogspot.com/ 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Idea for improvment of Xwiki Watch

2008-02-01 Thread Esbach, Brandon
I don't think that's something that can be solved by changes on xwiki, since 
your access to the feed (if I understand you right) is configured with a proxy. 
 
XWiki feeds out on a local server should work just fine though, provided you 
can access the server.
 
Feeds coming in from external sources when you need a proxy to access the 
internet (eg BBC, The Register, etc), is a problem though.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of HERICHER Benoit 
DSIC BUA
Sent: 01 February 2008 08:04
To: 'users@xwiki.org'
Subject: [xwiki-users] Idea for improvment of Xwiki Watch



Hi! 

I try to use Xwiki Watch, but I can't get the RSS reader working correctly. If 
I have well understood the different posts on this mailing list, this is due to 
the fact that I'm behind a proxy : is the support of this configuration planned 
for a future release of Xwiki Watch?

Thank you 

Benoît HERICHER 


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


Re: [xwiki-users] Groovy and getXMLEncoded() question

2008-01-24 Thread Esbach, Brandon
Well.. first things first.
Without seeing your loop construction, it's a bit hard to determine the
problem.  
Here's a sample I adjusted from your second scenario:
%
String str = ''
 
[1..10].flatten().each{
  str  = str + 'event' + it +  xwiki.getXMLEncoded('this one\n')+
'/event\n' 
}
 
println(str)
%
 
The result when shown in a standard XWiki page for this (just stuck it
in a page), is predictable enough; no linebreaks and the event / tag
is ignored since it thinks it's a custom element.  
Could you expand a bit more on what output you're getting, and what
you're doing with it after (putting it in a field/passing it to
xml/etc)?
 
Here's what I get:
---
1this one2this one3this one4this one5this one6this one7this one8this
one9this one10this one
---
 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of BOUSQUET Jeremie
Sent: 24 January 2008 16:05
To: users@xwiki.org
Subject: [xwiki-users] Groovy and getXMLEncoded() question



Hello,

 

I'm having a headache trying to understand why those 2 pieces of groovy
do not generate exactly the same thing :

 

1)-

%

// LOOP 10 times

  println ( 'event' + xwiki.getXMLEncoded(blablabla) + '/event' )

// END LOOP

%

 

2)-

%

str = ''

// LOOP 10 times

  str  = str + 'event' + xwiki.getXMLEncoded(blablabla) + '/event\n'


// END LOOP

println(str)

% 

 

blablabla is a formatted text (in my case, the description field of an
article for example).

 

1) produces what is expected : it writes 10 lines of text, beginning
with 'event', and special characters in blablabla are correctly
translated.

 

2) produces any number of lines ( 10), because carriage returns inside
blablabla have not been translated, and so many lines are written for
each line expected.

 

I 'm not sure if this is the right place for this, but if someone as an
idea it would greatly help me ...

 

 

Best Regards,

Jeremie

 

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


Re: [xwiki-users] Space rights configuration...

2008-01-24 Thread Esbach, Brandon
OH! And one other thing: do you use the NoScript plugin? 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Aleksandar Vidakovic
Sent: 24 January 2008 17:55
To: XWiki Users
Subject: Re: [xwiki-users] Space rights configuration...

Esbach, Brandon wrote:
 Two very silly questions (and maybe both are yes)
 1) Are you logged as the Admin user or a user with Admin rights?
Yes (have created a user with admin rights and tried it with Admin)
 2) If not the Admin user, are you sure your user has full admin 
 rights, and not just rights to the XWiki space?
Have checked this; I have full rights, but still just see the headings
of the rights table.


And I forgot... I'm using XWiki 1.2

___
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] Space rights configuration...

2008-01-24 Thread Esbach, Brandon
Sorry, should have made myself clearer.
I noticed you were using Firefox, and was just clarifying whether you
use the Firefox plugin called NoScript (check this by going to Tools -
Add-ons).
The rights editor on Xwiki uses Ajax, which is essentially script sent
to and from the server.  

What NoScript does, is it disables certain javascript functionality
depending on the address you are browsing, and I've seen it do weird
stuff with XWiki in the past.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Aleksandar Vidakovic
Sent: 24 January 2008 18:00
To: XWiki Users
Subject: Re: [xwiki-users] Space rights configuration...

Honestly, I don't know what this is nor what it does. I downloaded a
vanilla xwiki-enterprise-web-1.2.war and added no plugins.

Esbach, Brandon wrote:
 OH! And one other thing: do you use the NoScript plugin? 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Aleksandar Vidakovic
 Sent: 24 January 2008 17:55
 To: XWiki Users
 Subject: Re: [xwiki-users] Space rights configuration...
 
 Esbach, Brandon wrote:
 Two very silly questions (and maybe both are yes)
 1) Are you logged as the Admin user or a user with Admin rights?
 Yes (have created a user with admin rights and tried it with Admin)
 2) If not the Admin user, are you sure your user has full admin 
 rights, and not just rights to the XWiki space?
 Have checked this; I have full rights, but still just see the headings

 of the rights table.
 
 
 And I forgot... I'm using XWiki 1.2
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 

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


[xwiki-users] Admin's ability to reset user passwords

2008-01-21 Thread Esbach, Brandon
Hi Devs,
Admin user should really be able to reset a user's password in the event
that the user forgets their password (like with any other system).
Something like a link for admin users simply called set temporary
password that requires the user to change their password when they use
this password would be perfect.

Not really sure it's a bug, as you can -can- do this by editing objects
directly, it's just not user friendly that way.

Brandon Esbach
Software Engineer
Wireless Systems Segment 
Tyco Electronics 
4 Eastgate Road 
Eastgate 
Little Island 
Co. Cork 
Ireland 
Tel: +353-21-4808305 
Email: [EMAIL PROTECTED] 

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


Re: [xwiki-users] Graphical problem

2008-01-10 Thread Esbach, Brandon
IE doesn't support transparency very well in PNG's (all IE versions
prior to IE7) - you can get around it though using some script. 
Gif transparency works to some decent extent in most versions of IE.
 
Check here for more info, and a possible workaround for the PNG problem:
http://homepage.ntlworld.com/bobosola/pngtest.htm



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: 10 January 2008 11:01
To: XWiki Users
Subject: [xwiki-users] Graphical problem


Hi everybody,

Sorry for the silly question, but i have an annoying problem on custom
icon visualization.

The background of them appear correctly transparent in firefox, instead
in explorer it appear as lightgrey (as shown in the image attached)

The png have been created with Paint.NET 3.0...

Does anyone had the same problem? How do you solve it?

Thank you!!

Mattia






L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http
://it.docs.yahoo.com/nowyoucan.html 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] name of default database

2008-01-10 Thread Esbach, Brandon
Did you change the Hibernate configuration to point to another database
though?
To do this, change the file hibernate.cfg.xml under xwiki\WEB-INF.

-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


Re: [xwiki-users] Using Xwiki with apache

2008-01-09 Thread Esbach, Brandon
I haven't done it that way on my end, but I woud try changing your redirect to: 
http://server:8080/xwiki/ 
instead of 
http://server:8080/xwiki/bin/view/Main/WebHome

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gaëtan GUYODO
Sent: 09 January 2008 14:09
To: XWiki Users
Subject: Re: [xwiki-users] Using Xwiki with apache

I need to useApache HTTP server in front of XWiki.
I just found that I'm using JETTY as java container (that's the one packaged 
into the windows installer).
I'm trying to find more information about using httpd in front of jetty.
If anyone already did that...

Esbach, Brandon a écrit :
 Are you using the Apache HTTP server, or Apache Tomcat?
 XWiki requires a java container (such as Tomcat) to run.
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Gaëtan GUYODO
 Sent: 09 January 2008 13:49
 To: XWiki Users
 Subject: [xwiki-users] Using Xwiki with apache
 
 Another new user question...
 I used the xwiki-enterprise-installer-windows-1.2-rc-2.exe
 I would like to use that xwiki with apache, into an existing VirtualHost.
 I first just added these lines into the VirtualHost directives :
 
 virtualHost
 ...
 Redirect permanent /myXwiki/ 
 http://server:8080/xwiki/bin/view/Main/WebHome
 
 ProxyPass /myXwiki/ http://server:8080/xwiki/bin/view/Main/WebHome
 
 ProxyPassReverse /myXwiki/ 
 http://server:8080/xwiki/bin/view/Main/WebHome
 
 ...
 /virtualHost
 
 That's a first step, but when I try http://.../myXwiki/, I can only see text 
 from xwiki, into a white page, no skin, no picture...
 I think I need to authorize apache to execute scripts, but I didn't find 
 anything about that into the documentation or mailing list archive.
 I realised I didn't know what is the default servlet container into the 
 xwiki-enterprise-installer-windows-1.2-rc-2.exe installation.
 
 Any idea ?
 --
 __
   Gaëtan GUYODO
 Chargé de mission
 Centre Antipoison - Hôpital Fernand WIDAL
   200, rue du faubourg St Denis
   75475 PARIS Cedex 10
 Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 
 __
 
 ___
 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
 
 
 

--
__
  Gaëtan GUYODO
Chargé de mission
Centre Antipoison - Hôpital Fernand WIDAL
  200, rue du faubourg St Denis
  75475 PARIS Cedex 10
Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56 
__

___
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] Blog/Clone

2008-01-08 Thread Esbach, Brandon
Hi Tim,
 
If you look through Nabble, this has been described a few times before.
It's fairly easy to do.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Campbell, Timothy D
Sent: 08 January 2008 17:39
To: users@xwiki.org
Subject: [xwiki-users] Blog/Clone


Has anyone successfully created a second blog in a single wiki? If so,
please give me some guidence on how to do this task. Also, what could be
a source of a velocity parsing error while creating a class sheet?
Please respond to help progress my research. 
 
Thanks in advance,
Tim
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Calendar feature

2008-01-04 Thread Esbach, Brandon
(possbily more for the devs)

I've been asked to add more detail to the calendar tool (a simple
tooltip with the description for the event)... but I can't seem to find
where the table is built up from.  Is it not modifiable (without
rewriting core wiki modules I mean)?  
And if not, is there a way to add parameters to the td / object it
creates for each event, for eg to add the title property.

Brandon Esbach
Software Engineer
Wireless Systems Segment 
Tyco Electronics 
4 Eastgate Road 
Eastgate 
Little Island 
Co. Cork 
Ireland 
Tel: +353-21-4808305 
Email: [EMAIL PROTECTED] 

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


Re: [xwiki-users] Calendar feature

2008-01-04 Thread Esbach, Brandon
Thanks for the reply Sergiu,

It looks like the HTML is built up in JAVA manually; which means it's a
little difficult for me to alter it (due to both my configuration and
Java exposure).
I did notice though that there is a property called script, which
seems to be where I can inject something I need.  I can't find any
documentation (or comments) around this code though, can someone advise
on how this property could be used?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sergiu Dumitriu
Sent: 04 January 2008 12:35
To: XWiki Users
Subject: Re: [xwiki-users] Calendar feature

Esbach, Brandon wrote:
 (possbily more for the devs)
 
 I've been asked to add more detail to the calendar tool (a simple 
 tooltip with the description for the event)... but I can't seem to
find 
 where the table is built up from.  Is it not modifiable (without 
 rewriting core wiki modules I mean)?
 
 And if not, is there a way to add parameters to the td / object it 
 creates for each event, for eg to add the title property.
 

I thought I answered this, maybe forgot to do it...

So, the calendar is generated by a plugin, see
xwiki-core/com.xpn.xwiki.plugins.calendar.*

Sergiu
___
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] [ANN] XWiki Enterprise 1.2 RC2 Released

2008-01-03 Thread Esbach, Brandon
Hi Guys,
 
Thanks for giving the main bugs attention (well, the main one's I saw in
any case) :-)
 
Is the file uploaded completely?  I get a ~300kb corrupt file on
downloading



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vincent Massol
Sent: 03 January 2008 16:47
To: XWiki Developers; XWiki Users
Subject: [xwiki-users] [ANN] XWiki Enterprise 1.2 RC2 Released


The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.2 RC 2.

Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download


This is the second release candidate for the 1.2 version. It fixes a lot
more than was initially planned for this RC, mainly bugs/improvements
for stabilizing the database migration process and consolidating the new
Rights Management UI, but contains bugfixes for other features, too. The
main purpose of the Release Candidates is to let the users test it, so
that we don't ship a buggy stable version, so please download it, use
it and report any problems you encounter on the bugtracker. The final
1.2 release is currently planned for mid-January.

Main changes from 1.2RC1:

* Lots of bugs fixed in the new Rights Management UI
* The archive migration process is a bit faster and continues from
the last processed document if restarted
* Deleting versions from the history used to break the history for
upgraded archives, causing problems when viewing the history, exporting
a document, deleting/renaming a document
* Multiwiki issues with the search pages
* Exceptions while exporting a document are now reported and
ignored, instead of breaking the whole export process
* Linking to a heading shows the heading below the action menu, not
behind it
* Editing newly created users failed
* Fixed data truncation errors which occurred under certain mysql
versions/configurations
* Switching tabs in Administration now releases the edit locks
* XWiki returned invalid URLs when the server port is not defined
(i.e. when it's 80)
* XWiki.searchDocuments(String, boolean, int, int) did not use
distinctbylanguage parameter
* Fixed a few WISYWIG editor bugs concerning attachments and some
missing resource bundles

+ other fixes

For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise12RC
2
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise12M
2 

Thanks
-The XWiki dev team

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


Re: [xwiki-users] [ANN] XWiki Enterprise 1.2 RC2 Released

2008-01-03 Thread Esbach, Brandon
Sorry, should have said..
The Enterprise WAR file is the one I'm trying to download at the moment.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vincent Massol
Sent: 03 January 2008 16:59
To: XWiki Users
Cc: XWiki Developers
Subject: Re: [xwiki-users] [ANN] XWiki Enterprise 1.2 RC2 Released



On Jan 3, 2008, at 5:54 PM, Esbach, Brandon wrote:


Hi Guys,
 
Thanks for giving the main bugs attention (well, the main one's
I saw in any case) :-)
 
Is the file uploaded completely?  I get a ~300kb corrupt file on
downloading


ouch... which file are you downloading? It's supposed to be fully
uploaded now.

Thanks
-Vincent



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Vincent Massol
Sent: 03 January 2008 16:47
To: XWiki Developers; XWiki Users
Subject: [xwiki-users] [ANN] XWiki Enterprise 1.2 RC2 Released


The XWiki development team is pleased to announce the release of
XWiki Enterprise 1.2 RC 2.

Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download


This is the second release candidate for the 1.2 version. It
fixes a lot more than was initially planned for this RC, mainly
bugs/improvements for stabilizing the database migration process and
consolidating the new Rights Management UI, but contains bugfixes for
other features, too. The main purpose of the Release Candidates is to
let the users test it, so that we don't ship a buggy stable version,
so please download it, use it and report any problems you encounter on
the bugtracker. The final 1.2 release is currently planned for
mid-January.

Main changes from 1.2RC1:

* Lots of bugs fixed in the new Rights Management UI
* The archive migration process is a bit faster and
continues from the last processed document if restarted
* Deleting versions from the history used to break the
history for upgraded archives, causing problems when viewing the
history, exporting a document, deleting/renaming a document
* Multiwiki issues with the search pages
* Exceptions while exporting a document are now reported and
ignored, instead of breaking the whole export process
* Linking to a heading shows the heading below the action
menu, not behind it
* Editing newly created users failed
* Fixed data truncation errors which occurred under
certain mysql versions/configurations
* Switching tabs in Administration now releases the edit
locks
* XWiki returned invalid URLs when the server port is not
defined (i.e. when it's 80)
* XWiki.searchDocuments(String, boolean, int, int) did not
use distinctbylanguage parameter
* Fixed a few WISYWIG editor bugs concerning attachments and
some missing resource bundles

+ other fixes

For more information see the Release notes at:

http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise12RC
2
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise12M
2 

Thanks
-The XWiki dev team

___
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] FW: Scheduler

2007-12-20 Thread Esbach, Brandon
 AFAIK a stub context is passed to the job. You should be able to call
$xwiki. (need confirmation)
This is kinda crucial, especially if I want the scheduler to actually do
anything in the wiki.
In my case, I'm going to be leaning on another groovy script (using
parseGroovyFromPage) in order to use some existing functionality, is
this possible?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jean-Vincent Drean
Sent: 19 December 2007 17:58
To: XWiki Users
Subject: Re: [xwiki-users] FW: Scheduler

 1) What language is used in the scheduler script?  I would assume it's

 running either velocity or groovy within the xwiki engine?

Groovy only

 2) Are $xwiki and $context available to the script?

AFAIK a stub context is passed to the job. You should be able to call
$xwiki. (need confirmation)

 3) Is there feedback in the event of an error (like in a logfile or 
 something)?
 4) Is there a timeout associated to the script that runs, and are 
 there any permission restrictions on adding the scheduler if it's 
 going to be modifying document objects?

Permissions at the job level : your job page have to be saved by a user
with programming rights (and the SchedulerPlugin will always be able to
modify your jobs).

Regards,
JV.
___
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] FW: Scheduler

2007-12-20 Thread Esbach, Brandon
Answering my own question and adding a caution..
Looks like it is accessable; I didn't hit the schedule link so it
naturally wasn't sending.  
The parseGroovyFromPage works perfectly too, btw.

As a tool for xwiki I see scheduler features giving the system a big
boost in functionality.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Esbach, Brandon
Sent: 20 December 2007 09:45
To: XWiki Users
Subject: Re: [xwiki-users] FW: Scheduler

 AFAIK a stub context is passed to the job. You should be able to call
$xwiki. (need confirmation)
This is kinda crucial, especially if I want the scheduler to actually do
anything in the wiki.
In my case, I'm going to be leaning on another groovy script (using
parseGroovyFromPage) in order to use some existing functionality, is
this possible?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Jean-Vincent Drean
Sent: 19 December 2007 17:58
To: XWiki Users
Subject: Re: [xwiki-users] FW: Scheduler

 1) What language is used in the scheduler script?  I would assume it's

 running either velocity or groovy within the xwiki engine?

Groovy only

 2) Are $xwiki and $context available to the script?

AFAIK a stub context is passed to the job. You should be able to call
$xwiki. (need confirmation)

 3) Is there feedback in the event of an error (like in a logfile or 
 something)?
 4) Is there a timeout associated to the script that runs, and are 
 there any permission restrictions on adding the scheduler if it's 
 going to be modifying document objects?

Permissions at the job level : your job page have to be saved by a user
with programming rights (and the SchedulerPlugin will always be able to
modify your jobs).

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


Re: [xwiki-users] Preview not working

2007-12-20 Thread Esbach, Brandon
Preview's working fine here.
Looks like you have attachments in the document (not saying that's a
problem, but could be linked to the attachment).  Have you tried with a
document that has no attachments?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Cybexion
Sent: 19 December 2007 18:59
To: users@xwiki.org
Subject: Re: [xwiki-users] Preview not working


Hi,

is the preview working vor everybody?
Is it only in our system?
What could be the problem?

Regards

Cybexion



Cybexion wrote:
 
 Hi,
 
 the Print/Preview funtions is not working in our environment
(1.1.2.5797).
 PDF and RTF export works fine.
 
 When we call the Preview I get the following error:
 Error number 4001 in 4: Error while parsing velocity page Wrapped
 Exception:
 Invocation of method 'getAttachmentURL' in class 
 com.xpn.xwiki.api.Document threw exception 
 java.lang.NullPointerException @ [17,26]
 
 Anyone else also having this error, how can we get rid of it?
 
 Regards
 
 Cybexion
 
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

--
View this message in context:
http://www.nabble.com/Preview-not-working-tp14414846p14423012.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] Documentation?

2007-12-19 Thread Esbach, Brandon
Hi all,

Probably missing the link somewhere, but I can't seem to find any links
for the documentation on the xwiki.org site?

Brandon Esbach
Software Engineer
Wireless Systems Segment 
Tyco Electronics 
4 Eastgate Road 
Eastgate 
Little Island 
Co. Cork 
Ireland 
Tel: +353-21-4808305 
Email: [EMAIL PROTECTED] 

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


[xwiki-users] FW: Scheduler

2007-12-19 Thread Esbach, Brandon

 Hi All, 
 A few queries that I've split up to make it easier to make use of in
 Nabble for future reference.
 
 1) What language is used in the scheduler script?  I would assume it's
 running either velocity or groovy within the xwiki engine?
 2) Are $xwiki and $context available to the script?  
 3) Is there feedback in the event of an error (like in a logfile or
 something)?
 4) Is there a timeout associated to the script that runs, and are
 there any permission restrictions on adding the scheduler if it's
 going to be modifying document objects?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Documentation?

2007-12-19 Thread Esbach, Brandon
I'd have to suggest though that it's not as intuitive as it once was.  Even a 
search on documentation returns no results (for me, anyway).

Can there not be a documentation panel to get quick access to each product's 
documentation?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Massol
Sent: 19 December 2007 12:44
To: XWiki Users
Subject: Re: [xwiki-users] Documentation?


On Dec 19, 2007, at 1:09 PM, Víctor A. Rodríguez wrote:

 Vincent Massol wrote:
 I'm curious to know. Do others have this issue finding documentation 
 too?

 My main problem is that some links have been moved and need to be 
 located the first time I try to reach them, e.g.

yes but I would say that's normal.


 http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL,
 http://www.xwiki.org/xwiki/bin/view/UserGuide/Features (and all the 
 UseGuide related links).

 IMHO, the real problem is that now the wiki is more product oriented, 
 instead of features oriented.

Well that's not fully true. You can't compare with before since before we were 
only documenting one product and now we're documenting the platform and all the 
products...

 I remember the previous one were the first you found were all the 
 features that XWiki has. This is what you want to look at when you 
 arrive to a site in search for a product, a quick view of features to 
 stay with the product or to move on to the next one.

 Again, IMHO, not a good move. :-(

You mean the new xwiki.org is not a good move?

Past users of xwiki.org should go to the http://enterprise.xwiki.org since the 
previous version was only documenting that. Then you should be able to find all 
you had before.

Back to your feature-oriented documentation idea. Do you have any example of 
web site in mind that do this? (I mean websites with more than one product). Or 
any idea how to implement this?

OTOH all the sites I know that have more than one product do it the way we do 
it on xwiki.org:
- http://apache.org, http://jakarta.apache.org
- http://hibernate.org
- http://jboss.org
- etc

We could show all the platform features on the main page since all products 
share these but I don't think that would be a good idea since we would then not 
be able to present the different products (not enough space).

I guess what I'm trying to understand right now is why is it difficult to pick 
the product for which to read documentation about. Would you have any insight 
into this?

Thanks
-Vincent

 BTW, thanks Vincent for asking and search for problems to solve.

 Hi,

 You can find documentation by product using the XWiki Ecosystem
 panel.

 For example if you search XWiki Enterprise documentation you click 
 on XWiki Enterprise that go to 
 http://enterprise.xwiki.org/xwiki/bin/view/Main/ where you find a 
 Quick Links panel containing documentation.for XE.

 2007/12/19, Esbach, Brandon [EMAIL PROTECTED]:


 Hi all,

 Probably missing the link somewhere, but I can't seem to find any 
 links for the documentation on the xwiki.org site?



 --
 Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma 
 (Bit-Man) - Algorithm junkie Perl Mongers Capital Federal 
 (http://cafe.pm.org/) GNU/Linux User Group - FCEyN - UBA 
 (http://glugcen.dc.uba.ar/

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

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


[xwiki-users] Recycle Bin

2007-12-19 Thread Esbach, Brandon
I noticed the addition of this feature a little while back (good idea
guys :) ).
I don't seem to have any way to list the recycle bin though, in order to
either clear it, or confirm deletions after browsing away from the page
you get after deleting a page.

Is this detail available in some way?  Or is it automatically cleared?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Documentation?

2007-12-19 Thread Esbach, Brandon
Ok, I know this comes off as nitpicking (not trying to, just sharing my own 
confusion)..
To download Xwiki, I click Download.  All options are clearly labelled, and I 
know what I'm getting when I select one of them.
I would have thought to get documentation, I click Documentation.. Or even 
Support, as with most other product sites.

As an uninitiated user, I would have no clue what each of the options are.

(Bear with me a moment for the comparison)
As a comparison, I dropped into MediaWiki's homepage (mediawiki.org).  
First thoughts: boring and tedious.  But any potential user can immediately 
find the distribution or the documetation.  The whole process of 
finding/accessing takes a few seconds.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Massol
Sent: 19 December 2007 13:15
To: XWiki Users
Subject: Re: [xwiki-users] Documentation?


On Dec 19, 2007, at 2:06 PM, Esbach, Brandon wrote:

 I'd have to suggest though that it's not as intuitive as it once was.

I'd agree but that doesn't bother me since xwiki isn't what it used to be. Even 
the previous xwiki.org wasn't as intuitive as xwiki was when everything was 
fitting on one page ;)

What I'm interested in thought it is to make it as intuitive *as possible*.

 Even a search on documentation returns no results (for me, anyway).

The search isn't working so no wonder :)

 Can there not be a documentation panel to get quick access to each 
 product's documentation?

There is one already... It's called XWiki Ecosystem. Or do you mean something 
else?

Thanks
-Vincent

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Vincent Massol
 Sent: 19 December 2007 12:44
 To: XWiki Users
 Subject: Re: [xwiki-users] Documentation?


 On Dec 19, 2007, at 1:09 PM, Víctor A. Rodríguez wrote:

 Vincent Massol wrote:
 I'm curious to know. Do others have this issue finding documentation 
 too?

 My main problem is that some links have been moved and need to be 
 located the first time I try to reach them, e.g.

 yes but I would say that's normal.


 http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL,
 http://www.xwiki.org/xwiki/bin/view/UserGuide/Features (and all the 
 UseGuide related links).

 IMHO, the real problem is that now the wiki is more product oriented, 
 instead of features oriented.

 Well that's not fully true. You can't compare with before since before 
 we were only documenting one product and now we're documenting the 
 platform and all the products...

 I remember the previous one were the first you found were all the 
 features that XWiki has. This is what you want to look at when you 
 arrive to a site in search for a product, a quick view of features to 
 stay with the product or to move on to the next one.

 Again, IMHO, not a good move. :-(

 You mean the new xwiki.org is not a good move?

 Past users of xwiki.org should go to the http://enterprise.xwiki.org 
 since the previous version was only documenting that. Then you should 
 be able to find all you had before.

 Back to your feature-oriented documentation idea. Do you have any 
 example of web site in mind that do this? (I mean websites with more 
 than one product). Or any idea how to implement this?

 OTOH all the sites I know that have more than one product do it the 
 way we do it on xwiki.org:
 - http://apache.org, http://jakarta.apache.org
 - http://hibernate.org
 - http://jboss.org
 - etc

 We could show all the platform features on the main page since all 
 products share these but I don't think that would be a good idea since 
 we would then not be able to present the different products (not 
 enough space).

 I guess what I'm trying to understand right now is why is it difficult 
 to pick the product for which to read documentation about.
 Would you have any insight into this?

 Thanks
 -Vincent

 BTW, thanks Vincent for asking and search for problems to solve.

 Hi,

 You can find documentation by product using the XWiki Ecosystem
 panel.

 For example if you search XWiki Enterprise documentation you click 
 on XWiki Enterprise that go to 
 http://enterprise.xwiki.org/xwiki/bin/view/Main/ where you find a 
 Quick Links panel containing documentation.for XE.

 2007/12/19, Esbach, Brandon [EMAIL PROTECTED]:


 Hi all,

 Probably missing the link somewhere, but I can't seem to find any 
 links for the documentation on the xwiki.org site?



 --
 Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma
 (Bit-Man) - Algorithm junkie Perl Mongers Capital Federal
 (http://cafe.pm.org/) GNU/Linux User Group - FCEyN - UBA 
 (http://glugcen.dc.uba.ar/

 ___
 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] 1.2rc1: Exceptions on delete

2007-12-19 Thread Esbach, Brandon
Getting these exceptions when I try delete certain documents:
Error number 4001 in 4: Error while parsing velocity page 
Wrapped Exception: Invocation of method 'searchDocuments' in  class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with SQL
[select distinct doc.web, doc.name from XWikiDocument as doc where
doc.fullName  ? and (doc.parent = ? or (doc.parent = ? and doc.web =
?))]
Wrapped Exception: could not execute query @ unknown template[11,24]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page 
Wrapped Exception: Invocation of method 'searchDocuments' in  class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with SQL
[select distinct doc.web, doc.name from XWikiDocument as doc where
doc.fullName  ? and (doc.parent = ? or (doc.parent = ? and doc.web =
?))]
Wrapped Exception: could not execute query @ unknown template[11,24]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:157)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1353)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1314)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:105)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:158)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
63)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

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


Re: [xwiki-users] rights of current user

2007-12-18 Thread Esbach, Brandon
I try to use groups to determine my rights wherever possible, so for me I just 
do a check on the user's group membership. 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjørnar Libæk
Sent: 18 December 2007 09:32
To: XWiki Users
Subject: Re: [xwiki-users] rights of current user

Ok, maybe checking permission to WebHome  isn't the best way to go, so if 
anyone could follow up on the sql query suggestion, it would be nice.

However, I still don't understand why my script doesn't work. If a user has 
viewing rights on a WebHome page (the user can actually view the page), the 
hasAccessLevel method still returns false. Why is this?? I've tried replacing 
'WebHome' with 'WebPreferences', but with the same result.

Bjørnar

Jan Kodera wrote:
 Hi,
  i think the problem is, that space preferences is in 
 ${space}.WebPreferences page and not in WebHome. Your script just 
 find, if the user have rights to WebHome page not for entire space.
  WebPreferences has object global
 rights and i think there you have to do some sql query to find out, if user 
 have rights or not. 


 Jan

 On 12/17/07, *Bjørnar Libæk* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 I would like to have a script that finds out for which spaces the
 current user has view rights. I try to do:

 #set($spaces = $xwiki.spaces)
 #foreach($space in $spaces)
  #set($whome = $xwiki.getDocument(${space}.WebHome))
  [$space${space}.WebHome]
  #if($whome.hasAccessLevel(view,$xwiki.getUser()))
acess? Yupbr
  #else
access? Nopebr
  #end
 #end

 but hasAccessLevel always return false. What am I missing? Is
 there any other way to do this?


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


 --
 --

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


[xwiki-users] Can't set permissions

2007-12-18 Thread Esbach, Brandon
Permission setting results in the following (this example is for a
particular space):
Error number 4001 in 4: Error while parsing velocity page Wrapped
Exception: Invocation of method 'getSpaces' in class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with sql
select distinct doc.web from XWikiDocument doc Wrapped Exception: could
not execute query @ [62,34]

Error number 4001 in 4: Error while parsing velocity page 
Wrapped Exception: Invocation of method 'getSpaces' in  class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with sql
select distinct doc.web from XWikiDocument doc
Wrapped Exception: could not execute query @ unknown template[62,34]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
parsing velocity page 
Wrapped Exception: Invocation of method 'getSpaces' in  class
com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException:
Error number 3223 in 3: Exception while searching documents with sql
select distinct doc.web from XWikiDocument doc
Wrapped Exception: could not execute query @ unknown template[62,34]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:157)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1353)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1314)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:605)
at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java
:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReferenc
e.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference
.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(Velocimacr
oProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective
.java:170)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74
)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfState
ment.java:107)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.jav
a:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:238)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRendere
r.java:152)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1353)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1314)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:105)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:158)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2
63)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84
4)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
Http11Protocol.java:584)

Re: [xwiki-users] Hardware Requirements

2007-12-17 Thread Esbach, Brandon
This comes up often, and it's really a good point in XWiki's favour - it
runs on practically anything that will run the needed server components.
I've had xwiki running in a virtual environment happily for months;
under 1gb RAM and a sliver of hdd space.  Boils down really, to your
database and java container.
 
For barebones though, you can happily run it on, eg, a modern desktop
with 2GB Ram and it'll be happy to run like that for a good while.
 
I think though, that there should really be a minimum specs page in
the admin guide.  I'd happily add this, but it would be unofficial until
otherwise tested



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: 17 December 2007 16:47
To: XWiki Users
Subject: [xwiki-users] Hardware Requirements


Hi everybody,

I'm wondering which hardware requisites has XWiki. Could someone please
share its configuration?

Which is the HW configuration of the server used to run the XWiki  on
the net?

Thank you very much! 






L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http
://it.docs.yahoo.com/nowyoucan.html 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Hardware Requirements

2007-12-17 Thread Esbach, Brandon
Depends on a lot of factors,
 
1) What sort of traffic are you expecting?  Is that mainly file attachments or 
content volume?
2) Also, what sort of attachment traffic are you expecting?  Attachments are 
stored in the database directly, so you will have to configure MySQL correctly 
accordingly.
3) Are you planning on using just one XWiki instance, or multiple instances?
 
For instance,
Our test environment is something like the following (bear in mind our 
production environment is under a lot heavier use, so has more resources thrown 
at it).
Virtual PC
2GB Ram
30GB HDD
MySQL 4.1
Tomcat 6
Java 6
 
Our production environment is the same software wise, but running on a 
mid-range Dell server, double the Ram and 200GB hard disk.
 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 17 December 2007 17:51
To: XWiki Users
Subject: Re: [xwiki-users] Hardware Requirements


Hi Brandon,

Thank you for your help!! could you please tell me a possible configuration for 
a thousand users with tomcat and mysql??

Thank you in advice!


- Messaggio originale -
Da: Esbach, Brandon [EMAIL PROTECTED]
A: XWiki Users users@xwiki.org
Inviato: Lunedì 17 dicembre 2007, 18:14:30
Oggetto: Re: [xwiki-users] Hardware Requirements


This comes up often, and it's really a good point in XWiki's favour - it runs 
on practically anything that will run the needed server components.  I've had 
xwiki running in a virtual environment happily for months; under 1gb RAM and a 
sliver of hdd space.  Boils down really, to your database and java container.
 
For barebones though, you can happily run it on, eg, a modern desktop with 2GB 
Ram and it'll be happy to run like that for a good while.
 
I think though, that there should really be a minimum specs page in the admin 
guide.  I'd happily add this, but it would be unofficial until otherwise tested



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: 17 December 2007 16:47
To: XWiki Users
Subject: [xwiki-users] Hardware Requirements


Hi everybody,

I'm wondering which hardware requisites has XWiki. Could someone please share 
its configuration?

Which is the HW configuration of the server used to run the XWiki  on the net?

Thank you very much! 






L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail 
http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html
 






L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail 
http://us.rd.yahoo.com/mail/it/taglines/hotmail/nowyoucan/nextgen/*http://it.docs.yahoo.com/nowyoucan.html
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] User Authentication

2007-12-17 Thread Esbach, Brandon
Set the Guest user to not have view permissions in Global Rights tab.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Richard Bird
Sent: 17 December 2007 16:49
To: users@xwiki.org
Subject: [xwiki-users] User Authentication



Hello,

 

I am currently trying to get my xWiki public, but can't seem to make my
administration button on the top right hand corner ask for
authentication. It lets xWikiGuest and all of my other low level users
have full access to my administration.

 

My question is, what setting do I need to change to block low level
users from admin access and grant my admin users access to my admin?

 

Thanks in Advance!

 

Bird2920


No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.503 / Virus Database: 269.17.4/1188 - Release Date:
12/17/2007 2:13 PM


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


Re: [xwiki-users] Upgrade process - 1.2rc1 from 1.1RC1

2007-12-12 Thread Esbach, Brandon
Hi Sergiu,

Can do, are there any directions for that?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sergiu Dumitriu
Sent: 11 December 2007 21:48
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade process - 1.2rc1 from 1.1RC1

Hi,

Just tried to generate 3000 documents in a 1.1 wiki, then update.

Worked without any problems in about a minute.

The time needed to update a document is proportional to the history
length (number of versions), still, updating a document with 300
versions took only about two seconds.

My take is that somehow the indexes weren't correctly created for your
database. Try to manually add them to the xwikircs table, then restart
tomcat and see how fast the update process goes.

Sergiu

Esbach, Brandon wrote:
 Got a rejection notice, message too long.  Shortened to specifics:
 16:11:26,511 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_]
 [http-8080-1] INFO  bernate.R4359XWIKI1459Migrator  - Updating 
 document [Main.AlcatelDCSGSMRXTX]...
 
 17:38:26,478 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error: 0, 
 SQLState: 08S01
 
 17:38:26,478 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR util.JDBCExceptionReporter  - Communications 
 link failure due to underlying exception:
 
 ** BEGIN NESTED EXCEPTION **
 
 java.io.EOFException
 
 STACKTRACE:
 
 java.io.EOFException
 at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1956)
 at
com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2368)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2867)
 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1616)
 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1708)
 at com.mysql.jdbc.Connection.execSQL(Connection.java:3255)
 at
 com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.jav
 a:1293)
 
 at

com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:142
8)
 at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg
 atingPreparedStatement.java:92)
 
 at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg
 atingPreparedStatement.java:92)
 
 at
 org.hibernate.persister.entity.AbstractEntityPersister.getDatabaseSnap
 shot(AbstractEntityPersister.java:983)
 
 at
 org.hibernate.engine.StatefulPersistenceContext.getDatabaseSnapshot(St
 atefulPersistenceContext.java:305)
 
 at
 org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:189)
 at
 org.hibernate.event.def.AbstractSaveEventListener.getEntityState(Abstr
 actSaveEventListener.java:460)
 
 at
 org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOr
 Update(DefaultSaveOrUpdateEventListener.java:84)
 
 at
 org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdat
 e(DefaultSaveOrUpdateEventListener.java:70)
 
 at
 org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:531)
 at
 org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:523)
 at
 org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:519)
 at
 com.xpn.xwiki.store.XWikiHibernateVersioningStore$1.doInHibernate(XWik
 iHibernateVersioningStore.java:145)
 
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBase
 Store.java:918)
 
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernat
 eBaseStore.java:960)
 
 at
 com.xpn.xwiki.store.XWikiHibernateVersioningStore.saveXWikiDocArchive(
 XWikiHibernateVersioningStore.java:135)
 
 at
 com.xpn.xwiki.store.migration.hibernate.R4359XWIKI1459Migrator$1.doInH
 ibernate(R4359XWIKI1459Migrator.java:105)
 
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBase
 Store.java:918)
 
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernat
 eBaseStore.java:960)
 
 at
 com.xpn.xwiki.store.migration.hibernate.R4359XWIKI1459Migrator.migrate
 (R4359XWIKI1459Migrator.java:82)
 
 at
 com.xpn.xwiki.store.migration.hibernate.R4359XWIKI1459Migrator.migrate
 (R4359XWIKI1459Migrator.java:72)
 
 at
 com.xpn.xwiki.store.migration.hibernate.AbstractXWikiHibernateMigrator
 .migrate(AbstractXWikiHibernateMigrator.java:38)
 
 at
 com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.migrate(Ab
 stractXWikiMigrationManager.java:231)
 
 at
 com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigra
 tions(AbstractXWikiMigrationManager.java:214)
 
 at
 com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigra
 tionsForDatabase(AbstractXWikiMigrationManager.java:143)
 
 at
 com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigra
 tions(AbstractXWikiMigrationManager.java:102

Re: [xwiki-users] Upgrade process - 1.2rc1 from 1.1RC1

2007-12-12 Thread Esbach, Brandon
More for the xwiki team I guess,

1 day in update mode (browser in loading mode, tomcat+MySQL screaming
away in the background) and counting for my main wiki.  Documents inside
the wiki have a varied status of:
- Multiple attachments
- Multiple revisions.  Often 300+
- Multiple objects per document (older legacy special class documents
easily hit 30/40 objects).
Which I guess affects it somewhat :o 

The virtual wiki's managed to update fairly quickly in comparison (
about 120mins ).


If there is a faster way to do the update process, I would appreciate it
greatly as I have to repeat the process on my test environment, and
potentially again if there are many issues raised with the main classes.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Esbach, Brandon
Sent: 12 December 2007 09:03
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade process - 1.2rc1 from 1.1RC1

Hi Sergiu,

Can do, are there any directions for that?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sergiu Dumitriu
Sent: 11 December 2007 21:48
To: XWiki Users
Subject: Re: [xwiki-users] Upgrade process - 1.2rc1 from 1.1RC1

Hi,

Just tried to generate 3000 documents in a 1.1 wiki, then update.

Worked without any problems in about a minute.

The time needed to update a document is proportional to the history
length (number of versions), still, updating a document with 300
versions took only about two seconds.

My take is that somehow the indexes weren't correctly created for your
database. Try to manually add them to the xwikircs table, then restart
tomcat and see how fast the update process goes.

Sergiu

Esbach, Brandon wrote:
 Got a rejection notice, message too long.  Shortened to specifics:
 16:11:26,511 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_]
 [http-8080-1] INFO  bernate.R4359XWIKI1459Migrator  - Updating 
 document [Main.AlcatelDCSGSMRXTX]...
 
 17:38:26,478 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error: 0, 
 SQLState: 08S01
 
 17:38:26,478 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR util.JDBCExceptionReporter  - Communications 
 link failure due to underlying exception:
 
 ** BEGIN NESTED EXCEPTION **
 
 java.io.EOFException
 
 STACKTRACE:
 
 java.io.EOFException
 at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1956)
 at
com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2368)
 at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2867)
 at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1616)
 at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1708)
 at com.mysql.jdbc.Connection.execSQL(Connection.java:3255)
 at
 com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.jav
 a:1293)
 
 at

com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:142
8)
 at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg
 atingPreparedStatement.java:92)
 
 at
 org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(Deleg
 atingPreparedStatement.java:92)
 
 at
 org.hibernate.persister.entity.AbstractEntityPersister.getDatabaseSnap
 shot(AbstractEntityPersister.java:983)
 
 at
 org.hibernate.engine.StatefulPersistenceContext.getDatabaseSnapshot(St
 atefulPersistenceContext.java:305)
 
 at
 org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:189)
 at
 org.hibernate.event.def.AbstractSaveEventListener.getEntityState(Abstr
 actSaveEventListener.java:460)
 
 at
 org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOr
 Update(DefaultSaveOrUpdateEventListener.java:84)
 
 at
 org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdat
 e(DefaultSaveOrUpdateEventListener.java:70)
 
 at
 org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:531)
 at
 org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:523)
 at
 org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:519)
 at
 com.xpn.xwiki.store.XWikiHibernateVersioningStore$1.doInHibernate(XWik
 iHibernateVersioningStore.java:145)
 
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBase
 Store.java:918)
 
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernat
 eBaseStore.java:960)
 
 at
 com.xpn.xwiki.store.XWikiHibernateVersioningStore.saveXWikiDocArchive(
 XWikiHibernateVersioningStore.java:135)
 
 at
 com.xpn.xwiki.store.migration.hibernate.R4359XWIKI1459Migrator$1.doInH
 ibernate(R4359XWIKI1459Migrator.java:105)
 
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBase
 Store.java:918)
 
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernat
 eBaseStore.java:960

Re: [xwiki-users] Upgrading to new 1.2rc1

2007-12-11 Thread Esbach, Brandon
Still waiting on the first page to load (hopefully all ok now)

---
14:44:26,415 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
[http-8080-1] INFO  bernate.R4359XWIKI1459Migrator  - Updating document 
---

The above has been recording to the log the last 30 mins for different
documents; is this going to be done on every document in the database?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Esbach, Brandon
Sent: 11 December 2007 09:37
To: XWiki Users
Subject: Re: [xwiki-users] Upgrading to new 1.2rc1

Gonna try reinstalling the MySQL .  This morning the (previously
working) clean install test I did last night is not responding.
Checked the config file, feeds.hbm.xml is being referenced as well.
Should this be removed?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Ludovic Dubost
Sent: 10 December 2007 22:43
To: XWiki Users
Subject: Re: [xwiki-users] Upgrading to new 1.2rc1


Hi,

This line

Can't create/write to file '#sql_fc0_0.MYD' (Errcode: 17)

really does not seem right.. Have you tried a mysqlcheck to verify the
db state

Also does you hibernate file refer to feeds.hbm.xml in additional to
xwiki.hbm.xml ?

Ludovic

Esbach, Brandon wrote:

 Hi folks,

 I've been going through an upgrade process to get 1.2rc1 testing 
 underway; but I can't seem to get the xwiki database correctly
updated.

 So far I've run down the usual avenues:

 * Added the connector for mysql.
 * Setup the hibernate.cfg.xml as defined.
 * Granted permissions to the xwiki database to the mysql xwiki
user.

 The previous version being run was 1.1.2 This is not a problem if I 
 create a new database (create empty db and let xwiki generate 
 tables/etc); only when I expect the database to be upgraded.

 I'm almost certain to be missing some crucial step, but can't for the 
 life of me think of what?

 Error Log from tomcat log file
 --
 --
 --
 --

 17:18:08,896 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error: 1146,

 SQLState: 42S02

 17:18:08,896 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR util.JDBCExceptionReporter  - Table 
 'xwiki.xwikidbversion' doesn't exist

 17:18:08,912 [] [http-8080-1] WARN  action.RequestProcessor - 
 Unhandled Exception thrown: class com.xpn.xwiki.XWikiException

 17:25:54,208 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error: 1, 
 SQLState: HY000

 17:25:54,208 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR util.JDBCExceptionReporter  - Can't 
 create/write to file '#sql_fc0_0.MYD' (Errcode: 17)

 17:25:54,208 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR store.XWikiHibernateBaseStore   - Failed creating 
 schema update script

 org.hibernate.exception.GenericJDBCException: could not get table
 metadata: feeds_aggregatorgroup
 at
 org.hibernate.exception.SQLStateConverter.handledNonSpecificException(
 SQLStateConverter.java:91)

 at
 org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.ja
 va:79)

 at
 org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelpe
 r.java:43)

 at
 org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelpe
 r.java:29)

 at
 org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseM
 etadata.java:100)

 at
 org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configurati
 on.java:838)

 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.getSchemaUpdateScript(XWik
 iHibernateBaseStore.java:361)

 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernat
 eBaseStore.java:249)

 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernat
 eBaseStore.java:225)

 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibern
 ateBaseStore.java:470)

 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBase
 Store.java:914)

 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernate
 BaseStore.java:947)

 at
 com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
 .getDBVersion(XWikiHibernateMigrationManager.java:60)

 at
 com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigra
 tionsForDatabase(AbstractXWikiMigrationManager.java:140)

 at
 com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigra
 tions(AbstractXWikiMigrationManager.java:102)

 at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:708

Re: [xwiki-users] Upgrading to new 1.2rc1

2007-12-11 Thread Esbach, Brandon
Ah, ok.
I understand the need for the change (and accept it has to be done), but
is there any quicker way to do get the changes updated?  They're taking
2s each at the moment.

As this is just a test migration first, I'm gonna have to repeat the
process a few times before I can do the actual upgrade (taking our live
wiki offline for more than an hour or two during business hours makes
things a little tense).

About 1800 documents over 5 virtual wikis could take awhile :o.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sergiu Dumitriu
Sent: 11 December 2007 14:56
To: XWiki Users
Subject: Re: [xwiki-users] Upgrading to new 1.2rc1

Esbach, Brandon wrote:
 Still waiting on the first page to load (hopefully all ok now)
 
 ---
 14:44:26,415 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
 [http-8080-1] INFO  bernate.R4359XWIKI1459Migrator  - Updating 
 document
 ---
 
 The above has been recording to the log the last 30 mins for different

 documents; is this going to be done on every document in the database?
 

Yes, but only for the first time.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Esbach, Brandon
 Sent: 11 December 2007 09:37
 To: XWiki Users
 Subject: Re: [xwiki-users] Upgrading to new 1.2rc1
 
 Gonna try reinstalling the MySQL .  This morning the (previously
 working) clean install test I did last night is not responding.
 Checked the config file, feeds.hbm.xml is being referenced as well.
 Should this be removed?

No, it should be there.

 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Ludovic Dubost
 Sent: 10 December 2007 22:43
 To: XWiki Users
 Subject: Re: [xwiki-users] Upgrading to new 1.2rc1
 
 
 Hi,
 
 This line
 
 Can't create/write to file '#sql_fc0_0.MYD' (Errcode: 17)
 
 really does not seem right.. Have you tried a mysqlcheck to verify the

 db state
 
 Also does you hibernate file refer to feeds.hbm.xml in additional to 
 xwiki.hbm.xml ?
 
 Ludovic
 
 Esbach, Brandon wrote:
 Hi folks,

 I've been going through an upgrade process to get 1.2rc1 testing 
 underway; but I can't seem to get the xwiki database correctly
 updated.
 So far I've run down the usual avenues:

 * Added the connector for mysql.
 * Setup the hibernate.cfg.xml as defined.
 * Granted permissions to the xwiki database to the mysql xwiki
 user.
 The previous version being run was 1.1.2 This is not a problem if I 
 create a new database (create empty db and let xwiki generate 
 tables/etc); only when I expect the database to be upgraded.

 I'm almost certain to be missing some crucial step, but can't for the

 life of me think of what?

 Error Log from tomcat log file
 -
 -
 -
 -
 -
 -
 --

 17:18:08,896 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error:
1146,
 
 SQLState: 42S02

 17:18:08,896 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR util.JDBCExceptionReporter  - Table 
 'xwiki.xwikidbversion' doesn't exist

 17:18:08,912 [] [http-8080-1] WARN  action.RequestProcessor -

 Unhandled Exception thrown: class com.xpn.xwiki.XWikiException

 17:25:54,208 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error: 1, 
 SQLState: HY000

 17:25:54,208 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR util.JDBCExceptionReporter  - Can't 
 create/write to file '#sql_fc0_0.MYD' (Errcode: 17)

 17:25:54,208 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR store.XWikiHibernateBaseStore   - Failed creating

 schema update script

 org.hibernate.exception.GenericJDBCException: could not get table
 metadata: feeds_aggregatorgroup
 at
 org.hibernate.exception.SQLStateConverter.handledNonSpecificException
 (
 SQLStateConverter.java:91)

 at
 org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
 a
 va:79)

 at
 org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
 e
 r.java:43)

 at
 org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
 e
 r.java:29)

 at
 org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(Database
 M
 etadata.java:100)

 at
 org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configurat
 i
 on.java:838)

 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.getSchemaUpdateScript(XWi
 k
 iHibernateBaseStore.java:361)

 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHiberna
 t
 eBaseStore.java:249)

 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema

Re: [xwiki-users] Upgrading to new 1.2rc1

2007-12-11 Thread Esbach, Brandon

 They're taking 2s each at the moment.
Err, let me update that.  One document so far taken over 35 mins :(.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Esbach, Brandon
Sent: 11 December 2007 15:04
To: XWiki Users
Subject: Re: [xwiki-users] Upgrading to new 1.2rc1

Ah, ok.
I understand the need for the change (and accept it has to be done), but
is there any quicker way to do get the changes updated?  They're taking
2s each at the moment.

As this is just a test migration first, I'm gonna have to repeat the
process a few times before I can do the actual upgrade (taking our live
wiki offline for more than an hour or two during business hours makes
things a little tense).

About 1800 documents over 5 virtual wikis could take awhile :o.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sergiu Dumitriu
Sent: 11 December 2007 14:56
To: XWiki Users
Subject: Re: [xwiki-users] Upgrading to new 1.2rc1

Esbach, Brandon wrote:
 Still waiting on the first page to load (hopefully all ok now)
 
 ---
 14:44:26,415 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
 [http-8080-1] INFO  bernate.R4359XWIKI1459Migrator  - Updating 
 document
 ---
 
 The above has been recording to the log the last 30 mins for different

 documents; is this going to be done on every document in the database?
 

Yes, but only for the first time.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Esbach, Brandon
 Sent: 11 December 2007 09:37
 To: XWiki Users
 Subject: Re: [xwiki-users] Upgrading to new 1.2rc1
 
 Gonna try reinstalling the MySQL .  This morning the (previously
 working) clean install test I did last night is not responding.
 Checked the config file, feeds.hbm.xml is being referenced as well.
 Should this be removed?

No, it should be there.

 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Ludovic Dubost
 Sent: 10 December 2007 22:43
 To: XWiki Users
 Subject: Re: [xwiki-users] Upgrading to new 1.2rc1
 
 
 Hi,
 
 This line
 
 Can't create/write to file '#sql_fc0_0.MYD' (Errcode: 17)
 
 really does not seem right.. Have you tried a mysqlcheck to verify the

 db state
 
 Also does you hibernate file refer to feeds.hbm.xml in additional to 
 xwiki.hbm.xml ?
 
 Ludovic
 
 Esbach, Brandon wrote:
 Hi folks,

 I've been going through an upgrade process to get 1.2rc1 testing 
 underway; but I can't seem to get the xwiki database correctly
 updated.
 So far I've run down the usual avenues:

 * Added the connector for mysql.
 * Setup the hibernate.cfg.xml as defined.
 * Granted permissions to the xwiki database to the mysql xwiki
 user.
 The previous version being run was 1.1.2 This is not a problem if I 
 create a new database (create empty db and let xwiki generate 
 tables/etc); only when I expect the database to be upgraded.

 I'm almost certain to be missing some crucial step, but can't for the

 life of me think of what?

 Error Log from tomcat log file
 -
 -
 -
 -
 -
 -
 --

 17:18:08,896 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error:
1146,
 
 SQLState: 42S02

 17:18:08,896 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR util.JDBCExceptionReporter  - Table 
 'xwiki.xwikidbversion' doesn't exist

 17:18:08,912 [] [http-8080-1] WARN  action.RequestProcessor -

 Unhandled Exception thrown: class com.xpn.xwiki.XWikiException

 17:25:54,208 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error: 1, 
 SQLState: HY000

 17:25:54,208 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR util.JDBCExceptionReporter  - Can't 
 create/write to file '#sql_fc0_0.MYD' (Errcode: 17)

 17:25:54,208 [_http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome_] 
 [http-8080-1] ERROR store.XWikiHibernateBaseStore   - Failed creating

 schema update script

 org.hibernate.exception.GenericJDBCException: could not get table
 metadata: feeds_aggregatorgroup
 at
 org.hibernate.exception.SQLStateConverter.handledNonSpecificException
 (
 SQLStateConverter.java:91)

 at
 org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
 a
 va:79)

 at
 org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
 e
 r.java:43)

 at
 org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp
 e
 r.java:29)

 at
 org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(Database
 M
 etadata.java:100)

 at
 org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configurat
 i

[xwiki-users] Upgrading to new 1.2rc1

2007-12-10 Thread Esbach, Brandon
Hi folks,

I've been going through an upgrade process to get 1.2rc1 testing
underway; but I can't seem to get the xwiki database correctly updated.
So far I've run down the usual avenues:
*   Added the connector for mysql.
*   Setup the hibernate.cfg.xml as defined.
*   Granted permissions to the xwiki database to the mysql xwiki
user.
The previous version being run was 1.1.2
This is not a problem if I create a new database (create empty db and
let xwiki generate tables/etc); only when I expect the database to be
upgraded.

I'm almost certain to be missing some crucial step, but can't for the
life of me think of what?

Error Log from tomcat log file





17:18:08,896 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
[http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error: 1146,
SQLState: 42S02 
17:18:08,896 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
[http-8080-1] ERROR util.JDBCExceptionReporter  - Table
'xwiki.xwikidbversion' doesn't exist 
17:18:08,912 [] [http-8080-1] WARN  action.RequestProcessor -
Unhandled Exception thrown: class com.xpn.xwiki.XWikiException 
17:25:54,208 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
[http-8080-1] WARN  util.JDBCExceptionReporter  - SQL Error: 1,
SQLState: HY000 
17:25:54,208 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
[http-8080-1] ERROR util.JDBCExceptionReporter  - Can't create/write
to file '#sql_fc0_0.MYD' (Errcode: 17) 
17:25:54,208 [http://ieg08ap02:8080/xwiki/bin/view/Main/WebHome]
[http-8080-1] ERROR store.XWikiHibernateBaseStore   - Failed creating
schema update script 
org.hibernate.exception.GenericJDBCException: could not get table
metadata: feeds_aggregatorgroup
at
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQ
LStateConverter.java:91)
at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java
:79)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.
java:43)
at
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.
java:29)
at
org.hibernate.tool.hbm2ddl.DatabaseMetadata.getTableMetadata(DatabaseMet
adata.java:100)
at
org.hibernate.cfg.Configuration.generateSchemaUpdateScript(Configuration
.java:838)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.getSchemaUpdateScript(XWikiH
ibernateBaseStore.java:361)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateB
aseStore.java:249)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateB
aseStore.java:225)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernat
eBaseStore.java:470)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseSt
ore.java:914)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBa
seStore.java:947)
at
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.g
etDBVersion(XWikiHibernateMigrationManager.java:60)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrati
onsForDatabase(AbstractXWikiMigrationManager.java:140)
at
com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.startMigrati
ons(AbstractXWikiMigrationManager.java:102)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:708)
at com.xpn.xwiki.XWiki.init(XWiki.java:659)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:241)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:426)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:94)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:233)
at

Re: [xwiki-users] Hosted wiki - sending email

2007-11-21 Thread Esbach, Brandon
Hi Rafaello,

Is there any way to configure this?  I need to let my users know whether
it's likely to work or not. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Esbach, Brandon
Sent: 20 November 2007 15:43
To: XWiki Users
Subject: Re: [xwiki-users] Hosted wiki - sending email

Hi Raffaello,

It's tycoelectronics.xwiki.com

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Raffaello Pelagalli
Sent: 20 November 2007 15:34
To: XWiki Users
Subject: Re: [xwiki-users] Hosted wiki - sending email

Esbach, Brandon [EMAIL PROTECTED] writes:

 Hi all,

 We've recently had a request for notifications on our hosted wiki; 
 from the API documentation this should work (no errors are returned 
 either when I call $xwiki.sendMessage).

 Problem is, I suspect either the message sending needs a specific 
 configuration or sending is otherwise blocked (we use javamail on our 
 own internal wiki, this is not possible it seems on hosted solution).

 How should this be configured for the hosted wiki farm?

Hi Brandon,

What is the name of your wiki on the farm ?

Best regards,
--
Raffaello Pelagalli
XPertNet - XWiki.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] $xwiki.calendar.getHTMLCalendar

2007-11-21 Thread Esbach, Brandon
Hi all,
Having trouble finding documentation on this, there is no mention in the
xwiki api documentation (none that I can find at least)

The idea is to add a tootip of the description field to the item's entry
so that a user can look at the calendar, hover over a users' name and
get the description as a tooltip.  
Is there any simple way to add the description (or any field from the
object) to the title?

Something like $xwiki.calendar.calendarParams.put(attribute,
title=description)

Brandon Esbach
Software Engineer
Wireless Systems Segment 
Tyco Electronics 
4 Eastgate Road 
Eastgate 
Little Island 
Co. Cork 
Ireland 
Tel: +353-21-4808305 
Email: [EMAIL PROTECTED] 

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


[xwiki-users] Hosted wiki - sending email

2007-11-20 Thread Esbach, Brandon
Hi all,

We've recently had a request for notifications on our hosted wiki; from
the API documentation this should work (no errors are returned either
when I call $xwiki.sendMessage).
Problem is, I suspect either the message sending needs a specific
configuration or sending is otherwise blocked (we use javamail on our
own internal wiki, this is not possible it seems on hosted solution).

How should this be configured for the hosted wiki farm?
Brandon Esbach
Software Engineer
Wireless Systems Segment 
Tyco Electronics 
4 Eastgate Road 
Eastgate 
Little Island 
Co. Cork 
Ireland 
Tel: +353-21-4808305 
Email: [EMAIL PROTECTED] 

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


Re: [xwiki-users] Hosted wiki - sending email

2007-11-20 Thread Esbach, Brandon
Hi Raffaello,

It's tycoelectronics.xwiki.com

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Raffaello Pelagalli
Sent: 20 November 2007 15:34
To: XWiki Users
Subject: Re: [xwiki-users] Hosted wiki - sending email

Esbach, Brandon [EMAIL PROTECTED] writes:

 Hi all,

 We've recently had a request for notifications on our hosted wiki; 
 from the API documentation this should work (no errors are returned 
 either when I call $xwiki.sendMessage).

 Problem is, I suspect either the message sending needs a specific 
 configuration or sending is otherwise blocked (we use javamail on our 
 own internal wiki, this is not possible it seems on hosted solution).

 How should this be configured for the hosted wiki farm?

Hi Brandon,

What is the name of your wiki on the farm ?

Best regards,
--
Raffaello Pelagalli
XPertNet - XWiki.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] Attachment link with target

2007-11-08 Thread Esbach, Brandon
Yes, you have this option with the other link (you would need to have attached 
the document already though I think).  You have to supply a target in plaintext.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Flügge
Sent: 08 November 2007 15:00
To: users@xwiki.org
Subject: [xwiki-users] Attachment link with target



Hello!




Is it possible to set an attachment link with target=_blank?

I would like to open an attached pdf in a new browser window.




Thanks for any help.

Best regards,

Andreas

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


Re: [xwiki-users] Access rights on XWiki space

2007-11-02 Thread Esbach, Brandon
The way I have it setup is, by default users have only view
permissions to the XWiki space; and all new XWiki tools are written into
their own space so that they're protected at space level.
Admin tools (my automated group assignment for example) I have a
specific space for and have that space protected completely so that
users can't even see the space.
 
I wouldn't worry too much about allowing people to see users and groups
lists though.  Restricting all but view permissions is sufficient for
most purposes.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Marie Sauvage [EBM WebSourcing]
Sent: 02 November 2007 10:03
To: XWiki Users
Subject: [xwiki-users] Access rights on XWiki space


Hi !

I'm trying to configure access rights on a XWiki to a group of users.
My problem is that I don't want them to access to the administration, I
will be the only administrator. But when I deny access on the space
XWiki, the users of the group don't access any more to the user's pages,
even their own profile page, as those pages are in this space.
Is there a way to give them access without having to deal access page
per page and modify the XWikiUsers page to make appear only allowed
section with many if ($xwiki.hasAdminRights()) ?

thanks in advance !
Marie.

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


Re: [xwiki-users] Adding a document in XWiki.org

2007-11-02 Thread Esbach, Brandon
Given that I can't access outside servers from our server network (company 
policy), I adjusted this to reflect my own database - changing only the db name 
and user details.  I setup a table to mimic your column name as well.
 
On 1.1 it seems to work; though my environment is a bit different to standard 
release (not completely standard xwiki install).



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Your XEN ICT 
Team - Ricardo Rodriguez
Sent: 01 November 2007 19:15
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org


Esbach, Brandon wrote: 

Xwiki.org sandbox: you don't normally get programming rights (admin 
rights don't guarantee programming rights on the .org sites).
Someone on the xwiki team will have to open and save the page for you 
in order to test it.

  

Thanks for the information. I didn't realize about the required programming 
rights. It is perfectly reasonable that this rights must be given by an 
administrator.

But the site is not accessible yet. This link 
http://sandbox.xwiki.org/xwiki/bin/view/Main/WebHome keeps generating an 
exception while reading document XWiki.XWikiPreferences.

In any case, it there were a problem with programming rights, I understand that 
no script will be executed. In this case, scripts recovering a single record 
work fine or printing simple lines by using println work fine.



If it's a local xwiki instance that's also causing the problem, I'm not 
sure.  Accessing mysql databases seems to work fine for me for my own local 
databases.


Could you be so kind as to trying the following script in your xwiki 
installation to see if it is my server the only one that is having problems 
while printing iterations? Thanks!


%
import groovy.sql.Sql;
println This is a sample to access epec in *mire*
def sendSQL =
Sql.newInstance(jdbc:mysql://mire.environmentalchange.net/epec,epec_ReadOnly,
 epec_ReadOnly, com.mysql.jdbc.Driver) 
sendSQL.eachRow(SELECT * FROM epec.spot s) {row -println ${row.code}}
%


I've run it in three boxes all of them running 1.2-milestone-1.5235 and always 
get the same result.

Please, could anybody else try this? Thank you so much.

Best,


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


Re: [xwiki-users] Adding a document in XWiki.org

2007-11-01 Thread Esbach, Brandon

First thing to check:
Are you logged in as admin or a standard user?  And do you definitely have 
programming rights if you're a standard user?

Second thing to check:
Could be an older version of Groovy in xwiki than what you're testing with in 
your scripts.  I know this sort of scripting worked fine back with the Beta 
v1.0 of xwiki (haven't had the need for such scripts since), as I had to make 
use of it.
 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Your XEN ICT 
Team - Ricardo Rodriguez
Sent: 01 November 2007 09:31
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org

Your XEN ICT Team - Ricardo Rodriguez wrote:

The code posted above works fine in Groovy Console. I've installed Groovy 
binaries in a MacBook running Mac OS X 10.4.10 and the scripts work without a 
glitch. See below...

groovy import groovy.sql.Sql;
groovy println This is a sample to access epec in *mire*
groovy def sendSQL =
Sql.newInstance(jdbc:mysql://mire.environmentalchange.net/epec,
epec_ReadOnly, epec_ReadOnly, com.mysql.jdbc.Driver)
groovy sendSQL.eachRow(SELECT * FROM epec.spot s) {row -println
${row.code}}

This is a sample to access epec in *mire*
AGÑ
BAG
BLA
BDX
BPA
BUI
CAD
CDL
CPD
LUZ
MII
MIM
PDC
PNV
PVO
PZC
QXI
SUA
ACB
SVT


groovy import groovy.sql.Sql;
groovy println This is a sample to access ibdona in *localhost*
groovy def sendSQLibd = 
Sql.newInstance(jdbc:mysql://localhost/ibdona, root, , 
com.mysql.jdbc.Driver)
groovy sendSQLibd.eachRow(SELECT * FROM ibdona.library_location l) 
{row -println ${row.location}}

This is a sample to access ibdona in *localhost*
Palma
Pueblos
Ibiza y Menorca
Otras comunidades
Extranjero
Palma
Pueblos
Ibiza y Menorca
Otras comunidades
Palma
Pueblos
Otras comu
Otros


Please, could you figure out why the output is not the same when 
executed from a XWiki page? Thanks!

Cheers,

-- 
Ricardo Rodríguez
Your XEN ICT Team

___
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] Page not loading

2007-11-01 Thread Esbach, Brandon
You can go to the history view.. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:08
To: 'XWiki Users'
Subject: [xwiki-users] Page not loading

Anyone,

My page (WebHome) is not loading - possibly because of some doddgy code
on it.
Is there anyway to revert it back to a previous working version of the
page using some magic code executed on another page?

Regards,

Richard

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org


Hi,

if you take a look at the API, there are all the information you need.

It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).

Vito



V. Harikrishnan Nair wrote:
 Hello...
 
I've been able to read and enter data into my personal MySQL 
 database (after a very long night, finally!) and I think this should 
 be added into the documentation for XWiki.org but first, I want to get

 data from a
textbox
 into the database... 
 
 Because the first thing that newbies like me wanted to do was to 
 communicate with a personal database (especially through the use of
forms),
 I believe this is important. 
 
  How can I add a document in XWiki.org ? Do I have editing rights
?
   
 
 Harikrishnan
 
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent.  Attachments to this e-mail may contain software viruses
which could damage your system.  We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
___
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] Sample Groovy Code

2007-10-31 Thread Esbach, Brandon
The Xwiki system has it's own internal database structure; called using
$xwiki.search(type_hql_here). 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vincent Massol
Sent: 31 October 2007 07:01
To: XWiki Users
Subject: Re: [xwiki-users] Sample Groovy Code

First, you need to tell us what's your use case. What information do you
wish to get from the database?

Thanks
-Vincent

On Oct 31, 2007, at 6:19 AM, V. Harikrishnan Nair wrote:


 Hello Vincent,

I've found out QueryPluginApi from the docs. But even if this is 
 the API you meant, why is it not possible to use Groovy to access the 
 database of my choice to display my data ?

 Harikrishnan


 vmassol wrote:

 Hi,

 Don't call the database directly. XWiki offers API for doing this.

 What tutorial are you referring to?

 Thanks
 -Vincent

 On Oct 30, 2007, at 11:53 AM, V. Harikrishnan Nair wrote:


 Hi all...

 I am learning how to read from the default xwiki database xwiki_db 
 using groovy. This is the code I got from the tutorial -

 -
 import groovy.sql.Sql
 sql =
 Sql.newInstance(jdbc:jtds:sqlserver://serverName/dbName-
 CLASS;domain=domainName,
 username,
   password, net.sourceforge.jtds.jdbc.Driver)
 sql.eachRow(select * from tableName, { println it.id +  -- 
 ${it.firstName} --} );
 

 This is the code which is edited by me -

 ---
 import groovy.sql.Sql
 sql =
 Sql.newInstance(jdbc:jtds:sqlserver://localhost/xwiki_db-
 CLASS;domain=domainName,
 sa,
   , net.sourceforge.jtds.jdbc.Driver)
 sql.eachRow(select * from XWIKIDOC, { println it.id +  -- $ 
 {it.firstName} --} );
 --

 Can anyone please rectify any errors here ? Especially the closure 
 in the third line as I don't know the fields present in XWIKIDOC 
 table...

 Thanks,
 Harikrishnan

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



 --
 View this message in context: 
 http://www.nabble.com/Sample-Groovy-Code-tf4717685.html#a13502522
 Sent from the XWiki- Users mailing list archive at Nabble.com.

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

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


Re: [xwiki-users] Parsing textbox data

2007-10-31 Thread Esbach, Brandon
Check that you're using correct case as well.
Also, you will need to be careful with quote marks, as these need to be
escaped by putting two together before sending into a sql query - so for
example, O'Hara Airport should read O''Hara Airport when added to a sql
statement.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 13:17
To: XWiki Users
Subject: Re: [xwiki-users] Parsing textbox data

hi,

I think this should work:
#set($j = $request.formval)

Vito



V. Harikrishnan Nair wrote:
 Hello again !
 
 I want to take a string entered into a textbox and place it into a

 MySQL db (which is not XWiki's RDB). For that I created a simple form 
 shown below
 -
 
 form action = VelocityTest2 method = get 
  input type = text name = formval
  input type = submit value = submit /form
 
 This is the velocity page (named VelocityTest2) which is supposed to 
 parse the string entered into the text box -
 
 #set($groovyObject = $xwiki.parseGroovyFromPage(Amrita 
 IIS.GroovyTest4)) #set($j = $Request.getParameterValues('formval'))
 $groovyObject.SQL_conn($j)
 
 
 A Groovy page (named GroovyTest4) takes that string and enters it into

 the MySQL db with the SQL_conn() function and I'm positive that my 
 groovy code works.
 
 My problem is that the string is not being parsed from the textbox 
 into the Velocity page. I am getting a null value instead.
 
 Thanks,
 Harikrishnan
___
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] isUserInGroup

2007-10-26 Thread Esbach, Brandon
Make sure to add in the space, otherwise it won't know what group you're
referring to:
$user.isUserInGroup(XWikiAdminGroup) should read
$user.isUserInGroup(XWiki.XWikiAdminGroup).  

Note that there is an easier way to get admin rights though; by using
hasAdminRights().  Otherwise use the isUserInGroup

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vitantonio Messa
Sent: 26 October 2007 11:56
To: XWiki Users
Subject: Re: [xwiki-users] isUserInGroup

Hi Ricardo,

you need to call it from an user object, hence:
  - #set ($user = $xwiki.getUser())  ## to retrieve the current user, or
getUser(XWiki.UserName) to retrieve any user
  - $user.isUserInGroup(XWikiAdminGroup) ## to check if this user is
in the admin group

I didn't try the code, but it should work fine.

Vito




Your XEN ICT Team - Ricardo Rodriguez wrote:
 Hi all,
 
 Please, could you help me to find the right syntax to check if an user

 belongs to a given group?
 
 I've been playing with the isUserInGroup method without success.
 
 Thank you so much,
 
___
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] Shifting to a new computer

2007-10-23 Thread Esbach, Brandon
I usally do it the long way round:
1) Disable tomcat/other-java-container 
2) Full backup of database.  MySQL has this feature as part of it's admin gui.
3) Move xwiki folder from the old tomcat server to the new one.  Make sure 
tomcat is disabled on new server.
4) Restore database to the new server.  Create username and assign permissions. 
 You may need to do some configuration updates to allow the import of large 
data.
5) Start tomcat on new server, and login.

I have a document for each of my main wiki classes so that each can be 
qualified - I do this for each new release that we use in the plant as well.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Víctor A. 
Rodríguez
Sent: 23 October 2007 12:17
To: XWiki Users
Subject: Re: [xwiki-users] Shifting to a new computer

Guillaume Lerouge wrote:
 Export the contents of your XWiki in a XAR, import the XAR back in 
 your new XWiki :-)

Please, take care : the import functionality isn't working right now
(http://jira.xwiki.org/jira/browse/XWIKI-1809)

--
Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma (Bit-Man) - 
Algorithm junkie Perl Mongers Capital Federal (http://cafe.pm.org/) GNU/Linux 
User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/

___
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] Virtual Instance

2007-10-22 Thread Esbach, Brandon
Hi Tim,
 
Could you outline what's happening?  Are you getting any wiki at all, or
perhaps just an error?



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Campbell, Timothy D
Sent: 22 October 2007 17:36
To: XWiki Users
Subject: Virtual Instance


Hi,
I'm having trouble creating a virtual instance in XWiki 1.1. I
created all the necessary documents and classes, changed the number 0 to
1 and even went to the network admin for the pointers. It's still not
working. Any suggestions or ideas what could be wrong?
 
Thanks,
 
Tim
 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Help on upgrade from 0.9.853

2007-10-02 Thread Esbach, Brandon
Your best bet really is to follow the release notes.  These document the 
upgrade path fairly well. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Víctor A. 
Rodríguez
Sent: 02 October 2007 13:38
To: users@xwiki.org
Subject: [xwiki-users] Help on upgrade from 0.9.853

Hi all,

I've been using XWiki during this year and now I have a titanic task :
upgrade it to XWiki 1.1

Unfortunately I haven't found any document on how to upgrade, neither in the 
site nor in the list archives, so I decided to transfer the MySQL database to a 
new location (unsing mysqldump) and install XWiki 1.1 from scratch
(http://www.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheXWikiWARmanually)
 

using MySQL 5.0 and Tomcat 6

After obtaining a  *Field 'XWD_ARCHIVE' doesn't have a default value
error (and solved it thanks to
http://jira.xwiki.org/jira/browse/XWIKI-1702) a more obscure error appears 
regarding some attributes and so.

I decided not to follow a trial an error path, and I'm  here asking for some 
guide or guidelines to do this upgrade, or in case such a thing doesn't exists 
beg for  some help from you all, and as a thanks gift offer to publish a mini 
howto for upgrading XWiki from v0.9.x to 1.1.

Thanks in advance for your help.

--
Víctor A. Rodríguez (http://www.bit-man.com.ar) El bit Fantasma (Bit-Man) - 
Algorithm junkie Perl Mongers Capital Federal (http://cafe.pm.org/) GNU/Linux 
User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/ 
___
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] Backlinks in XWiki 1.1

2007-09-28 Thread Esbach, Brandon
It would be cool to have a console in the wiki for such commands.
Actually.. I think it would be relatively easy to implement, using form
submission to an existing page.
Hmm.. Will take a look and add to the Code section if I can get it
working nicely. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vincent Massol
Sent: 28 September 2007 13:50
To: XWiki Users
Subject: Re: [xwiki-users] Backlinks in XWiki 1.1


On Sep 28, 2007, at 2:42 PM, Marco Polo wrote:




 vmassol wrote:

 Hi Marco,

 I don't recall if I answered this email. I was wrong and you were 
 right. Backlinks were indeed broken in 1.1 (they've been broken since

 1.1RC2). I've fixed them in 1.1.1 which will be released in the 
 coming few days.

 Thanks
 -Vincent


 Hi Vincent

 Good news. What have I to do to create backlinks for pages created in 
 1.1? I suppose I have to edit and save those pages, but does exist a 
 better method?

Yes, you can execute $xwiki.refreshLinks() once (put in in any page, do
a preview, it'll get executed and cancel the page edition).

-Vincent


___
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] When adding a new page, can a standard template be used?

2007-09-26 Thread Esbach, Brandon
Hi,

 * Redirect the user to a certain initial page when they login?
Be careful with this sort of configuration.  While you could do it, it's
not really a good idea, for example if the link is emailed; or if your
user creates a bookmark for a specific topic.  I can't count the amount
of times I send links or save a page reference for later use - if I had
to find the page every time, I'd stop using the site.

PS: Please start new topics instead of replying to an existing one with
new queries.  It keeps the email thread together in tools like Nabble
for later use.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: 26 September 2007 16:09
To: XWiki Users
Subject: Re: [xwiki-users] When adding a new page,can a standard
template be used?

Hi,
One way to direct user to a certain page after login is to make that
page require a login (guest view denied), a link to that page, say
Members, enter here, will cause the login page to show up, after
login, they will be directed to that first member page. This method is
not the best, but cost no effort. 
Wei-hsing



-- Original message --
From: goldring, richard [EMAIL PROTECTED]

 Hi all,
  
 Anyone know the answers:
 * Does anyone know how to update the text on the login page with say
an
 email link for people to request an account, etc?
 * Redirect the user to a certain initial page when they login?
 If anyone has any answer I can paste them to the FAQ section of the
XWiki
 website.
  
 Regards,
  
 Richard
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of
 Sheila Hobeck
 Sent: 26 September 2007 14:16
 To: XWiki Users
 Subject: Re: [xwiki-users] When adding a new page, can a standard
template
 be used?
 
 
 Ok, so I figured it out.  The tutorial should be updated for the
latest
 release.  It doesn't describe the process to associate the object very
well.
 Anyhow, thanks just the same.
 
 
 
 
 On 9/26/07, Sergiu Dumitriu  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote: 
 
 How do you create this new document?
 
 
 On 9/25/07, Sheila Hobeck  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 wrote:
  Ok, I followed the tutorial for creating an FAQ.  I setup the class,
the 
  template and the sheet as directed. I added properties to the
template -
 but
  these do not show up when I create a new document, any ideas?
 
 
 
 
  On 9/25/07, Sheila Hobeck  [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 
 wrote:
   Thanks Guillaume, I will give the FAQ tutorial a try today and see
how
  that goes.  Thanks again for your help.  XWiki is looking better all
the 
  time!
  
  
  
   On 9/25/07, Guillaume Lerouge  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
Hi,
   
to do this you should probably first spend some time on this
tutorial:
 
  http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
 http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial  to
  find out more about creating XWiki classes.
Then you will need to tweak the class page to add the objects
you need
 
  (such as meeting leader, date, content, summary - the
categories
  defined on your meeting minutes form).
The next step will be to modify the ClassSheet to display your
 elements 
  the way you want them to be seen by users (using CSS). Say, a table
to
  display participants names, the meeting title in bold and so on...
The last step will be to add an input button on a page in order
to let
 
  people create new pages of that class easily.
   
All this may sound a bit complex and you'll probably need to dig
a bit
  into XWiki.org... Though having done it myself I can assure you it
will be
 
  worth it :-)
   
   
Guillaume
   
   
On 24/09/2007, Sheila Hobeck  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
 Whoops (its Monday) - We will likely have areas of our blog
should
  be We will likely have areas of our WIKI.

 Sheila 



 On 9/24/07, Sheila Hobeck  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
  Hi Guillaume, 
 
  Sorry I was not more detailed.  I am referring to the
predefined
  template - like a blog article.  We will likely have areas of our
blog for
  things such as meeting minutes, and we would like to use our
standard
 format 
  to post these.  How do I go about creating those?
 
  Sheila
 
 
 
  On 9/24/07, Guillaume Lerouge  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]  wrote:
   Hi Sheila,
  
   When you are talkign about pages look and feel, what
exactly do 
  you mean? If you are talking about the general view of the wiki, you
will
  have to look into the Skin configuration. If you are talking about
 creating
  new pages that are supposed to follow a predefined template (such as
a
 blog 
  article template that would typically include the article's title,
  publication date, author name and so on) then you can definitely do
it and
  create 

[xwiki-users] Tomcat and Windows2003

2007-09-24 Thread Esbach, Brandon
Hi All,

We've just had an issue on our main produciton servers that has resulted
in an effectively fresh windows 2003 installation for our Xwiki services
- the problem is, tomcat has some needed configs that I cannot seem to
recall at this point.

Pretty much what happens is that the server cannot be reached from any
pc outside the actual server.  It is there and accessable (pings fine),
users can even browse the shares on it - but tomcat does not seem to be
willing to open itself to the outside world.
If memory serves, there are a few files (or was it one?) that need
certain permissions on 2003, does anyone have any idea of which one(s)?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [ANN] XWiki Enterprise Manager 1.0 Milestone 1Released

2007-09-21 Thread Esbach, Brandon
Clarification:
If I read right, the manager tool is installed as a separate wiki?  

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vincent Massol
Sent: 20 September 2007 17:03
To: XWiki Developers; XWiki Users
Subject: [xwiki-users] [ANN] XWiki Enterprise Manager 1.0 Milestone
1Released

The XWiki development team is pleased to announce the release of XWiki
Enterprise Manager (XEM) 1.0 Milestone 1.

XEM is a special wiki (based on XWiki Enterprise) used to manage a farm
of sub-wikis. It has an interface to create new sub-wikis from
templates, delete wikis, view all created wikis, etc. Basically it's
meant to implement the feature previously known as Virtual Wikis, but
as a product and with a UI.

Features in 1.0M1:

 * XEM install page (XemManager.Install):
   o Update XWikiPreferences with all application translations
pages bundled with XEM
   o Create the default wiki template based on XE
 * All Wiki Manager 1.0 Milestone 1 features:
   o Create new empty wiki
   o Create new wiki from template wiki
   o Create new wiki from XAR file
 * All Application Manager 1.0 Milestone 1 features:
   o Create new application descriptor
   o Delete application descriptor
   o Export application based on XWiki Package internal plugin
   o Import application based on XWiki Package internal plugin
   o Support applications dependencies
   o Children wikis can reference documents located in the
template wiki, thus preventing content duplication and easing
maintenance
   o Support translations documents

For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM10M1

Thanks
-The XWiki dev team

___
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] [ANN] XWiki Enterprise Manager1.0Milestone1Released

2007-09-21 Thread Esbach, Brandon
Makes sense, although I get an error now:
Error number 4001 in 4: Error while parsing velocity page
WikiManager.WebHome Wrapped Exception: Invocation of method 'get' in
class com.xpn.xwiki.api.XWiki threw exception
java.lang.NoClassDefFoundError:
com/xpn/xwiki/plugin/applicationmanager/core/doc/objects/classes/Abstrac
tSuperClass @ WikiManager.WebHome1,28 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Thomas Mortagne
Sent: 21 September 2007 14:11
To: XWiki Users
Subject: Re: [xwiki-users] [ANN] XWiki Enterprise
Manager1.0Milestone1Released

You need to register plugins in xwiki.cfg in xwiki.plugins field, for
WikiManager it is com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin.

2007/9/21, Esbach, Brandon [EMAIL PROTECTED]:
 Hmm, I have installed the plugin into the web-inf/lib folder, and 
 installed both xar apps - but I get the following on the
 WikiManager.WebHome:

 ---
 Wikis

 wikimanager.totalnumberofwiki : $list.size() wikimanager.createwiki

 wikimanager.listwikiempty
 ---

 Note that Virtualisation is previously already in place, and both 
 xar's are installed on the main server.
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Thomas Mortagne
 Sent: 21 September 2007 11:03
 To: XWiki Users
 Subject: Re: [xwiki-users] [ANN] XWiki Enterprise Manager 
 1.0Milestone1Released

 Sorry wrong copy/paste WikiManager plugin is in 
 http://www.xwiki.org/xwiki/bin/view/Code/WikiManagerPlugin and 
 application in 
 http://www.xwiki.org/xwiki/bin/view/Code/WikiManagerApplication.

 2007/9/21, Thomas Mortagne [EMAIL PROTECTED]:
  You just need WikiManager plugin and xar you can find at 
  http://www.xwiki.org/xwiki/bin/view/Code/WikiManagerApplication and 
  http://www.xwiki.org/xwiki/bin/view/Code/WikiManagerApplication with

  quick instructions on how to use it. Also as WikiManager depends on 
  ApplicationManager you will also as to install it before a least to 
  have XWikiApplicationClass
 
 (http://www.xwiki.org/xwiki/bin/view/Code/ApplicationManagerApplicatio
 n)
 .
 
  2007/9/21, Esbach, Brandon [EMAIL PROTECTED]:
   Ok, sorry again (must have forgotten to eat my wheaties this 
   morning

   :)
   )
   Does this mean I just install the manager tools to my existing 
   main wiki, or must replace my main wiki?
  
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
   Behalf Of Thomas Mortagne
   Sent: 21 September 2007 10:43
   To: XWiki Users
   Subject: Re: [xwiki-users] [ANN] XWiki Enterprise Manager 1.0 
   Milestone1Released
  
   Yes all administration/manager tools are in a main wiki.
  
   2007/9/21, Esbach, Brandon [EMAIL PROTECTED]:
Clarification:
If I read right, the manager tool is installed as a separate
wiki?
   
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Vincent Massol
Sent: 20 September 2007 17:03
To: XWiki Developers; XWiki Users
Subject: [xwiki-users] [ANN] XWiki Enterprise Manager 1.0 
Milestone 1Released
   
The XWiki development team is pleased to announce the release of

XWiki
  
Enterprise Manager (XEM) 1.0 Milestone 1.
   
XEM is a special wiki (based on XWiki Enterprise) used to manage

a

farm of sub-wikis. It has an interface to create new sub-wikis 
from templates, delete wikis, view all created wikis, etc.
Basically it's meant to implement the feature previously known 
as Virtual Wikis, but as a product and with a UI.
   
Features in 1.0M1:
   
 * XEM install page (XemManager.Install):
   o Update XWikiPreferences with all application 
translations
  
pages bundled with XEM
   o Create the default wiki template based on XE
 * All Wiki Manager 1.0 Milestone 1 features:
   o Create new empty wiki
   o Create new wiki from template wiki
   o Create new wiki from XAR file
 * All Application Manager 1.0 Milestone 1 features:
   o Create new application descriptor
   o Delete application descriptor
   o Export application based on XWiki Package internal
 plugin
   o Import application based on XWiki Package internal
 plugin
   o Support applications dependencies
   o Children wikis can reference documents located in 
the

template wiki, thus preventing content duplication and easing 
maintenance
   o Support translations documents
   
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM10M1
   
Thanks
-The XWiki dev team
   
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http

Re: [xwiki-users] [ANN] XWiki EnterpriseManager1.0Milestone1Released

2007-09-21 Thread Esbach, Brandon

 From the links below, I have four files:
1) xwiki-plugin-wiki-manager-1.0-milestone-1.jar
   placed in the web-inf/lib folder
2) xwiki-plugin-application-manager-1.0-milestone-1.jar
   also placed in the web-inf/lib folder
3) xwiki-application-wiki-manager-1.0-milestone-1.xar
   installed into the main xwiki
4) xwiki-application-application-manager-1.0-milestone-1.xar
   also installed into the main wiki

Going to shutdown full servre (eliminate any spare processes that may be
holding it open) and try again.  Most likely something daft :)

Thanks!

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vincent Massol
Sent: 21 September 2007 14:21
To: XWiki Users
Subject: Re: [xwiki-users] [ANN] XWiki
EnterpriseManager1.0Milestone1Released

Brandon,

On Sep 21, 2007, at 3:17 PM, Esbach, Brandon wrote:

 Makes sense, although I get an error now:
 Error number 4001 in 4: Error while parsing velocity page 
 WikiManager.WebHome Wrapped Exception: Invocation of method 'get' in 
 class com.xpn.xwiki.api.XWiki threw exception
 java.lang.NoClassDefFoundError:
 com/xpn/xwiki/plugin/applicationmanager/core/doc/objects/classes/
 Abstrac
 tSuperClass @ WikiManager.WebHome1,28

As Thomas mentioned in his previous emails you also need to install the
Application Manager plugin.

-Vincent


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Thomas Mortagne
 Sent: 21 September 2007 14:11
 To: XWiki Users
 Subject: Re: [xwiki-users] [ANN] XWiki Enterprise 
 Manager1.0Milestone1Released

 You need to register plugins in xwiki.cfg in xwiki.plugins field, 
 for WikiManager it is 
 com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin.

 2007/9/21, Esbach, Brandon [EMAIL PROTECTED]:
 Hmm, I have installed the plugin into the web-inf/lib folder, and 
 installed both xar apps - but I get the following on the
 WikiManager.WebHome:

 ---
 Wikis

 wikimanager.totalnumberofwiki : $list.size() wikimanager.createwiki

 wikimanager.listwikiempty
 ---

 Note that Virtualisation is previously already in place, and both 
 xar's are installed on the main server.
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Thomas Mortagne
 Sent: 21 September 2007 11:03
 To: XWiki Users
 Subject: Re: [xwiki-users] [ANN] XWiki Enterprise Manager 
 1.0Milestone1Released

 Sorry wrong copy/paste WikiManager plugin is in 
 http://www.xwiki.org/xwiki/bin/view/Code/WikiManagerPlugin and 
 application in 
 http://www.xwiki.org/xwiki/bin/view/Code/WikiManagerApplication.

 2007/9/21, Thomas Mortagne [EMAIL PROTECTED]:
 You just need WikiManager plugin and xar you can find at 
 http://www.xwiki.org/xwiki/bin/view/Code/WikiManagerApplication and 
 http://www.xwiki.org/xwiki/bin/view/Code/WikiManagerApplication with

 quick instructions on how to use it. Also as WikiManager depends on 
 ApplicationManager you will also as to install it before a least to 
 have XWikiApplicationClass

 (http://www.xwiki.org/xwiki/bin/view/Code/
 ApplicationManagerApplicatio
 n)
 .

 2007/9/21, Esbach, Brandon [EMAIL PROTECTED]:
 Ok, sorry again (must have forgotten to eat my wheaties this 
 morning

 :)
 )
 Does this mean I just install the manager tools to my existing main

 wiki, or must replace my main wiki?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Thomas Mortagne
 Sent: 21 September 2007 10:43
 To: XWiki Users
 Subject: Re: [xwiki-users] [ANN] XWiki Enterprise Manager 1.0 
 Milestone1Released

 Yes all administration/manager tools are in a main wiki.

 2007/9/21, Esbach, Brandon [EMAIL PROTECTED]:
 Clarification:
 If I read right, the manager tool is installed as a separate
 wiki?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Vincent Massol
 Sent: 20 September 2007 17:03
 To: XWiki Developers; XWiki Users
 Subject: [xwiki-users] [ANN] XWiki Enterprise Manager 1.0 
 Milestone 1Released

 The XWiki development team is pleased to announce the release of

 XWiki

 Enterprise Manager (XEM) 1.0 Milestone 1.

 XEM is a special wiki (based on XWiki Enterprise) used to manage

 a

 farm of sub-wikis. It has an interface to create new sub-wikis 
 from templates, delete wikis, view all created wikis, etc.
 Basically it's meant to implement the feature previously known as 
 Virtual Wikis, but as a product and with a UI.

 Features in 1.0M1:

  * XEM install page (XemManager.Install):
o Update XWikiPreferences with all application 
 translations

 pages bundled with XEM
o Create the default wiki template based on XE
  * All Wiki Manager 1.0 Milestone 1 features:
o Create new empty wiki
o Create new wiki from template wiki
o Create new wiki from XAR file
  * All Application Manager 1.0 Milestone 1 features:
o Create new application descriptor
o Delete application descriptor

Re: [xwiki-users] Spam attack...register new user

2007-09-10 Thread Esbach, Brandon
Well,

I must admit, spammers and ther ilk certainly show a lot of tenacity.
While it's true that nobody but them will see their adds, I doubt they
care - usually it's how many, how fast, and not how many would buy
that pays.

There is a comment permission which you can lock down though; but I
was surprised to see the attachment permission gone.  Is there a
reason attachment was removed since 0.9?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of [EMAIL PROTECTED]
Sent: 10 September 2007 14:55
To: XWiki Users
Subject: [xwiki-users] Spam attack...register new user

Hi, 

This may not be new to some of you, but it is new to me. 

This summer, one of my sites saw many spam 'ad comments' on new user
pages. Someone register himself/herself and leave comments on the
register new user page (which I should not left open to all). 

I guess someone hired summer students to do this, they may want to
google bomb with links on many web sites pointing to their sites. So,
this 1+1= method did not stop spammers.

I only show user lists to admin, so this attack did not add any value to
spammers. I changed the access control, so that visitors can not welcome
themselves to be a user.

So, XWiki admins, you are informed. This is just my two cents. 

Wei-hsing
___
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