Hi,
After installing the blog application some random errors are occurring when
I try to create a new post.
I’m using Xwiki enterprise 1.4-milestone-1, Tomcat 5.5.23, java 1.6.0_01 and
HSQLDB 1.8.0.7 running on a SuSE Linux Server.
When I want to create a new post, sometimes it works just fine, but
sometimes I get this message after clicking in the Create Post button:
A problem occurred while trying to service your request. Please contact the
support if this happens again.
The action performed by the Create Post button is:
<input type="submit" value="Create Post" onclick='if
(updateName(this.form.name)) {this.form.action="../../bin/inline/" +
this.form.webname.value + "/" + this.form.name.value; this.form.submit();
}'>
And the detailed exception is:
26/05/2008 12:00:26 org.apache.catalina.core.StandardHostValve status
WARNING: Exception Processing ErrorPage[errorCode=404,
location=/bin/view/Main/DocumentDoesNotExist]
ClientAbortException: java.net.SocketException: Broken pipe
at
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:327)
at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:293)
at org.apache.catalina.connector.Response.flushBuffer(Response.java:539)
at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:287)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
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:870)
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:685)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at
org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:747)
at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:432)
at
org.apache.coyote.http11.InternalOutputBuffer.flush(InternalOutputBuffer.java:305)
at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:992)
at org.apache.coyote.Response.action(Response.java:183)
at
org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:322)
... 13 more
I couldn’t resolve it by myself, if anyone has a hint for it…
Thanks
Gabriel Vilela
--
View this message in context: http://www.nabble.com/Random-errors-when-trying-to-use-Blog-application-tp1…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Yes, itt's quite a steep learning curve / barrier to get over in order to
help develop XWiki ... I've managed to setup Maven and access the repository
and put it into Eclipse and now I'm trying to see how to build and debug
within Eclipse ... (using Thomas Mortagne's new tutorial - thanks Thomas!)
and then figure out how XWiki works and how I might contribute to it ....
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vincent Massol
Sent: 23 May 2008 09:05
To: XWiki Users
Subject: Re: [xwiki-users] Development of a private XWiki
Hi,
On May 23, 2008, at 8:41 AM, baeumchen wrote:
>
> Hello,
>
> I read a lot about developing XWiki, I installed maven, a
> subclient, ... and
> got the repository, too. I want to ask, if I understood it right,
> that I
> work together with the community on developing the XWiki code. That
> means,
> that I'm programming something and then put it up to the repository.
> After
> checking my changes, they are available for other developers.
>
> If this is right, I'd like to know, if it is possible, to work on
> the code
> of my private XWiki, which is installed. I tried to import the .xar
> file to
> eclipse, but I didn't find anything. I searched a lot for a solution
> but now
> I'm at a point, where I don't know how to carry on with developing.
>
> So my question is:
> I'd like to develop the code of my own XWiki, not on the repository,
> is this
> possible?
Sure, check the dev wiki at http://dev.xwiki.org
Thanks
-Vincent
_______________________________________________
users mailing list
users(a)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
Hi everyone,
Here's a strategy that I try to follow and that I think might be good
that we all follow. The end goal is to improve the XWiki documentation
on xwiki.org.
Here's how it goes:
1) someone (A) asks a question on a xwiki list
2) someone (B) knows the answer
3) B verifies that the answer can be found on xwiki.org and if so
gives a link to it in the reply to A
4) If the answer is not found on xwiki.org, then B adds it (*) and
then gives a link to it in the reply to A
In this manner we'll all enrich the xwiki documentation and it'll only
take marginally longer to answer questions. The next time someone asks
the question again we can simply point him/her to the location on
xwiki.org
What happens now is that usually people answer in the email, often
giving very long and elaborate answers with lots of knowledge/wisdom
in it. Then another person comes in, asks the same question and we
answer again, etc. The result is:
* the xwiki.org documentation is not better
* overall as a team we are less efficient
(*) One difficult in putting the answer on xwiki.org is to find the
right location where to put it. So here are a few tips:
* For code snippets, add it to the Code Zone
* For questions on how to use XWiki, please add it to the Features guide
* For development questions, add it to the Developer's guide
* For configuration questions and administration questions, add it to
the Administration guide
* For other questions, add them to the FAQ
Applying my own strategy, you can find the content of this email at http://tinyurl.com/4xfel2
:)
Let me know what you think!
Thanks
-Vincent
Hello. concerning spaces in xwiki, i would like to know how to delete a space or a page with a few lines of code(velocity), not using delete.vm. like it was with create a page in velocity.
if you know how to do that i would appreciate some hints.
thank you
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
Heey, does anyone know how to fix this!?
In version 1.1.2 I was able to continue list using \ (double
backslash) on the next
line, like:
1. lalalala\
#picture_macro()
1. rrererer\
#picture_macro()
So the picture or some text would be in the list item.
It was very nice when posting a big text with paragraphs, so you can
actually see those paragraphs in a wiki code.
But now (version 1.3) it doesn't work, and I'm forced to modify all
the pages and use instead this syntax:
1. lalala\#picture_macro()
1. ererer\#picture_macro()
Also, wiki code becomes "unreadable" when posting a big text.
Ar cieņu, Mihails
Hi,
I am querying for all the users whose addresses are matching a
particular pattern. (there is an "address" property in the UserClass).
Also I want to the results to be sorted by another property, "username".
I found a similar query in this mailing list thread :
http://www.nabble.com/select-objects-by-class-and-sort-by-property-tf710844…
I tried forming the following query but it is wrong.
, BaseObject as obj, StringProperty as prop, StringProperty as otherprop
join obj.id=otherprop.id.id and otherprop.id.name='username' where
obj.name=doc.fullName and obj.className='Users.UserClass' and
obj.id=prop.id.id and prop.id.name='address' and prop.value like
'%someaddress%' order by otherprop.value
Can anyone tell me what the correct query should be like.
Thanks in advance
Roopesh
------------------
DigitalGlue, India
Hi everyone!
I would like to create a wiki in your farm to host the work of the
editorial board of the Galician Translation Journal "Viceversa"
(http://webs.uvigo.es/webatg/viceversa/viceversa.htm). We are looking
for a utility that allows us to share files, edit collaboratively,
keep track of the work online, etc. and I think XWiki is the thing!
My user name: alugris
Proposed wiki name: viceversa
Thank you!
Alberto
--
=======================================================================
Alberto Álvarez Lugrís <alugris(a)uvigo.es>
Facultade de Filoloxía e Tradución
Universidade de Vigo
Campus Universitario Lagoas/Marcosende s/n
36310 Vigo
Pontevedra
Tel.: 986 812 329
Fax: 986 812 380
http://www.tradutoresgalegos.org [Asociación de Tradutores Galegos]
http://www.bivir.com [Biblioteca Virtual]
http://www.uvigo.es/webs/h06/weba573/indice.html [Área de T&I]
http://webs.uvigo.es/alugris [Docencia]
=======================================================================
*
Mike,
Can you document useful code snipets like this on the XWiki site? Thanks.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Mike Oliver
Sent: 22 May 2008 20:56
To: users(a)xwiki.org
Subject: Re: [xwiki-users] Creating a Toolbar of my own
Bingo we have a winner...
#set ($hql = ", BaseObject as obj where obj.name=doc.fullName
and obj.className='XWiki.ToolbarClass' and
obj.name<>'XWiki.ToolbarClassTemplate'")
#set ($toolbars= $xwiki.searchDocuments($hql))
#if ($toolbars.size() > 0)
#foreach ($toolbar in $toolbars)
#set ($itemdoc = $xwiki.getDocument($toolbar))
#set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
#set ($imgsrc =
$xwiki.getAttachmentURL("$itemdoc","$itemdoc.display('UpIcon')"))
* <a href="/xwiki/bin/view/$itemdoc.display('GotoPage')"><img
src="$imgsrc"/></a> [$toolbar] <br>
Mike Oliver wrote:
>
> Ok almost there...
>
> This line works with the Click here link, but the img link doesn't.
>
>
> * <img src="$imgsrc"/> [Click here>$itemdoc.display('GotoPage')]
> [$toolbar] <br>
>
>
> Mike Oliver wrote:
>>
>> Ok proding right along I got the icon attached to the toolbar page to
>> display for each in the toolbars list, but the link on the image doesn't
>> work.
>>
>> Here is the latest...
>>
>> #set ($hql = ", BaseObject as obj where obj.name=doc.fullName
>> and obj.className='XWiki.ToolbarClass' and
>> obj.name<>'XWiki.ToolbarClassTemplate'")
>> #set ($toolbars= $xwiki.searchDocuments($hql))
>> #if ($toolbars.size() > 0)
>> #foreach ($toolbar in $toolbars)
>> #set ($itemdoc = $xwiki.getDocument($toolbar))
>> #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass'))
>> #set ($imgsrc =
>> $xwiki.getAttachmentURL("$itemdoc","$itemdoc.display('UpIcon')"))
>>
>> * [<img src="$imgsrc"/> > $itemdoc.display('GotoPage')]
>> [$toolbar] <br>
>>
>> #the following is just to show what's in the properties using a couple
>> different methods, I tried both above.
>> $itemdoc.display('UpIcon') | $itemdoc.display('DownIcon') |
>> $itemdoc.display('GotoPage') | $itemobject.getProperty('GotoPage').value
>> <br>
>>
>> #end
>> #else
>> #info("There are no Toolbar documents in this wiki!")
>> #end
>>
>>
>> Mike Oliver wrote:
>>>
>>> Ok first problem solved the img link had the arguments in the wrong
>>> order so
>>>
>>> <mg
>>>
src="$xwiki.getAttachmentURL("AEBtn0.jpg","Toolbar.AdvancedEditorButton")"
>>> /> was bad and
>>>
>>> <mg
>>>
src="$xwiki.getAttachmentURL("Toolbar.AdvancedEditorButton","AEBtn0.jpg")"
>>> /> was good.
>>>
>>> Now the question is, given the desire to show in the dashboard now and
>>> eventually in a panel later the icons named in the properties of the
>>> toolbar classes, how do I loop through the toolbars and build the displa
>>> from the properties?
>>>
>>>
>>> Mike Oliver wrote:
>>>>
>>>> I am making good progress on a new Class that has properties, style
>>>> sheet and template that I created after following the Todo Tutorial.
>>>>
>>>> The ToolbarClass has the following properties
>>>>
>>>> Type/Name/SampleContent
>>>>
>>>> String/Title/Advanced Editor
>>>> TextArea/Description/This button takes you to the advanced editor page
>>>> String/UpIcon/AEBtn0.jpg
>>>> String/DownIcon/AEBtn1.jpg
>>>> String/DisabledIcon/AEBtn2.jpg
>>>> String/GotoPage/Tools.AdvancedEditor
>>>>
>>>> Also following the Todo Tutorial I created the Toolbar Space Web Home
>>>> page dashboard with
>>>>
>>>>
>>>> #set ($hql = ", BaseObject as obj where obj.name=doc.fullName
>>>> and obj.className='XWiki.ToolbarClass' and
>>>> obj.name<>'XWiki.ToolbarClassTemplate'")
>>>> #set ($toolbars= $xwiki.searchDocuments($hql))
>>>> #if ($toolbars.size() > 0)
>>>> #foreach ($toolbar in $toolbars)
>>>>
>>>> * [$toolbar]
>>>>
>>>> #end
>>>> #else
>>>> #info("There are no Toolbar documents in this wiki!")
>>>> #end
>>>>
>>>> And I added the Comments object to the ToolbarClassTemplate
>>>> and then added a couple of document and attached the UPIcon and
>>>> DownIcon images as attachments.
>>>>
>>>> Going to the Web Home of the I see the list of the two document with
>>>> the ToolbarClass object on them so cool beans just as the tutorial
>>>> instructed with the names changed and bingo we have a winner.
>>>>
>>>> Now the tricky part, I want to show the attached images in the
>>>> dashboard for each document, where the property of the Toolbar object
>>>> for UpIcon is used to identifiy which attachment to display.
>>>>
>>>> I tried
>>>>
>>>>
>>>> #set ($hql = ", BaseObject as obj where obj.name=doc.fullName
>>>> and obj.className='XWiki.ToolbarClass' and
>>>> obj.name<>'XWiki.ToolbarClassTemplate'")
>>>> #set ($toolbars= $xwiki.searchDocuments($hql))
>>>> #if ($toolbars.size() > 0)
>>>> #foreach ($toolbar in $toolbars)
>>>>
>>>> * <<mg
>>>>
src="$xwiki.getAttachmentURL("AEBtn0.jpg","Toolbar.AdvancedEditorButton")"
>>>> /> [$toolbar]
>>>>
>>>> #end
>>>> #else
>>>> #info("There are no Toolbar documents in this wiki!")
>>>> #end
>>>>
>>>> where I know that AEBtn0.jpg is the attached image but that doesn't
>>>> show.
>>>>
>>>> Eventually I want to use the string in the UpIcon property to identify
>>>> the image to display but unless I can get the attachement to display on
>>>> another page I cannot proceed.
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Creating-a-Toolbar-of-my-own-tp17410485p17412204.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________
users mailing list
users(a)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
Hi,
I am using XE 1.3.2 and Mysql 5.0 with jetty 5.1.5. Can any one give a
support for JNDI configuration of jetty 5.1.5 (Not jetty 6). Or is it same
for both Jetty 5 & jetty 6? Can any one help?
Regards,
Project trainees.
Again,
Now, I will tell my problem in detailed!! I have create a class with
some properties and through this, I can insert & display data(by using
velocity and HTML). I have to fetch and insert this data into a Mysql
table. I could connect to Mysql through Groovy but couldn't integrate
this with Velocity.
The code which I have used and the error showed is:-
#foreach ($todo in $todos)
<tr>
#set ($todoDoc = $xwiki.getDocument($todo))
#set ($todoObj = $todoDoc.getObject("XWiki.TodoClass"))
<td>[$todoObj.ID>$todo]</td>
<td>[$todoObj.ProjectName>$todo]</td>
<td>$todoObj.Assignee</td>
<td>$todoObj.TargetDate</td>
<td>$todoObj.Status</td>
</tr>
<%
import groovy.sql.Sql
db = Sql.newInstance("jdbc:mysql://localhost/test", "root",
"amma123", "com.mysql.jdbc.Driver")
db.execute("insert into projects (id, project, assignee,
last_modified_datetime) values (${$todoObj.ID}, ${$todoObj.ProjectName},
${$todoObj.Assignee}), ${$todoObj.Status})")
%>
#end
Error number 4002 in 4: Error while parsing groovy page Todo.WebHome
Wrapped Exception: startup failed, Script1.groovy: 5: Unknown type:
SCOPE_ESCAPE at line: 5 column: 92. File: Script1.groovy @ line 5, column
92.
Hopes response,
Thanks,
Project trainees.
Hi!
In version 1.1.2 I was able to continue list using \ on the next
line, like:
1. lalalala\
#picture_macro()
1. rrererer\
#picture_macro()
So the picture or some text would be in the list item.
It was very nice when posting a big text with paragraphs, so you can
actually see those paragraphs in a wiki code.
But now (version 1.3) it doesn't work, and I'm forced to modify all
the pages and use instead this syntax:
1. lalala\#picture_macro()
1. ererer\#picture_macro()
Also, wiki code becomes "unreadable" when posting a big text.
Ar cieтu, Mihails