Dear xwiki-community,
Thank you for helping me sofar, getting my XWiki up and running. This
weekend I noticed that I could not login from my home computer. Here's what
I've found out:
Loggin in from a computer within the same network works; logging in from a
different network fails, resulting in the following error in xwiki.log:
2010-12-06 11:26:24,663
[http://tcs.dcc.ru.nl/xwiki/bin/loginsubmit/XWiki/XWikiLogin] WARN
xwiki.MyPersistentLoginManager - Login cookie validation hash mismatch!
Cookies have been tampered with
I have the following authentication settings in my xwiki.cfg:
xwiki.authentication.validationKey=<set to random string>
xwiki.authentication.encryptionKey=<set to random string>
xwiki.authentication.cookiepath=/xwiki
xwiki.authentication.logoutpage=(/|/[^/]+/|/wiki/[^/]+/)logout/*
xwiki.authentication.unauthorized_code=200
I'm running XWiki 2.6 on Tomcat6. Thanks for the help.
Best wishes,
Mark
--
View this message in context: http://xwiki.475771.n2.nabble.com/WARN-xwiki-MyPersistentLoginManager-Login…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi XWikiers,
We have written a software specification (SRD) inside our wiki. This
specification is a set of pages with graphics (as attached images) and
mockups (using Balsamiq Mockups).
Now, we want to communicate easily this specification to our external
partner and, of course, they can't access our wiki (intranet only).
Our first idea was to produce a document (PDF). We try to use the PDF export
but it seems that the inclusion of the children pages doesn't work. Other
problem with PDF (with a unique page), the included images don't appear.
Just for info, we are using the last 2.7 release of XWiki.
So, do you have encountered the same need and how did you solve it ? Do
XWord may help ? Other idea ?
Thanks for your response.
Maxime
First of all I want say Hello to all the community.
I'm newbie of XWiki and wiki in general; I'm trying to start a enterprise
wiki and I choose XWiki after many consideration.
To create a clean and organized wiki I want give to the users the
possibility of create page starting from some template.
Previously, I use PbWiki and this platform offer some template by default,
like:
- blank template
- meeting (to schedule meetings)
- press release
- project
- to do list
and so on.
I have see the
http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateADocumentTemplate LINK
that explain that purpose, but what I want to do is offer to the users a
choice from a list of templates to start from.
Have you some help to me?
Thank you
--
View this message in context: http://n2.nabble.com/Create-document-from-many-template-tp2424398p2424398.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
I'm running XEM based on XE 2.6.33077 with several wikis which behave
normally. However, I get plenty of exceptions in the log files such as
the one below. I checked what could be wrong with the documents having
an attached XWikiServerClass instance but I cannot find anything
suspect, and, again, the wikis seem to behave perfectly well.
Do you have any idea why I get this exception and how I can stop having
it raised?
======
ERROR wikimanager.WikiManagerPluginApi - Wiki [xwiki_edos] alias cant be
found
com.xpn.xwiki.plugin.wikimanager.WikiManagerException: Error number
50034 in 5: com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: Wiki
alias [xwiki_edos] document does not exist
Wrapped Exception: Error number 2 in 2: xwiki_edos object does not exist
[...]
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.XObjectDocumentDoesNotExistException:
Error number 2 in 2: xwiki_edos object does not exist
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.getXObjectDocument(AbstractXClassManager.java:821)
at
com.xpn.xwiki.plugin.wikimanager.doc.XWikiServerClass.getXObjectDocument(XWikiServerClass.java:440)
======
Thanks and cheers
Stéphane
--
Stéphane Laurière
Mandriva http://mandriva.com
Dear all,
I'm trying to extend a FAQ application from the tutorial on xwiki site.
I would like to add some FAQ entries from the external file in an automated or semi-automated way.
In the FAQ example there are: question, answer fields for every FAQ entry. Is it possible to add new entries
basing on the external data user provided ?
like to take a data from a text area in a form like:
"question1", "answer1"
"question2", "answer2"
and then create 2 new FAQ objects ?
I've found such a code snippet and fixed it to have:
## Create an object
#set($obj = $doc.newObject("FAQ.FAQClass"))
$obj.set("question","q1")
$obj.set("answer", "a1")
## Save the object in the page
$doc.save()
Even with that it fails to add new object to the existing list. Any clues how to accomplish that ?
Just to recap, I have two questions :
1. Could someone provide a code snippet, or point me to a documentation on creating/adding new objects in
the xwiki ( like how to set parentSpace, basic fields in that object and add it to the xwiki database ).
2. Are there any scenarios on importing data in to the XWiki ( would like to inject a lot of FAQ entries at
once, tried to do that directly to the database but that failed, I guess I should do that via velocity code ? ).
Thanks a lot for any help :)
Regards,
Piotr
Sergiu Dumitriu wrote ..
>
> Try this:
>
> {{html clean="false"}}
> <fieldset>
> <input type="hidden" name="classname" value="XWiki.XWikiComments" />
> <textarea name="XWiki.XWikiComments_comment" rows="5" cols="80"></textarea>
> <input type="submit" name="action_objectadd" value="Send comment"/>
> </fieldset>
> {{/html}}
Fantastic. Thanks. I should have thought to look at the comments...
> The trick is the name of the submit button. action_objectadd instructs
> the server to ignore the action specified in the URL where the form was
> submitted, and instead to use the action that's specified after the
> "action_" part, in this case "objectadd". This special form parameter
> gets submitted only when clicking the "Send comment" button.
Out of interest where is that caught, I'd like to take a look at the
processing. If you're pretty busy don't worry - I'll probably
grep around in the files or code till I find it anyway!
Cheers,
Adam
Hi -
I see that XWiki Enterprise 3.0 Milestone 1 was just released a week ago.
I also found the roadmap at http://enterprise.xwiki.org/xwiki/bin/view/Main/Roadmap
I can't tell from the announcement however what the intended use is...
Is this something that is likely to blow up ("alpha" quality)?
At what point in the roadmap does it make
sense for a new install to try a 3.0.x release instead of 2.x release?
In addition to stability of the software, what about stability of any
APIs - are those frozen in M1?
If I adopt M1, will M2 automatically upgrade from M1, or are automatic
upgrades only assured for migration from a stable 2.x release?
When 3.0 final is out, will work on 2.7 basically stop?
Will the current release of XWord work with XE 3.0M1?
Regarding extensions, the listing at http://extensions.xwiki.org/xwiki/bin/view/Main/
says nothing about version compatibility. I'm guessing that because of the velocity upgrade,
trying any extension with heavy velocity usage would be a gamble with XE 3.0M1 ?
Or is there an automatic "smoke test" report somewhere of what extensions are
certain to not work?
Sorry for all the questions, but I seem to have hit xwiki at a cusp in its lifecycle
so I'm in a quandary about which version to start with.
-mda
I am trying to use getTOC, but unfortunately, my example always returns zero
...
{{velocity}}
#set($d=$xwiki.getDocument('Sandbox.WebHome'))
#set($tree=$d.getTOC(0,3,false))
$tree.size()
#foreach($key in $tree.entrySet())
* $key.value.text
#end
{{/velocity}}
Can somebody help me with syntax? What's I doing wrong?
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Using-getTOC-function-tp5975427p5975427.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am trying to deploy xwiki on JBoss 5 using HSQL database. I have followed the Installation steps. When i start JBoss , it is unable to deploy xwiki.war . The other wars in the application are however deployed. The error message is given below.Please help.---------------08:12:19,078 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war08:12:19,397 INFO [TomcatDeployment] deploy, ctxPath=/docs, vfsUrl=docs.war08:12:19,508 WARN [config] Unable to process deployment descriptor for context '/docs'08:12:23,794 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console, vfsUrl=jmx-console.war08:12:24,313 INFO [TomcatDeployment] deploy, ctxPath=/logs, vfsUrl=logs.war08:12:24,619 WARN [config] Unable to process deployment descriptor for context '/logs'08:12:24,842 INFO [TomcatDeployment] deploy, ctxPath=/reports, vfsUrl=reports.war08:12:24,969 WARN [config] Unable to process deployment descriptor for context '/reports'08:12:25,311 INFO [TomcatDeployment] deploy, ctxPath=/updates, vfsUrl=updates.war08:12:25,402 WARN [config] Unable to process deployment descriptor for context '/updates'08:12:26,303 INFO [TomcatDeployment] deploy, ctxPath=/xwiki-enterprise-web-2.7, vfsUrl=xwiki-enterprise-web-2.7.war08:12:52,272 ERROR [Reflections] could not create Vfs.Dir from url. ignoring the exception and continuingorg.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [vfszip:/F:/gid_1/jboss/server/default/deploy/xwiki-enterprise-web-2.7.war/WEB-INF/lib/xbean-reflect-3.4.jar/META-INF/maven/]either use fromur-l(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType. at org.reflections.vfs.Vfs.fromur-l(Vfs.java:104) at org.reflections.vfs.Vfs.fromur-l(Vfs.java:89) at org.reflections.Reflections.scan(Reflections.java:136) at org.reflections.Reflections.<init>(Reflections.java:91) at org.xwiki.extension.repository.internal.DefaultCoreExtensionRepository.loadExtensions(DefaultCoreExtensionRepository.java:84) at org.xwiki.extension.repository.internal.DefaultCoreExtensionRepository.initialize(DefaultCoreExtensionRepository.java:72) at org.xwiki.component.em-bed.em-beddableComponentManager.createInstance(em-beddableComponentManager.java:429) at org.xwiki.component.em-bed.em-beddableComponentManager.initialize(em-beddableComponentManager.java:361) at org.xwiki.component.em-bed.em-beddableComponentManager.lookup(em-beddableComponentManager.java:126) at org.xwiki.component.em-bed.em-beddableComponentManager.createInstance(em-beddableComponentManager.java:403) at org.xwiki.component.em-bed.em-beddableComponentManager.initialize(em-beddableComponentManager.java:361) at org.xwiki.component.em-bed.em-beddableComponentManager.lookupList(em-beddableComponentManager.java:143) at org.xwiki.component.internal.DefaultComponentManager.lookupList(DefaultComponentManager.java:105) at org.xwiki.observation.internal.DefaultObservationManager.initialize(DefaultObservationManager.java:133) at org.xwiki.component.em-bed.em-beddableComponentManager.createInstance(em-beddableComponentManager.java:429) at org.xwiki.component.em-bed.em-beddableComponentManager.initialize(em-beddableComponentManager.java:361) at org.xwiki.component.em-bed.em-beddableComponentManager.lookup(em-beddableComponentManager.java:116) at org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:78) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) at org.jboss.web.deployers.WebModule.start(WebModule.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) at $Proxy36.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.ServiceController.doChange(ServiceController.java:688) at org.jboss.system.ServiceController.start(ServiceController.java:460) at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:547) at java.lang.Thread.run(Thread.java:595)08:12:52,277 ERROR [Reflections] could not create Vfs.Dir from url. ignoring the exception and continuingorg.reflections.ReflectionsException: could not create Vfs.Dir from url, no matching UrlType was found [vfszip:/F:/gid_1/jboss/server/default/deploy/xwiki-enterprise-web-2.7.war/WEB-INF/lib/xwiki-core-rendering-macro-groovy-2.7.jar/META-INF/maven/]either use fromur-l(final URL url, final List<UrlType> urlTypes) or use the static setDefaultURLTypes(final List<UrlType> urlTypes) or addDefaultURLTypes(UrlType urlType) with your specialized UrlType. at org.reflections.vfs.Vfs.fromur-l(Vfs.java:104) at org.reflections.vfs.Vfs.fromur-l(Vfs.java:89) at org.reflections.Reflections.scan(Reflections.java:136) at org.reflections.Reflections.<init>(Reflections.java:91) at org.xwiki.extension.repository.internal.DefaultCoreExtensionRepository.loadExtensions(DefaultCoreExtensionRepository.java:84) at org.xwiki.extension.repository.internal.DefaultCoreExtensionRepository.initialize(DefaultCoreExtensionRepository.java:72) at org.xwiki.component.em-bed.em-beddableComponentManager.createInstance(em-beddableComponentManager.java:429) at org.xwiki.component.em-bed.em-beddableComponentManager.initialize(em-beddableComponentManager.java:361) at org.xwiki.component.em-bed.em-beddableComponentManager.lookup(em-beddableComponentManager.java:126) at org.xwiki.component.em-bed.em-beddableComponentManager.createInstance(em-beddableComponentManager.java:403) at org.xwiki.component.em-bed.em-beddableComponentManager.initialize(em-beddableComponentManager.java:361) at org.xwiki.component.em-bed.em-beddableComponentManager.lookupList(em-beddableComponentManager.java:143) at org.xwiki.component.internal.DefaultComponentManager.lookupList(DefaultComponentManager.java:105) at org.xwiki.observation.internal.DefaultObservatio.............................................