[xwiki-users] XWiki installation fails on Fedora 14

2011-05-02 Thread shtegtari
The attempt to install XWiki on Fedora 14 fails with the following error 
message:

# java /opt/downloads/xwiki-enterprise-installer-generic-3.0-standard.jar
Exception in thread main java.lang.NoClassDefFoundError: 
/opt/downloads/xwiki-enterprise-installer-generic-3/0-standard/jar
Caused by: java.lang.ClassNotFoundException: 
.opt.downloads.xwiki-enterprise-installer-generic-3.0-standard.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: 
/opt/downloads/xwiki-enterprise-installer-generic-3.0-standard.jar. Program 
will exit.

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


Re: [xwiki-users] FavIcon

2011-05-02 Thread Le Génie
Hello Yannick,

First, go to the presentation section of the administration page.
Add the following lines in the HTTP Meta Information :

link rel=icon href=$xwiki.getSkinFile(favicon.ico)
type=image/x-icon/ link rel=shortcut icon
href=$xwiki.getSkinFile(favicon.ico) type=image/x-icon/

Then, visit the XWiki.DefaultSkin page and attach a favicon.ico file.
Finally, the most important, refresh your browser cache.

Hope this help.
Maxime

2011/5/1 Yannick Dewilde yannick.dewi...@gmail.com

 Hi,

 I am trying to include a FavIcon in my wiki and I've found this
 information, but it doesn't help me...

 Regards

 Yannick




 Sylvain Desbureaux wrote:
 * Hi,** I don't manage to put a favicon for xwiki. Any clues ?** *
 Well, a favicon is usually placed in the root of the URL, like
 www.myserver.com/favicon.ico

 Doing that in a java webapp container usually involves adding that file
 not to the xwiki webapp, but to the ROOT webapp. In tomcat, there is a
 ROOT directory inside webapps.

 Another solution is to put something like this in
 webapps/xwiki/skins/albatross/htmlheader.vm:

 link rel=icon href=$xwiki.getSkinFile(favicon.png)
 type=image/png/
 link rel=shortcut icon href=$xwiki.getSkinFile(favicon.png)
 type=image/png/

 and put a favicon.png (you can change the name, if you want) in
 webapps/xwiki/skins/albatross

 If you're not using the albatross skin, change the path accordingly.

 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


[xwiki-users] Moving XWiki instance from a dead server to new one

2011-05-02 Thread shtegtari
I posted an e-mail with subject “XWiki installation fails on Fedora 14”
because I had seen this response.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] textarea in firefox4

2011-05-02 Thread Marius Dumitru Florea
Hi Gerritjan,

On 04/29/2011 10:05 AM, Gerritjan Koekkoek wrote:
 Hi,


First of all, what XWiki Enterprise version are you using?

 When I go to xwikipages containing inline form with textarea fields I get 
 spinningwheels in each of these field, but no editor

I suppose those fields have WYSIWYG set as their editor in the xclass, 
right? Can you edit simple wiki pages in WYSIWYG edit mode? Can you 
check with Firebug if there are any JavaScript exceptions?

 Same with some javascript driven imageslideshows

I'm not sure what you are referring to.

Hope this helps,
Marius


 Is this a firefox4 problem. (it used to work in firefox 3.x)
 Same pages work fine in google chrome

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


Re: [xwiki-users] Multiple Wikis

2011-05-02 Thread Thomas Mortagne
On Mon, May 2, 2011 at 07:26, Christian Wawrzinek w...@yellowhippy.com wrote:
 Hello everyone.

 Maybe my question is stupid or I am missing something but isn't having 
 multiple wikis managed by one instance without physical cut off a great 
 security risk.
 Couldn't the admin of one wiki install an extension to view the filesystem 
 and therefor gain access to all other wikis?

You need programming right to install an extension for now (latter a
more detailed right handling will be implemented for xar extensions)
so no that's not possible. The only thing a wiki admin can do is
import wiki page on his wiki.


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




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


Re: [xwiki-users] Multiple Wikis

2011-05-02 Thread wac
Hello,

so currently it is not possible to deploy full(where every wiki has a  
real administrator) wikis with the XWiki Enterprise Manager.

