Hi,
Has anyone experienced this problem or does anyone know what could be wrong when creating classes? I need to create 2 classes 1 for a virtual instance and 1 for a second blog in my xwiki. I'm getting this error which I am posting at the bottom.
Thank you in advance,
Tim
Error number 4001 in 4: Error while parsing velocity page XWiki.BlogArticle
Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.BlogArticle4,26? <https://wmail.wssu.edu/exchweb/bin/redir.asp?URL=https://wmail.wssu.edu/xwi…>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page XWiki.BlogArticle
Wrapped Exception: Invocation of method 'substring' in class java.lang.String threw exception java.lang.StringIndexOutOfBoundsException: String index out of range: -1 @ XWiki.BlogArticle4,26? <https://wmail.wssu.edu/exchweb/bin/redir.asp?URL=https://wmail.wssu.edu/xwi…>
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:117)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:401)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:347)
at sun.reflect.GeneratedMethodAccessor165.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.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:552)
at sun.reflect.GeneratedMethodAccessor49.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.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.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:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Wrapped Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source)
at sun.reflect.GeneratedMethodAccessor148.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.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:419)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:73)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:125)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:117)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:401)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:347)
at sun.reflect.GeneratedMethodAccessor165.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.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:552)
at sun.reflect.GeneratedMethodAccessor49.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.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:240)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:143)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1275)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1244)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:94)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:157)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.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:151)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Unknown Source)
Hi...
I tried use $xwiki.getUser to get the current user's name but I got a value
like this 'com.xpn.xwiki.api.User@13095c7'.
So, I looked into the API doc and used getLocalUser() but it does not work.
This is the syntax that I used -
#set($user = $xwiki.getLocalUser())
$user
What is wrong here ? It had given me an output for getUser().
Harikrishnan
--
View this message in context: http://www.nabble.com/using-getLocalUser%28%29-tf4763863.html#a13624781
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
I am attempting to build XWiki from source with the end goal of using a
debugger on it and face the following problem:
After a successful build with maven, when I deploy the war archive and
browse to xwiki, I get the following error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number
3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Hibernate Dialect must be explicitly set
After deployment, I then edited hibernate.cfg.xml in the deployed war and
added a datasource for an xwiki database, and this made the error
disappear.
Now, I would like to do this at "compile time" already, so that a default
hypersonic database is used, and that xwiki works right after building and
deploying the war, without any manual intervention needed after building.
I hope it's more or less clear what I want... Thanks.
Hi all,
We know that xwiki.section.edit=1 enable section editing. I see that the
editing section option is available until the second heading level. Is there
anyway to enable section's edition at levels third, fourth,...?
Thanks!
Ricardo
--
View this message in context: http://www.nabble.com/xwiki.section.edit-tf4764288.html#a13625877
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Please help me out,
Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Friday, November 02, 2007 4:28 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 4, Issue 6
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Login counter (prabhakar.gopalsamy(a)wipro.com)
2. Re: Login counter (goldring, richard)
----------------------------------------------------------------------
Message: 1
Date: Fri, 2 Nov 2007 16:15:37 +0530
From: <prabhakar.gopalsamy(a)wipro.com>
Subject: [xwiki-users] Login counter
To: <users(a)xwiki.org>
Message-ID:
<E98CB0DA71F20341907598C3494F320D015ACB39(a)BLR-EC-MBX08.wipro.com>
Content-Type: text/plain; charset="us-ascii"
Hi,
Please help me out,
Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Friday, November 02, 2007 4:11 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 4, Issue 5
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Porblem Installing w/Oracle (Vincent Massol)
2. Class attributes (goldring, richard)
3. Re: Adding a document in XWiki.org (Esbach, Brandon)
4. Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
5. Re: Access rights on XWiki space (Esbach, Brandon)
6. Re: Access rights on XWiki space (Marie Sauvage [EBM WebSourcing])
----------------------------------------------------------------------
Message: 1
Date: Fri, 2 Nov 2007 09:24:56 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Porblem Installing w/Oracle
To: XWiki Users <users(a)xwiki.org>
Message-ID: <16F52207-86BD-4E26-8363-C0C0DA8669DB(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Hi Craig,
Have you followed the instructions on
http://www.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle
and especially the part about the oracle HBM file?
Also what version of xwiki are you installing?
Thanks
-Vincent
On Nov 2, 2007, at 12:59 AM, Fye Kan wrote:
> Hello,
>
> We're investingating a few wiki options and were trying to use Xwiki
> with Tomcat 6 and Oracle 10g using the war installation process.
> We've modified all of the config files per the instructions on the
> site but are getting the following errors when trying to access the
> default page:
>
> 17:25:31,106 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: 2
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - While executing query: update
> xwikidoc set xwd_translation=0 where xwd_translati on is null
> 17:25:31,213 [http-129.147.132.30-80-1] ERROR
> store.XWikiHibernateBaseStore - Failed updating schema: ORA-00942:
> table or view does not exist
>
> followed by a lot more errors. This is a brand new install so no
> tables exist yet. The user account we have for the DB has access to
> create/modify/remove tables so we're at a bit of a loss as to what
> the problem is. Does anyone out there have any suggestions as to
> what the problem could be? Do we need to create the tables a head of
> time? Is there a script to do so? Any help would be appreciated,
> thanks!
>
> Craig
> ________________________
------------------------------
Message: 2
Date: Fri, 2 Nov 2007 09:47:46 -0000
From: "goldring, richard" <richard.goldring(a)uk.thalesgroup.com>
Subject: [xwiki-users] Class attributes
To: "'XWiki Users'" <users(a)xwiki.org>
Message-ID:
<C02943801230D611919D00508BDF0C240962642D(a)rtwexch.int.rdel.co.uk>
Content-Type: text/plain
Hi,
Does anyone know how to set the various Class properties? There appears
to
be no documentation on this - if there's anyone in the know who could
provide some documentation then it would be really really useful for
developing inline forms to access page object properties to help develop
real applications on XWiki.
i.e. for a display selection list on an inline form ...
Name:
Pretty Name:
Tooltip:
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Size:
Rows:
Editor:
---TextPureTextWysiwyg
Content:
FullyRenderedTextVelocityCodePureText
TaskMainTypeName:
Pretty Name:
Tooltip:
Task main type
Custom Display:
Unmodifiable:
---
Yes
No
Number:
Validation Regular Expression:
Validation Message:
Display Type:
inputselectradiocheckbox
Multiple Select:
---
Yes
No
Relational Storage:
---
Yes
No
Use Picker:
---
Yes
No
Size:
Join separator:
Sort:
noneidvalue
Cache:
---
Yes
No
Values:
Separators:
Regards,
Richard
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
------------------------------
Message: 3
Date: Fri, 2 Nov 2007 09:57:08 -0000
From: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<A259A3D352E3904F8D83CC44E3BE10670233E95C(a)gbd04mx02.tycoelectronics.net>
Content-Type: text/plain; charset="iso-8859-1"
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: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] 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_R
eadOnly", "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
While editing a single section of an article (under albatross), you are
given the option to set the parent article, however this does not set
the parent for the article as a whole. I suppose I can understand this,
but (at least to me) on a user level, this is annoying.
So is this a bug or a feature? If no one responds I'll add this in
Jira.
Paul D. Grodt
TECORE Wireless Systems
Hi all,
I have give to myself programming right on my xwiki (from the global
rights section), but still, when I write $doc.hasProgrammingRights() or
$context.hasProgrammingRights() I got "false" as response instead of true.
Does anyone know where is my mistake?
Thanks!
--
Vitantonio Messa
+358 46 889 48 49 - vitantonio.messa(a)coss.fi
COSS - The Finnish Centre for Open Source Solutions
@ Technology Centre Hermia Ltd.
Hermiankatu 1, FIN-33720 Tampere, FINLAND
hi all
i would like to implement ntlm authentification with xwiki on tomcat 5.5
i watch for jcifs
there is a way to perform it? via custom authentification?
does anybody try?
thanks a lot !!