Hi!
It is possible to login in xwiki as a user without password? I want to link
from a software in my Hospital to xwiki. The only variable a have is the
real-name and user-name. I think about a login via velocity script with a
special admin user/password as a bridge component.
Hospital system ------------------------------> xwiki
username "foo" foo
admin ----open xwiki--------------->
pasword
--
View this message in context: http://xwiki.475771.n2.nabble.com/autologin-without-password-tp6986733p6986…
Sent from the XWiki- Users mailing list archive at Nabble.com.
> Hi Martin,
>
> On Thu, Nov 10, 2011 at 12:53 PM, Martin Evans <website(a)studenthubs.org>
> wrote:
> >>
> >> On 11/08/2011 04:03 PM, Martin Evans wrote:
> >> > I have a job scheduled to run once an hour. It logs its progress and I
> >> can
> >> > see that it's not completing the task. The weird thing is it gets a
> >> > different amount through each time. And if I paste the groovy code
> into a
> >> > normal page and view it, it executes the whole script no problems.
> >> >
> >> > Any ideas anyone?
> >>
> >> It should not stop for external reasons, the only thing that could stop
> >> it is an exception triggered while running the code, like a
> >> NullPointerException when reading some data. Can you give more details,
> >> what exactly does the code try to do?
> >> --
> >> Sergiu Dumitriu
> >> http://purl.org/net/sergiu/
> >>
> >> Ok so is there any way to see what exceptions are raised?
>
> > I don't think it is that, because when I run it in a page it works fine.
>
> This is not a good indicator because the servlet context (when you run
> your script in a wiki page) is very different than the "daemon"
> context (when your script is triggered by a scheduler). In the later
> you don't have the (servlet) request and response objects and thus you
> don't have a current document.
>
> Hope this helps,
> Marius
>
Thanks but in that case how can I debug the daemon script? It doesn't do
what it is meant to do, and that's all I know. What's stranger is that it
sometimes gets further through the scrip than other times.
Martin
I am out of the office until 11/14/2011.
Out on Veterans Day November 11; back in the office on Monday, November 14.
Note: This is an automated response to your message "users Digest, Vol 52,
Issue 29" sent on 11/11/2011 2:39:14.
This is the only notification you will receive while this person is away.
>
> On 11/08/2011 04:03 PM, Martin Evans wrote:
> > I have a job scheduled to run once an hour. It logs its progress and I
> can
> > see that it's not completing the task. The weird thing is it gets a
> > different amount through each time. And if I paste the groovy code into a
> > normal page and view it, it executes the whole script no problems.
> >
> > Any ideas anyone?
>
> It should not stop for external reasons, the only thing that could stop
> it is an exception triggered while running the code, like a
> NullPointerException when reading some data. Can you give more details,
> what exactly does the code try to do?
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
> Ok so is there any way to see what exceptions are raised? I don't think it
is that, because when I run it in a page it works fine. But I know the
scheduler can behave differently so I'm happy to investigate it.
The script reads and parses RSS XML from an external site, and creates or
updates contents of pages and objects as necessary. I'm not keen to post
the whole source code on here but if someone has some experience that could
help, I can email it directly.
Martin
Hi
My diagramming tool creates a set of html pages. I want these to be
accessible from my xwiki with the xwiki logon and security and not
otherwise. Is this possible? I've looked in the docs for "static html
pages" and not found anything useful (perhaps I'm looking for the
wrong thing). There are quite a few pages, all interlinked, and they
get rebuilt every time I do a diagram change, so anything that
involves importing them other than as a bulk transfer wouldn't really
be viable. Putting them on a completely separate web would require
logon / security synchronisation which I'd rather avoid. The pages are
an output - I don't need them version tracked.
Thanks
Tim
Hi,
I migrated successfully to XWiki 3.2, and tried to install the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application
Workspace Application.
I first installed the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Wiki+Manager+Plugin
Wiki Manager Plugin , then the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Component
Workspace Component , then the
http://extensions.xwiki.org/xwiki/bin/view/Extension/Workspace+Application
Workspace Application , browse to Install page and attached
workspace-template.xar as indicated (and also set xwiki.virtual=1 in my
xwiki.cfg).
After restarting (and some checks that plugins were correctly installed), I
found that :
- unexpectedly to reach my home page now I have to use an url like this :
http://host:port/xwiki/*wiki/xwiki*/view/Main/
..., or else it complains that this wiki does not exist. I would have
thought that the workspace app would not have changed the urls for everyone
...
- the urls generated inside the pages do not match this new url scheme, so
they all point now to a not existing wiki
- Browsing to WorkspaceManager.Install throws an exception in the page :
Error installing workspace template. Error number 50035 in 5: Exception in
plugin [com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin]: Wiki
[workspacetemplate] database update failed
Wrapped Exception: Error number 3202 in 3: Exception while reading document
[name = [XWikiPreferences], type = [DOCUMENT], parent = [name = [XWiki],
type = [SPACE], parent = [name = [workspacetemplate], type = [WIKI], parent
= [null]]]]
Wrapped Exception: Error number 3301 in 3: Exception while switching to
database [workspacetemplate]
Wrapped Exception: Access denied for user 'xwiki'@'127.0.0.1' to database
'workspacetemplate'
I tried to grant all privileges (MySql) on *.* to my user xwiki on
127.0.0.1, but it did not change anything.
To summarize : very good impression on xwiki 3.2, but not so good for now on
workspaces :D
Thanks for help,
Jerem
--
View this message in context: http://xwiki.475771.n2.nabble.com/Troubles-with-XWiki3-2-Workspace-Applicat…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Pre version 3.2 of Enterprise Manager, there was an option (a checkbox) to
auto save the document while in Edit mode. This seems to have disappeared
in version 3.2. Was this removed or does it now auto-save without having to
specify that option?
Thanks
Hi all,
Do you found that ctrl-v, the paste shortcut, is not available in the
Go-to panel, which can be called by ctrl-g. Is is easy to enable this?
Thanks!
I'm a complete newbie here. I ran through the Sample Application web page (FAQ Application)
and so-far so-good. I want to improve the user experience for adding a new FAQ entry.
For now my users select Add -> Page
then click on FAQTemplate
then they should know that they cannot change the 'Space Name' field
then they choose a page name
then they click "create"
Instead, I'd like to create a customized page which has only:
page name field
<create FAQ entry> button
Where should I look in the docs to see how to do this?
--chris
I have a job scheduled to run once an hour. It logs its progress and I can
see that it's not completing the task. The weird thing is it gets a
different amount through each time. And if I paste the groovy code into a
normal page and view it, it executes the whole script no problems.
Any ideas anyone?
Martin