Cheers,
Chris

  Zitat von Thomas Mortagne thomas.morta...@xwiki.com:

 On Mon, May 2, 2011 at 07:26, Christian Wawrzinek  
 w...@yellowhippy.com wrote:
 Hello everyone.

 Maybe my question is stupid or I am missing something but isn't  
 having multiple wikis managed by one instance without physical cut  
 off a great security risk.
 Couldn't the admin of one wiki install an extension to view the  
 filesystem and therefor gain access to all other wikis?

 You need programming right to install an extension for now (latter a
 more detailed right handling will be implemented for xar extensions)
 so no that's not possible. The only thing a wiki admin can do is
 import wiki page on his wiki.


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




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


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


Re: [xwiki-users] XWiki installation fails on Fedora 14

2011-05-02 Thread andyp
Hi,

I might have a similar problem but as yet no one has offered any help.  My
error is listed below.  What servlet container are you using?

http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-td6309076.html

Cheers,
Andy


The attempt to install XWiki on Fedora 14 fails with the following error
message: 

# java /opt/downloads/xwiki-enterprise-installer-generic-3.0-standard.jar 
Exception in thread main java.lang.NoClassDefFoundError:
/opt/downloads/xwiki-enterprise-installer-generic-3/0-standard/jar 
Caused by: java.lang.ClassNotFoundException:
.opt.downloads.xwiki-enterprise-installer-generic-3.0-standard.jar 
at java.net.URLClassLoader$1.run(URLClassLoader.java:217) 
at java.security.AccessController.doPrivileged(Native Method) 
at java.net.URLClassLoader.findClass(URLClassLoader.java:205) 
at java.lang.ClassLoader.loadClass(ClassLoader.java:321) 
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) 
at java.lang.ClassLoader.loadClass(ClassLoader.java:266) 
Could not find the main class:
/opt/downloads/xwiki-enterprise-installer-generic-3.0-standard.jar. Program
will exit. 

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-installation-fails-on-Fedora-14-tp6322935p6323393.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] A question about XWiki concept

2011-05-02 Thread Guillaume Lerouge
Hi Marius,

On Fri, Apr 29, 2011 at 18:22, mar3lis marius...@inbox.lt wrote:

 Hey guys. I'm still having trouble figuring out the XWiki platform. I have
 a
 project to do. The main goal is publish information about lectures and
 allow
 users to register to those lectures.
 The headache for me is, how to connect these things. I mean in normal
 php/mysql project I would know how to do it, there is some tables, I add
 information of the user and when I need that information I just make a
 query. What could be the methods to do that in XWiki? How to connect that
 specific user has registered to that lecture? What would be the best way to
 store that kind of information?


You can find more information about the XWiki data model and how it works
here:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/

And developing a sample application here:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial

Guillaume

Thank you in advance

 Marius Vizbaras--
 View this message in context:
 http://xwiki.475771.n2.nabble.com/A-question-about-XWiki-concept-tp6317490p6317490.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki.war + JBoss AS6 + MySQL

2011-05-02 Thread andyp
Hi all,

Please help here if you can - XWiki breaks JBoss.  Could this be a library
conflict?  Maybe someone could suggest what jars could be causing the
problem?

Cheers,
Andy

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-war-JBoss-AS6-MySQL-tp6309076p6323569.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki installation fails on Fedora 14

2011-05-02 Thread Eduard Moraru
Hi shtegtari,

In order to execute a jar from command line, you have to pass the -jar 
parameter like:

# java -jar 
/opt/downloads/xwiki-enterprise-installer-generic-3.0-standard.jar

If you do not pass the -jar parameter, java tries to launch the class 
named 
/opt/downloads/xwiki-enterprise-installer-generic-3.0-standard.jar 
which is obviously not found.

Thanks,
Eduard

On 05/02/2011 10:25 AM, shtegtari wrote:
 The attempt to install XWiki on Fedora 14 fails with the following error 
 message:

 # java /opt/downloads/xwiki-enterprise-installer-generic-3.0-standard.jar
 Exception in thread main java.lang.NoClassDefFoundError: 
 /opt/downloads/xwiki-enterprise-installer-generic-3/0-standard/jar
 Caused by: java.lang.ClassNotFoundException: 
 .opt.downloads.xwiki-enterprise-installer-generic-3.0-standard.jar
  at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
  at java.security.AccessController.doPrivileged(Native Method)
  at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
  at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
  at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 Could not find the main class: 
 /opt/downloads/xwiki-enterprise-installer-generic-3.0-standard.jar. Program 
 will exit.

 #
 ___
 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] Panel Wizard - permissions

