Hello guys,
I need to send emails and notifcations from the XWiki. Problem is that xwiki can't configure password for SMTP user. This is impossible in my case to cancel the passsword for the SMTP server.
Will I need to write my own plugin for that or its possible to do that in someway?
Cheers,
Hosam
Hi XWiki users,
I have encountered a problem where after running XWiki on my tomcat server for a week, i get an java.lang.OutOfMemoryError: PermGen space error. It appears that xwiki consumed all the java heap space. I believe the problem may be related to unreleased DB connections because, I noticed that everytime I try to shutdown tomcat, it hangs with xwiki deployed, also by running "ps aux" i see the postgresql connection processes belonging to xwiki still running. I tried deploying another application that uses hibernate + postgresql on the same tomcat running xwiki, and upon shutting down the server, all db connection processes from the other application gracefully terminate but not the ones from xwiki.
My question is does anyone ever had this problem before? If so what is the solution?
Solutions that I have tried but did NOT work:
1- Increase java heap with -Xmx512m
2- Reduce the maximum and minimum idle DB connections
My system specs:
OS: Linux ubuntu kernel 2.6.20
Java: 1.6.0_05-13
Xwiki: 1.4 (binary distribution)
Posgresql: 8.2.6
Total RAM: 1Gb
Any help will be very much appreciated.
Richard
_________________________________________________________________
Make every e-mail and IM count. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount
Hello,
I have a question about the displaying of filenames for files attached
to pages. There seems to be a limit of 25 characters in the body of the
filename before the filename is truncated, and the filename is shown as
ReallyLongAttachedFilenam~.ext on the page.
Long filenames are pretty important for the users of my wiki, and I
would like to know how I could go about changing the display name
formatting. I have looked through the XWiki attachment, document, and
URL generation source code in search of the code that controls this, but
I was not successful in finding it.
Is there a configurable option somewhere that I have missed, or do I
need to alter the source code (if so, which classes/methods)?
Thanks,
-Daniel Selifonov
Hello,
I have a recursive velocity macro that calls the Image macro provided by
XWiki. Weirdly, the call doesn't work only for the first call of this
recursive function. All the subsequent ones (the really "recursive" calls)
render the image perfectly. For the first call what's rendered is the code
that calls the image macro, with the brackets and everything, as if I had
escaped it somehow.
Does anyway has any idea of what is happening?
Maybe it helps if you can see the code, so here it goes. The calls to my
macro and to the image macro are in bold:
#macro (createChildrenNodes $parentNodeName $childrenSkillList)
#foreach ($skill in $childrenSkillList)
#set ($iconStyleClass = "ygtv")
#if($velocityCount == $childrenSkillList.size())
#set($iconStyleClass = $iconStyleClass + "l")
#else
#set($iconStyleClass = $iconStyleClass + "t")
#end
#if ($skill.hasChildren)
#set($iconStyleClass = $iconStyleClass + "p")
#else
#set($iconStyleClass = $iconStyleClass + "n")
#end
var node$skill.id = new YAHOO.widget.HTMLNode('<table border=0
cellpadding=0 cellspacing=0><tr><td><div
class="$iconStyleClass"></div></td><td><a href="./EditSkill?skillId=$
skill.id">$skill.name</a> <a
href="./DefiningExistentSkills?do=delete&skillId=$skill.id">*{image:supprimer.bmp|13|alt=Click
to delete skill $skill.name}*</a></td></tr></table>', $parentNodeName,
true);
*#createChildrenNodes("node$skill.id" $skill.children)*
#end
#end
function treeInit()
{
var tree = new YAHOO.widget.TreeView("treeview");
var root = tree.getRoot();
*#createChildrenNodes('root' $xwiki.cartography.getSkillTree())*
tree.draw();
}
treeInit();
Thanks,
--
Tiago Rinck Caveden
http://caveden.multiply.com
Hi,
What should be done to get the top menu items in a single line?
We are using menuitem to create the menu items which we get in multiple lines.
Can you provide us the way in which the menu should be created in a single line.
Thanks,
Sara
I just copied and pasted the xwiki folder when I was migrating I didn't even download anything.
Original Message:
Hosam Hassan wrote:
<br />> The tomcat it works with is 6.0.14 and the one which is messed up is 5.5.23
<br />
<br />It shouldn't depend on the version of tomcat. Are you sure it is the
<br />same version of XWiki Enterprise on both servers? In older releases (I
<br />think before 1.1) the {code} allowed executing scripts.
<br />
<br />> Original Message:
<br />>
<br />> Hosam Hassan wrote:
<br />> <br />> Hello,
<br />> <br />>
<br />> <br />> I have the problem that
<br />> <br />> {code}
<br />> <br />> #set($e = "Hello")
<br />> <br />> {code}
<br />> <br />>
<br />> <br />> displays only the gray codebox, but not the code itself.
<br />> <br />> The code is nevertheless not executed. So when I call $e it has not the value "Hello".
<br />> <br />>
<br />> <br />> I am running the same xwiki installation on two computers, one for testing (everything works fine) the other running. I search every file for possible changes but could not find one. The only difference between the two is the Tomcat version.
<br />> <br />>
<br />> <br />What version?
<br />> <br />--
<br />> <br />Sergiu Dumitriu
<br />> <br />http://purl.org/net/sergiu/
<br />> <br />_______________________________________________
<br />> <br />users mailing list
<br />> <br />users(a)xwiki.org
<br />> <br />http://lists.xwiki.org/mailman/listinfo/users
<br />> <br />
<br />>
<br />
<br />--
<br />Sergiu Dumitriu
<br />http://purl.org/net/sergiu/
<br />_______________________________________________
<br />users mailing list
<br />users(a)xwiki.org
<br />http://lists.xwiki.org/mailman/listinfo/users
<br />
--
Hi!
I would like to know whether XWiki's email plugin is available in
myxwiki farm or if there is any other way to send emails to users of a
particular wiki.
Thanks!
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]
=======================================================================
*
Hi
I was able to contribute to xwiki.org before but I can't even post a
comment to this page (once logged in):
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/UpgradeXWiki09Instal
lation
Is there a problem?
In this page, I have a response for Martin and I wants the admin to know
that the 2 references js files are missing from the attachments section.
Marc
Hello
I know that this code retrieves all the documents: $xwiki.getSpaceDocsName($doc)
my question is this: is it possible to specify which documents can be left unwritten in the list?
for instance if i have these spaces: Website1, Website2, XWiki, Main etc and i don't wanna show "XWiki, Main", how can i approach this in velocity code?
Thanks
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
Hello people,
I am using a tree and i would be interested in changing the link,url, "a href", (SAVE) of the child, when i am adding a new page as a child and saving that element.
Thank you so much :)
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
Is there a way that a panel can be aware of the current page context so I can
enable and disable graphics based on which page is currently active?
--
View this message in context: http://www.nabble.com/Panel-aware-of-page-tp17458341p17458341.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm preparing XWiki for use in our company. The entry Wiki pages will be in english and german.
While exporting the page XWiki.WebHome only the english version got exported. Multilanguage is set in preferences for both languages, the german language was selected and the german translation was shown.
Using the Application Manager to select all pages with translations led to the same result.
How can i export all translations of a Wiki page, please?
Regards,
Rudi
Schon gehört? Der neue WEB.DE MultiMessenger kann`s mit allen:
*http://www.produkte.web.de/messenger/?did=3016* [http://www.produkte.web.de/messenger/?did=3016]
i have tried this way around the template stuff.
i have made a page in XWiki and placed there my templates. include templates.
if i include only one template: #template("smthing.vm") it works fine, but if i wanna include more i receive this message : "Cannot make recursive include". i don;t know how to work around this one. any ideas? :)
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
The tomcat it works with is 6.0.14 and the one which is messed up is 5.5.23
Original Message:
Hosam Hassan wrote:
<br />> Hello,
<br />>
<br />> I have the problem that
<br />> {code}
<br />> #set($e = "Hello")
<br />> {code}
<br />>
<br />> displays only the gray codebox, but not the code itself.
<br />> The code is nevertheless not executed. So when I call $e it has not the value "Hello".
<br />>
<br />> I am running the same xwiki installation on two computers, one for testing (everything works fine) the other running. I search every file for possible changes but could not find one. The only difference between the two is the Tomcat version.
<br />>
<br />What version?
<br />--
<br />Sergiu Dumitriu
<br />http://purl.org/net/sergiu/
<br />_______________________________________________
<br />users mailing list
<br />users(a)xwiki.org
<br />http://lists.xwiki.org/mailman/listinfo/users
<br />
--
hello
i wanna include a template like this: $mydoc.setContent(#template("treemenu.vm")) but the syntax is not right. I have tried this too: $mydoc.setContent("#template("treemenu.vm")") but same.
do you know the right way to write this line of code?
thx
Take care ,
Gabriela Radu :)
www.gabrielaradu.com
Hi!
I have a wiki in xwiki farm. I cannot configure the wiki to show
the Watch menu.
I'm also trying to configure an email list to mail all users but
cannot find how. I've tried all documentation files, FAQs, etc. but to
no avail. Any help is welcome!
Thanks in advance,
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]
=======================================================================
*
Hi Nathan,
By "Portal" you mean "the floating box on the right which shows a bunch of
interesting links in a fashioned way, added only with the small code
{{Platonism}} ?" I never tried but this is how I would do it :
you can try to create the portal page which only shows a floating box with
the macros #startfloatingbox() & #endfloatingbox(), or simply
#floatingbox("Some content"). Then, create the target page and write the
macro #includeForm("Space.Name") to insert the portal.
Does it work? Is that what you asked for?
Cheers,
Sebastien Fieux
Hi everyone,
I work for a company that is looking at xWiki as a candidate for an in-house
wiki set-up. It seems to meet all the features that we need, with the
exception of navigation. What we'd really like is to be able to set up
"portals" on wiki pages, so that the article is displayed in context. An
example of what I'm talking about would be the portal on the right of this
Wikipedia page: http://en.wikipedia.org/wiki/Neoplatonism. Is this possible
in xWiki? Would I use HTML for it?
Thanks in advance,
Nathan Hunt
--
9Wood, Inc.
tel 888.767.9990
fax 888.767.9998
www.9wood.com
I had to count the number of connections to the database needed by XWiki to
set the appropriate number in the DB configuration.
I saw (http://jira.xwiki.org/jira/browse/XWIKI-2332 ) that there is one
session factory for every Hibernate Store. After a quick look on the web I
understood that a session factory provides one session at a time (basically:
if the session is open, then re-use the same session), and the session owns
the connexions pool, set to 1 by hibernate.cfg.xml. So I assume I should
have one opened connexion for every Hibernate store.
According to the initXWiki method from the com.xpn.xwiki.XWiki class, there
is 7 stores :
- Main store
- Attachments store
- Versioning store
- Attachment versioning store
- Recycle bin store
- Attachments recycle bin store
- Migration store (updating the database after XWiki update).
So my question is : Am I right ? Are 7 connexions really enough ? It seems
to work, although I didn't tested everything more than seeing pages. Any
answer from someone having a better knowledge of XWiki's internal
functionment and/or Hibernate would be welcome.
All that waiting for the 1.5 version which should allow a shared factory
between every store...
Thanks a lot,
Sebastien Fieux
Hello,
I have the problem that
{code}
#set($e = "Hello")
{code}
displays only the gray codebox, but not the code itself.
The code is nevertheless not executed. So when I call $e it has not the value "Hello".
I am running the same xwiki installation on two computers, one for testing (everything works fine) the other running. I search every file for possible changes but could not find one. The only difference between the two is the Tomcat version.
Thanks in advice
Hello all,
When I try to make an ordered list using the WYSIWYG editor I don't get any numbers besides the list!
If I made an unordered list, no bullets are displayed in the editor but when I save they are displayed!
Any idea how can i fix those two problems
Cheers,
Hosam
Hi Vincent,
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?
I am sending the same for three times! Is this an answred Qn:? I
have followed this:-
http://xwikisql.gradsoft.ua/docs/XWikiSqlPluginGuide.html, but it
shows the error:-
Error number 4001 in 4: Error while parsing velocity page
main.amma Wrapped Exception: Invocation of method 'getDatabase' in
class ua.gradsoft.xwikisql.SqlPluginApi threw exception
ua.gradsoft.xwikisql.SqlRuntimeException: exception during
creation of datasource XWikiDS @ main.amma2,23
Regards,
Project trainees.
Hello,
Earlier today I was reading some plugins' documentations, but now I can't
see anything anymore. If I try to access any plugin doc in code.xwiki.org I
receive this error on the subject...
Thanks,
--
Tiago Rinck Caveden
http://caveden.multiply.com