Hi all,
I've followed the install procedure for XWiki 1.1 milestone 3 - using
HSQL and OC4J. It works in that I can go to
/xwiki
and I get a page 'XWiki Installation' with links to Installation
Instructions and the XWiki Home Page.
The next step according to the documentation is to import the default
wiki XAR file. But when I go to:
xwiki/bin/admin/XWiki/XWikiPreferences
I get a '500 Internal Server Error' along with:
'Servlet error: An exception occurred. The current application
deployment descriptors do not allow for including it in this response.
Please consult the application log for details.'
The xwiki.log file shows the following message:
11:24:11,716 [AJPRequestHandler-RMICallHandler-6] WARN
action.RequestProcessor - Unhandled Exception thrown: class
com.xpn.xwiki.XWikiException
Any suggestions please?
Thanks
Neil
Hello group,
I want to use UTF-8 data in XWiki. It seems it is not recognizing it.
I tried to import unicode data to XWiki (by importing a xar file created
programatically). But export fails with an exception. I tried changing
the xwiki.cfg encoding to utf-8 but to no effect.
Regards
Roopesh
------------------
DigitalGlue, India
Hi!
I'm trying to use $xwiki.getURLContent() but I can't make it to work.
I've tried both from velocity, like this:
#set ($response = $xwiki.getURLContent("http://mysite.com"))
$response
...and invoking the xwiki code from a plugin, like this:
public String getUrlContent(String url) throws IOException {
String content = "";
try {
content = context.getWiki().getURLContent(url, context);
} catch (Exception e) {
//ooops
}
return content;
}
I've been testing with a URL that points to a web server of mine, and
according to the log, no request is done by the above code. Can anyone
tell me what I'm doing wrong?
Any help would be greatly appreciated!
:-)
Thomas
Hi,
I installed xwiki and there are no users installed and no option to create new users. The user's page is empty. The only way I found to work was to allow the superuser account but there is no other user and now way to add users.
Any ideas?
Juan Manuel Urraburu
ProRM
Uruguay
Hi all,
What is the delete access right supposed to do? It doesn't seem to do
anything currently, at least in 1.0. In the albatross skin, if I enable
delete rights in a space for a non-admin, the delete button does not
appear for that user. Thanks ...
shawn.
I am trying to run xwiki with Ingres, for this I have converted file
xwiki-db-0.9.2.sql to ingres compatible format. And I ran this file on
Ingres database. I have everything else in place: drivers, configuration in
hibernate.cfg.xml etc...
My app server is JBoss 4.0.5, so when I start xwiki I get:
17:54:49,830 FATAL [DBCPConnectionProvider] Could not create a DBCP pool
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:396)
at
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:110)
at
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:80)
at
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:349)
at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:58)
at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1509)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1054)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:125)
so i removed connection.provider_class property from hibernate.cfg.xml.
Afterwards when i tried running xwiki i got this exception and xwiki page is
not coming:
18:11:49,447 ERROR [JDBCExceptionReporter] line 1, Table 'xwikidoc' owned by
'advait.trivedi' does not contain column 'xwd_default_template'.
.......
I noticed that this column is not part of "create table" sql but somehow it
is getting added to the table definition afterwards. Because i noticed this
column using "describe xwikidoc" mysql command. Please help
--
View this message in context: http://www.nabble.com/running-xwiki-on-Ingres-database-tf4110478.html#a1168…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm using Albatross and I have no idea why the panels disappear in editing and administration modes. They just aren't there and it seems the Panel Wizard can't change that.
Thanks,
//Karin
-----Ursprungligt meddelande-----
Från: Sergiu Dumitriu [mailto:sergiu.dumitriu@gmail.com]
Skickat: den 2 augusti 2007 16:40
Till: xwiki-users(a)objectweb.org
Ämne: Re: resend: [xwiki-users] Backlinks in administration/editing mode
Hi,
What skin are you using, and why are the panels disappearing?
Karin Wiklund wrote:
> -----Ursprungligt meddelande-----
> Från: Karin Wiklund
> Skickat: den 17 juli 2007 09:55
> Till: 'xwiki-users(a)objectweb.org'
> Ämne: SV: [xwiki-users] Backlinks in administration/editing mode
>
>
> Hi Vincent,
>
> Hi Karin,
>
> On Jul 16, 2007, at 5:08 PM, Karin Wiklund wrote:
>
>
>> Hi,
>>
>> First; thanks to everyone who helped me make more blogs in my
>> xwiki, it works beautifully! (though it's not the most beautiful
>> code ever written...)
>>
>> Second;
>> As far as I can tell there are no links from anywhere in the
>> administration or editing modes to get back to the rest of the
>> wiki. (there are save and cancel options, but that's not the same
>> thing as 'Back') Have I missed something? If not; any hints on how
>> and where to add such links?
>> For usability purposes- to make life easier for the future admins
>> of the xwiki I'm setting up...
>>
>
> * Then I guess you have the same issue when editing pages since the
> navigation on the right disappears? How do you want to solve that?
>
> Yes, it's a problem there too. I want to solve it by constantly showing the same menu, wherever the user goes
>
> * I've noticed that on the Admin page there's a big blank space on
> the right. We shouldn't have that. Either we should put the normal
> navigation there or use the full space for the admin screens. I think
> we should use the full space.
>
> I think showing the menu at all times is better. Giving users the same way to do stuff (such as navigate) wherever they are in the system is good usability practice. I'd say it's preferable that the desicions on what panels to show, and where, should apply on every single page in the wiki. In whatever kind of mode you're in.
>
> Back to your question, you can click on the Space in the breadcrumbs
> or on the logo to go to the home page or cancel/save. What more would
> you like and where?
>
> Ah, but see the breadcrumbs aren't always showing the directory I took to get to a certain page. Example: I'm at "Main: Welcome > All Documents of this Wiki" when
> I realize I should change the rights for a certain user group, so I press Administration and the breadcrumbs are "XWiki: Administration > Preferences" and I can't use them to get back to "All Documents of this Wiki".
>
There's a Recently Visited panel that can help you here.
> The logo takes me to "Main: Welcome" which is also not the place I wanted to go.
> Say I change the rights a bit and press Save, I get directed to "XWiki: Administration". If i hit Cancel instead I end up at "Main: Welcome"
>
That's strange, cancel should also get you to Administration. Are you
sure it goes to Main?
> Not what I'm looking for when I want to get back to "Main: Welcome > All Documents of this Wiki".
> What more would I like? A set of panels (navigation or otherwise) always showing on the side of my choice.
>
> Hopefully I'll have enough time to perform a proper usability test. If my boss lets me I'd love to share the results with you.
>
> Regards,
> //Karin
>
>
> Thanks
> -Vincent
>
>
>
>
> How would a pom-file look for the hello world plugin (from
> the devGuide) for building it with maven?
>
Since Vincent, our maven expert, is on vacation, I'll try to write this
pom tonight and send it to you.
Thanks. I haven't recieved it yet. Is there an e-mail problem again?
> Is there a plug-in (or snippet or script or something, anything) to
> import web pages from elsewhere and show them in the xwiki?
>
It depends on what do you mean by "elsewhere". Please give an example of
such a place, a use case.
A colleague of mine is developing a search engine and the search results are presented on a web page. The idea is to connect his search engine to my xwiki and I would like to be able to import the web pages where the results are presented and show them in the xwiki environement (with the xwiki layout).
>
> Thanks,
> //Karin
Sergiu
Thanks,
//Karin
Hi,
I downloaded xwiki 1.0. Imported xwiki-1.0.xar. While importing the following error appears. (Second error after this error listed below.)
{
20:48:05,234 WARN P1-18 http://localhost:8080/xwiki/bin/import/XWiki/Import?edi
tor=import&space=XWiki InterWiki:<init>:73 - Unable to read conf/intermap.txt
20:48:11,843 WARN P1-18 http://localhost:8080/xwiki/bin/import/XWiki/Import?edi
tor=import&space=XWiki RegexTokenFilter:filter:97 - <span class="error">Exceptio
n</span>: com.xpn.xwiki.render.filter.MacroFilter@df88d2
java.lang.NullPointerException
at org.radeox.macro.parameter.BaseMacroParameter.insertValue(BaseMacroPa
rameter.java:142)
at org.radeox.macro.parameter.BaseMacroParameter.split(BaseMacroParamete
r.java:127)
at org.radeox.macro.parameter.BaseMacroParameter.setParams(BaseMacroPara
meter.java:58)
at org.radeox.filter.MacroFilter.handleMatch(MacroFilter.java:100)
at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilt
er.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java
:89)
at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
at org.radeox.engine.BaseRenderEngine.render(BaseRenderEngine.java:108)
at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.j
ava:70)
at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore
.java:1466)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateSt
ore.java:305)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:100)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:895)
at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:5
49)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:490)
at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:192
)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:90)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:150)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:118)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
20:48:11,843 WARN P1-18 http://localhost:8080/xwiki/bin/import/XWiki/Import?edi
tor=import&space=XWiki RegexTokenFilter:filter:97 - <span class="error">Exceptio
n</span>: com.xpn.xwiki.render.filter.MacroFilter@b65a68
java.lang.NullPointerException
at org.radeox.macro.parameter.BaseMacroParameter.insertValue(BaseMacroPa
rameter.java:142)
at org.radeox.macro.parameter.BaseMacroParameter.split(BaseMacroParamete
r.java:127)
}
Now if I access any page, then the following Stack overflow error comes
{
02:37:30,538 WARN P1-17 http://localhost:8080/xwiki/bin/view/Main/WebSearch
RegexTokenFilter:filter:99 - <span class="error">Error</span>:
com.xpn.xwiki.render.filter.XWikiListFilter@ada795:
java.lang.StackOverflowError
java.lang.StackOverflowError
at java.util.regex.Pattern$BitClass.match(Pattern.java:2873)
at java.util.regex.Pattern$Curly.match0(Pattern.java:4218)
at java.util.regex.Pattern$Curly.match(Pattern.java:4202)
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4634)
at java.util.regex.Pattern$Curly.match0(Pattern.java:4240)
at java.util.regex.Pattern$Curly.match(Pattern.java:4202)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4575)
}
This error keeps on coming and finally kills the xwiki.
Can anyone tell me how I can solve this.
Regards
Roopesh