2011-05-02 Thread Elsa Marks
Hi

I have created an editor user and a student user.
I want to modify the left panel . For example, I want to remove the quick
links panel to the student user but not to the editor.

Is is possible to do it  ?

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


[xwiki-users] navigation

2011-05-02 Thread Yannick Dewilde
Hi,

I would like to create a panel showing only certain spaces but not all of
them for the other users.

Could you help me? because when I use the navigation pannel, it shows all
the spaces

Regards

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


Re: [xwiki-users] Add a user on a User List property

2011-05-02 Thread Sergiu Dumitriu
On Mon, Feb 2, 2009 at 17:11, Jean Couteau cout...@codelutin.com wrote:
 Dear all,

 I have a class with a UserList attribute. I am trying to add users to

The UserList property is not that well maintained, and actually it
does not use a list internally. The actual data type inside is the
LargeStringProperty, which is a string (the same as TextArea). You
should instead use a DBListProperty, which is maintained and should
work as expected. The following code (and corrections) should work
with a DBList property only (also, only if Multiple select and
Relational storage are checked for the property, since otherwise you'd
also get a LargeStringProperty instead of a list).

 this list from an other page with no success. I try using the following
 code :

 #if($joinTask!=)
  #set($taskDoc = $xwiki.getDocument(Project.${joinTask}))
  #set($taskObj = $taskDoc.getObject(XWiki.TaskClass))
  #set($list = $taskObj.get(assignedPeople))

$taskObj.get doesn't return the internal value of the property, but it
actually displays the value as HTML. The right approach is:

#set($list = $taskObj.getProperty('assignedPeople').value)

Now $list is a real java ArrayList, so the next code will work.

  $list.add($xwiki.getUser())
  $taskObj.set(assignedPeople, ${list})

^ This is not needed, the list is already the property value. It's
enough to save the document.

  $taskDoc.save()
 #end

 but $list.add does not exist so I tried differently :

 #if($joinTask!=)
  #set($taskDoc = $xwiki.getDocument(Project.${joinTask}))
  #set($taskObj = $taskDoc.getObject(XWiki.TaskClass))
  #set($list = $util.getArrayList())
  $list.add($xwiki.getUser())
  $taskObj.set(assignedPeople, ${list})
  $taskDoc.save()
 #end

 but I have a casting exception.

 I had a look on the velocity website, on this list archives,... with no
 success

 My question is : Can I add users like that or the only way is through
 the edit panel and if yes, what is my mistake ?

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


[xwiki-users] Error while parsing velocity page Wrapped Exception

2011-05-02 Thread wac
Hello,

after editing the parant of a page I do get the following error on  
every single page, execpt the log in. Therefor I think maybe one of my  
panels has issues.
Is there a way to disable those. Or any other ideas what might be wrong?

Thanks,
Chris


Error number 4001 in 4: Error while parsing velocity page Wrapped  
Exception: Failed to evaluate content with id []

Error number 4001 in 4: Error while parsing velocity page
Wrapped Exception: Failed to evaluate content with id []
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while  
parsing velocity page
Wrapped Exception: Failed to evaluate content with id []
at  
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1924)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1843)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:154)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:226)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:117)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
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.ActionFilter.doFilter(ActionFilter.java:129)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at  
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at  
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at  
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:218)
at  
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at  
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at  
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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:172)
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:174)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
at  
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
at  
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
at  
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:662)


Wrapped Exception:

java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:85)
at java.util.Stack.pop(Stack.java:67)
at  
org.apache.velocity.context.InternalContextBase.popCurrentMacroName(InternalContextBase.java:140)
at  
org.apache.velocity.context.InternalContextAdapterImpl.popCurrentMacroName(InternalContextAdapterImpl.java:163)
at  

[xwiki-users] Adding and removing values to properties programmatically

2011-05-02 Thread mar3lis
Hey guys. Are there some certain commands for adding/removing values to
Static or DB lists? Or maybe there are some other ways around to make it
work? For programmatically configuring the values.

Thank you in advance

Marius Vizbaras

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Adding-and-removing-values-to-properties-programmatically-tp6325371p6325371.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